Ledger Enterprise
API Documentation V1
API Documentation V1
  • GETTING STARTED
    • Welcome
    • Getting Started
    • Authentication
    • Rate Limits
    • Pagination
  • tutorials
    • Register a new API User
    • First Steps as an API User
    • Generate Reporting API Keys
    • Manage Reporting API Keys
  • REFERENCE
    • API reference
      • Accounts
        • Addresses
        • Balances
          • History
        • Currency
        • History
        • Labels
        • Nft collections
        • Nft portfolio
        • Nfts
        • Sync
        • Tokens
        • Erc20 children accounts
      • Api users
        • Register
      • Currencies
        • Tokens
      • Digests
        • History
      • Entities
        • History
        • Users
      • Groups
        • History
      • Labels
      • Messages
        • History
      • Organization
      • Pledges
      • Requests
        • Approve
        • Challenge
          • Reject
        • Governance status
        • Reject
      • Settlements
      • Transactions
        • Estimate fees
        • Fees
        • Approve
        • History
        • Labels
        • Reject
      • Users
        • History
      • Whitelists
        • History
      • Auth
        • Token
          • Refresh
      • Compliance
        • Address risk
        • Sanctions
      • Notifications
        • Configuration
    • Specification
Powered by GitBook
On this page
  1. REFERENCE
  2. API reference
  3. Currencies

Tokens

PreviousCurrenciesNextDigests

List tokens

get

Returns the list of tokens supported on the Ledger Vault.

Authorizations
Responses
200
Token list
application/json
get
GET /currencies/tokens HTTP/1.1
Host: 
X-Ledger-API-Key: YOUR_API_KEY
Accept: */*
200

Token list

{
  "tokens": [
    {
      "contract_address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
      "name": "USD Tether (erc20)",
      "parent_currency": "ethereum",
      "units": {
        "code": "USDT",
        "magnitude": 6
      }
    }
  ]
}

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
404
Token not found
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
  }
}
  • GETList tokens
  • GETGet a token by network and address