# Get transaction receipt by hash

## GET /v1/transactions/receipt/by\_hash

>

```json
{"openapi":"3.1.0","info":{"title":"om-api-rest","version":"0.1.0"},"tags":[{"name":"transactions","description":"Transactions API"}],"servers":[{"url":"https://api.testnet.1money.network","description":"Testnet API server"},{"url":"https://api.1money.network","description":"Mainnet API server"},{"url":"http://localhost:18555","description":"Local API server"}],"paths":{"/v1/transactions/receipt/by_hash":{"get":{"tags":["transactions"],"operationId":"get_receipt_by_hash","parameters":[{"name":"hash","in":"query","description":"hash of the transaction to lookup","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionReceipt"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RESTErrorData"}}}},"404":{"description":"Resource not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RESTErrorData"}}}},"408":{"description":"Request timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RESTErrorData"}}}},"422":{"description":"Business logic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RESTErrorData"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RESTErrorData"}}}}}}}},"components":{"schemas":{"TransactionReceipt":{"type":"object","description":"Transaction receipt\nThis type is generic over an inner [`ReceiptEnvelope`] which contains\nconsensus data and metadata.","required":["success","transaction_hash","fee_used","from"],"properties":{"checkpoint_hash":{"$ref":"#/components/schemas/B256Schema","description":"Hash of the checkpoint this transaction was included within."},"checkpoint_number":{"type":"integer","format":"int64","description":"Number of the checkpoint this transaction was included within.","minimum":0},"fee_used":{"type":"string","description":"Fee used"},"from":{"$ref":"#/components/schemas/AddressSchema","description":"Address of the sender"},"recipient":{"$ref":"#/components/schemas/AddressSchema","description":"Address of the recipient. None when its a contract creation transaction."},"success":{"type":"boolean","description":"If transaction is executed successfully."},"success_info":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/SuccessInfo","description":"Success information for token transactions"}]},"to":{"$ref":"#/components/schemas/AddressSchema","description":"Address of the recipient. None when its a contract creation transaction.\nThis field will be deprecated, please use `recipient` instead."},"token_address":{"$ref":"#/components/schemas/AddressSchema","description":"Token address"},"transaction_hash":{"$ref":"#/components/schemas/B256Schema","description":"Transaction Hash."},"transaction_index":{"type":"integer","format":"int64","description":"Index within the block.","minimum":0}}},"B256Schema":{"type":"string","title":"string"},"AddressSchema":{"type":"string","title":"string"},"SuccessInfo":{"type":"object","required":["sender","receiver","is_private","message"],"properties":{"bridge_info":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BridgeInfo","description":"Bridge-specific information for BurnAndBridge operations"}]},"is_private":{"type":"boolean","description":"Whether the transaction is private"},"message":{"type":"string","description":"Message associated with the transaction"},"receiver":{"$ref":"#/components/schemas/AddressSchema","description":"Receiver address"},"sender":{"$ref":"#/components/schemas/AddressSchema","description":"Sender address"}}},"BridgeInfo":{"type":"object","required":["bbnonce","destination_chain_id","destination_address"],"properties":{"bbnonce":{"type":"integer","format":"int64","description":"The BurnAndBridge nonce used for sidechain anti-replay protection","minimum":0},"bridge_param":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BytesSchema","description":"Optional bridge parameters as arbitrary bytes"}]},"destination_address":{"type":"string","description":"The destination address on the target chain"},"destination_chain_id":{"type":"integer","format":"int64","description":"The destination chain ID for the bridge operation","minimum":0}}},"BytesSchema":{"type":"string","title":"hex string"},"RESTErrorData":{"type":"object","required":["error_code","message"],"properties":{"error_code":{"type":"string","description":"Structured error code for programmatic handling"},"message":{"type":"string","description":"Human-readable error message"}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.1moneynetwork.com/integrations/rest-apis/transactions/get-transaction-receipt-by-hash.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
