FAQ

1. Is there actually a page where all the resources concerning nodes are mentioned ? Like all the different commands and their effects ?

Yes, in this section NODE API.

2. My digital ocean node is fully synced. I have managed to lease 1000+ waves to the node. How can I know if it is already mining?

There is a method but the API key is needed: GET /debug/minerInfo which shows all miners who has enough generating balance to be able to generate block.

3. How can you GET the LTO balance of a Wallet via API?

  1. GET /addresses/balance/details/{address}

  2. GET /addresses/balance/{address}

4. I am unable to connect to my nodes API endpoint after successful set up of my node when I try a get request http://my_server_ip_address:6868/addresses/balance/ wallet_address it gives an error "Error: Failed sending data to the peer".

api port is 6869 by default, make sure you have enabled it in your config.

5. How can I sign a transaction with a private key using the rest api?

There are 2 ways to sign transactions:

  1. Use a node. But that node should know the private key of your address. In other words, it should be your node, because you should never send your private key to anybody else.

  2. Use libraries for different languages (python, c#, js, java). Libraries can sign transaction with provided private key and send to the network already signed tx.

‚Äč