Bridge/Swap

Request quotes for crypto transfers with flexible intent methods.

Requesting a quote

You can request a quote using an existing recipient ID or by passing the settlement details directly in the payload.

example.ts
const quote = await orda.quote.request({
  fromChain: '1',  // Ethereum
  fromToken: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',  // USDC
  fromAddress: '0xYourAddress',
  intent: {
    method: 'usd',
    value: '100'
  },
  recipientId: 'recipient-id'
});

Intent Methods

Use one of these intent methods to specify the quote intent.

{ method: 'usd', value: '100' }  // $100 worth

Last updated