> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_getBlockReceipts

> Returns all transaction receipts for a given block, including gas usage, status, and any event logs emitted by smart contracts.

### Parameters

<ParamField query="chainId" type="string" default="100" required>
  Unique identifier for a blockchain network.
</ParamField>

<ParamField body="id" type="number" default={1} required>
  Request identifier used to match responses.
</ParamField>

<ParamField body="jsonrpc" type="string" default="2.0" required>
  JSON-RPC version.
</ParamField>

<ParamField body="method" type="string" default="eth_getBlockReceipts" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={["latest"]} placeholder="[&#x22;latest&#x22;]" required>
  Parameters: \[blockNumber]

  Positional parameters for <code>eth\_getBlockReceipts</code>:

  <ul>
    <li><code>params\[]</code>: Block identifier (hex block number or one of the tags: "latest", "earliest", "pending", "finalized", "safe").</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="array">
  List of transaction receipt objects for the specified block.

  <Expandable title="items">
    <ResponseField name="items[]" type="object">
      <Expandable title="properties">
        <ResponseField name="blockHash" type="string">
          Hash of the block.
        </ResponseField>

        <ResponseField name="blockNumber" type="string">
          Block number (hex).
        </ResponseField>

        <ResponseField name="contractAddress" type="string">
          Contract address created, if any.
        </ResponseField>

        <ResponseField name="cumulativeGasUsed" type="string">
          Total gas used when this transaction was executed in the block.
        </ResponseField>

        <ResponseField name="from" type="string">
          Sender address.
        </ResponseField>

        <ResponseField name="gasUsed" type="string">
          Gas used by this specific transaction.
        </ResponseField>

        <ResponseField name="effectiveGasPrice" type="string">
          Effective gas price (wei).
        </ResponseField>

        <ResponseField name="logs" type="array">
          Logs generated by this transaction.

          <Expandable title="items">
            <ResponseField name="items[]" type="object">
              <Expandable title="properties">
                <ResponseField name="address" type="string">
                  Address that generated the log.
                </ResponseField>

                <ResponseField name="topics" type="array">
                  Indexed log arguments.

                  <Expandable title="items">
                    <ResponseField name="items[]" type="string" />
                  </Expandable>
                </ResponseField>

                <ResponseField name="data" type="string">
                  Non-indexed log data.
                </ResponseField>

                <ResponseField name="blockNumber" type="string" />

                <ResponseField name="transactionHash" type="string" />

                <ResponseField name="transactionIndex" type="string" />

                <ResponseField name="blockHash" type="string" />

                <ResponseField name="logIndex" type="string" />

                <ResponseField name="removed" type="boolean">
                  True if the log was removed due to chain reorg.
                </ResponseField>
              </Expandable>
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="logsBloom" type="string">
          Bloom filter for logs.
        </ResponseField>

        <ResponseField name="status" type="string">
          Transaction execution status: 0x1 (success), 0x0 (failure).
        </ResponseField>

        <ResponseField name="to" type="string">
          Recipient address.
        </ResponseField>

        <ResponseField name="transactionHash" type="string">
          Hash of the transaction.
        </ResponseField>

        <ResponseField name="transactionIndex" type="string">
          Index of the transaction in the block.
        </ResponseField>

        <ResponseField name="type" type="string">
          Transaction type.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash Curl theme={null}
  curl --request POST \
    --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=100 \
    --header 'content-type: application/json' \
    --data '{
      "id": 1,
      "jsonrpc": "2.0",
      "method": "eth_getBlockReceipts",
      "params": [
        "latest"
      ]
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": []
  }
  ```
</ResponseExample>
