Report Transaction Failure
Report failures on signing or sending the transaction
Last updated
Report failures on signing or sending the transaction
Last updated
Use it when the user rejects the transaction in the wallet or the wallet fails to handle the transaction. Calling this endpoint is not required, but is useful for reporting and we recommend calling it.
It's an optional action and does not affect the flow of swap, but it can help us improve our API if the data is informative enough
requestId
*
Description: The unique ID which is generated in the best route endpoint.
eventType
*
Description: Type of failure. possible values are:
FETCH_TX_FAILED, USER_REJECT, USER_CANCEL, CALL_WALLET_FAILED, SEND_TX_FAILED, CLIENT_UNEXPECTED_BEHAVIOUR, TX_EXPIRED, INSUFFICIENT_APPROVE
reason
Description: Failure reason
tags
Description: An optional dictionary of pre-defined tags. Current allowed tags are wallet
and errorCode
.