# API Methods

![](https://docs.accesscan.io/~gitbook/image?url=https%3A%2F%2Fgenesis-z.github.io%2Fassets%2Fimages%2Fpostman4.png\&width=768\&dpr=4\&quality=100\&sign=1e26c279\&sv=1)Run in Postman

View full API methods documentations in Metacces Postman fork.

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

**Block object**

Returned by `eth_getBlockByHash` and `eth_getBlockByNumber`.

<table><thead><tr><th width="172">Key</th><th width="182">Type</th><th>Value</th></tr></thead><tbody><tr><td><strong>number</strong></td><td><em>Quantity</em>, Integer</td><td>Block number. <code>null</code> when block is pending.</td></tr><tr><td><strong>hash</strong></td><td><em>Data</em>, 32 bytes</td><td>Hash of the block. <code>null</code> when block is pending.</td></tr><tr><td><strong>parentHash</strong></td><td><em>Data</em>, 32 bytes</td><td>Hash of the parent block.</td></tr><tr><td><strong>nonce</strong></td><td><em>Data</em>, 8 bytes</td><td>Hash of the generated proof of work. <code>null</code> when block is pending.</td></tr><tr><td><strong>sha3Uncles</strong></td><td><em>Data</em>, 32 bytes</td><td>SHA3 of the uncle’s data in the block.</td></tr><tr><td><strong>logsBloom</strong></td><td><em>Data</em>, 256 bytes</td><td>Bloom filter for the block logs. <code>null</code> when block is pending.</td></tr><tr><td><strong>transactionsRoot</strong></td><td><em>Data</em>, 32 bytes</td><td>Root of the transaction trie for the block.</td></tr><tr><td><strong>stateRoot</strong></td><td>Data, 32 bytes</td><td>Root of the final state trie for the block.</td></tr><tr><td><strong>receiptsRoot</strong></td><td>Data, 32 bytes</td><td>Root of the receipts trie for the block.</td></tr><tr><td><strong>miner</strong></td><td>Data, 20 bytes</td><td>Address to pay mining rewards to.</td></tr><tr><td><strong>difficulty</strong></td><td>Quantity, Integer</td><td>Difficulty for this block.</td></tr><tr><td><strong>totalDifficulty</strong></td><td>Quantity, Integer</td><td>Total difficulty of the chain until this block.</td></tr><tr><td><strong>size</strong></td><td>Quantity, Integer</td><td>Size of block in bytes.</td></tr><tr><td><strong>gasLimit</strong></td><td>Quantity</td><td>Maximum gas allowed in this block.</td></tr><tr><td><strong>gasUsed</strong></td><td>Quantity</td><td>Total gas used by all transactions in this block.</td></tr><tr><td><strong>timestamp</strong></td><td>Quantity</td><td>Unix timestamp for block assembly.</td></tr><tr><td><strong>transactions</strong></td><td>Array</td><td>Array of <a href="https://besu.hyperledger.org/en/stable/Reference/API-Objects/#transaction-object">transaction objects</a>, or 32 byte transaction hashes depending on the specified boolean parameter.</td></tr><tr><td><strong>uncles</strong></td><td>Array</td><td>Array of uncle hashes.</td></tr><tr><td><strong>baseFeePerGas</strong></td><td>Quantity</td><td>The block’s <a href="https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/#eip1559-transactions">base fee per gas</a>. This field is empty for blocks created before <a href="https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1559.md">EIP-1559</a>.</td></tr></tbody></table>

**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.

<table><thead><tr><th width="173">Key</th><th width="168">Type</th><th>Value</th></tr></thead><tbody><tr><td><strong>oldestBlock</strong></td><td>Quantity, Integer</td><td>Lowest number block of the returned range.</td></tr><tr><td><strong>baseFeePerGas</strong></td><td>Array</td><td>Array of block base fees per gas, including an extra block value. The extra value is the next block after the newest block in the returned range. Returns zeroes for blocks created before <a href="https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1559.md">EIP-1559</a>.</td></tr><tr><td><strong>gasUsedRatio</strong></td><td>Array</td><td>Array of block gas used ratios. These are calculated as the ratio of <code>gasUsed</code> and <code>gasLimit</code>.</td></tr></tbody></table>

**Filter options object**

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

<table><thead><tr><th width="137">Key</th><th width="143">Type</th><th width="111">Optional</th><th>Value</th></tr></thead><tbody><tr><td><strong>fromBlock</strong></td><td>Quantity | Tag</td><td>Optional</td><td>Integer block number or <code>latest</code>, <code>pending</code>, <code>earliest</code>. See <a href="https://besu.hyperledger.org/en/stable/HowTo/Interact/APIs/Using-JSON-RPC-API/#block-parameter">Block Parameter</a>. Default is <code>latest</code>.</td></tr><tr><td><strong>toBlock</strong></td><td>Quantity | Tag</td><td>Optional</td><td>Integer block number or <code>latest</code>, <code>pending</code>, <code>earliest</code>. See <a href="https://besu.hyperledger.org/en/stable/HowTo/Interact/APIs/Using-JSON-RPC-API/#block-parameter">Block Parameter</a>. Default is <code>latest</code>.</td></tr><tr><td><strong>address</strong></td><td>Data | Array</td><td>Optional</td><td>Contract address or array of addresses from which <a href="https://besu.hyperledger.org/en/stable/Concepts/Events-and-Logs/">logs</a> originate.</td></tr><tr><td><strong>topics</strong></td><td>Array of Data, 32 bytes each</td><td>Optional</td><td>Array of topics by which to <a href="https://besu.hyperledger.org/en/stable/Concepts/Events-and-Logs/#topic-filters">filter logs</a>.</td></tr></tbody></table>

[`eth_getLogs`](https://besu.hyperledger.org/en/stable/Reference/API-Methods/#eth_getlogs) and [`priv_getLogs`](https://besu.hyperledger.org/en/stable/Reference/API-Methods/#priv_getlogs) have an extra key.

| Key           | Type           | Required/Optional | Value                                                                                                             |
| ------------- | -------------- | ----------------- | ----------------------------------------------------------------------------------------------------------------- |
| **blockHash** | Data, 32 bytes | Optional.         | Hash of block for which to return logs. If you specify `blockHash`, you cannot specify `fromBlock` and `toBlock`. |

**Log object**

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

| Key                  | Type                         | Value                                                                                                                                                                                                                                |
| -------------------- | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **removed**          | Tag                          | `true` if log removed because of a chain reorganization. `false` if a valid log.                                                                                                                                                     |
| **logIndex**         | Quantity, Integer            | Log index position in the block. `null` when log is pending.                                                                                                                                                                         |
| **transactionIndex** | Quantity, Integer            | Index position of the starting transaction for the log. `null` when log is pending.                                                                                                                                                  |
| **transactionHash**  | Data, 32 bytes               | Hash of the starting transaction for the log. `null` when log is pending.                                                                                                                                                            |
| **blockHash**        | Data, 32 bytes               | Hash of the block that includes the log. `null` when log is pending.                                                                                                                                                                 |
| **blockNumber**      | Quantity                     | Number of block that includes the log. `null` when log is pending.                                                                                                                                                                   |
| **address**          | Data, 20 bytes               | Address the log originated from.                                                                                                                                                                                                     |
| **data**             | Data                         | Non-indexed arguments of the log.                                                                                                                                                                                                    |
| **topics**           | Array of Data, 32 bytes each | [Event signature hash](https://besu.hyperledger.org/en/stable/Concepts/Events-and-Logs/#event-signature-hash) and 0 to 3 [indexed log arguments](https://besu.hyperledger.org/en/stable/Concepts/Events-and-Logs/#event-parameters). |

**Miner data object**

Returned by `eth_getMinerDataByBlockHash` and `eth_getMinerDataByBlockNumber`.

| Key                      | Type              | Value                                                                                                                                                                                                                   |
| ------------------------ | ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **netBlockReward**       | Quantity, Integer | The net block reward, in Wei, is `staticBlockReward + transactionFee + uncleInclusionReward`.                                                                                                                           |
| **staticBlockReward**    | Quantity, Integer | The static block reward, in Wei, is preset on a hard fork.                                                                                                                                                              |
| **transactionFee**       | Quantity, Integer | The transaction fee, in Wei, is `sum of upfront cost - refund amount for all transactions`.                                                                                                                             |
| **uncleInclusionReward** | Quantity, Integer | The uncle inclusion reward, in Wei, is `static block reward * number of ommers/32`.                                                                                                                                     |
| **uncleRewards**         | Map               | Map of uncle block hashes and uncle miner coinbase addresses.                                                                                                                                                           |
| **coinbase**             | Data, 20 bytes    | Coinbase address.                                                                                                                                                                                                       |
| **extraData**            | Data              | Extra data field for this block. The first 32 bytes is vanity data you can set using the [`--miner-extra-data`](https://besu.hyperledger.org/en/stable/Reference/CLI/CLI-Syntax/#miner-extra-data) command line option. |
| **difficulty**           | Quantity, Integer | Difficulty of this block.                                                                                                                                                                                               |
| **totalDifficulty**      | Quantity, Integer | Total difficulty of the chain until this block.                                                                                                                                                                         |

**Pending transaction object**

Returned by `txpool_besuPendingTransactions`.

| Key                      | Type              | Value                                                                                                                                                                                                                                                                                                                                                                            |
| ------------------------ | ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **accessList**           | Array             | (Optional) List of addresses and storage keys the transaction plans to access. Used in [`ACCESS_LIST` transactions](https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/#access_list-transactions) and may be used in [`EIP1559` transactions](https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/#eip1559-transactions). |
| **from**                 | Data, 20 bytes    | Address of the sender.                                                                                                                                                                                                                                                                                                                                                           |
| **gas**                  | Quantity          | Gas provided by the sender.                                                                                                                                                                                                                                                                                                                                                      |
| **gasPrice**             | Quantity          | (Optional) Gas price, in Wei, provided by the sender. Not used only in [`EIP1559` transactions](https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/#eip1559-transactions).                                                                                                                                                                           |
| **maxPriorityFeePerGas** | Quantity, Integer | (Optional) Maximum fee, in Wei, the sender is willing to pay per gas above the base fee. Used only in [`EIP1559` transactions](https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/#eip1559-transactions).                                                                                                                                            |
| **maxFeePerGas**         | Quantity, Integer | (Optional) Maximum total fee (base fee + priority fee), in Wei, the sender is willing to pay per gas. Used only in [`EIP1559` transactions](https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/#eip1559-transactions).                                                                                                                               |
| **hash**                 | Data, 32 bytes    | Hash of the transaction.                                                                                                                                                                                                                                                                                                                                                         |
| **input**                | Data              | Data sent with the transaction to create or invoke a contract.                                                                                                                                                                                                                                                                                                                   |
| **nonce**                | Quantity          | Number of transactions made by the sender before this one.                                                                                                                                                                                                                                                                                                                       |
| **to**                   | Data, 20 bytes    | Address of the receiver. `null` if a contract creation transaction.                                                                                                                                                                                                                                                                                                              |
| **transactionType**      | String            | [Transaction type](https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/).                                                                                                                                                                                                                                                                             |
| **value**                | Quantity          | Value transferred, in Wei.                                                                                                                                                                                                                                                                                                                                                       |
| **v**                    | Quantity          | ECDSA Recovery ID.                                                                                                                                                                                                                                                                                                                                                               |
| **r**                    | Data, 32 bytes    | ECDSA signature r.                                                                                                                                                                                                                                                                                                                                                               |
| **s**                    | Data, 32 bytes    | ECDSA signature s.                                                                                                                                                                                                                                                                                                                                                               |

**Private transaction object**

Returned by `priv_getPrivateTransaction`.

| Key             | Type           | Value                                                                                                  |
| --------------- | -------------- | ------------------------------------------------------------------------------------------------------ |
| **from**        | Data, 20 bytes | Address of the sender.                                                                                 |
| **gas**         | Quantity       | Gas provided by the sender.                                                                            |
| **gasPrice**    | Quantity       | Gas price, in Wei, provided by the sender.                                                             |
| **hash**        | Data, 32 bytes | Hash of the transaction.                                                                               |
| **input**       | Data           | The data to create or invoke a contract.                                                               |
| **nonce**       | Quantity       | Number of transactions made by the sender to the privacy group before this one.                        |
| **to**          | Data, 20 bytes | `null` if a contract creation transaction, otherwise, the contract address.                            |
| **value**       | Quantity       | `null` because private transactions cannot transfer Ether.                                             |
| **v**           | Quantity       | ECDSA Recovery ID.                                                                                     |
| **r**           | Data, 32 bytes | ECDSA signature r.                                                                                     |
| **s**           | Data, 32 bytes | ECDSA signature s.                                                                                     |
| **restriction** | String         | Must be [`restricted`](https://besu.hyperledger.org/en/stable/Concepts/Privacy/Private-Transactions/). |

**Range object**

Returned by `debug_storageRangeAt`.

| Key         | Type   | Value                                                                      |
| ----------- | ------ | -------------------------------------------------------------------------- |
| **storage** | Object | Key hash and value. Pre-image key is `null` if it falls outside the cache. |
| **nextKey** | Hash   | Hash of next key if further storage in range. Otherwise, not included.     |

**Structured log object**

Log information returned as part of the Trace object.

| Key                        | Type                    | Value                                                                                                                                                                                                                                                                                                                                            |
| -------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **pc**                     | Integer                 | Current program counter.                                                                                                                                                                                                                                                                                                                         |
| **op**                     | String                  | Current OpCode.                                                                                                                                                                                                                                                                                                                                  |
| **gas**                    | Integer                 | Gas remaining.                                                                                                                                                                                                                                                                                                                                   |
| **gasCost**                | Integer                 | Cost in wei of each gas unit.                                                                                                                                                                                                                                                                                                                    |
| **depth**                  | Integer                 | Execution depth.                                                                                                                                                                                                                                                                                                                                 |
| **exceptionalHaltReasons** | Array                   | One or more strings representing an error condition causing the EVM execution to terminate. These strings suggest that EVM execution terminated for reasons such as running out of gas or attempting to execute an unknown instruction. Generally a single exceptional halt reason returns but it’s possible for more than one to occur at once. |
| **stack**                  | Array of 32 byte arrays | EVM execution stack before executing current operation.                                                                                                                                                                                                                                                                                          |
| **memory**                 | Array of 32 byte arrays | Memory space of the contract before executing current operation.                                                                                                                                                                                                                                                                                 |
| **storage**                | Object                  | Storage entries changed by the current transaction.                                                                                                                                                                                                                                                                                              |

**Trace object**

Returned by `debug_traceBlock`, `debug_traceBlockByHash`, `debug_traceBlockByNumber`, and `debug_traceTransaction`.

| Key             | Type    | Value                                                              |
| --------------- | ------- | ------------------------------------------------------------------ |
| **gas**         | Integer | Gas used by the transaction.                                       |
| **failed**      | Boolean | True if transaction failed, otherwise, false.                      |
| **returnValue** | String  | Bytes returned from transaction execution (without a `0x` prefix). |
| **structLogs**  | Array   | Array of structured log objects.                                   |

**Transaction object**

Returned by `eth_getTransactionByHash`, `eth_getTransactionByBlockHashAndIndex`, and `eth_getTransactionByBlockNumberAndIndex`.

| Key                      | Type              | Value                                                                                                                                                                                                                                                                                                                                                                            |
| ------------------------ | ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **accessList**           | Array             | (Optional) List of addresses and storage keys the transaction plans to access. Used in [`ACCESS_LIST` transactions](https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/#access_list-transactions) and may be used in [`EIP1559` transactions](https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/#eip1559-transactions). |
| **blockHash**            | Data, 32 bytes    | Hash of the block containing this transaction. `null` when transaction is pending.                                                                                                                                                                                                                                                                                               |
| **blockNumber**          | Quantity          | Block number of the block containing this transaction. `null` when transaction is pending.                                                                                                                                                                                                                                                                                       |
| **chainId**              | Quantity          | [Chain ID](https://besu.hyperledger.org/en/stable/Concepts/NetworkID-And-ChainID/).                                                                                                                                                                                                                                                                                              |
| **from**                 | Data, 20 bytes    | Address of the sender.                                                                                                                                                                                                                                                                                                                                                           |
| **gas**                  | Quantity          | Gas provided by the sender.                                                                                                                                                                                                                                                                                                                                                      |
| **gasPrice**             | Quantity          | (Optional) Gas price, in Wei, provided by the sender. Not used only in [`EIP1559` transactions](https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/#eip1559-transactions).                                                                                                                                                                           |
| **maxPriorityFeePerGas** | Quantity, Integer | (Optional) Maximum fee, in Wei, the sender is willing to pay per gas above the base fee. Used only in [`EIP1559` transactions](https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/#eip1559-transactions).                                                                                                                                            |
| **maxFeePerGas**         | Quantity, Integer | (Optional) Maximum total fee (base fee + priority fee), in Wei, the sender is willing to pay per gas. Used only in [`EIP1559` transactions](https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/#eip1559-transactions).                                                                                                                               |
| **hash**                 | Data, 32 bytes    | Hash of the transaction.                                                                                                                                                                                                                                                                                                                                                         |
| **input**                | Data              | Data sent with the transaction to create or invoke a contract. For [private transactions](https://besu.hyperledger.org/en/stable/Concepts/Privacy/Privacy-Overview/), it’s a pointer to the transaction location in [Tessera](https://docs.tessera.consensys.net/).                                                                                                              |
| **nonce**                | Quantity          | Number of transactions made by the sender before this one.                                                                                                                                                                                                                                                                                                                       |
| **publicKey**            | Data, 64 bytes    | Public key of the sender.                                                                                                                                                                                                                                                                                                                                                        |
| **raw**                  | Data              | This signed transaction in Recursive Length Prefix (RLP) encoded form.                                                                                                                                                                                                                                                                                                           |
| **to**                   | Data, 20 bytes    | Address of the receiver. `null` if a contract creation transaction.                                                                                                                                                                                                                                                                                                              |
| **transactionIndex**     | Quantity, Integer | Index position of the transaction in the block. `null` when transaction is pending.                                                                                                                                                                                                                                                                                              |
| **transactionType**      | String            | [Transaction type](https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/).                                                                                                                                                                                                                                                                             |
| **value**                | Quantity          | Value transferred, in Wei.                                                                                                                                                                                                                                                                                                                                                       |
| **v**                    | Quantity          | ECDSA Recovery ID.                                                                                                                                                                                                                                                                                                                                                               |
| **r**                    | Data, 32 bytes    | ECDSA signature r.                                                                                                                                                                                                                                                                                                                                                               |
| **s**                    | Data, 32 bytes    | ECDSA signature s.                                                                                                                                                                                                                                                                                                                                                               |

**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`.

| Key                      | Type              | Value                                                                                                                                                                                                                                                                                        |
| ------------------------ | ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **from**                 | Data, 20 bytes    | Address of the sender.                                                                                                                                                                                                                                                                       |
| **to**                   | Data, 20 bytes    | Address of the action receiver.                                                                                                                                                                                                                                                              |
| **gas**                  | Quantity, Integer | Gas provided by the sender. `eth_call` consumes zero gas, but other executions might need this parameter. `eth_estimateGas` ignores this value.                                                                                                                                              |
| **gasPrice**             | Quantity, Integer | Gas price, in Wei, provided by the sender. The default is `0`. Can’t be used only in [`EIP1559` transactions](https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/#eip1559-transactions).                                                                         |
| **maxPriorityFeePerGas** | Quantity, Integer | Maximum fee, in Wei, the sender is willing to pay per gas above the base fee. Can be used only in [`EIP1559` transactions](https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/#eip1559-transactions). If used, must specify `maxFeePerGas`.                      |
| **maxFeePerGas**         | Quantity, Integer | Maximum total fee (base fee + priority fee), in Wei, the sender is willing to pay per gas. Can be used only in [`EIP1559` transactions](https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/#eip1559-transactions). If used, must specify `maxPriorityFeePerGas`. |
| **value**                | Quantity, Integer | Value transferred, in Wei.                                                                                                                                                                                                                                                                   |
| **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).                                                                                                                                     |
| **strict**               | Tag               | If `true`, checks that the `from` account’s ether balance is sufficient to cover the transaction and gas fee. If `false`, this balance is not checked. The default is `false`.                                                                                                               |

**Transaction receipt object**

Returned by `eth_getTransactionReceipt`.

| Key                   | Type              | Value                                                                                                                                                                                                                                                                                             |
| --------------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **blockHash**         | Data, 32 bytes    | Hash of block containing this transaction.                                                                                                                                                                                                                                                        |
| **blockNumber**       | Quantity          | Block number of block containing this transaction.                                                                                                                                                                                                                                                |
| **contractAddress**   | Data, 20 bytes    | Contract address created, if contract creation transaction, otherwise, `null`.                                                                                                                                                                                                                    |
| **cumulativeGasUsed** | Quantity          | Total amount of gas used by previous transactions in the block and this transaction.                                                                                                                                                                                                              |
| **effectiveGasPrice** | Quantity          | The [actual value per gas deducted](https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/#eip1559-transactions) from the sender’s account.                                                                                                                              |
| **from**              | Data, 20 bytes    | Address of the sender.                                                                                                                                                                                                                                                                            |
| **gasUsed**           | Quantity          | Amount of gas used by this specific transaction.                                                                                                                                                                                                                                                  |
| **logs**              | Array             | Array of [log objects](https://besu.hyperledger.org/en/stable/Reference/API-Objects/#log-object) generated by this transaction.                                                                                                                                                                   |
| **logsBloom**         | Data, 256 bytes   | Bloom filter for light clients to quickly retrieve related logs.                                                                                                                                                                                                                                  |
| **status**            | Quantity          | Either `0x0` (failure), `0x1` (success), or `0x2` (invalid).                                                                                                                                                                                                                                      |
| **to**                | Data, 20 bytes    | Address of the receiver, if sending ether, otherwise, null.                                                                                                                                                                                                                                       |
| **transactionHash**   | Data, 32 bytes    | Hash of the transaction.                                                                                                                                                                                                                                                                          |
| **transactionIndex**  | Quantity, Integer | Index position of transaction in the block.                                                                                                                                                                                                                                                       |
| **transactionType**   | String            | [Transaction type](https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Types/).                                                                                                                                                                                              |
| **revertReason**      | String            | ABI-encoded string that displays the [reason for reverting the transaction](https://besu.hyperledger.org/en/stable/HowTo/Send-Transactions/Revert-Reason/). Only available if revert reason is [enabled](https://besu.hyperledger.org/en/stable/Reference/CLI/CLI-Syntax/#revert-reason-enabled). |

Note

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

| Key      | Type           | Value                       |
| -------- | -------------- | --------------------------- |
| **root** | Data, 32 bytes | Post-transaction state root |

**Transaction trace object**

Returned by `trace_replayBlockTransactions`.

<table><thead><tr><th width="193">Key</th><th width="157">Type</th><th>Value</th></tr></thead><tbody><tr><td><strong>output</strong></td><td>Boolean</td><td>Transaction result. 1 for success and 0 for failure.</td></tr><tr><td><strong>stateDiff</strong></td><td>Object</td><td><a href="https://besu.hyperledger.org/en/stable/Reference/Trace-Types/#statediff">State changes in the requested block</a>.</td></tr><tr><td><strong>trace</strong></td><td>Array</td><td><a href="https://besu.hyperledger.org/en/stable/Reference/Trace-Types/#trace">Ordered list of calls to other contracts</a>.</td></tr><tr><td><strong>vmTrace</strong></td><td>Object</td><td><a href="https://besu.hyperledger.org/en/stable/Reference/Trace-Types/#vmtrace">Ordered list of EVM actions</a>.</td></tr><tr><td><strong>transactionHash</strong></td><td>Data, 32 bytes</td><td>Hash of the replayed transaction.</td></tr></tbody></table>
