Skip to main content
GET
Central bank reference exchange rate
Template fx.reference@1 · Reference data · central bank exchange rates · reads Web API
Carry these notices when you show or pass the value on:
  • Source: European Central Bank (ECB Data Portal). Euro foreign exchange reference rates are published for information purposes only.
  • Source: Bank of Canada (Valet API), values as published. Bank of Canada exchange rates are indicative and not intended as the benchmark rate for executing foreign exchange trades.

Authorizations

Authorization
string
header
required

Session token from POST /v1/session (sign in with the subscription owner's or a delegate's wallet). Each value uses one round of the plan's quota.

Query Parameters

publisher
enum<string>
required

ecb (rates per euro) or boc (Canadian dollars per unit)

Available options:
ecb,
boc
currency
string
required

ISO 4217 code: with ecb, the currency quoted per 1 EUR; with boc, the currency priced in CAD

date
string
default:latest

the business day (YYYY-MM-DD), or latest

Pattern: ^([0-9]{4}-[0-9]{2}-[0-9]{2}|latest)$
signaturesRequired
integer
default:3

Signatures the round needs (default 3). Tolerance-mode sources need at least 3; the gateway bounds it by the protocol minimum, your plan and the live nodes.

Required range: 1 <= x <= 255

Response

The threshold-signed value (data.attestation) and its rendering (data.value); Molpha-Source-Id names the derived source.

data
object
status
string
Example:

"completed"