Co-Signer Callback
Web3 Transaction Callback
POST
Co-Signer calls back to the client system to confirm whether the web3 transaction is normal before signing.
Content-Type application/json;charset=UTF-8
Callback Request Parameters
| Param | Type | Required | Description |
|---|---|---|---|
| type | String | Yes | Callback type: sign_start for signature initiation, sign_success for successful signature |
| trans_id | Integer | Yes | Transaction ID |
| request_id | String | Yes | Unique identifier for the transaction |
| pending_round | Boolean | Yes | Acceleration status: true for accelerated transactions, false for regular transactions |
| from | String | Yes | Sender address of the transaction |
| to | String | Yes | Recipient address of the transaction |
| amount | Decimal | Yes | Transaction amount. Use -1 for infinity |
| main_chain_symbol | String | Yes | Network symbol (unique identifier), e.g., “ETH” |
| input_data | String | Yes | Input data for the transaction |
| interactive_contract | String | Yes | Interactive contract |
| txid | String | No | Transaction hash. Returned when the signature is successful |
Callback Response Parameters
Return string:
SUCCESSmeans SUCCESS: Co-Signer signs the transaction.FAILUREmeans FAILURE: Co-Signer will ignore the transaction and not sign.