👨‍💻Smart Contract Interface

To support post backs for successful Blockchain transaction, the following endpoints should be implemented:

🔹Buy transaction complete

TypeScript

async postBuyExecuted(body: {
  nftAddress: string;
  tokenId: string;
  daoAddress: string;
  payload?: any;
}): Promise<bool> {
      <YOUR IMPLEMENTATION GOES HERE>
}

🔹List for sale transaction complete

TypeScript

async postListedForSellExecuted(body: {
  nftAddress: string;
  tokenId: string;
  daoAddress: string;
  payload?: any;
}): Promise<bool> {
      <YOUR IMPLEMENTATION GOES HERE>
}

🔹Cancel listing transaction complete

TypeScript

async postCancelListedForSaleExecuted(body: {
  nftAddress: string;
  tokenId: string;
  daoAddress: string;
  payload?: any;
}): Promise<bool> {
      <YOUR IMPLEMENTATION GOES HERE>
}

✉️ Talk to us!

Our product evolves and improves as you build on top of it, iterating quickly to help support new use cases and constantly optimising for value. To do so effectively, we want your feedback. Any feedback is welcomed - good, bad, or neutral. You can share your input via email to info@separly.com

Last updated