General Calls

General Calls

help

Returns a list of all commands supported by the wallet API.
This lists each command, along with its arguments and return types. For more detailed help on a single command, use gethelp().
1
string graphene::wallet::wallet_api::help()const
Copied!
Return
A multi-line string suitable for displaying on a terminal.

gethelp

Returns detailed help on a single API command.
1
string graphene::wallet::wallet_api::gethelp(
2
const string &method)const
Copied!
Parameters
Return
  • method: the name of the API command you want help with
A multi-line string suitable for displaying on a terminal.

info

Returns info about head block, chain_id, maintenance, participation, current active witnesses and committee members.
1
variant graphene::wallet::wallet_api::info()
Copied!
Return
Runtime info about the blockchain

about

Returns info such as client version, git version of graphene/fc, version of boost, openssl etc.
1
variant_object graphene::wallet::wallet_api::about()const
Copied!
Return
Compile time info and client and dependencies versions.

network_add_nodes

1
void graphene::wallet::wallet_api::network_add_nodes(
2
const vector<string> &nodes)
Copied!
Parameters
nodes: Nodes to be added.

network_get_connected_peers

1
vector<variant> graphene::wallet::wallet_api::network_get_connected_peers()
Copied!
Return
List of connected peers.