Wallet

API endpoints for the node's wallet

Addresses

GET https://nodes.lto.network/wallet/addresses

Get list of all accounts addresses in the node's wallet.

[
  "3NBVqYXrapgJP9atQccdBPAgJPwHDKkh6A8",
  "3Mx2afTZ2KbRrLNbytyzTtXukZvqEB8SkW7"
]

Address range

GET https://nodes.lto.network/wallet/addresses/seq/:from/:to

Get list of accounts addresses with indexes at this range in the node's wallet.

Path Parameters

NameTypeDescription

from

number

to

number

[
  "3NBVqYXrapgJP9atQccdBPAgJPwHDKkh6A8",  
  "3Mx2afTZ2KbRrLNbytyzTtXukZvqEB8SkW7"
]

Add address

POST https://nodes.lto.network/wallet/addresses

Generate a new account address in the wallet.

Path Parameters

NameTypeDescription

string

Headers

NameTypeDescription

Authorization

string

"Bearer " + API_KEY

{
  "address": "3Mx2afTZ2KbRrLNbytyzTtXukZvqEB8SkW7"
}

Last updated