API Objects

The following objects are parameters for or returned by Enter API methods.

Block object

Returned by eth_getBlockByHash and eth_getBlockByNumber.

Fee history results object

Returned by eth_feeHistory for the requested block range. If blocks in the specified block range are not available, then only the fee history for available blocks is returned.

Filter options object

Parameter for eth_newFilter, eth_getLogs, and priv_getLogs. Used to filter logs.

eth_getLogs and priv_getLogs have an extra key.

Log object

Returned by eth_getFilterChanges and priv_getLogs. Transaction receipt objects can contain an array of log objects.

Miner data object

Returned by eth_getMinerDataByBlockHash and eth_getMinerDataByBlockNumber.

Pending transaction object

Returned by txpool_besuPendingTransactions.

Private transaction object

Returned by priv_getPrivateTransaction.

Range object

Returned by debug_storageRangeAt.

Structured log object

Log information returned as part of the Trace object.

Trace object

Returned by debug_traceBlock, debug_traceBlockByHash, debug_traceBlockByNumber, and debug_traceTransaction.

Transaction object

Returned by eth_getTransactionByHash, eth_getTransactionByBlockHashAndIndex, and eth_getTransactionByBlockNumberAndIndex.

Transaction call object

Parameter for eth_call and eth_estimateGas.

Note

All transaction call object parameters are optional for eth_estimateGas. Only the to parameter is required for eth_call.

Transaction receipt object

Returned by eth_getTransactionReceipt.

Note

For pre-Byzantium transactions, the transaction receipt object includes the following instead of status:

Transaction trace object

Returned by trace_replayBlockTransactions.

Private transaction receipt object

Returned by priv_getTransactionReceipt.

Last updated