eth_call: New message call.

Description Usage Arguments Value See Also Examples

View source: R/eth.R

Description

eth_call executes a new message call immediately without creating a transaction on the block chain.

Usage

1
2
eth_call(from = -1, to, gas = 30000, gas_price = -1, value = -1,
  data = -1, number = "latest")

Arguments

from

Address - Address the call is send from.

to

Address - Address the call is send to.

gas

Integer - Gas provided for the call execution. eth_call consumes zero gas, but this parameter may be needed by some executions.

gas_price

Integer - Value of the gas for this call.

value

Integer - Value sent with the call

data

Data - Hash of the method signature and encoded parameters. For details see Ethereum Contract ABI https://solidity.readthedocs.io/en/develop/abi-spec.html.

number

Integer|Tag - Integer block number, or the string 'latest', 'earliest' or 'pending', see the default block parameter https://github.com/ethereum/wiki/wiki/JSON-RPC#the-default-block-parameter

Value

Data - Return value of executed call.

See Also

Other eth functions: eth_accounts, eth_blockNumber, eth_coinbase, eth_estimateGas, eth_gasPrice, eth_getBalance, eth_getBlockByHash, eth_getBlockByNumber, eth_getBlockTransactionCountByHash, eth_getBlockTransactionCountByNumber, eth_getCode, eth_getFilterChanges, eth_getFilterLogs, eth_getLogs, eth_getProof, eth_getStorageAt, eth_getTransactionByBlockHashAndIndex, eth_getTransactionByBlockNumberAndIndex, eth_getTransactionByHash, eth_getTransactionCount, eth_getTransactionReceipt, eth_getUncleByBlockHashAndIndex, eth_getUncleByBlockNumberAndIndex, eth_getUncleCountByBlockHash, eth_getUncleCountByBlockNumber, eth_getWork, eth_hashrate, eth_mining, eth_newBlockFilter, eth_newFilter, eth_newPendingTransactionFilter, eth_protocolVersion, eth_sendRawTransaction, eth_sendTransaction, eth_sign, eth_submitHashrate, eth_submitWork, eth_syncing, eth_uninstallFilter, gethr, personal_sendTransaction

Examples

1
2
3
eth_call(to = '0xcaf9a0356ddfa779fdbb55c45b22d35673550f30', data = '0x8f8a0d1900
00000000000000000000000000000000000000000000000000000000000006000000000000000000
0000000000000000000000000000000000000000000002')

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