G
G
Go+ Security API
Search…
⌃K

Signature Data Decode API

Method: POST
Request Body
name
required
description
chain_id
True
Chain id, (ETH: 1, Cronos:25, BSC: 56, Heco: 128, Polygon: 137, Fantom:250, KCC: 321, Arbitrum: 42161, Avalanche: 43114)
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
False
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

API License Agreement