Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.rhino.fi/llms.txt

Use this file to discover all available pages before exploring further.

Please read about the general concepts of Smart Deposit Addresses before continuing here.
Default limits apply to Smart Deposit Addresses for initial testing purposes:
  • 500 total SDAs
  • 50 SDAs generated per hour
Please contact us to lift your limits.

Using the SDK wrappers

The SDK provides wrappers around the API calls to manage Smart Deposit Addresses. Those wrappers are available under sdk.api.depositAddresses.

Examples

Find supported chains
const depositAddresses = await sdk.api.depositAddresses.getSupportedChains()
// Result:
['ETHEREUM', ...]
Set up a new Smart Deposit Address
const depositAddresses = await sdk.api.depositAddresses.create({
  depositChains: ['ETHEREUM'],
  destinationChain: 'BASE',
  destinationAddress: '0x123...',
})
// Result:
{
  depositAddress: '0x457...',
  depositChain: 'ETHEREUM',
  destinationChain: 'BASE',
  destinationAddress: '0x123...',
  supportedTokens: [{symbol: 'USDT', address: '0x789...'}],
  isActive: true,
}
Check the status of a Smart Deposit Address
// Same result as the create function above
const status = await sdk.api.depositAddresses.getStatus({
  depositAddress: '0x123...',
  depositChain: 'ETHEREUM',
})
Activate an existing Smart Deposit Address
await sdk.api.depositAddresses.activate({
  depositAddress: '0x123...',
  depositChain: 'ETHEREUM',
})