curl --request POST \
--url https://api.caminotreasury.com/v1/{chainId}/transactions \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"type": "deposit",
"from": "<string>",
"contract": "<string>",
"token": "<string>",
"amount": "<string>",
"walletId": 123
}
'{
"hash": "<string>",
"chainId": 123,
"status": "pending"
}Submits a transaction for tracking. The hash must reference an on-chain transaction. An async job is dispatched to index the transaction and fetch its receipt.
curl --request POST \
--url https://api.caminotreasury.com/v1/{chainId}/transactions \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"type": "deposit",
"from": "<string>",
"contract": "<string>",
"token": "<string>",
"amount": "<string>",
"walletId": 123
}
'{
"hash": "<string>",
"chainId": 123,
"status": "pending"
}API key for authentication. Pass your key in the x-api-key header.
Blockchain chain ID
Transaction hash from the blockchain
^0x[a-fA-F0-9]{64}$"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
Transaction type
deposit, withdrawal, yield, approval, other Sender address
Contract address that was called
ERC-20 token contract address
Raw token amount (integer string)
Wallet ID (must belong to the authenticated organization)