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

# eth_getTransactionReceipt

> Returns the receipt of a transaction by hash

## Parameters

<ParamField body="transactionHash" type="string" required>
  Hash of the transaction (32 bytes)
</ParamField>

## Returns

<ParamField body="receipt" type="object">
  Receipt object or `null`

  <Expandable title="properties">
    <ParamField body="transactionHash" type="string">
      Transaction hash
    </ParamField>

    <ParamField body="transactionIndex" type="string">
      Transaction index (hex)
    </ParamField>

    <ParamField body="blockHash" type="string">
      Block hash
    </ParamField>

    <ParamField body="blockNumber" type="string">
      Block number (hex)
    </ParamField>

    <ParamField body="from" type="string">
      Sender address
    </ParamField>

    <ParamField body="to" type="string">
      Recipient address
    </ParamField>

    <ParamField body="cumulativeGasUsed" type="string">
      Total gas used in block up to this tx (hex)
    </ParamField>

    <ParamField body="effectiveGasPrice" type="string">
      Actual gas price paid (hex)
    </ParamField>

    <ParamField body="gasUsed" type="string">
      Gas used by this tx (hex)
    </ParamField>

    <ParamField body="contractAddress" type="string">
      Contract address if created, else `null`
    </ParamField>

    <ParamField body="logs" type="array">
      Array of log objects
    </ParamField>

    <ParamField body="logsBloom" type="string">
      Bloom filter for logs
    </ParamField>

    <ParamField body="status" type="string">
      `0x1` for success, `0x0` for failure
    </ParamField>
  </Expandable>
</ParamField>

## Example

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST "https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET" \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b"], "id": 1}'
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET', {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
    "jsonrpc": "2.0",
    "method": "eth_getTransactionReceipt",
    "params": [
      "0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b"
    ],
    "id": 1
  })
  });
  const { result } = await response.json();
  console.log(result);
  ```

  ```python Python theme={null}
  import requests

  response = requests.post(
      'https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET',
      json={
    "jsonrpc": "2.0",
    "method": "eth_getTransactionReceipt",
    "params": [
      "0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b"
    ],
    "id": 1
  }
  )
  print(response.json()['result'])
  ```
</CodeGroup>
