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

# kaia_getTransactionReceiptBySenderTxHash

> Returns the transaction receipt identified by sender transaction hash.

### Parameters

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

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

  Positional parameters for <code>kaia\_getTransactionReceiptBySenderTxHash</code>:

  <ul>
    <li><code>params\[]</code>: 32 Bytes - hash of the transaction.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="oneOf">
  Receipt object returned after transaction execution. Can be a legacy receipt (pre-EIP-2718) or AccessList receipt (EIP-2930).

  <Expandable title="variants">
    <ResponseField name="variant1" type="object">
      Legacy transaction receipt (pre-EIP-2718). Includes basic execution result and log data.

      <Expandable title="properties">
        <ResponseField name="blockHash" type="string">
          32 Bytes - hash of the block where this transaction was included. Null when pending.
        </ResponseField>

        <ResponseField name="blockNumber" type="oneOf">
          Block number where this transaction was included. Null when pending.

          <Expandable title="variants">
            <ResponseField name="variant1" type="integer" />

            <ResponseField name="variant2" type="string" />
          </Expandable>
        </ResponseField>

        <ResponseField name="contractAddress" type="string">
          20 Bytes - The contract address created, if the transaction was a contract creation. Null otherwise.
        </ResponseField>

        <ResponseField name="cumulativeGasUsed" type="integer">
          The total amount of gas used when this transaction was executed in the block.
        </ResponseField>

        <ResponseField name="from" type="string">
          20 Bytes - The address the transaction is sent from.
        </ResponseField>

        <ResponseField name="to" type="string">
          20 Bytes - The address the transaction is directed to. (Optional when creating new contract)
        </ResponseField>

        <ResponseField name="gasUsed" type="integer">
          The amount of gas used by this specific transaction alone.
        </ResponseField>

        <ResponseField name="logs" type="array">
          Array of log objects generated by this transaction. Each log contains indexed topics and data.

          <Expandable title="items">
            <ResponseField name="items[]" type="object">
              <Expandable title="properties">
                <ResponseField name="address" type="string">
                  Address from which this log originated.
                </ResponseField>

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

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

                <ResponseField name="data" type="string">
                  Data portion of the log.
                </ResponseField>

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

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

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

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

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

                <ResponseField name="removed" type="boolean">
                  Indicates whether this log was removed due to a chain reorg.
                </ResponseField>
              </Expandable>
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="logsBloom" type="string">
          256 Bytes - Bloom filter for logs/events generated during transaction execution.
        </ResponseField>

        <ResponseField name="root" type="string">
          32 Bytes - Merkle root of the state trie after the transaction (optional after Byzantium).
        </ResponseField>

        <ResponseField name="status" type="string">
          0x0 indicates failure, 0x1 indicates success. Set for blocks after Byzantium, null before.
        </ResponseField>

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

        <ResponseField name="transactionIndex" type="integer">
          The transaction's index position in the block. Null when pending.
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="variant2" type="allOf">
      Legacy transaction receipt (pre-EIP-2718). Includes basic execution result and log data.

      <Expandable title="variants">
        <ResponseField name="variant1" type="object">
          Legacy transaction receipt (pre-EIP-2718). Includes basic execution result and log data.
        </ResponseField>

        <ResponseField name="variant2" type="object">
          AccessList receipt (EIP-2930). Extends legacy receipt and adds `type: 0x1`.

          <Expandable title="properties">
            <ResponseField name="type" type="string">
              Receipt type. Fixed to "0x1" for EIP-2930 access list receipts.
            </ResponseField>
          </Expandable>
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

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

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