10、Sample Code
1、Call the Support chain tokens enum api
1.1 cURL
curl --location 'https://openapi.trustformer.info/openapi/v2/data/enum?api_key=a087......bb6f' \
--header 'sign: 8a96......1911' \
--header 'timestamp: 1687788140'api-response
{
"code": 200,
"message": "success",
"data": {
"network_coin_list": [
{
"coin_list": [
"BTC"
],
"network": "Bitcoin"
},
{
"coin_list": [
"ETH",
"USDT",
"USDC"
],
"network": "Ethereum"
},
{
"coin_list": [
"TRX",
"USDT",
"USDC"
],
"network": "TRON"
},
{
"coin_list": [
"BNB",
"USDT",
"USDC"
],
"network": "BSC"
},
{
"coin_list": [
"MATIC",
"POL",
"USDT",
"USDC"
],
"network": "POLYGON"
},
{
"coin_list": [
"AVAX",
"USDT",
"USDC"
],
"network": "AVALANCHE-C"
},
{
"coin_list": [
"LTC"
],
"network": "Litecoin"
},
{
"coin_list": [
"DOGE"
],
"network": "Dogecoin"
}
]
}
}1.2 Python
1.3 Golang
2、Call the Blacklist address detection api
2.1 cURL
api-response
2.2 Python
2.3 Golang
3、Call the V2 address risk alert api
Python
Golang
3、Call the V2 transaction risk alert api
Python
Golang
Last updated