Get a change or receive address by index for an UTXO account

Returns the receiving or change address corresponding to the specified index in a JWT format. This functionality is available for UTXO-based currencies only.

Security(Ledger_API_Key and Ledger_API_User) or Ledger_API_Key and Ledger_API_User and Ledger_Store_Auth_Token) or Ledger_API_User or Ledger_API_User and Ledger_Store_Auth_Token)
Request
path Parameters
account_id
required
integer

The account's ID

index
required
integer
query Parameters
type
required
string

The type of the address.

Enum: "change" "receive"
Example: type=receive
Responses
200

Address data in JWT format. The JWT is built in the following format: base64urlEncoding(header).base64urlEncoding(payload).base64urlEncoding(signature) header is an object containing: {"alg": "ES256K, "typ": "JWT"} payload is an object containing: {"address": ..., "derivation_path": ..., "blockchain_name": ...} signature is the header and payload encoded in base64 and signed with the private key of the leaf certificate

404

No address matches

get/accounts/{account_id}/address/{index}
Response samples
application/json
{
  • "message": "string",
  • "name": "string",
  • "status_code": 0
}
Copyright © Ledger Enterprise Platform 2023. All right reserved.