> ## 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_getTransactionReceiptsByBlock

> Returns all transaction receipts for the specified block using a block number, block hash, or tag. Not available for pending blocks.

### Parameters

<ParamField query="chainId" type="string" default="1088" 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_getTransactionReceiptsByBlock" required>
  JSON-RPC method name.
</ParamField>

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

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

  <ul>
    <li><code>params\[]</code>: The block number in hex, block hash, or a tag such as "latest", "earliest", or "finalized".</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="array">
  An array of transaction receipt objects or null if no receipts were found.

  <Expandable title="items">
    <ResponseField name="items[]" type="object">
      <Expandable title="properties">
        <ResponseField name="blockHash" type="string">
          The hash of the block containing this transaction.
        </ResponseField>

        <ResponseField name="blockNumber" type="string">
          The block number in hex.
        </ResponseField>

        <ResponseField name="contractAddress" type="string">
          Contract address created, or null if not a contract creation.
        </ResponseField>

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

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

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

        <ResponseField name="logs" type="array">
          Array of log objects generated by this transaction.

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

                <ResponseField name="topics" type="array">
                  Array of indexed log arguments (topics).

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

                <ResponseField name="data" type="string">
                  Non-indexed data portion of the log.
                </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" />
              </Expandable>
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="logsBloom" type="string">
          Logs bloom filter.
        </ResponseField>

        <ResponseField name="status" type="string">
          Execution status: "0x1" (success) or "0x0" (failure).
        </ResponseField>

        <ResponseField name="to" type="string">
          Recipient address, or null if contract creation.
        </ResponseField>

        <ResponseField name="transactionHash" type="string">
          Transaction hash.
        </ResponseField>

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

        <ResponseField name="type" type="string">
          Type of the transaction.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

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

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