# Get finalized transaction by hash

## GET /v1/transactions/finalized/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/finalized/by_hash":{"get":{"tags":["transactions"],"operationId":"get_finalized_transaction_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/FinalizedTransaction"}}}},"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":{"FinalizedTransaction":{"allOf":[{"$ref":"#/components/schemas/TransactionReceipt"},{"type":"object","required":["epoch","counter_signatures"],"properties":{"counter_signatures":{"type":"array","items":{"$ref":"#/components/schemas/RestSignature"}},"epoch":{"type":"integer","format":"int64","minimum":0}}}],"description":"Finalized transaction with counter-signatures"},"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"},"RestSignature":{"type":"object","description":"Signature type for REST requests.\n\nWe use this type to avoid the ambiguity of the signature type in the core\nprimitives.\n\nThis type is referred to `https://github.com/alloy-rs/alloy/blob/b2278c40b2693908e4e5108d65ade26e8d716765/crates/rpc-types-eth/src/transaction/signature.rs#L9`.","required":["r","s","v"],"properties":{"r":{"$ref":"#/components/schemas/SignatureRSchema","description":"The R field of the signature; the point on the curve."},"s":{"$ref":"#/components/schemas/SignatureSSchema","description":"The S field of the signature; the point on the curve."},"v":{"type":"integer","format":"int64","description":"For EIP-155, EIP-2930 and Blob transactions this is set to the parity (0\nfor even, 1 for odd) of the y-value of the secp256k1 signature.\n\nFor legacy transactions, this is the recovery id\n\nSee also <https://ethereum.github.io/execution-apis/api-documentation/> and <https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactionbyhash>","minimum":0}}},"SignatureRSchema":{"type":"string","title":"string","description":"Signature R schema"},"SignatureSSchema":{"type":"string","title":"string","description":"Signature S schema"},"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-finalized-transaction-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.
