Skip to navigation

Get currency

This endpoint returns a currency. The parameters need to point to a unique currency.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

showDisabledbooleanOptional
Set this parameter to true to get a currency even if it is disabled by business rules.
uniqueCurrencyFilter.blockchainstringRequired
uniqueCurrencyFilter.networkstringRequired
uniqueCurrencyFilter.tokenContractAddressstringOptional
If this parameter is set, the currency returned will be a token with the specified contract address. If not set, the currency returned will be the native currency of the blockchain.
uniqueCurrencyFilter.tokenIDstringOptional

For some blockchains (ex. ALGO, XTZ) a tokenContractAddress might contain multiple assets. The tokenID is used to differentiate between those assets. If not set, the currency returned won't have any tokenID defined.

currencyIDstringOptional

Response

A successful response.
resultobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error