Get a Token by Network and Address

Get a token by network and address

get

Returns the token corresponding to the requested currency name and contract address.

Authorizations
Path parameters
contract_addressstringRequired

The token contract address.

currency_namestringRequired

The currency name.

Responses
200
token
application/json
get
GET /currencies/{currency_name}/tokens/{contract_address} HTTP/1.1
Host: 
X-Ledger-API-Key: YOUR_API_KEY
Accept: */*
{
  "contract_address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
  "name": "USD Tether (erc20)",
  "parent_currency": "ethereum",
  "units": {
    "code": "USDT",
    "magnitude": 6
  }
}

Last updated