Skip to main content

Module nano_rpc

Module nano_rpc 

Source
Expand description

Nano RPC helpers (account_info, work_generate, process).

Uses curl for HTTP, consistent with the rest of ows-lib (no added HTTP deps).

Structs§

NanoAccountInfo
Account info from the Nano network.

Constants§

RECEIVE_DIFFICULTY
SEND_DIFFICULTY
PoW difficulty thresholds (as hex strings for work_generate RPC).

Functions§

account_info
Query account_info for a Nano account.
process_block
Publish a block to the Nano network via process RPC.
work_generate
Request proof-of-work with multi-endpoint fallback.