Streams - how to get nft transfer data

I am building an NFT marketplace. For every NFT that is created through my marketplace I want to get the realtime owner of the NFT.

I thought I could use the Moralis Stream service for this. However, while reading the Stream documentation (and its API reference) I did not notice any info that could help me jumpstart the process. E.g. I did not notice any CURL code. Can anybody help me on how should I tackle this issue?

I would prefer using an API rather than a SDK (I am building the marketplace using low-code tools).

thanks

You can use the api directly too. You can find examples of curl code in documentation when you try an api endpoint.

There is also a swagger interface for steams api.

You will still need a webhook url where you receive the webhook requests when a transfer or transaction is made on your contract.

1 Like

this is the swagger interface if you want to use it directly:
https://api.moralis-streams.com/api-docs/

1 Like

ah so I should first call “create stream” and then when I want to add an address I call “Add address to stream”. will try this out

yes, it will work like that

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.