Description Usage Arguments See Also Examples
set_rpc_address
sets the RPC address that is being used to connect to
the Geth node.
1 | set_rpc_address(url, port)
|
url |
String - URL of the Geth node. |
port |
Integer - Port of the Geth node. |
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
1 2 | set_rpc_address('http://153.35.91.1', 8600)
set_rpc_address('http://localhost', 8545)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.