elisk v0.2.0 Elisk.Node
Functions for retrieving information from node.
The responses for each API request have a common basic structure:
"data": {}, //Contains the requested data
"meta": {}, //Contains additional metadata, e.g. the values of `limit` and `offset`
"links": {} //Will contain links to connected API calls from here, e.g. pagination links
Summary
Functions
Get Node constants
Get pooled transactions in the node
Get Node status
Get Node forging status
Put Node forging status
Functions
Get pooled transactions in the node.
Method: GET
Params: state
Elisk.Node.pooled_transactions(“unconfirmed”)
=> { data, meta, links }
Get Node forging status.
Method: GET
Elisk.Node.status_forging()