Attribute "contractAddress" returning a symbol
Notifications related to tokens (ERC-20 or compatible) may be delivered with the parameter "contractAddress
" containing a symbol rather than the intended blockchain Contract Address. See the example notification below.
Example notification:
{
"currency": "TRON",
"chain": "tron-mainnet",
"amount": "0.006043",
"address": "TS4kth6SCbZGPgwPktnaeJGRtsiqWnuxrf",
"counterAddress": "TMszoJ2M2iUFnsmUAZM2GCAqG8MMSxAPko",
"subscriptionType": "INCOMING_FUNGIBLE_TX",
"blockNumber": 62139354,
"txId": "6933f55def9223e51df7b0b3c4a4c5f73dda5c070a724a7797b0f5b03bf93ea4",
"contractAddress": "USDT_TRON" // Returns symbol rather than "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"
}
This behavior is expected in several ContractAddresses supported by Tatum (Legacy). See the list below.
Future improvements to notifications will deprecate the current behavior. The response will instead return the token address in the "contractAddress" field.
List of Tokens
Find additional information in GitHub at the following link.
These tokens only exist in Mainnet.
Updated 4 months ago