I want to implement waiting for payment flow, and once the ADA is received I want to mint and NFT and send it to the buyer. How can I know the sender’s address via some API? preferable for free not with SaaS APIs.
Here are a couple of approaches:
cardano-db-syncand use SQL queries to obtain the information.
cardano-graphqland use GraphQL queries.
- When the Plutus Application Backend (PAB) is released, it may be possible that you can use the REST API for the PAB chain index.
- Use a third-party service like https://blockfrost.io or https://dandelion.link/.
- Write custom Haskell code based on the
- Write custom Haskell code using the mantra package and its