Convert funds

Convert between your multi-currency balances

To convert between, say, AUD and EUR you should:

  1. Request a tradeable quote with applicability: CONVERSION.

  2. Retrieve the quote ID from the response.

  3. Reference the quote ID when creating the conversion.

Get a tradable quote ID:

const bodyJSON = {
  variables: {
    input: {
      fromCurrency: "AUD",
      toCurrency: "EUR",
      size: "10000",
      currency: "AUD",
      tradeable: true,
      applicability: "CONVERSION",
    },
  },
  query: `
query ($input: QuoteInput!) {
  quote(input: $input) {
    id bid ask symbol timestamp inverted expireAt
  }
}`,
};

Convert funds:

Last updated

Was this helpful?