Is it possible to call an API on off chain backend once the funds are transferred successfully? For example, the user buys an in-app purchase by sending some funds to the admin using this smart contract and passing their id and other data as input parameters. The contract then informs off chain backend via API call of the transaction. Or is there a better secure alternative?
can you please tell if this smart contract can transfer coins from one user to another directly using a blockchain
Is it possible to call an API on off chain backend once the funds are transferred successfully? For example, the user buys an in-app purchase by sending some funds to the admin using this smart contract and passing their id and other data as input parameters. The contract then informs off chain backend via API call of the transaction.
Or is there a better secure alternative?
Thank you for your question. Yes, off chain integration is possible by monitoring on chain events and responding to them.