Confirm a prepared payment on chain
confirm_paymentAfter your wallet has sent a payment prepared by prepare_payment, give its prepare_id and transaction hash. SwapEazi reads the receipt on chain, verifies it came from the prepared wallet and matches the prepared transaction, and returns a signed payment record for the audit trail. Read-only on chain; moves nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx_hash | Yes | The transaction hash your wallet broadcast: 0x plus 64 hex characters on EVM chains, 64 hex characters on Tron. | |
| contribute | No | True adds one anonymised row (token, network, month, size band) to SwapEazi's cost research. | |
| prepare_id | Yes | The prepare_id returned by prepare_payment. |