G
G
Go+ Security API
Search…
⌃K

Approval Managermet API (Approval Security API v2)

Differences between Version1 and Version2

Different Usage

Version1 mainly supports inputting approved contracts and detects the security of approved contracts. Version2 mainly supports inputting a EOA, viewing the contracts approved by the address and the information of the approved contracts (basic information + risk detection) .

Different Application Scenarios

Version1 is more for the exchange, blockscan such as instant approval scenario. Version2 is more for the wallet, users can view the approval history and check the security of approved contracts.

Token Approval Security

ERC721 NFT Approval Security API

ERC1155 NFT Approval Security API

Error Code

name
code
description
SUCCESS
1
success
PARAM_ERROR
10000
param error
SERVER_ERROR
20000
server error
ERROR_MAIN_CHAIN_NOT_EXIST
2018
the chain not supported
ERROR_CONTRACT_ADDRESS_FORMAT
2004
server error
SERVER_ERROR
20000
server error