This would bridge 100 USDT from Arbitrum to Base while also receiving 4 SOL tokens at the recipient address. Through the checkQuote hook a bridge that would cost over $5 in fees would be aborted.
Once created, anyone can send supported tokens to the deposit address and funds will be automatically bridged to the destination.
sda-status.ts
import { rhinoSdk } from './rhino-sdk'// Check status of an existing SDAconst status = await rhinoSdk.api.depositAddresses.getStatus({ depositAddress: '0x457...', depositChain: 'ETHEREUM',})// Reactivate an inactive SDAawait rhinoSdk.api.depositAddresses.activate({ depositAddress: '0x457...', depositChain: 'ETHEREUM',})
We recommend generating SDAs on all available EVM chains at once to ensure funds sent to the wrong chain are still detected automatically.