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

Currencies

PreviousRegisterNextTokens

List currencies

get

Returns the list of currencies supported on the Ledger Vault.

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

Currency list

{
  "currencies": [
    {
      "family": "bitcoin",
      "name": "bitcoin",
      "num_confirmation_needed": 1,
      "type": "CRYPTO",
      "units": [
        {
          "code": "tBTC",
          "magnitude": 8
        }
      ]
    }
  ]
}

Get currency by name

get

Returns the requested currency.

Authorizations
Path parameters
currency_namestringRequired

The currency name.

Responses
200
Currency object
application/json
404
Currency not found
application/json
get
GET /currencies/{currency_name} HTTP/1.1
Host: 
X-Ledger-API-Key: YOUR_API_KEY
Accept: */*
{
  "family": "bitcoin",
  "name": "bitcoin",
  "num_confirmation_needed": 1,
  "type": "CRYPTO",
  "units": [
    {
      "code": "tBTC",
      "magnitude": 8
    }
  ]
}

Check that the currency name and address pair is valid

get

Returns a boolean indicating the validity of the address.

Authorizations
Path parameters
addressstringRequired

Address to validate.

currency_namestringRequired

The currency name.

Responses
200
Address validation result
application/json
404
Currency not found
application/json
get
GET /currencies/{currency_name}/{address} HTTP/1.1
Host: 
X-Ledger-API-Key: YOUR_API_KEY
Accept: */*
{
  "is_valid": true
}
  • GETList currencies
  • GETGet currency by name
  • GETCheck that the currency name and address pair is valid