lunes-node icon indicating copy to clipboard operation
lunes-node copied to clipboard

update: public rest-api

Open olivmath opened this issue 3 years ago • 3 comments
trafficstars

Full-node

  • how many transactions this node has already produced
  • how many this node has already produced
  • Current block vs node block
  • leasing on this node
  • Active features
  • node address
  • Version

Address

  • get balance of a list of address, with token or not
  • get token balance, get all tokens
  • get alias address or the reverse
  • get balance with confirmations
  • validate address

Transactions

  • transactions from one address
  • total number of transactions
  • unconfirmed transactions
  • transmit transaction
  • transactions by id

Block

  • block sequence, /header/full
  • last/first block, height/header/full
  • get block by id

Tokens

  • get all the tokens from the network
  • get all NFT from the network
  • distribution of a Token

Peers

  • get peers, number/full-data
  • connect to new peer
  • clear blacklist

olivmath avatar Jun 16 '22 13:06 olivmath

It would be interesting to allow balance checking of multiple addresses with a single HTTP request. For example: receive a list with addresses and assets (Null in case of Lunes) and return a list with addresses, assets and balances.

MaiconRenildo avatar Jun 16 '22 14:06 MaiconRenildo

it's a very good idea

olivmath avatar Jun 16 '22 14:06 olivmath

💡 RPC for notify events

olivmath avatar Jun 19 '22 20:06 olivmath