Signature Data Decode API
Method: GET
Request Body
name
required
description
chain_id
True
Chain id, (eth: 1, bsc: 56)
contract_address
False
Contract address
data
True
Transaction input
Example:
{
"chain_id": "1",
"contract_address": "0x4cc8aa0c6ffbe18534584da9b592aa438733ee66",
"data": "0xa0712d680000000000000000000000000000000000000000000000000000000062fee481"
}
Request Headers
Parameters
Type
Required
Description
Authorization
String
Fasle
Carrying Token obtained through Get Access Token
Content-Type
String
True
application/json

Response

Security items
Parameter
Description
Notice
Method Name
method
It describes the method name in ABI, for example "transfer".
Parameter Type
type
It describes the parameter type in ABI, for example "address", "uint256", "bool".
Parameter Name
name
It describes the parameter name in ABI, for example
"_from", "_to", "_value".
Input Data
input
It describes the input data in ABI.
Address Info
"address_info": {
"is_contract":,
"contract_name": ,
"standard": ,"symbol": ,
"name": ,"malicious_address": , }
It describes the info about the address as a parameter.
The info includes: (1) "is_contract" describes whether the address is a contract. "1" means true; "0" means false.
(2) "contract_name" describes the contract name if the address is a contract.
(3) "standard" describes the standard type of the contract.Example:"erc20".
(4) "symbol" describes the token symbol if the address is an ERC20 contract.
(5) "name" describes the token name if the address is an ERC20 contract.
(6) "malicious_address" describes whether the address is a suspected malicious contract.
"1" means true;
"0" means that we have not found malicious behavior of this address.
When the address is not a contract ("is_contract"=0), "contract_name", "standard", "symbol", "name" will return "null". When the address is a contract but not an erc20 contract, "standard", "symbol", "name" will return "null".

Response Example

{
"code": 1,
"message": "ok",
"result": {
"method": "transfer",
"params": [
{
"type": "address",
"name": "recipient",
"input": "0x6f7e8f53b7a8204f0779785fa8ca6e22c0aa1c44",
"address_info": {
"standard": null,
"symbol": null,
"name": null,
"contract_name": null,
"malicious_address": 0,
"is_contract": 0
}
},
{
"type": "uint256",
"name": "amount",
"input": "1044089360",
"address_info": null
}
]
}
}

Error Code

name
code
description
SUCCESS
1
ok
PARAM_ERROR
10000
param error
SERVER_ERROR
20000
server error
ERROR_ABI_NOT_FOUND
2027
ABI not found
ERROR_ABI_FUNCTION_UNSUPPOERT
2028
The ABI not support parsing
Copy link
On this page
Response
Response Example
Error Code