Get Cross-Chain Status

Get your cross-chain status

Check transaction status

You can easily check your transaction status. Just provider source transaction hash and you will see the status in destination chain, as well as a hash in destination blockchain in case of transactrion success

// Your source transaction hash
const srcTxHash = '0x6a851726e31e207dcea611424c194fb3ce132404598646b6903ee43fe8930e95';
const status = await axios.get(
    `https://api-v2.rubic.exchange/api/routes/status?srcTxHash=${srcTxHash}`
);

Possible statuses

StatusExplanation

💤 PENDING

Transaction in progress

💤 LONG_PENDING

Transaction in progress, probably stuck

💤 NOT_FOUND

Transaction indexing in progress

✴️ REVERT

Transaction on the destination chain was successful. You should revert the transaction and collect funds

✴️ REVERTED

Transaction on the destination chain was failed. Your funs will be reverted to

✅ READY_TO_CLAIM

Transaction on the destination chain was successful. You can now claim tokens

✅ SUCCESS

Transaction on the destination chain was successful

❌ FAIL

Transaction on the destination chain failed

Last updated