Report Transaction Failure
Report failures on signing or sending the transaction
Report Failure API
const transaction = await rango.reportFailure({
requestId: "688b308e-a06b-4a4e-a837-220d458b8642", // bestRoute.requestId
eventType: 'SEND_TX_FAILED',
reason: "RPC Error"
})const response = await axios.post(
'https://api.rango.exchange/tx/report-tx',
{
'requestId': '688b308e-a06b-4a4e-a837-220d458b8642',
'step': 1,
'eventType': 'SEND_TX_FAILED',
'reason': 'RPC Error'
},
{
params: {
'apiKey': 'c6381a79-2817-4602-83bf-6a641a409e32'
},
headers: {
'content-type': 'application/json'
}
}
);Report Failure Request
Last updated