For the complete documentation index, see llms.txt. This page is also available as Markdown.

Off Ramp Quote

1

Request Quote

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

const quote = await orda.offRamp.requestQuote({
  fromChain: '8453',  // Base
  fromToken: '0xE9185Ee218cae427aF7B9764A011bb89FeA761B4',  // BRZ
  fromAddress: '0xYourAddress',
  intent: {
    method: 'fromAmount',
    value: '10000000000000000000'  // 10 BRZ
  },
  recipientId: 'recipient-id'
});
const quote = await orda.offRamp.requestQuote({
  fromChain: '8453',
  fromToken: '0xE9185Ee218cae427aF7B9764A011bb89FeA761B4',
  fromAddress: '0xYourAddress',
  intent: {
    method: 'usd',
    value: '100'
  },
  kycInformation: {
    taxId: '12345678901',
    taxIdCountry: 'BRA',
    email: 'user@example.com',
    name: 'User Name'
  },
  fiatSettlementDetails: {
    toCurrency: 'BRL',
    pixKey: 'user@example.com'
  }
});
2

Get Status

const status = await orda.offRamp.getStatus(quote.transactionId);
console.log(status.status);  // 'Pending', 'Completed', 'Failed', etc.
3

Wait for Completion

await orda.offRamp.waitForCompletion(quote.transactionId, {
  intervalMs: 10000,
  timeoutMs: 1800000,
  onStatusUpdate: (status) => console.log('Status:', status)
});

Terminal statuses:

  • Completed — Transfer successful

  • Failed — Transfer failed

  • Refunded — Funds returned

Last updated