EVM Transactions In-Depth
EVM Transactions In-Depth
How Coinflow EVM transactions work end-to-end and how to debug them.
EVM Transactions In-Depth
How Coinflow EVM transactions work end-to-end and how to debug them.
This page is for advanced / cryptocurrency-native companies. If that’s not you, head back to the Quickstart for the standard flows.
approve() on the USDC contract, allowing the merchant’s contract to pull $X amount of USDC from the Coinflow contract.transferFrom() function is made. This takes in the merchant’s contract address, the amount of USDC to transfer, and the destination that will receive USDC (destination could be the end-user wallet, merchant wallet, or merchant contract). This represents fulfillment of payment or settlement.When merchants submit transaction data, Coinflow simulates it upfront to ensure successful execution. The response includes any revert reasons and the corresponding transaction data. Receiving an error message INSUFFICIENT FUNDS TO REDEEM indicates the transaction failed due to inadequate funds.
revertReason messages to understand why the transaction failed.