Get receiving addresses of an account

This post endpoint is returning addresses verified by the HSM and can be trusted. For UTXO-based accounts. Returns a list of the next 3 available fresh addresses for an account. A fresh address is a newly generated address that has not received any previous transactions. It is recommended for privacy and security to use a fresh address for every transaction. On non UTXO-based accounts, this endpoint will return the single public address in use for the account.

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

Request Body schema: application/json

attributes to query and validate the fetched addresses

account_name
required
string

The name of the account you want the addresses for.

index
integer or null
Default: null

Select the index of the address to retrieve.

Responses
200

New address generated

404

Provided index invalid

post/accounts/{account_id}/addresses
Request samples
application/json
{
  • "account_name": "My-Eth",
  • "index": 35
}
Response samples
application/json
{
  • "addresses": [
    ]
}
Copyright © Ledger Enterprise Platform 2023. All right reserved.