curl --request GET \
--url https://api.caminotreasury.com/v1/{chainId}/transactions/{hash} \
--header 'x-api-key: <api-key>'{
"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).
curl --request GET \
--url https://api.caminotreasury.com/v1/{chainId}/transactions/{hash} \
--header 'x-api-key: <api-key>'{
"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"
}
}API key for authentication. Pass your key in the x-api-key header.
Blockchain chain ID
Transaction hash
^0x[a-fA-F0-9]{64}$Transaction with receipt
Transaction hash
"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
Blockchain chain ID
Transaction status
pending, confirmed, failed Transaction type
deposit, withdrawal, yield, approval, other Sender address
Contract address that was called
ERC-20 token contract address
Raw token amount (integer string)
Organization ID
Wallet ID
Creation timestamp
Last update timestamp
On-chain receipt. Null if the transaction is not yet confirmed.
Show child attributes