# Eth\_getTransactionReceipt

## Get transaction receipt by hash

> Sends a JSON-RPC request to retrieve the receipt of a transaction by its hash. \
> Returns the transaction receipt if the transaction has been mined; otherwise, returns null.<br>

```json
{"openapi":"3.0.0","info":{"title":"Ethereum JSON-RPC","version":"1.0.0"},"servers":[{"url":"https://zksync.nownodes.io"}],"security":[{"api-keyAuth":[]}],"components":{"securitySchemes":{"api-keyAuth":{"type":"apiKey","in":"header","name":"api-key"}}},"paths":{"/":{"post":{"tags":["eth_getTransactionReceipt"],"summary":"Get transaction receipt by hash","operationId":"ethGetTransactionReceipt","description":"Sends a JSON-RPC request to retrieve the receipt of a transaction by its hash. \nReturns the transaction receipt if the transaction has been mined; otherwise, returns null.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","method","params","id"],"properties":{"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"type":"array","minItems":1,"maxItems":1,"items":{"type":"string","description":"Transaction hash"}},"id":{"type":"integer"}}}}}},"responses":{"200":{"description":"Transaction receipt if mined, otherwise null","content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string"},"id":{"type":"integer"},"result":{"type":"object","nullable":true,"description":"Transaction receipt object or null","properties":{"transactionHash":{"type":"string","description":"Hash of the transaction"},"transactionIndex":{"type":"string","description":"Index of the transaction in the block"},"blockHash":{"type":"string","description":"Hash of the block containing this transaction"},"blockNumber":{"type":"string","description":"Block number containing this transaction"},"from":{"type":"string","description":"Address of the sender"},"to":{"type":"string","nullable":true,"description":"Address of the receiver (null for contract creation)"},"cumulativeGasUsed":{"type":"string","description":"Total gas used when this transaction was executed in the block"},"gasUsed":{"type":"string","description":"Gas used by this transaction alone"},"contractAddress":{"type":"string","nullable":true,"description":"Contract address created by this transaction (if any)"},"logs":{"type":"array","description":"Array of log objects generated by this transaction","items":{"type":"object","properties":{"address":{"type":"string"},"topics":{"type":"array","items":{"type":"string"}},"data":{"type":"string"},"blockNumber":{"type":"string"},"transactionHash":{"type":"string"},"transactionIndex":{"type":"string"},"blockHash":{"type":"string"},"logIndex":{"type":"string"},"removed":{"type":"boolean"}}}},"logsBloom":{"type":"string","description":"Bloom filter for quickly retrieving related logs"},"status":{"type":"string","description":"1"}}}}}}}}}}}}}
```
