The flow
- User generates code at actioncode.app
- User shares code with your app
- Your app builds a transaction and attaches it
- User approves in their wallet
- Your app gets the signed transaction
Full example
Submitting the transaction
After getting the signature, you can submit the transaction to the network:The
finalizedSignature returned by observeStatus is the signature from the user’s wallet. Depending on your setup, you may need to also add your own signature (if you’re a co-signer) before submitting.