submit_swap
Record a submitted swap transaction with its hash and status in the Cardexscan backend for tracking and analytics.
Instructions
Log a swap transaction submission to the Cardexscan backend for analytics and tracking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message if the swap failed | |
| maker | No | Wallet address of the swap initiator | |
| staker | No | Staking key hash of the wallet | |
| status | Yes | Transaction status code (1 = success, -1 = error) | |
| txHash | Yes | Transaction hash of the submitted swap |