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

# klay_getTransactionReceiptBySenderTxHash

> Returns the transaction receipt using the sender transaction hash identifier.

### Parameters

**chainId** `string` *required* (default: 1001)

Unique identifier for a blockchain network.

**id** `number` *required* (default: 1)

Request identifier used to match responses.

**jsonrpc** `string` *required* (default: 2.0)

JSON-RPC version.

**method** `string` *required* (default: klay\_getTransactionReceiptBySenderTxHash)

JSON-RPC method name.

**params** `object` *required*

Parameters: \[senderTransactionHash].

Positional parameters for `klay_getTransactionReceiptBySenderTxHash`:

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

### Returns

**result** `oneOf`

Receipt object returned after transaction execution. Can be a legacy receipt (pre-EIP-2718) or AccessList receipt (EIP-2930).

**variants**

**variant1** `object`

Legacy transaction receipt (pre-EIP-2718). Includes basic execution result and log data.

**properties**

**blockHash** `string`

32 Bytes - hash of the block where this transaction was included. Null when pending.

**blockNumber** `oneOf`

Block number where this transaction was included. Null when pending.

**variants**

**variant1** `integer`

**variant2** `string`

**contractAddress** `string`

20 Bytes - The contract address created, if the transaction was a contract creation. Null otherwise.

**cumulativeGasUsed** `integer`

The total amount of gas used when this transaction was executed in the block.

**from** `string`

20 Bytes - The address the transaction is sent from.

**to** `string`

20 Bytes - The address the transaction is directed to. (Optional when creating new contract)

**gasUsed** `integer`

The amount of gas used by this specific transaction alone.

**logs** `array`

Array of log objects generated by this transaction. Each log contains indexed topics and data.

**items**

**items\[]** `object`

**properties**

**address** `string`

Address from which this log originated.

**topics** `array`

Indexed log topics.

**items**

**items\[]** `string`

**data** `string`

Data portion of the log.

**blockNumber** `integer`

**transactionHash** `string`

**transactionIndex** `integer`

**blockHash** `string`

**logIndex** `integer`

**removed** `boolean`

Indicates whether this log was removed due to a chain reorg.

**logsBloom** `string`

256 Bytes - Bloom filter for logs/events generated during transaction execution.

**root** `string`

32 Bytes - Merkle root of the state trie after the transaction (optional after Byzantium).

**status** `string`

0x0 indicates failure, 0x1 indicates success. Set for blocks after Byzantium, null before.

**transactionHash** `string`

32 Bytes - Hash of the transaction.

**transactionIndex** `integer`

The transaction's index position in the block. Null when pending.

**variant2** `allOf`

Legacy transaction receipt (pre-EIP-2718). Includes basic execution result and log data.

**variants**

**variant1** `object`

Legacy transaction receipt (pre-EIP-2718). Includes basic execution result and log data.

**variant2** `object`

AccessList receipt (EIP-2930). Extends legacy receipt and adds `type: 0x1`.

**properties**

**type** `string`

Receipt type. Fixed to "0x1" for EIP-2930 access list receipts.

```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": "klay_getTransactionReceiptBySenderTxHash",
    "params": [
      ""
    ]
  }'
```

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.