cURL
curl --request GET \ --url https://api.caminotreasury.com/v1/{chainId}/transactions/{hash} \ --header 'x-api-key: <api-key>'
{ "transaction": { "hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "chainId": 123, "status": "pending", "type": "deposit", "from": "<string>", "contract": "<string>", "token": "<string>", "amount": "<string>", "organizationId": "<string>", "walletId": 123, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }, "receipt": { "chainId": 123, "hash": "<string>", "from": "<string>", "to": "<string>", "transactionIndex": 123, "blockHash": "<string>", "blockNumber": 123, "type": 123, "contractAddress": "<string>", "status": 123, "root": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Returns a single transaction with its on-chain receipt (if confirmed).
API key for authentication. Pass your key in the x-api-key header.
x-api-key
Blockchain chain ID
Transaction hash
^0x[a-fA-F0-9]{64}$
Transaction with receipt
Show child attributes
On-chain receipt. Null if the transaction is not yet confirmed.