Skip to content

JSON RPC API

Alexander Mühle edited this page Aug 30, 2018 · 6 revisions

Methods

AccountModel Methods

acc_send

  • {"jsonrpc":"2.0", "method":"acc_send","params":[account_id, value],"id":1}

acc_balance

  • {"jsonrpc":"2.0", "method":"acc_balance","params":[account_id],"id":1}

Network methods

net_peers

  • {"jsonrpc":"2.0", "method":"net_peers","id":1}

curl example

curl -L -X POST --data '{"jsonrpc":"2.0", "method":"net_peers","id":1}' -H "Content-Type: application/json" localhost:7498

Clone this wiki locally