Get Currency by Name
Returns the requested currency.
Authorizations
X-Ledger-API-KeystringRequired
If you've set up your API Key when initializing your LAM, you'll need to include it as a header along with the api user header. For more details, see step 5 of the get started documentation.
X-Ledger-API-UserstringRequired
(required) Username of a registered API User
Path parameters
currency_namestringRequired
The currency name.
Responses
200
Currency object
application/json
404
Currency not found
application/json
get
/currencies/{currency_name}GET /currencies/{currency_name} HTTP/1.1
Host:
X-Ledger-API-Key: YOUR_API_KEY
X-Ledger-API-User: YOUR_API_KEY
Accept: */*
{
"family": "bitcoin",
"name": "bitcoin",
"num_confirmation_needed": 1,
"type": "CRYPTO",
"units": [
{
"code": "tBTC",
"magnitude": 8
}
]
}Last updated