Attribute "type" and values
Tatum notifications return with a response body containing the "type
" parameter to identify transaction types.
Example notification webhook body:
{
"counterAddress":"0x284f89b19f7bafcb74b10e7335d03fa8bf0188af",
"amount":"0.08626318",
"asset":"ETH",
"blockNumber":19753176,
"address":"0xa6d4462a24d0cac66bf6cb679efe3b90cf741f75",
"txId":"0x20812b447870846f939942e6f75f72eeee548b55a885bb18b6cfc7355153eb27",
"type":"internal",
"chain":"ethereum-mainnet",
"subscriptionType":"ADDRESS_TRANSACTION"
}
List of possible "type
" values:
type
" values:NATIVE = 'native',
TOKEN = 'token',
ERC721 = 'erc721',
ERC1155 = 'erc1155',
INTERNAL = 'internal',
FEE = 'fee',
TRC10 = 'trc10',
TRC20 = 'trc20',
FAILED = 'failed',
SOL_NFT = 'sol_nft'
//Where for EVM chains:
NATIVE = 'native' / (ETH)
TOKEN = 'token' / (ERC20)
ERC721 = 'erc721' / (ERC721)
ERC1155 = 'erc1155' / (ERC1155)
INTERNAL = 'internal' / (Internal transfers)
+ additional webhook with FEE = 'fee'
Updated 5 months ago