Learn R Programming

gethr (version 0.1.0)

get_post: RPC call helper method.

Description

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

Usage

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

Run this code
# NOT RUN {
get_post('eth_accounts')
get_post('debug_verbosity', list(3))
get_post('debug_goTrace', list('file.log', 5))
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab