Learn R Programming

gethr (version 0.1.0)

set_rpc_address: Query of the RPC address of the node.

Description

set_rpc_address sets the RPC address that is being used to connect to the Geth node.

Usage

set_rpc_address(url, port)

Arguments

url

String - URL of the Geth node.

port

Integer - Port of the Geth node.

See Also

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

Examples

Run this code
# NOT RUN {
set_rpc_address('http://153.35.91.1', 8600)
set_rpc_address('http://localhost', 8545)

# }

Run the code above in your browser using DataLab