Skip to main content

FindByHash

Finds transaction by blockchain transaction hash.

POST Transaction/FindByHash

Input

ParameterTypeRequiredDescriptionDefault
MerchantIdstringyesyour merchant ID
BlockchainHashstringnotransaction hash, a.k.a. tx id

Output

ParameterTypeDescription
IsFoundbooleanwhether or not this transaction hash exists
TransactionTransactiontransaction information

Transaction Type

FieldTypeDescription
Idstringtransaction ID (generated by ATLOS)
SubscriptionIdstringsubscription ID (generated by ATLOS)
MerchantIdstringyour merchant ID
OrderIdstringthe order ID you passed to the widget or the API as orderId
Amountnumberthe amount of asset received
AssetCodestringasset code
BlockchainCodestringblockchain code
Feestringthe amount of the commission fee collected
SenderAddressstringfor EVM blockchains, the sender's wallet address
RecipientAddressstringthe receiving wallet address
BlockchainHashstringblockchain transaction hash (a.k.a. blockchain transaction ID)
BlockNumbernumberblockchain block height
TimeSentstringtime when the transaction was recorded in a block
Statusnumber100 (success)

Example Input

{
"MerchantId": "8XOZ64KC9X",
"BlockchainHash": "0x81d4eba9504bac535d112551afc1dd35ebfc6c8306ad805728a0a886f765def6"
}

Example Output

{
"IsFound": true,
"Transaction": {
"TransactionId": "RpoWRCnC84cjjQ5Y",
"SubscriptionId": "Xx9Gp1FJuKiP",
"MerchantId": "8XOZ64KC9X",
"OrderId": "123465",
"AssetCode": "USDC",
"BlockchainCode": "PGN",
"Amount": 19.950000,
"Fee": 0.199500,
"SenderAddress": "0xFFcf8FDEE72ac11b5c542428B35EEF5769C409f0",
"RecipientAddress": "0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1",
"BlockchainHash": "0x81d4eba9504bac535d112551afc1dd35ebfc6c8306ad805728a0a886f765def6",
"BlockNumber": 25,
"TimeSent": "2024-10-15T02:17:04Z",
"Status": 100
}
}