get_post: RPC call helper method.

Description Usage Arguments Value See Also Examples

View source: R/utils.R

Description

get_post returns the response of the RPC call in the Geth node.

Usage

1
get_post(method, params = list())

Arguments

method

String - Method to call in the Geth node.

params

Array of Strings - Params that are passed to the method.

Value

Object - Response from the Geth node.

See Also

Other utils functions: dec_to_hex, get_network_id, get_rpc_address, hex_to_dec, hex_to_text, is.wholenumber, process_block, process_log, process_receipt, process_transaction, set_network_id, set_rpc_address, text_to_hex

Examples

1
2
3
get_post('eth_accounts')
get_post('debug_verbosity', list(3))
get_post('debug_goTrace', list('file.log', 5))

gethr documentation built on May 2, 2019, 7:03 a.m.