Get Receiving Addresses of an Account
[LAM] 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.
Authorizations
Path parameters
account_idintegerRequired
The account's ID
Body
account_namestringRequiredExample:
The name of the account you want the addresses for.
My-Eth
indexinteger | nullableOptionalDefault:
Select the index of the address to retrieve.
null
Example: 35
Responses
200
New address generated
application/json
404
Provided index invalid
application/json
post
POST /accounts/{account_id}/addresses HTTP/1.1
Host:
X-Ledger-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 36
{
"account_name": "My-Eth",
"index": 35
}
{
"addresses": [
{
"address": "text",
"derivation_path": "0/18"
}
]
}
Previous[Decprecated] Get Receiving Addresses of an AccountNext[Decprecated] Get an address by index for an account
Last updated