Ethex.Web3.JsonRpc (ethex v1.1.0)
View SourceGossip Method
These methods track the head of the chain. This is how transactions make their way around the network, find their way into blocks, and how clients find out about new blocks.
History Method
Fetches historical records of every block back to genesis. This is like one large append-only file, and includes all block headers, block bodies, uncle blocks, and transaction receipts.
State Method
Methods that report the current state of all the data stored. The "state" is like one big shared piece of RAM, and includes account balances, contract data, and gas estimations.
Summary
Functions
Returns the number of most recent block.
Executes a new message call immediately without creating a transaction on the block chain.
Generates and returns an estimate of how much gas is necessary to allow the transaction to complete. The transaction will not be added to the blockchain. Note that the estimate may be significantly more than the amount of gas actually used by the transaction, for a variety of reasons including EVM mechanics and node performance.
Polling method for a filter, which returns an array of logs which occurred since last poll.
使用 filter_id 获取自 from 以来的 logs
Returns an array of all logs matching a given filter object.
Returns the number of transactions sent from an address.
Creates a filter object, based on filter options, to notify when the state changes (logs). To check if the state has changed, call eth_getFilterChanges.
Creates new message call transaction or a contract creation for signed transactions.
Functions
Returns the number of most recent block.
Executes a new message call immediately without creating a transaction on the block chain.
Parameters
- Object - The transaction call object
- from: DATA, 20 Bytes - (optional) The address the transaction is sent from.
- to: DATA, 20 Bytes - The address the transaction is directed to.
- gas: QUANTITY - (optional) Integer of the gas provided for the transaction execution. eth_call consumes zero gas, but this parameter may be needed by some executions.
- gasPrice: QUANTITY - (optional) Integer of the gasPrice used for each paid gas
- value: QUANTITY - (optional) Integer of the value sent with this transaction
- data: DATA - (optional) Hash of the method signature and encoded parameters. For details see Ethereum Contract ABI in the Solidity documentation
QUANTITY | TAG - integer block number, or the string "latest", "earliest" or "pending", see the default block parameter
Generates and returns an estimate of how much gas is necessary to allow the transaction to complete. The transaction will not be added to the blockchain. Note that the estimate may be significantly more than the amount of gas actually used by the transaction, for a variety of reasons including EVM mechanics and node performance.
Polling method for a filter, which returns an array of logs which occurred since last poll.
使用 filter_id 获取自 from 以来的 logs
Returns an array of all logs matching a given filter object.
Returns the number of transactions sent from an address.
Creates a filter object, based on filter options, to notify when the state changes (logs). To check if the state has changed, call eth_getFilterChanges.
%{ address: ["0x4aF359FC3dd065F185739EC2f8F444A746A912f2"], fromBlock: "0x16DF136", toBlock: "latest" }
Creates new message call transaction or a contract creation for signed transactions.