Convert funds
Convert between your multi-currency balances
To convert between, say, AUD and EUR you should:
Request a tradeable quote with applicability: CONVERSION.
Retrieve the quote ID from the response.
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
}
}`,
};query($input: QuoteInput!) {
quote(input: $input) {
id
bid
ask
symbol
timestamp
inverted
expireAt
}
}Convert funds:
Last updated
Was this helpful?