Skip to content

@mbanq/core-sdk-js v0.50.0


@mbanq/core-sdk-js / commands / GetFetchFxRates

Function: GetFetchFxRates()

GetFetchFxRates(params): Command<{ params: { destinationCurrency: string; sourceCurrency: string; }; }, { baseFxRate?: number | null; destinationCurrency?: string | null; fxRate?: number | null; lockExpiryAt?: string | null; margin?: number | null; rateSignature?: string | null; sourceCurrency?: string | null; } | undefined>

Defined in: src/commands/rest/fxPay.ts:63

Get Fetch FX Rates

Retrieve FX rates for a currency pair

Parameters

params

The parameters for fetching FX rates

destinationCurrency

string = ...

The destination currency code

sourceCurrency

string = ...

The source currency code

Returns

Command<{ params: { destinationCurrency: string; sourceCurrency: string; }; }, { baseFxRate?: number | null; destinationCurrency?: string | null; fxRate?: number | null; lockExpiryAt?: string | null; margin?: number | null; rateSignature?: string | null; sourceCurrency?: string | null; } | undefined>

Command object for fetching FX rates

Released under the MIT License.