models

package
v1.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

View Source
const (

	// ParseAbiDataRequestTranscationTypeCommon captures enum value "common"
	ParseAbiDataRequestTranscationTypeCommon string = "common"

	// ParseAbiDataRequestTranscationTypeEthSignTypedDataV4 captures enum value "eth_signTypedData_v4"
	ParseAbiDataRequestTranscationTypeEthSignTypedDataV4 string = "eth_signTypedData_v4"

	// ParseAbiDataRequestTranscationTypePersonalSign captures enum value "personal_sign"
	ParseAbiDataRequestTranscationTypePersonalSign string = "personal_sign"

	// ParseAbiDataRequestTranscationTypeEthSign captures enum value "eth_sign"
	ParseAbiDataRequestTranscationTypeEthSign string = "eth_sign"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AbiAddressInfo

type AbiAddressInfo struct {

	// It describes the contract name if the address is a contract.
	ContractName string `json:"contract_name,omitempty"`

	// It describes whether the address is a contract. "1" means true; "0" means false.
	IsContract int32 `json:"is_contract,omitempty"`

	// It describes whether the address is a suspected malicious contract."1" means true;
	// "0" means that we have not found malicious behavior of this address.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`

	// It describes the token name if the address is an ERC20 contract.
	Name string `json:"name,omitempty"`

	// It describes the standard type of the contract.Example:"erc20".
	Standard string `json:"standard,omitempty"`

	// It describes the token symbol if the address is an ERC20 contract.
	Symbol string `json:"symbol,omitempty"`
}

AbiAddressInfo AbiAddressInfo

swagger:model AbiAddressInfo

func (*AbiAddressInfo) MarshalBinary

func (m *AbiAddressInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AbiAddressInfo) UnmarshalBinary

func (m *AbiAddressInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AbiAddressInfo) Validate

func (m *AbiAddressInfo) Validate(formats strfmt.Registry) error

Validate validates this abi address info

type AbiParamInfo

type AbiParamInfo struct {

	// It describes the info about the address as a parameter.
	AddressInfo *AbiAddressInfo `json:"address_info,omitempty"`

	// It describes the input data in ABI.
	Input interface{} `json:"input,omitempty"`

	// It describes the parameter name in ABI, for example
	//  "_from", "_to", "_value".
	Name string `json:"name,omitempty"`

	// It describes the parameter type in ABI, for example "address", "uint256", "bool".
	Type string `json:"type,omitempty"`
}

AbiParamInfo AbiParamInfo

swagger:model AbiParamInfo

func (*AbiParamInfo) MarshalBinary

func (m *AbiParamInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AbiParamInfo) UnmarshalBinary

func (m *AbiParamInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AbiParamInfo) Validate

func (m *AbiParamInfo) Validate(formats strfmt.Registry) error

Validate validates this abi param info

type AddressInfo added in v1.2.7

type AddressInfo struct {

	// address
	Address string `json:"address,omitempty"`

	// storage keys
	StorageKeys []string `json:"storage_keys"`
}

AddressInfo AddressInfo

swagger:model AddressInfo

func (*AddressInfo) MarshalBinary added in v1.2.7

func (m *AddressInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AddressInfo) UnmarshalBinary added in v1.2.7

func (m *AddressInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AddressInfo) Validate added in v1.2.7

func (m *AddressInfo) Validate(formats strfmt.Registry) error

Validate validates this address info

type AllowanceChange added in v1.2.7

type AllowanceChange struct {

	// amount
	Amount string `json:"amount,omitempty"`

	// contract address
	ContractAddress string `json:"contract_address,omitempty"`

	// owner
	Owner string `json:"owner,omitempty"`

	// spender
	Spender string `json:"spender,omitempty"`
}

AllowanceChange AllowanceChange

swagger:model AllowanceChange

func (*AllowanceChange) MarshalBinary added in v1.2.7

func (m *AllowanceChange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllowanceChange) UnmarshalBinary added in v1.2.7

func (m *AllowanceChange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllowanceChange) Validate added in v1.2.7

func (m *AllowanceChange) Validate(formats strfmt.Registry) error

Validate validates this allowance change

type ApproveAddressInfo

type ApproveAddressInfo struct {

	// Spender name
	ContractName string `json:"contract_name,omitempty"`

	// Spender's deployer
	CreatorAddress string `json:"creator_address,omitempty"`

	// Spender's deployed time
	DeployedTime int64 `json:"deployed_time,omitempty"`

	// Whether the spender has a history of malicious behavior or contains high risk.
	DoubtList int32 `json:"doubt_list,omitempty"`

	// Whether the spender is a contract.
	IsContract int32 `json:"is_contract,omitempty"`

	// Whether the spender is verified on blockchain explorer.
	IsOpenSource int32 `json:"is_open_source,omitempty"`

	// Specific malicious behaviors or risks of this spender.
	MaliciousBehavior []string `json:"malicious_behavior"`

	// Spender tag
	Tag string `json:"tag,omitempty"`

	// Whether the spender is on the whitelist, and can be trusted
	TrustList int32 `json:"trust_list,omitempty"`
}

ApproveAddressInfo ApproveAddressInfo

swagger:model ApproveAddressInfo

func (*ApproveAddressInfo) MarshalBinary

func (m *ApproveAddressInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveAddressInfo) UnmarshalBinary

func (m *ApproveAddressInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveAddressInfo) Validate

func (m *ApproveAddressInfo) Validate(formats strfmt.Registry) error

Validate validates this approve address info

type ApproveErc1155Result

type ApproveErc1155Result struct {

	// address_info
	AddressInfo *ApproveAddressInfo `json:"address_info,omitempty"`

	// Spender Address
	ApprovedContract string `json:"approved_contract,omitempty"`

	// Latest approval time
	ApprovedTime int64 `json:"approved_time,omitempty"`

	// Latest approval hash
	Hash string `json:"hash,omitempty"`

	// Initial approval hash
	InitialApprovalHash string `json:"initial_approval_hash,omitempty"`

	// Initial approval time
	InitialApprovalTime int64 `json:"initial_approval_time,omitempty"`
}

ApproveErc1155Result ApproveErc1155Result

swagger:model ApproveErc1155Result

func (*ApproveErc1155Result) MarshalBinary

func (m *ApproveErc1155Result) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveErc1155Result) UnmarshalBinary

func (m *ApproveErc1155Result) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveErc1155Result) Validate

func (m *ApproveErc1155Result) Validate(formats strfmt.Registry) error

Validate validates this approve erc1155 result

type ApproveNFT1155ListResponse

type ApproveNFT1155ListResponse struct {

	// approved list
	ApprovedList []*ApproveErc1155Result `json:"approved_list"`

	// ChainID
	ChainID string `json:"chain_id,omitempty"`

	// Whether the contract is verified on blockchain explorer.
	IsOpenSource int32 `json:"is_open_source,omitempty"`

	// Whether NFT is certified on a reputable trading platform.
	IsVerified int32 `json:"is_verified,omitempty"`

	// Whether the NFT is malicious or contains high risk.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`

	// Specific malicious behaviors or risks of this NFT.
	MaliciousBehavior []string `json:"malicious_behavior"`

	// NFT address
	NftAddress string `json:"nft_address,omitempty"`

	// NFT name
	NftName string `json:"nft_name,omitempty"`

	// NFT symbol
	NftSymbol string `json:"nft_symbol,omitempty"`
}

ApproveNFT1155ListResponse ApproveNFT1155ListResponse

swagger:model ApproveNFT1155ListResponse

func (*ApproveNFT1155ListResponse) MarshalBinary

func (m *ApproveNFT1155ListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveNFT1155ListResponse) UnmarshalBinary

func (m *ApproveNFT1155ListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveNFT1155ListResponse) Validate

func (m *ApproveNFT1155ListResponse) Validate(formats strfmt.Registry) error

Validate validates this approve n f t1155 list response

type ApproveNFTListResponse

type ApproveNFTListResponse struct {

	// approved list
	ApprovedList []*ApproveResult `json:"approved_list"`

	// ChainID
	ChainID string `json:"chain_id,omitempty"`

	// Whether the contract is verified on blockchain explorer.
	IsOpenSource int32 `json:"is_open_source,omitempty"`

	// Whether NFT is certified on a reputable trading platform.
	IsVerified int32 `json:"is_verified,omitempty"`

	// Whether the NFT is malicious or contains high risk.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`

	// Specific malicious behaviors or risks of this NFT.
	MaliciousBehavior []string `json:"malicious_behavior"`

	// nft address
	NftAddress string `json:"nft_address,omitempty"`

	// NFT name
	NftName string `json:"nft_name,omitempty"`

	// NFT symbol
	NftSymbol string `json:"nft_symbol,omitempty"`
}

ApproveNFTListResponse ApproveNFTListResponse

swagger:model ApproveNFTListResponse

func (*ApproveNFTListResponse) MarshalBinary

func (m *ApproveNFTListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveNFTListResponse) UnmarshalBinary

func (m *ApproveNFTListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveNFTListResponse) Validate

func (m *ApproveNFTListResponse) Validate(formats strfmt.Registry) error

Validate validates this approve n f t list response

type ApproveResult

type ApproveResult struct {

	// address_info
	AddressInfo *ApproveAddressInfo `json:"address_info,omitempty"`

	// Spender Address
	ApprovedContract string `json:"approved_contract,omitempty"`

	// Approval type: "1" means "approved for all"; "0" means "approved for single NFT"
	ApprovedForAll int32 `json:"approved_for_all,omitempty"`

	// Latest approval time
	ApprovedTime int64 `json:"approved_time,omitempty"`

	// NFT token_id
	ApprovedTokenID string `json:"approved_token_id,omitempty"`

	// Latest approval hash
	Hash string `json:"hash,omitempty"`

	// Initial approval hash
	InitialApprovalHash string `json:"initial_approval_hash,omitempty"`

	// Initial approval time
	InitialApprovalTime int64 `json:"initial_approval_time,omitempty"`
}

ApproveResult ApproveResult

swagger:model ApproveResult

func (*ApproveResult) MarshalBinary

func (m *ApproveResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveResult) UnmarshalBinary

func (m *ApproveResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveResult) Validate

func (m *ApproveResult) Validate(formats strfmt.Registry) error

Validate validates this approve result

type ApproveTokenOutListResponse

type ApproveTokenOutListResponse struct {

	// approved list
	ApprovedList []*ApproveTokenResult `json:"approved_list"`

	// balance
	Balance string `json:"balance,omitempty"`

	// ChainID
	ChainID string `json:"chain_id,omitempty"`

	// decimals
	Decimals int64 `json:"decimals,omitempty"`

	// Whether the contract is verified on blockchain explorer.
	IsOpenSource int32 `json:"is_open_source,omitempty"`

	// Whether the token is malicious or contains high risk.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`

	// Specific malicious behaviors or risks of this token.
	MaliciousBehavior []string `json:"malicious_behavior"`

	// Token address
	TokenAddress string `json:"token_address,omitempty"`

	// Token name
	TokenName string `json:"token_name,omitempty"`

	// Token symbol
	TokenSymbol string `json:"token_symbol,omitempty"`
}

ApproveTokenOutListResponse ApproveTokenOutListResponse

swagger:model ApproveTokenOutListResponse

func (*ApproveTokenOutListResponse) MarshalBinary

func (m *ApproveTokenOutListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveTokenOutListResponse) UnmarshalBinary

func (m *ApproveTokenOutListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveTokenOutListResponse) Validate

func (m *ApproveTokenOutListResponse) Validate(formats strfmt.Registry) error

Validate validates this approve token out list response

type ApproveTokenResult

type ApproveTokenResult struct {

	// address_info
	AddressInfo *ApproveAddressInfo `json:"address_info,omitempty"`

	// Allowance of the spender
	ApprovedAmount string `json:"approved_amount,omitempty"`

	// Spender Address
	ApprovedContract string `json:"approved_contract,omitempty"`

	// Latest approval time
	ApprovedTime int64 `json:"approved_time,omitempty"`

	// Latest approval hash
	Hash string `json:"hash,omitempty"`

	// Initial approval hash
	InitialApprovalHash string `json:"initial_approval_hash,omitempty"`

	// Initial approval time
	InitialApprovalTime int64 `json:"initial_approval_time,omitempty"`
}

ApproveTokenResult ApproveTokenResult

swagger:model ApproveTokenResult

func (*ApproveTokenResult) MarshalBinary

func (m *ApproveTokenResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveTokenResult) UnmarshalBinary

func (m *ApproveTokenResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveTokenResult) Validate

func (m *ApproveTokenResult) Validate(formats strfmt.Registry) error

Validate validates this approve token result

type AuditInfo

type AuditInfo struct {

	// It describes the firm that audited the dApp.
	AuditFirm string `json:"audit_firm,omitempty"`

	// It describes the website link of the audit report.
	AuditLink string `json:"audit_link,omitempty"`

	// It describes the time shown in the latest audit report.
	AuditTime string `json:"audit_time,omitempty"`
}

AuditInfo AuditInfo

swagger:model AuditInfo

func (*AuditInfo) MarshalBinary

func (m *AuditInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuditInfo) UnmarshalBinary

func (m *AuditInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuditInfo) Validate

func (m *AuditInfo) Validate(formats strfmt.Registry) error

Validate validates this audit info

type ContractApproveResponse

type ContractApproveResponse struct {

	// It describes the approved contract name.
	ContractName string `json:"contract_name,omitempty"`

	// It describes the creator address of the contract.(Notice:When the address is not a contract ("is_contract"=0), it will return "null".)
	CreatorAddress string `json:"creator_address,omitempty"`

	// It describes the deployed time of the contract.
	// The value is presented as a timestamp.
	// Example: "deployed_time": 1626578345(Notice:When the address is not a contract ("is_contract"=0), it will return "null".)
	DeployedTime int64 `json:"deployed_time,omitempty"`

	// It describes whether the address is a suspected malicious contract.
	// "1" means true;
	// "0" means that we have not found malicious behavior of this address.(Notice:Return "0" does not mean it is safe. Maybe we just haven't found its malicious behavior.)
	DoubtList int32 `json:"doubt_list,omitempty"`

	// It describes whether the address is a contract.
	// "1" means true;
	// "0" means false.
	IsContract int32 `json:"is_contract,omitempty"`

	// It describes whether this contract is open source.
	// "1" means true;
	// "0" means false.(Notice:When the address is not a contract ("is_contract"=0), it will return "null".)
	IsOpenSource int32 `json:"is_open_source,omitempty"`

	// Whether the spender is a proxy contract.
	IsProxy int32 `json:"is_proxy,omitempty"`

	// It describes specific malicious behaviors.
	// "honeypot_related_address" means that the address is related to honeypot tokens or has created scam tokens.
	// "phishing_activities" means that this address has implemented phishing activities.
	// "blackmail_activities" means that this address has implemented blackmail activities.
	// "stealing_attack" means that this address has implemented stealing attacks.
	// "fake_kyc" means that this address is involved in fake KYC.
	// "malicious_mining_activities" means that this address is involved in malicious mining activities.
	// "darkweb_transactions" means that this address is involved in darkweb transactions.
	// "cybercrime" means that this address is involved in cybercrime.
	// "money_laundering" means that this address is involved in money laundering.
	// "financial_crime" means that this address is involved in financial crime.
	// "blacklist_doubt" means that the address is suspected of malicious behavior and is therefore blacklisted.(Notice:Returning an empty array means that no malicious behavior was found at that address.)
	MaliciousBehavior []string `json:"malicious_behavior"`

	// It describes which dapp uses the contract.
	// Example:"tag": "Compound"
	Tag string `json:"tag,omitempty"`

	// It describes whether the address is a famous and trustworthy one.
	// "1" means true;
	// "0" means that we have not included this address in the trusted list;(Notice:Return "0" does not mean the address is not trustworthy. Maybe we just haven't included it yet.)
	TrustList int32 `json:"trust_list,omitempty"`
}

ContractApproveResponse ContractApproveResponse

swagger:model ContractApproveResponse

func (*ContractApproveResponse) MarshalBinary

func (m *ContractApproveResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContractApproveResponse) UnmarshalBinary

func (m *ContractApproveResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContractApproveResponse) Validate

func (m *ContractApproveResponse) Validate(formats strfmt.Registry) error

Validate validates this contract approve response

type Contracts

type Contracts struct {

	// It describes the dAap's contract address.
	ContractAddress string `json:"contract_address,omitempty"`

	// It describes the creator address of the contract.
	CreatorAddress string `json:"creator_address,omitempty"`

	// It describes the deployed time of the contract.The value is presented as a timestamp.
	// Example: "deployed_time": 1626578345
	DeploymentTime int64 `json:"deployment_time,omitempty"`

	// It describes whether this contract is open source.
	// "1" means true;
	// "0" means false.
	IsOpenSource int32 `json:"is_open_source,omitempty"`

	// It describes specific malicious behaviors of the contract.
	MaliciousBehavior []interface{} `json:"malicious_behavior"`

	// It describes whether the address is a suspected malicious contract.
	// "1" means true;
	// "0" means that we have not found malicious behavior of this contract.(Notice:"malicious_contract" return "0" does not mean the address is completely safe. Maybe we just haven't found its malicious behavior.)
	MaliciousContract int32 `json:"malicious_contract,omitempty"`

	// It describes whether the creator is a suspected malicious address.
	// "1" means true;
	// "0" means that we have not found malicious behavior of this address.(Notice:"malicious_creator" return "0" does not mean the address is completely safe. Maybe we just haven't found its malicious behavior.)
	MaliciousCreator int32 `json:"malicious_creator,omitempty"`

	// It describes specific malicious behaviors of the contract creator.
	MaliciousCreatorBehavior []interface{} `json:"malicious_creator_behavior"`
}

Contracts Contracts

swagger:model Contracts

func (*Contracts) MarshalBinary

func (m *Contracts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Contracts) UnmarshalBinary

func (m *Contracts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Contracts) Validate

func (m *Contracts) Validate(formats strfmt.Registry) error

Validate validates this contracts

type ContractsSecurity

type ContractsSecurity struct {

	// It describes the chains that contracts are deployed on;"1" means Ethereum;
	// "25" means Cronos;
	// "56" means BSC;
	// "128" means HECO;
	// "137" means Polygon;
	// "250" means Fantom;
	// "42161" means Arbitrum;
	// "43114" means Avalanche.
	ChainID string `json:"chain_id,omitempty"`

	// contract info
	Contracts []*Contracts `json:"contracts"`
}

ContractsSecurity ContractsSecurity

swagger:model ContractsSecurity

func (*ContractsSecurity) MarshalBinary

func (m *ContractsSecurity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContractsSecurity) UnmarshalBinary

func (m *ContractsSecurity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContractsSecurity) Validate

func (m *ContractsSecurity) Validate(formats strfmt.Registry) error

Validate validates this contracts security

type DappContractSecurityResponse

type DappContractSecurityResponse struct {

	// audit info(Notice:When the dApp was not audited, ("is_audit"=0), it will return "null".If there are multiple audit reports, the information of the latest audit report is displayed.)
	AuditInfo []*AuditInfo `json:"audit_info"`

	// contracts security
	ContractsSecurity []*ContractsSecurity `json:"contracts_security"`

	// It describes whether the dApp was audited by a reputable audit firm.
	// "1" means true;
	// "0" means that we have not found audit information for this dApp .(Notice:Return "0" does not mean the dApp was not audited. Maybe we just haven't found audit information for this dApp yet.)
	IsAudit int32 `json:"is_audit,omitempty"`

	// It describes the dApp project name.
	ProjectName string `json:"project_name,omitempty"`

	// It describes whether the dapp is a famous and trustworthy one. "1" means true;
	// "0" means that this dapp is not yet in our trusted list.(Notice:(1) Only "trust_list": "1" means it is a famous and trustworthy dapp.
	// (2) "0" return doesn't mean it is risky.)
	TrustList int32 `json:"trust_list,omitempty"`

	// It describes the dApp's website link.
	URL string `json:"url,omitempty"`
}

DappContractSecurityResponse DappContractSecurityResponse

swagger:model DappContractSecurityResponse

func (*DappContractSecurityResponse) MarshalBinary

func (m *DappContractSecurityResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DappContractSecurityResponse) UnmarshalBinary

func (m *DappContractSecurityResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DappContractSecurityResponse) Validate

func (m *DappContractSecurityResponse) Validate(formats strfmt.Registry) error

Validate validates this dapp contract security response

type DustAttackDetectionReq added in v1.2.7

type DustAttackDetectionReq struct {

	// from
	From string `json:"from,omitempty"`

	// to
	To string `json:"to,omitempty"`
}

DustAttackDetectionReq DustAttackDetectionReq

swagger:model DustAttackDetectionReq

func (*DustAttackDetectionReq) MarshalBinary added in v1.2.7

func (m *DustAttackDetectionReq) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DustAttackDetectionReq) UnmarshalBinary added in v1.2.7

func (m *DustAttackDetectionReq) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DustAttackDetectionReq) Validate added in v1.2.7

func (m *DustAttackDetectionReq) Validate(formats strfmt.Registry) error

Validate validates this dust attack detection req

type ERC20BalanceChange added in v1.2.7

type ERC20BalanceChange struct {

	// address
	Address string `json:"address,omitempty"`

	// erc20 change
	Erc20Change []*ERC20Change `json:"erc20_change"`
}

ERC20BalanceChange ERC20BalanceChange

swagger:model ERC20BalanceChange

func (*ERC20BalanceChange) MarshalBinary added in v1.2.7

func (m *ERC20BalanceChange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ERC20BalanceChange) UnmarshalBinary added in v1.2.7

func (m *ERC20BalanceChange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ERC20BalanceChange) Validate added in v1.2.7

func (m *ERC20BalanceChange) Validate(formats strfmt.Registry) error

Validate validates this e r c20 balance change

type ERC20Change added in v1.2.7

type ERC20Change struct {

	// change
	Change string `json:"change,omitempty"`

	// token address
	TokenAddress string `json:"token_address,omitempty"`
}

ERC20Change ERC20Change

swagger:model ERC20Change

func (*ERC20Change) MarshalBinary added in v1.2.7

func (m *ERC20Change) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ERC20Change) UnmarshalBinary added in v1.2.7

func (m *ERC20Change) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ERC20Change) Validate added in v1.2.7

func (m *ERC20Change) Validate(formats strfmt.Registry) error

Validate validates this e r c20 change

type ERC721BalanceChange added in v1.2.7

type ERC721BalanceChange struct {

	// address
	Address string `json:"address,omitempty"`

	// erc721 change
	Erc721Change []*ERC721Change `json:"erc721_change"`
}

ERC721BalanceChange ERC721BalanceChange

swagger:model ERC721BalanceChange

func (*ERC721BalanceChange) MarshalBinary added in v1.2.7

func (m *ERC721BalanceChange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ERC721BalanceChange) UnmarshalBinary added in v1.2.7

func (m *ERC721BalanceChange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ERC721BalanceChange) Validate added in v1.2.7

func (m *ERC721BalanceChange) Validate(formats strfmt.Registry) error

Validate validates this e r c721 balance change

type ERC721Change added in v1.2.7

type ERC721Change struct {

	// received
	Received bool `json:"received,omitempty"`

	// token address
	TokenAddress string `json:"token_address,omitempty"`

	// token id
	TokenID string `json:"token_id,omitempty"`
}

ERC721Change ERC721Change

swagger:model ERC721Change

func (*ERC721Change) MarshalBinary added in v1.2.7

func (m *ERC721Change) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ERC721Change) UnmarshalBinary added in v1.2.7

func (m *ERC721Change) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ERC721Change) Validate added in v1.2.7

func (m *ERC721Change) Validate(formats strfmt.Registry) error

Validate validates this e r c721 change

type Flag added in v1.2.7

type Flag struct {

	// message
	Message string `json:"message,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

Flag Flag

swagger:model Flag

func (*Flag) MarshalBinary added in v1.2.7

func (m *Flag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Flag) UnmarshalBinary added in v1.2.7

func (m *Flag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Flag) Validate added in v1.2.7

func (m *Flag) Validate(formats strfmt.Registry) error

Validate validates this flag

type GetAccessTokenRequest

type GetAccessTokenRequest struct {

	// app_key
	// Required: true
	AppKey *string `json:"app_key"`

	// Sign Method
	// Concatenate app_key, time, app_secret in turn, and do sha1() .
	// Example
	// app_key = mBOMg20QW11BbtyH4Zh0
	// time = 1647847498
	// app_secret = V6aRfxlPJwN3ViJSIFSCdxPvneajuJsh
	// sign = sha1(mBOMg20QW11BbtyH4Zh01647847498V6aRfxlPJwN3ViJSIFSCdxPvneajuJsh)
	//        = 7293d385b9225b3c3f232b76ba97255d0e21063e
	// Required: true
	Sign *string `json:"sign"`

	// Quest timestamp (Second), should be within +-1000s around current timestamp
	// Required: true
	Time *int64 `json:"time"`
}

GetAccessTokenRequest GetAccessTokenRequest

swagger:model GetAccessTokenRequest

func (*GetAccessTokenRequest) MarshalBinary

func (m *GetAccessTokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAccessTokenRequest) UnmarshalBinary

func (m *GetAccessTokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAccessTokenRequest) Validate

func (m *GetAccessTokenRequest) Validate(formats strfmt.Registry) error

Validate validates this get access token request

type GetAccessTokenResponse

type GetAccessTokenResponse struct {

	// access_token
	AccessToken string `json:"access_token,omitempty"`

	// expires_in
	ExpiresIn int64 `json:"expires_in,omitempty"`
}

GetAccessTokenResponse GetAccessTokenResponse

swagger:model GetAccessTokenResponse

func (*GetAccessTokenResponse) MarshalBinary

func (m *GetAccessTokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAccessTokenResponse) UnmarshalBinary

func (m *GetAccessTokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAccessTokenResponse) Validate

func (m *GetAccessTokenResponse) Validate(formats strfmt.Registry) error

Validate validates this get access token response

type GetDefiInfoResponse

type GetDefiInfoResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// result
	Result *GetDefiInfoResponseResult `json:"result,omitempty"`
}

GetDefiInfoResponse GetDefiInfoResponse

swagger:model GetDefiInfoResponse

func (*GetDefiInfoResponse) MarshalBinary

func (m *GetDefiInfoResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDefiInfoResponse) UnmarshalBinary

func (m *GetDefiInfoResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDefiInfoResponse) Validate

func (m *GetDefiInfoResponse) Validate(formats strfmt.Registry) error

Validate validates this get defi info response

type GetDefiInfoResponseResult

type GetDefiInfoResponseResult struct {

	// It describes whether the owner can spend the allowance that obtained by the contract. If so, this function could potentially be abused to steal user assets.
	// "1" means true;
	// "0" means false;
	// "-1" means unknown.
	ApprovalAbuse int32 `json:"approval_abuse,omitempty"`

	// It describes whether the contract has blacklist function that would block user from withdrawing their assets.
	// "1" means true;
	// "0" means false;
	// "-1" means unknown.
	Blacklist int32 `json:"blacklist,omitempty"`

	// Name of the contract.
	ContractName string `json:"contract_name,omitempty"`

	// It describes whether this contract is open source.
	// "1" means true;
	// "0" means false.
	IsOpenSource int32 `json:"is_open_source,omitempty"`

	// It describes whether this contract has a proxy contract.
	// "1" means true;
	// "0" means false;
	// "-1" means unknown.
	IsProxy int32 `json:"is_proxy,omitempty"`

	// owner
	Owner *GetDefiInfoResponseResultOwner `json:"owner,omitempty"`

	// It descirbes whether the contract owner can withdraw all the assets in the contract, without uses' permission.
	// "1" means true;
	// "0" means false;
	// "-1" means unknown.
	PrivilegeWithdraw int32 `json:"privilege_withdraw,omitempty"`

	// It describes whether this contract can self destruct.
	// "1" means true;
	// "0" means false;
	// "-1" means unknown.
	Selfdestruct int32 `json:"selfdestruct,omitempty"`

	// It describes whether the contract lacks withdrawal method. If it is missing, users will be unable to withdraw the assets they have putted in.
	// "1" means true;
	// "0" means false;
	// "-1" means unknown.
	WithdrawMissing int32 `json:"withdraw_missing,omitempty"`
}

GetDefiInfoResponseResult Response result

swagger:model GetDefiInfoResponseResult

func (*GetDefiInfoResponseResult) MarshalBinary

func (m *GetDefiInfoResponseResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDefiInfoResponseResult) UnmarshalBinary

func (m *GetDefiInfoResponseResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDefiInfoResponseResult) Validate

func (m *GetDefiInfoResponseResult) Validate(formats strfmt.Registry) error

Validate validates this get defi info response result

type GetDefiInfoResponseResultOwner

type GetDefiInfoResponseResultOwner struct {

	// owner address of the contract.
	// No return means unknown.
	OwnerAddress string `json:"owner_address,omitempty"`

	// the function name of ownership.
	// If there is no return, means unknown.
	OwnerName string `json:"owner_name,omitempty"`

	// blackhole" : the owner is a blackhole address.
	// "contract" : the owner is a contract.
	// "eoa" : the owner is a common address (eoa).
	// "multi-address": the owner is an array/list.
	// null: the address is not detected.
	// No return means unknown.
	OwnerType string `json:"owner_type,omitempty"`
}

GetDefiInfoResponseResultOwner When there is no owner function, or the ownership is unreadable or private, it would return empty. "owner": { }

swagger:model GetDefiInfoResponseResultOwner

func (*GetDefiInfoResponseResultOwner) MarshalBinary

func (m *GetDefiInfoResponseResultOwner) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDefiInfoResponseResultOwner) UnmarshalBinary

func (m *GetDefiInfoResponseResultOwner) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDefiInfoResponseResultOwner) Validate

func (m *GetDefiInfoResponseResultOwner) Validate(formats strfmt.Registry) error

Validate validates this get defi info response result owner

type JSONObject

type JSONObject map[string]interface{}

JSONObject JSONObject

swagger:model JSONObject

func (JSONObject) Validate

func (m JSONObject) Validate(formats strfmt.Registry) error

Validate validates this JSON object

type LogEntry added in v1.2.7

type LogEntry struct {

	// address
	Address string `json:"address,omitempty"`

	// data
	Data string `json:"data,omitempty"`

	// topics
	Topics []string `json:"topics"`
}

LogEntry LogEntry

swagger:model LogEntry

func (*LogEntry) MarshalBinary added in v1.2.7

func (m *LogEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogEntry) UnmarshalBinary added in v1.2.7

func (m *LogEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogEntry) Validate added in v1.2.7

func (m *LogEntry) Validate(formats strfmt.Registry) error

Validate validates this log entry

type MapStringString

type MapStringString map[string]string

MapStringString MapStringString

swagger:model MapStringString

func (MapStringString) Validate

func (m MapStringString) Validate(formats strfmt.Registry) error

Validate validates this map string string

type NativeBalanceChange added in v1.2.7

type NativeBalanceChange struct {

	// address
	Address string `json:"address,omitempty"`

	// native change
	NativeChange *NativeChange `json:"native_change,omitempty"`
}

NativeBalanceChange NativeBalanceChange

swagger:model NativeBalanceChange

func (*NativeBalanceChange) MarshalBinary added in v1.2.7

func (m *NativeBalanceChange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NativeBalanceChange) UnmarshalBinary added in v1.2.7

func (m *NativeBalanceChange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NativeBalanceChange) Validate added in v1.2.7

func (m *NativeBalanceChange) Validate(formats strfmt.Registry) error

Validate validates this native balance change

type NativeChange added in v1.2.7

type NativeChange struct {

	// after
	After string `json:"after,omitempty"`

	// before
	Before string `json:"before,omitempty"`

	// change
	Change string `json:"change,omitempty"`
}

NativeChange NativeChange

swagger:model NativeChange

func (*NativeChange) MarshalBinary added in v1.2.7

func (m *NativeChange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NativeChange) UnmarshalBinary added in v1.2.7

func (m *NativeChange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NativeChange) Validate added in v1.2.7

func (m *NativeChange) Validate(formats strfmt.Registry) error

Validate validates this native change

type NewAllowance added in v1.2.6

type NewAllowance struct {

	// allowance change
	AllowanceChange string `json:"allowance_change,omitempty"`

	// owner
	Owner string `json:"owner,omitempty"`

	// post amount
	PostAmount string `json:"post_amount,omitempty"`

	// pre amount
	PreAmount string `json:"pre_amount,omitempty"`

	// risky spender
	RiskySpender int32 `json:"risky_spender,omitempty"`

	// spender
	Spender string `json:"spender,omitempty"`
}

NewAllowance NewAllowance

swagger:model NewAllowance

func (*NewAllowance) MarshalBinary added in v1.2.6

func (m *NewAllowance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewAllowance) UnmarshalBinary added in v1.2.6

func (m *NewAllowance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewAllowance) Validate added in v1.2.6

func (m *NewAllowance) Validate(formats strfmt.Registry) error

Validate validates this new allowance

type NftLockerResponse added in v1.2.6

type NftLockerResponse struct {

	// list
	List []*TaNftLockerLockInfoobject `json:"list"`

	// total count
	TotalCount int32 `json:"totalCount,omitempty"`
}

NftLockerResponse NftLockerResponse

swagger:model NftLockerResponse

func (*NftLockerResponse) MarshalBinary added in v1.2.6

func (m *NftLockerResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NftLockerResponse) UnmarshalBinary added in v1.2.6

func (m *NftLockerResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NftLockerResponse) Validate added in v1.2.6

func (m *NftLockerResponse) Validate(formats strfmt.Registry) error

Validate validates this nft locker response

type OpenScanAddressResp added in v1.2.7

type OpenScanAddressResp struct {

	// request id
	RequestID string `json:"request_id,omitempty"`

	// status
	Status bool `json:"status,omitempty"`
}

OpenScanAddressResp OpenScanAddressResp

swagger:model OpenScanAddressResp

func (*OpenScanAddressResp) MarshalBinary added in v1.2.7

func (m *OpenScanAddressResp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpenScanAddressResp) UnmarshalBinary added in v1.2.7

func (m *OpenScanAddressResp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpenScanAddressResp) Validate added in v1.2.7

func (m *OpenScanAddressResp) Validate(formats strfmt.Registry) error

Validate validates this open scan address resp

type PageResponseTaNftLockerLockInfo added in v1.2.7

type PageResponseTaNftLockerLockInfo struct {

	// list
	List []*TaNftLockerLockInfo `json:"list"`

	// page num
	PageNum int32 `json:"pageNum,omitempty"`

	// page size
	PageSize int32 `json:"pageSize,omitempty"`

	// total count
	TotalCount int32 `json:"totalCount,omitempty"`
}

PageResponseTaNftLockerLockInfo PageResponseTaNftLockerLockInfo

swagger:model PageResponseTaNftLockerLockInfo

func (*PageResponseTaNftLockerLockInfo) MarshalBinary added in v1.2.7

func (m *PageResponseTaNftLockerLockInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageResponseTaNftLockerLockInfo) UnmarshalBinary added in v1.2.7

func (m *PageResponseTaNftLockerLockInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageResponseTaNftLockerLockInfo) Validate added in v1.2.7

Validate validates this page response ta nft locker lock info

type PageResponseTaTokenLockerLockInfo added in v1.2.7

type PageResponseTaTokenLockerLockInfo struct {

	// list
	List []*TaTokenLockerLockInfo `json:"list"`

	// page num
	PageNum int32 `json:"pageNum,omitempty"`

	// page size
	PageSize int32 `json:"pageSize,omitempty"`

	// total count
	TotalCount int32 `json:"totalCount,omitempty"`
}

PageResponseTaTokenLockerLockInfo PageResponseTaTokenLockerLockInfo

swagger:model PageResponseTaTokenLockerLockInfo

func (*PageResponseTaTokenLockerLockInfo) MarshalBinary added in v1.2.7

func (m *PageResponseTaTokenLockerLockInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageResponseTaTokenLockerLockInfo) UnmarshalBinary added in v1.2.7

func (m *PageResponseTaTokenLockerLockInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageResponseTaTokenLockerLockInfo) Validate added in v1.2.7

Validate validates this page response ta token locker lock info

type PageResponseV4NftLockerLockInfos added in v1.2.7

type PageResponseV4NftLockerLockInfos struct {

	// list
	List []*V4NftLockerLockInfos `json:"list"`

	// page num
	PageNum int32 `json:"pageNum,omitempty"`

	// page size
	PageSize int32 `json:"pageSize,omitempty"`

	// total count
	TotalCount int32 `json:"totalCount,omitempty"`
}

PageResponseV4NftLockerLockInfos PageResponseV4NftLockerLockInfos

swagger:model PageResponseV4NftLockerLockInfos

func (*PageResponseV4NftLockerLockInfos) MarshalBinary added in v1.2.7

func (m *PageResponseV4NftLockerLockInfos) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageResponseV4NftLockerLockInfos) UnmarshalBinary added in v1.2.7

func (m *PageResponseV4NftLockerLockInfos) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageResponseV4NftLockerLockInfos) Validate added in v1.2.7

Validate validates this page response v4 nft locker lock infos

type ParseAbiDataRequest

type ParseAbiDataRequest struct {

	// Chain id, (ETH: 1, Cronos:25, BSC: 56, Heco: 128, Polygon: 137, Fantom:250, KCC: 321, Arbitrum: 42161, Avalanche: 43114)
	// Required: true
	ChainID *string `json:"chain_id"`

	// Carrying the signer and contract address will help to decode more information.
	ContractAddress string `json:"contract_address,omitempty"`

	// Transaction input
	// Required: true
	Data *string `json:"data"`

	// input info
	Input map[string]interface{} `json:"input,omitempty"`

	// Carrying the signer and contract address will help to decode more information.
	Signer string `json:"signer,omitempty"`

	// Transaction type
	// Enum: [common eth_signTypedData_v4 personal_sign eth_sign]
	TranscationType string `json:"transcation_type,omitempty"`
}

ParseAbiDataRequest ParseAbiDataRequest

swagger:model ParseAbiDataRequest

func (*ParseAbiDataRequest) MarshalBinary

func (m *ParseAbiDataRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ParseAbiDataRequest) UnmarshalBinary

func (m *ParseAbiDataRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ParseAbiDataRequest) Validate

func (m *ParseAbiDataRequest) Validate(formats strfmt.Registry) error

Validate validates this parse abi data request

type ParseAbiDataResponse

type ParseAbiDataResponse struct {

	// Description of the contract.
	ContractDescription string `json:"contract_description,omitempty"`

	// The name of the contract that the user is interacting with.
	ContractName string `json:"contract_name,omitempty"`

	// It tells if contract that the user is interacting with is malicious contract.
	MaliciousContract int32 `json:"malicious_contract,omitempty"`

	// It describes the method name in ABI, for example "transfer".
	Method string `json:"method,omitempty"`

	// It describes the parameter info
	Params []*AbiParamInfo `json:"params"`

	// It explains why the transaction that users are signing contains risk.(Notice:Even non-malicious, commonly used, well-known contracts can be highly risky if not used properly.)
	Risk string `json:"risk,omitempty"`

	// It tells if the transaction that users are signing contains risk.(Notice:Even non-malicious, commonly used, well-known contracts can be highly risky if not used properly.)
	RiskySignature int32 `json:"risky_signature,omitempty"`

	// It explain the function of the method
	SignatureDetail string `json:"signature_detail,omitempty"`
}

ParseAbiDataResponse ParseAbiDataResponse

swagger:model ParseAbiDataResponse

func (*ParseAbiDataResponse) MarshalBinary

func (m *ParseAbiDataResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ParseAbiDataResponse) UnmarshalBinary

func (m *ParseAbiDataResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ParseAbiDataResponse) Validate

func (m *ParseAbiDataResponse) Validate(formats strfmt.Registry) error

Validate validates this parse abi data response

type ResponseWrapperAddressContract

type ResponseWrapperAddressContract struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// result
	Result *ResponseWrapperAddressContractResult `json:"result,omitempty"`
}

ResponseWrapperAddressContract ResponseWrapperAddressContract

swagger:model ResponseWrapperAddressContract

func (*ResponseWrapperAddressContract) MarshalBinary

func (m *ResponseWrapperAddressContract) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperAddressContract) UnmarshalBinary

func (m *ResponseWrapperAddressContract) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperAddressContract) Validate

func (m *ResponseWrapperAddressContract) Validate(formats strfmt.Registry) error

Validate validates this response wrapper address contract

type ResponseWrapperAddressContractResult

type ResponseWrapperAddressContractResult struct {

	// It describes whether this address is suspected of malicious behavior.
	// "1" means true;
	// "0" means false.
	BlacklistDoubt string `json:"blacklist_doubt,omitempty"`

	// It describes whether this address has implemented blackmail activities.
	// "1" means true;
	// "0" means false.
	BlackmailActivities string `json:"blackmail_activities,omitempty"`

	// It describes whether this address is a contract address.
	// "1" means true;
	// "0" means false.(Notice:If only the address is sent to the API and not the chain id, the "contract_address" will not be returned (This is because there are cases where the same address is a contract in one public chain but not in other public chains.) Determining the contract address is achieved by calling a third-party blockchain browser interface. Since it takes time for the browser interface to return, the field may be empty on the first request.
	// Solution: the second call around 5s can return whether the address is the value of the contract normally.)
	ContractAddress string `json:"contract_address,omitempty"`

	// It describes whether this address is involved in cybercrime.
	// "1" means true;
	// "0" means false.
	Cybercrime string `json:"cybercrime,omitempty"`

	// It describes whether this address is involved in darkweb transactions.
	// "1" means true;
	// "0" means false.
	DarkwebTransactions string `json:"darkweb_transactions,omitempty"`

	// It describes the data source for this address information.
	// For example: GoPlus/SlowMist
	DataSource string `json:"data_source,omitempty"`

	// It describes whether this address is involved in fake KYC.
	// "1" means true;
	// "0" means false.
	FakeKyc string `json:"fake_kyc,omitempty"`

	// It describes whether this contract contains standard interfaces that do not conform the requirements of the standard protocol.(Notice:Fake Standard Interface is mostly seen in scam assets.)
	FakeStandardInterface string `json:"fake_standard_interface,omitempty"`

	// It indicates whether the token is a counterfeit of a mainstream asset.
	FakeToken string `json:"fake_token,omitempty"`

	// It describes whether this address is involved in financial crime.
	// "1" means true;
	// "0" means false.
	FinancialCrime string `json:"financial_crime,omitempty"`

	// It describes whether this address is cheating other user's gas fee to mint other assets.(Notice:Any interaction with such addresses may result in loss of property.)
	GasAbuse string `json:"gas_abuse,omitempty"`

	// It describes whether this address is related to honeypot tokens or has created scam tokens.
	// "1" means true;
	// "0" means false.(Notice:Addresses related to honeypot mean the creators or owners of the honeypot tokens.
	// This is a dangerous address if the address is ralated to honeypot tokens.)
	HoneypotRelatedAddress string `json:"honeypot_related_address,omitempty"`

	// It describes whether this address is involved in malicious mining activities.
	// "1" means true;
	// "0" means false.
	MaliciousMiningActivities string `json:"malicious_mining_activities,omitempty"`

	// It describes whether this address is coin mixer address.
	// "1" means true;
	// "0" means false.(Notice:Interacting with coin mixer may result in your address being added to the risk list of third-party institutions.)
	Mixer string `json:"mixer,omitempty"`

	// It describes whether this address is involved in money laundering.
	// "1" means true;
	// "0" means false.
	MoneyLaundering string `json:"money_laundering,omitempty"`

	// This parameter describes how many malicious contracts have been created by this address.
	NumberOfMaliciousContractsCreated string `json:"number_of_malicious_contracts_created,omitempty"`

	// It describes whether this address has implemented phishing activities.
	// "1" means true;
	// "0" means false.
	PhishingActivities string `json:"phishing_activities,omitempty"`

	// It describes whether this address/contract has been deployed more than onces, and can be deployed again.(Notice:If a contract can be reinited, the developer can change the contract code whenever he wants.)
	Reinit string `json:"reinit,omitempty"`

	// It describes whether this address is coin sanctioned address.
	// "1" means true;
	// "0" means false.
	Sanctioned string `json:"sanctioned,omitempty"`

	// It describes whether this address has implemented stealing attacks.
	// "1" means true;
	// "0" means false.
	StealingAttack string `json:"stealing_attack,omitempty"`
}

ResponseWrapperAddressContractResult Response result

swagger:model ResponseWrapperAddressContractResult

func (*ResponseWrapperAddressContractResult) MarshalBinary

func (m *ResponseWrapperAddressContractResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperAddressContractResult) UnmarshalBinary

func (m *ResponseWrapperAddressContractResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperAddressContractResult) Validate

Validate validates this response wrapper address contract result

type ResponseWrapperContractApproveResponse

type ResponseWrapperContractApproveResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *ContractApproveResponse `json:"result,omitempty"`
}

ResponseWrapperContractApproveResponse ResponseWrapperContractApproveResponse

swagger:model ResponseWrapperContractApproveResponse

func (*ResponseWrapperContractApproveResponse) MarshalBinary

func (m *ResponseWrapperContractApproveResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperContractApproveResponse) UnmarshalBinary

func (m *ResponseWrapperContractApproveResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperContractApproveResponse) Validate

Validate validates this response wrapper contract approve response

type ResponseWrapperDappContractSecurityResponse

type ResponseWrapperDappContractSecurityResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *DappContractSecurityResponse `json:"result,omitempty"`
}

ResponseWrapperDappContractSecurityResponse ResponseWrapperDappContractSecurityResponse

swagger:model ResponseWrapperDappContractSecurityResponse

func (*ResponseWrapperDappContractSecurityResponse) MarshalBinary

func (m *ResponseWrapperDappContractSecurityResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperDappContractSecurityResponse) UnmarshalBinary

func (m *ResponseWrapperDappContractSecurityResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperDappContractSecurityResponse) Validate

Validate validates this response wrapper dapp contract security response

type ResponseWrapperDustAttackDetection added in v1.2.7

type ResponseWrapperDustAttackDetection struct {

	// Code 1:Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// result
	Result *ResponseWrapperDustAttackDetectionResult `json:"result,omitempty"`
}

ResponseWrapperDustAttackDetection ResponseWrapperDustAttackDetection

swagger:model ResponseWrapperDustAttackDetection

func (*ResponseWrapperDustAttackDetection) MarshalBinary added in v1.2.7

func (m *ResponseWrapperDustAttackDetection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperDustAttackDetection) UnmarshalBinary added in v1.2.7

func (m *ResponseWrapperDustAttackDetection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperDustAttackDetection) Validate added in v1.2.7

Validate validates this response wrapper dust attack detection

type ResponseWrapperDustAttackDetectionResult added in v1.2.7

type ResponseWrapperDustAttackDetectionResult struct {

	// 0/1
	AttackHash string `json:"attack_hash,omitempty"`

	// 0/1
	IsUnderAttack string `json:"is_under_attack,omitempty"`
}

ResponseWrapperDustAttackDetectionResult Response result

swagger:model ResponseWrapperDustAttackDetectionResult

func (*ResponseWrapperDustAttackDetectionResult) MarshalBinary added in v1.2.7

func (m *ResponseWrapperDustAttackDetectionResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperDustAttackDetectionResult) UnmarshalBinary added in v1.2.7

func (m *ResponseWrapperDustAttackDetectionResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperDustAttackDetectionResult) Validate added in v1.2.7

Validate validates this response wrapper dust attack detection result

type ResponseWrapperGetAccessTokenResponse

type ResponseWrapperGetAccessTokenResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *GetAccessTokenResponse `json:"result,omitempty"`
}

ResponseWrapperGetAccessTokenResponse ResponseWrapperGetAccessTokenResponse

swagger:model ResponseWrapperGetAccessTokenResponse

func (*ResponseWrapperGetAccessTokenResponse) MarshalBinary

func (m *ResponseWrapperGetAccessTokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperGetAccessTokenResponse) UnmarshalBinary

func (m *ResponseWrapperGetAccessTokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperGetAccessTokenResponse) Validate

Validate validates this response wrapper get access token response

type ResponseWrapperGetNftInfo

type ResponseWrapperGetNftInfo struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// result
	Result *ResponseWrapperGetNftInfoResult `json:"result,omitempty"`
}

ResponseWrapperGetNftInfo ResponseWrapperGetNftInfo

swagger:model ResponseWrapperGetNftInfo

func (*ResponseWrapperGetNftInfo) MarshalBinary

func (m *ResponseWrapperGetNftInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperGetNftInfo) UnmarshalBinary

func (m *ResponseWrapperGetNftInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperGetNftInfo) Validate

func (m *ResponseWrapperGetNftInfo) Validate(formats strfmt.Registry) error

Validate validates this response wrapper get nft info

type ResponseWrapperGetNftInfoResult

type ResponseWrapperGetNftInfoResult struct {

	// It describes the average price of the NFT in 24h.
	AveragePrice24h float64 `json:"average_price_24h,omitempty"`

	// It describes the number of blocks created for the NFT.
	// Return "null" means that we didn't find the number of blocks created for the NFT.
	CreateBlockNumber int64 `json:"create_block_number,omitempty"`

	// It describes the creator address of the NFT.
	// Example: "creator_address": "0x1ee0af784b96bb55ece98c9b15675726b0da1b6b";
	// Return "null" means that we didn't find the creator address.
	CreatorAddress string `json:"creator_address,omitempty"`

	// It describes the discord url of the NFT.
	// Return "null" means there is no discord url or didn't find the discord url.
	DiscordURL string `json:"discord_url,omitempty"`

	// It describes the github url of the NFT.
	// Return "null" means there is no github url or didn't find the github url.
	GithubURL string `json:"github_url,omitempty"`

	// It describes the highest price of the NFT.
	HighestPrice float64 `json:"highest_price,omitempty"`

	// It describes the lowest price of the NFT in 24h.
	LowestPrice24h float64 `json:"lowest_price_24h,omitempty"`

	// It describes whether this NFT has performed malicious behaviors.
	// "1" means true;
	// "0" means false.(Notice:Malicious behaviors include random additions, blacklist abuse, falsified transactions, and other high-risk behaviors. Interacting with NFTs flagged as Malicious may contain a high level of risk)
	MaliciousNftContract int32 `json:"malicious_nft_contract,omitempty"`

	// It describes the medium url of the NFT.
	// Return "null" means there is no medium url or didn't find the medium url.
	MediumURL string `json:"medium_url,omitempty"`

	// metadata_frozen
	MetadataFrozen int32 `json:"metadata_frozen,omitempty"`

	// It describes the introduction of the NFT.
	// Return "null" means there is no description of the NFT.
	NftDescription string `json:"nft_description,omitempty"`

	// It describes the ERC protocol of the NFT.
	// Example: "nft_erc": "erc721"
	NftErc string `json:"nft_erc,omitempty"`

	// It describes the numbers of the NFT.
	NftItems int64 `json:"nft_items,omitempty"`

	// nft_name
	NftName string `json:"nft_name,omitempty"`

	// It describes whether this contract is open source.
	// "1" means true;
	// "0" means false.(Notice:Un-open-sourced contracts may hide various unknown mechanisms and are extremely risky. When the contract is not open source, we will not be able to detect other risk items.)
	NftOpenSource int32 `json:"nft_open_source,omitempty"`

	// It describes the holders of the NFT.
	NftOwnerNumber int64 `json:"nft_owner_number,omitempty"`

	// It describes whether this NFT contract has a proxy contract.
	// "1" means true;
	// "0" means false;
	// "Null" means unknown.(Notice:(1) When "is_open_source": "0", it will return "null".
	// (2) Most Proxy contracts are accompanied by modifiable implementation contracts, and implementation contracts may contain significant potential risk.)
	NftProxy int32 `json:"nft_proxy,omitempty"`

	// nft_symbol
	NftSymbol string `json:"nft_symbol,omitempty"`

	// It describes whether the NFT is verified.
	// "1" means that the NFT is verified;
	// "0" means that we did not find any information about whether the NFT is verified.
	NftVerified int32 `json:"nft_verified,omitempty"`

	// It describes whether this NFT owner can bypass the maximum amount of minting specified in the contract, and continue to mint NFTs beyond this limit.
	// "1" means true;
	// "0" means false;
	// "Null" means unknown.(Notice:Oversupply minting refers to the existence of a special mint method in the NFT contract - the owner can bypass the maximum amount of minting specified in the contract, and continue to mint NFTs beyond this limit.)
	OversupplyMinting int32 `json:"oversupply_minting,omitempty"`

	// privileged burn
	PrivilegedBurn *ResponseWrapperGetNftInfoResultPrivilegedBurn `json:"privileged_burn,omitempty"`

	// privileged minting
	PrivilegedMinting *ResponseWrapperGetNftInfoResultPrivilegedMinting `json:"privileged_minting,omitempty"`

	// red check mark
	RedCheckMark int32 `json:"red_check_mark,omitempty"`

	// It describes whether the NFT contract can restrict the approval, resulting in NFT can not be traded on the NFT DEX.
	// "1" means true;
	// "0" means false;
	// "Null" means unknown.(Notice:If this risk exists, it means that users will not be able to trade the NFT on the exchange and only privileged users in the whitelist will be able to trade normally.)
	RestrictedApproval int32 `json:"restricted_approval,omitempty"`

	// It describes the sales of the NFT in 24h.
	Sales24h float64 `json:"sales_24h,omitempty"`

	// It describes the info of other NFTs with duplicate name and symbol.
	SameNfts []*ResponseWrapperGetNftInfoResultSameNftsItems0 `json:"same_nfts"`

	// self destruct
	SelfDestruct *ResponseWrapperGetNftInfoResultSelfDestruct `json:"self_destruct,omitempty"`

	// It describes the telegram url of the NFT.
	// Return "null" means there is no telegram url or didn't find the telegram url.
	TelegramURL string `json:"telegram_url,omitempty"`

	// token_id
	TokenID string `json:"token_id,omitempty"`

	// token_owner
	TokenOwner string `json:"token_owner,omitempty"`

	// It describes the total volume of the NFT.
	TotalVolume float64 `json:"total_volume,omitempty"`

	// It describes the trading volume of the NFT in 24h.
	TradedVolume24h float64 `json:"traded_volume_24h,omitempty"`

	// transfer without approval
	TransferWithoutApproval *ResponseWrapperGetNftInfoResultTransferWithoutApproval `json:"transfer_without_approval,omitempty"`

	// It describes whether the NFT is a famous and trustworthy one.
	// "1" means true;
	// Return "null" means no result.(Notice:(1) Only "trust_list": "1" means it is a famous and trustworthy NFT.
	// (2) Return "null" doesn't mean it is risky.Th)
	TrustList int32 `json:"trust_list,omitempty"`

	// It describes the twitter url of the NFT.
	// Return "null" means there is no twitter url or didn't find the twitter url.
	TwitterURL string `json:"twitter_url,omitempty"`

	// It describes the website url of the NFT.
	// Return "null" means there is no website url or didn't find the website url.
	WebsiteURL string `json:"website_url,omitempty"`
}

ResponseWrapperGetNftInfoResult Response result

swagger:model ResponseWrapperGetNftInfoResult

func (*ResponseWrapperGetNftInfoResult) MarshalBinary

func (m *ResponseWrapperGetNftInfoResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResult) UnmarshalBinary

func (m *ResponseWrapperGetNftInfoResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResult) Validate

Validate validates this response wrapper get nft info result

type ResponseWrapperGetNftInfoResultPrivilegedBurn

type ResponseWrapperGetNftInfoResultPrivilegedBurn struct {

	// Owner_address describes the owner address.
	// null: the owner address cannot be fetched.
	OwnerAddress string `json:"owner_address,omitempty"`

	// "blackhole" : the owner is a blackhole address.
	// "contract" : the owner is a contract.
	// "eoa" : the owner is a common address (eoa).
	// "multi-address": the owner is an array/list.
	// null: the address is not detected.
	OwnerType string `json:"owner_type,omitempty"`

	// The "value" describes the status of the risk.
	// null: the contract is not open source or there is a proxy, it is not possible to detect whether the risk exists. -1: the risk is detected but the ownership give up. If the detection of a code vulnerability, it can also be considered risk-free.
	// 0: the risk is not detected.
	// 1: the risk is detected, and the owner address is a common address (EOA), then it can be said that there is a clear risk.
	// 2: The risk is detected, but the owner address is a contract address, the risk is not significant.
	// 3: The risk is detected, but the owner address is not detectable / or an array.
	//
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperGetNftInfoResultPrivilegedBurn It describes whether the NFT owner can burn others NFT.(Notice:Privileged_burn means that the owner can burn others' NFTs directly through the method.)

swagger:model ResponseWrapperGetNftInfoResultPrivilegedBurn

func (*ResponseWrapperGetNftInfoResultPrivilegedBurn) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultPrivilegedBurn) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultPrivilegedBurn) Validate

Validate validates this response wrapper get nft info result privileged burn

type ResponseWrapperGetNftInfoResultPrivilegedMinting

type ResponseWrapperGetNftInfoResultPrivilegedMinting struct {

	// Owner_address describes the owner address.
	// null: the owner address cannot be fetched.
	OwnerAddress string `json:"owner_address,omitempty"`

	// "blackhole" : the owner is a blackhole address.
	// "contract" : the owner is a contract.
	// "eoa" : the owner is a common address (eoa).
	// "multi-address": the owner is an array/list.
	// null: the address is not detected.
	OwnerType string `json:"owner_type,omitempty"`

	// The "value" describes the status of the risk.
	// null: the contract is not open source or there is a proxy, it is not possible to detect whether the risk exists. -1: the risk is detected but the ownership give up. If the detection of a code vulnerability, it can also be considered risk-free.
	// 0: the risk is not detected.
	// 1: the risk is detected, and the owner address is a common address (EOA), then it can be said that there is a clear risk.
	// 2: The risk is detected, but the owner address is a contract address, the risk is not significant.
	// 3: The risk is detected, but the owner address is not detectable / or an array.
	//
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperGetNftInfoResultPrivilegedMinting It describes whether the NFT contract has minting methods which can only be triggered by an address with special privileges. (Notice:Some minting methods can only be triggered by an address with special privileges. Generally speaking, these are usually for the owner to mint.)

swagger:model ResponseWrapperGetNftInfoResultPrivilegedMinting

func (*ResponseWrapperGetNftInfoResultPrivilegedMinting) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultPrivilegedMinting) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultPrivilegedMinting) Validate

Validate validates this response wrapper get nft info result privileged minting

type ResponseWrapperGetNftInfoResultSameNftsItems0

type ResponseWrapperGetNftInfoResultSameNftsItems0 struct {

	// describes the number of blocks created for the NFT.
	// Return "null" means no NFTs with duplicate name and symbol.
	CreateBlockNumber int64 `json:"create_block_number,omitempty"`

	// It describes the address of the NFTs;
	NftAddress string `json:"nft_address,omitempty"`

	// It describes the name of the NFT;
	NftName string `json:"nft_name,omitempty"`

	// It describes the holders of the NFT;
	NftOwnerNumber int64 `json:"nft_owner_number,omitempty"`

	// It describes the symbol of the NFT;
	NftSymbol string `json:"nft_symbol,omitempty"`
}

ResponseWrapperGetNftInfoResultSameNftsItems0 response wrapper get nft info result same nfts items0

swagger:model ResponseWrapperGetNftInfoResultSameNftsItems0

func (*ResponseWrapperGetNftInfoResultSameNftsItems0) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultSameNftsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultSameNftsItems0) Validate

Validate validates this response wrapper get nft info result same nfts items0

type ResponseWrapperGetNftInfoResultSelfDestruct

type ResponseWrapperGetNftInfoResultSelfDestruct struct {

	// Owner_address describes the owner address.
	// null: the owner address cannot be fetched.
	OwnerAddress string `json:"owner_address,omitempty"`

	// "blackhole" : the owner is a blackhole address.
	// "contract" : the owner is a contract.
	// "eoa" : the owner is a common address (eoa).
	// "multi-address": the owner is an array/list.
	// null: the address is not detected.
	OwnerType string `json:"owner_type,omitempty"`

	// The "value" describes the status of the risk.
	// null: the contract is not open source or there is a proxy, it is not possible to detect whether the risk exists. -1: the risk is detected but the ownership give up. If the detection of a code vulnerability, it can also be considered risk-free.
	// 0: the risk is not detected.
	// 1: the risk is detected, and the owner address is a common address (EOA), then it can be said that there is a clear risk.
	// 2: The risk is detected, but the owner address is a contract address, the risk is not significant.
	// 3: The risk is detected, but the owner address is not detectable / or an array.
	//
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperGetNftInfoResultSelfDestruct { value: owner_address: owner_type }It describes whether this NFT contract can self destruct. (Notice:When the self-destruct function is triggered, this contract will be destroyed, all functions will be unavailable, and all related assets will be erased.)

swagger:model ResponseWrapperGetNftInfoResultSelfDestruct

func (*ResponseWrapperGetNftInfoResultSelfDestruct) MarshalBinary

func (m *ResponseWrapperGetNftInfoResultSelfDestruct) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultSelfDestruct) UnmarshalBinary

func (m *ResponseWrapperGetNftInfoResultSelfDestruct) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultSelfDestruct) Validate

Validate validates this response wrapper get nft info result self destruct

type ResponseWrapperGetNftInfoResultTransferWithoutApproval

type ResponseWrapperGetNftInfoResultTransferWithoutApproval struct {

	// Owner_address describes the owner address.
	// null: the owner address cannot be fetched.
	OwnerAddress string `json:"owner_address,omitempty"`

	// "blackhole" : the owner is a blackhole address.
	// "contract" : the owner is a contract.
	// "eoa" : the owner is a common address (eoa).
	// "multi-address": the owner is an array/list.
	// null: the address is not detected.
	OwnerType string `json:"owner_type,omitempty"`

	// The "value" describes the status of the risk.
	// null: the contract is not open source or there is a proxy, it is not possible to detect whether the risk exists. -1: the risk is detected but the ownership give up. If the detection of a code vulnerability, it can also be considered risk-free.
	// 0: the risk is not detected.
	// 1: the risk is detected, and the owner address is a common address (EOA), then it can be said that there is a clear risk.
	// 2: The risk is detected, but the owner address is a contract address, the risk is not significant.
	// 3: The risk is detected, but the owner address is not detectable / or an array.
	//
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperGetNftInfoResultTransferWithoutApproval It describes whether the NFT owner can transfer NFT without approval.(Notice:Transfer_without_approval generally means the scammer does not need to get approvals to transfer another address's NFT. One typical example is sleep_minting. Sleep_minting means that the scammer will first add the NFT to a well-known wallet address and then retrieve the NFT. After the value of the NFT has appreciated , it will be put back on the market.)

swagger:model ResponseWrapperGetNftInfoResultTransferWithoutApproval

func (*ResponseWrapperGetNftInfoResultTransferWithoutApproval) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultTransferWithoutApproval) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultTransferWithoutApproval) Validate

Validate validates this response wrapper get nft info result transfer without approval

type ResponseWrapperGetScanResult added in v1.2.7

type ResponseWrapperGetScanResult struct {

	// Code 1:Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// result
	Result *ResponseWrapperGetScanResultResult `json:"result,omitempty"`
}

ResponseWrapperGetScanResult ResponseWrapperGetScanResult

swagger:model ResponseWrapperGetScanResult

func (*ResponseWrapperGetScanResult) MarshalBinary added in v1.2.7

func (m *ResponseWrapperGetScanResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResult) UnmarshalBinary added in v1.2.7

func (m *ResponseWrapperGetScanResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResult) Validate added in v1.2.7

func (m *ResponseWrapperGetScanResult) Validate(formats strfmt.Registry) error

Validate validates this response wrapper get scan result

type ResponseWrapperGetScanResultResult added in v1.2.7

type ResponseWrapperGetScanResultResult struct {

	// address poisoned
	AddressPoisoned *ResponseWrapperGetScanResultResultAddressPoisoned `json:"address_poisoned,omitempty"`

	// approval risk
	ApprovalRisk *ResponseWrapperGetScanResultResultApprovalRisk `json:"approval_risk,omitempty"`

	// Chain ID
	ChainID string `json:"chain_id,omitempty"`

	// excessive gas fee
	ExcessiveGasFee *ResponseWrapperGetScanResultResultExcessiveGasFee `json:"excessive_gas_fee,omitempty"`

	// nft attention
	NftAttention *ResponseWrapperGetScanResultResultNftAttention `json:"nft_attention,omitempty"`

	// nft risk
	NftRisk *ResponseWrapperGetScanResultResultNftRisk `json:"nft_risk,omitempty"`

	// nft stolen
	NftStolen *ResponseWrapperGetScanResultResultNftStolen `json:"nft_stolen,omitempty"`

	// Request ID
	RequestID string `json:"request_id,omitempty"`

	// risky address interaction
	RiskyAddressInteraction *ResponseWrapperGetScanResultResultRiskyAddressInteraction `json:"risky_address_interaction,omitempty"`

	// Scan initiation time. UTC+0.
	ScanTime string `json:"scan_time,omitempty"`

	// stablecoin depeg
	StablecoinDepeg *ResponseWrapperGetScanResultResultStablecoinDepeg `json:"stablecoin_depeg,omitempty"`

	// token attention
	TokenAttention *ResponseWrapperGetScanResultResultTokenAttention `json:"token_attention,omitempty"`

	// token risk
	TokenRisk *ResponseWrapperGetScanResultResultTokenRisk `json:"token_risk,omitempty"`
}

ResponseWrapperGetScanResultResult Response result

swagger:model ResponseWrapperGetScanResultResult

func (*ResponseWrapperGetScanResultResult) MarshalBinary added in v1.2.7

func (m *ResponseWrapperGetScanResultResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResult) UnmarshalBinary added in v1.2.7

func (m *ResponseWrapperGetScanResultResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResult) Validate added in v1.2.7

Validate validates this response wrapper get scan result result

type ResponseWrapperGetScanResultResultAddressPoisoned added in v1.2.7

type ResponseWrapperGetScanResultResultAddressPoisoned struct {

	// risk detail
	RiskDetail []*ResponseWrapperGetScanResultResultAddressPoisonedRiskDetailItems0 `json:"risk_detail"`

	// risk num
	RiskNum int32 `json:"risk_num,omitempty"`
}

ResponseWrapperGetScanResultResultAddressPoisoned response wrapper get scan result result address poisoned

swagger:model ResponseWrapperGetScanResultResultAddressPoisoned

func (*ResponseWrapperGetScanResultResultAddressPoisoned) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultAddressPoisoned) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultAddressPoisoned) Validate added in v1.2.7

Validate validates this response wrapper get scan result result address poisoned

type ResponseWrapperGetScanResultResultAddressPoisonedRiskDetailItems0 added in v1.2.7

type ResponseWrapperGetScanResultResultAddressPoisonedRiskDetailItems0 struct {

	// transaction hash
	TransactionHash string `json:"transaction_hash,omitempty"`

	// transaction time
	TransactionTime string `json:"transaction_time,omitempty"`
}

ResponseWrapperGetScanResultResultAddressPoisonedRiskDetailItems0 response wrapper get scan result result address poisoned risk detail items0

swagger:model ResponseWrapperGetScanResultResultAddressPoisonedRiskDetailItems0

func (*ResponseWrapperGetScanResultResultAddressPoisonedRiskDetailItems0) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultAddressPoisonedRiskDetailItems0) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultAddressPoisonedRiskDetailItems0) Validate added in v1.2.7

Validate validates this response wrapper get scan result result address poisoned risk detail items0

type ResponseWrapperGetScanResultResultApprovalRisk added in v1.2.7

type ResponseWrapperGetScanResultResultApprovalRisk struct {

	// risk detail
	RiskDetail []*ResponseWrapperGetScanResultResultApprovalRiskRiskDetailItems0 `json:"risk_detail"`

	// risk num
	RiskNum int32 `json:"risk_num,omitempty"`
}

ResponseWrapperGetScanResultResultApprovalRisk response wrapper get scan result result approval risk

swagger:model ResponseWrapperGetScanResultResultApprovalRisk

func (*ResponseWrapperGetScanResultResultApprovalRisk) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultApprovalRisk) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultApprovalRisk) Validate added in v1.2.7

Validate validates this response wrapper get scan result result approval risk

type ResponseWrapperGetScanResultResultApprovalRiskRiskDetailItems0 added in v1.2.7

type ResponseWrapperGetScanResultResultApprovalRiskRiskDetailItems0 struct {

	// erc20 risk
	Erc20Risk []*ResponseWrapperGetScanResultResultApprovalRiskRiskDetailItems0Erc20RiskItems0 `json:"erc20_risk"`
}

ResponseWrapperGetScanResultResultApprovalRiskRiskDetailItems0 response wrapper get scan result result approval risk risk detail items0

swagger:model ResponseWrapperGetScanResultResultApprovalRiskRiskDetailItems0

func (*ResponseWrapperGetScanResultResultApprovalRiskRiskDetailItems0) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultApprovalRiskRiskDetailItems0) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultApprovalRiskRiskDetailItems0) Validate added in v1.2.7

Validate validates this response wrapper get scan result result approval risk risk detail items0

type ResponseWrapperGetScanResultResultApprovalRiskRiskDetailItems0Erc20RiskItems0 added in v1.2.7

type ResponseWrapperGetScanResultResultApprovalRiskRiskDetailItems0Erc20RiskItems0 struct {

	// approved address
	ApprovedAddress string `json:"approved_address,omitempty"`

	// approved amount
	ApprovedAmount string `json:"approved_amount,omitempty"`

	// token address
	TokenAddress string `json:"token_address,omitempty"`

	// token symbol
	TokenSymbol string `json:"token_symbol,omitempty"`

	// transaction hash
	TransactionHash string `json:"transaction_hash,omitempty"`

	// transaction time
	TransactionTime string `json:"transaction_time,omitempty"`
}

ResponseWrapperGetScanResultResultApprovalRiskRiskDetailItems0Erc20RiskItems0 response wrapper get scan result result approval risk risk detail items0 erc20 risk items0

swagger:model ResponseWrapperGetScanResultResultApprovalRiskRiskDetailItems0Erc20RiskItems0

func (*ResponseWrapperGetScanResultResultApprovalRiskRiskDetailItems0Erc20RiskItems0) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultApprovalRiskRiskDetailItems0Erc20RiskItems0) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultApprovalRiskRiskDetailItems0Erc20RiskItems0) Validate added in v1.2.7

Validate validates this response wrapper get scan result result approval risk risk detail items0 erc20 risk items0

type ResponseWrapperGetScanResultResultExcessiveGasFee added in v1.2.7

type ResponseWrapperGetScanResultResultExcessiveGasFee struct {

	// risk detail
	RiskDetail []*ResponseWrapperGetScanResultResultExcessiveGasFeeRiskDetailItems0 `json:"risk_detail"`

	// risk num
	RiskNum int32 `json:"risk_num,omitempty"`
}

ResponseWrapperGetScanResultResultExcessiveGasFee response wrapper get scan result result excessive gas fee

swagger:model ResponseWrapperGetScanResultResultExcessiveGasFee

func (*ResponseWrapperGetScanResultResultExcessiveGasFee) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultExcessiveGasFee) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultExcessiveGasFee) Validate added in v1.2.7

Validate validates this response wrapper get scan result result excessive gas fee

type ResponseWrapperGetScanResultResultExcessiveGasFeeRiskDetailItems0 added in v1.2.7

type ResponseWrapperGetScanResultResultExcessiveGasFeeRiskDetailItems0 struct {

	// transaction hash
	TransactionHash string `json:"transaction_hash,omitempty"`

	// transaction time
	TransactionTime string `json:"transaction_time,omitempty"`
}

ResponseWrapperGetScanResultResultExcessiveGasFeeRiskDetailItems0 response wrapper get scan result result excessive gas fee risk detail items0

swagger:model ResponseWrapperGetScanResultResultExcessiveGasFeeRiskDetailItems0

func (*ResponseWrapperGetScanResultResultExcessiveGasFeeRiskDetailItems0) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultExcessiveGasFeeRiskDetailItems0) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultExcessiveGasFeeRiskDetailItems0) Validate added in v1.2.7

Validate validates this response wrapper get scan result result excessive gas fee risk detail items0

type ResponseWrapperGetScanResultResultNftAttention added in v1.2.7

type ResponseWrapperGetScanResultResultNftAttention struct {

	// risk detail
	RiskDetail []*ResponseWrapperGetScanResultResultNftAttentionRiskDetailItems0 `json:"risk_detail"`

	// risk num
	RiskNum int32 `json:"risk_num,omitempty"`
}

ResponseWrapperGetScanResultResultNftAttention response wrapper get scan result result nft attention

swagger:model ResponseWrapperGetScanResultResultNftAttention

func (*ResponseWrapperGetScanResultResultNftAttention) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultNftAttention) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultNftAttention) Validate added in v1.2.7

Validate validates this response wrapper get scan result result nft attention

type ResponseWrapperGetScanResultResultNftAttentionRiskDetailItems0 added in v1.2.7

type ResponseWrapperGetScanResultResultNftAttentionRiskDetailItems0 struct {

	// token address
	TokenAddress string `json:"token_address,omitempty"`

	// token symbol
	TokenSymbol string `json:"token_symbol,omitempty"`
}

ResponseWrapperGetScanResultResultNftAttentionRiskDetailItems0 response wrapper get scan result result nft attention risk detail items0

swagger:model ResponseWrapperGetScanResultResultNftAttentionRiskDetailItems0

func (*ResponseWrapperGetScanResultResultNftAttentionRiskDetailItems0) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultNftAttentionRiskDetailItems0) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultNftAttentionRiskDetailItems0) Validate added in v1.2.7

Validate validates this response wrapper get scan result result nft attention risk detail items0

type ResponseWrapperGetScanResultResultNftRisk added in v1.2.7

type ResponseWrapperGetScanResultResultNftRisk struct {

	// risk detail
	RiskDetail []*ResponseWrapperGetScanResultResultNftRiskRiskDetailItems0 `json:"risk_detail"`

	// risk num
	RiskNum int32 `json:"risk_num,omitempty"`
}

ResponseWrapperGetScanResultResultNftRisk response wrapper get scan result result nft risk

swagger:model ResponseWrapperGetScanResultResultNftRisk

func (*ResponseWrapperGetScanResultResultNftRisk) MarshalBinary added in v1.2.7

func (m *ResponseWrapperGetScanResultResultNftRisk) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultNftRisk) UnmarshalBinary added in v1.2.7

func (m *ResponseWrapperGetScanResultResultNftRisk) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultNftRisk) Validate added in v1.2.7

Validate validates this response wrapper get scan result result nft risk

type ResponseWrapperGetScanResultResultNftRiskRiskDetailItems0 added in v1.2.7

type ResponseWrapperGetScanResultResultNftRiskRiskDetailItems0 struct {

	// token address
	TokenAddress string `json:"token_address,omitempty"`

	// token symbol
	TokenSymbol string `json:"token_symbol,omitempty"`
}

ResponseWrapperGetScanResultResultNftRiskRiskDetailItems0 response wrapper get scan result result nft risk risk detail items0

swagger:model ResponseWrapperGetScanResultResultNftRiskRiskDetailItems0

func (*ResponseWrapperGetScanResultResultNftRiskRiskDetailItems0) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultNftRiskRiskDetailItems0) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultNftRiskRiskDetailItems0) Validate added in v1.2.7

Validate validates this response wrapper get scan result result nft risk risk detail items0

type ResponseWrapperGetScanResultResultNftStolen added in v1.2.7

type ResponseWrapperGetScanResultResultNftStolen struct {

	// risk detail
	RiskDetail []*ResponseWrapperGetScanResultResultNftStolenRiskDetailItems0 `json:"risk_detail"`

	// risk num
	RiskNum int32 `json:"risk_num,omitempty"`
}

ResponseWrapperGetScanResultResultNftStolen response wrapper get scan result result nft stolen

swagger:model ResponseWrapperGetScanResultResultNftStolen

func (*ResponseWrapperGetScanResultResultNftStolen) MarshalBinary added in v1.2.7

func (m *ResponseWrapperGetScanResultResultNftStolen) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultNftStolen) UnmarshalBinary added in v1.2.7

func (m *ResponseWrapperGetScanResultResultNftStolen) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultNftStolen) Validate added in v1.2.7

Validate validates this response wrapper get scan result result nft stolen

type ResponseWrapperGetScanResultResultNftStolenRiskDetailItems0 added in v1.2.7

type ResponseWrapperGetScanResultResultNftStolenRiskDetailItems0 struct {

	// transaction hash
	TransactionHash string `json:"transaction_hash,omitempty"`

	// transaction time
	TransactionTime string `json:"transaction_time,omitempty"`
}

ResponseWrapperGetScanResultResultNftStolenRiskDetailItems0 response wrapper get scan result result nft stolen risk detail items0

swagger:model ResponseWrapperGetScanResultResultNftStolenRiskDetailItems0

func (*ResponseWrapperGetScanResultResultNftStolenRiskDetailItems0) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultNftStolenRiskDetailItems0) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultNftStolenRiskDetailItems0) Validate added in v1.2.7

Validate validates this response wrapper get scan result result nft stolen risk detail items0

type ResponseWrapperGetScanResultResultRiskyAddressInteraction added in v1.2.7

type ResponseWrapperGetScanResultResultRiskyAddressInteraction struct {

	// risk detail
	RiskDetail []*ResponseWrapperGetScanResultResultRiskyAddressInteractionRiskDetailItems0 `json:"risk_detail"`

	// risk num
	RiskNum int32 `json:"risk_num,omitempty"`
}

ResponseWrapperGetScanResultResultRiskyAddressInteraction response wrapper get scan result result risky address interaction

swagger:model ResponseWrapperGetScanResultResultRiskyAddressInteraction

func (*ResponseWrapperGetScanResultResultRiskyAddressInteraction) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultRiskyAddressInteraction) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultRiskyAddressInteraction) Validate added in v1.2.7

Validate validates this response wrapper get scan result result risky address interaction

type ResponseWrapperGetScanResultResultRiskyAddressInteractionRiskDetailItems0 added in v1.2.7

type ResponseWrapperGetScanResultResultRiskyAddressInteractionRiskDetailItems0 struct {

	// transaction hash
	TransactionHash string `json:"transaction_hash,omitempty"`

	// transaction time
	TransactionTime string `json:"transaction_time,omitempty"`
}

ResponseWrapperGetScanResultResultRiskyAddressInteractionRiskDetailItems0 response wrapper get scan result result risky address interaction risk detail items0

swagger:model ResponseWrapperGetScanResultResultRiskyAddressInteractionRiskDetailItems0

func (*ResponseWrapperGetScanResultResultRiskyAddressInteractionRiskDetailItems0) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultRiskyAddressInteractionRiskDetailItems0) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultRiskyAddressInteractionRiskDetailItems0) Validate added in v1.2.7

Validate validates this response wrapper get scan result result risky address interaction risk detail items0

type ResponseWrapperGetScanResultResultStablecoinDepeg added in v1.2.7

type ResponseWrapperGetScanResultResultStablecoinDepeg struct {

	// risk detail
	RiskDetail []*ResponseWrapperGetScanResultResultStablecoinDepegRiskDetailItems0 `json:"risk_detail"`

	// risk num
	RiskNum int32 `json:"risk_num,omitempty"`
}

ResponseWrapperGetScanResultResultStablecoinDepeg response wrapper get scan result result stablecoin depeg

swagger:model ResponseWrapperGetScanResultResultStablecoinDepeg

func (*ResponseWrapperGetScanResultResultStablecoinDepeg) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultStablecoinDepeg) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultStablecoinDepeg) Validate added in v1.2.7

Validate validates this response wrapper get scan result result stablecoin depeg

type ResponseWrapperGetScanResultResultStablecoinDepegRiskDetailItems0 added in v1.2.7

type ResponseWrapperGetScanResultResultStablecoinDepegRiskDetailItems0 struct {

	// fall percent
	FallPercent string `json:"fall_percent,omitempty"`

	// token address
	TokenAddress string `json:"token_address,omitempty"`

	// token symbol
	TokenSymbol string `json:"token_symbol,omitempty"`
}

ResponseWrapperGetScanResultResultStablecoinDepegRiskDetailItems0 response wrapper get scan result result stablecoin depeg risk detail items0

swagger:model ResponseWrapperGetScanResultResultStablecoinDepegRiskDetailItems0

func (*ResponseWrapperGetScanResultResultStablecoinDepegRiskDetailItems0) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultStablecoinDepegRiskDetailItems0) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultStablecoinDepegRiskDetailItems0) Validate added in v1.2.7

Validate validates this response wrapper get scan result result stablecoin depeg risk detail items0

type ResponseWrapperGetScanResultResultTokenAttention added in v1.2.7

type ResponseWrapperGetScanResultResultTokenAttention struct {

	// risk detail
	RiskDetail []*ResponseWrapperGetScanResultResultTokenAttentionRiskDetailItems0 `json:"risk_detail"`

	// risk num
	RiskNum int32 `json:"risk_num,omitempty"`
}

ResponseWrapperGetScanResultResultTokenAttention response wrapper get scan result result token attention

swagger:model ResponseWrapperGetScanResultResultTokenAttention

func (*ResponseWrapperGetScanResultResultTokenAttention) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultTokenAttention) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultTokenAttention) Validate added in v1.2.7

Validate validates this response wrapper get scan result result token attention

type ResponseWrapperGetScanResultResultTokenAttentionRiskDetailItems0 added in v1.2.7

type ResponseWrapperGetScanResultResultTokenAttentionRiskDetailItems0 struct {

	// token address
	TokenAddress string `json:"token_address,omitempty"`

	// token symbol
	TokenSymbol string `json:"token_symbol,omitempty"`
}

ResponseWrapperGetScanResultResultTokenAttentionRiskDetailItems0 response wrapper get scan result result token attention risk detail items0

swagger:model ResponseWrapperGetScanResultResultTokenAttentionRiskDetailItems0

func (*ResponseWrapperGetScanResultResultTokenAttentionRiskDetailItems0) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultTokenAttentionRiskDetailItems0) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultTokenAttentionRiskDetailItems0) Validate added in v1.2.7

Validate validates this response wrapper get scan result result token attention risk detail items0

type ResponseWrapperGetScanResultResultTokenRisk added in v1.2.7

type ResponseWrapperGetScanResultResultTokenRisk struct {

	// risk detail
	RiskDetail []*ResponseWrapperGetScanResultResultTokenRiskRiskDetailItems0 `json:"risk_detail"`

	// risk num
	RiskNum int32 `json:"risk_num,omitempty"`
}

ResponseWrapperGetScanResultResultTokenRisk response wrapper get scan result result token risk

swagger:model ResponseWrapperGetScanResultResultTokenRisk

func (*ResponseWrapperGetScanResultResultTokenRisk) MarshalBinary added in v1.2.7

func (m *ResponseWrapperGetScanResultResultTokenRisk) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultTokenRisk) UnmarshalBinary added in v1.2.7

func (m *ResponseWrapperGetScanResultResultTokenRisk) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultTokenRisk) Validate added in v1.2.7

Validate validates this response wrapper get scan result result token risk

type ResponseWrapperGetScanResultResultTokenRiskRiskDetailItems0 added in v1.2.7

type ResponseWrapperGetScanResultResultTokenRiskRiskDetailItems0 struct {

	// token address
	TokenAddress string `json:"token_address,omitempty"`

	// token symbol
	TokenSymbol string `json:"token_symbol,omitempty"`
}

ResponseWrapperGetScanResultResultTokenRiskRiskDetailItems0 response wrapper get scan result result token risk risk detail items0

swagger:model ResponseWrapperGetScanResultResultTokenRiskRiskDetailItems0

func (*ResponseWrapperGetScanResultResultTokenRiskRiskDetailItems0) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultTokenRiskRiskDetailItems0) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperGetScanResultResultTokenRiskRiskDetailItems0) Validate added in v1.2.7

Validate validates this response wrapper get scan result result token risk risk detail items0

type ResponseWrapperJSONObject

type ResponseWrapperJSONObject struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result map[string]interface{} `json:"result,omitempty"`
}

ResponseWrapperJSONObject ResponseWrapperJSONObject

swagger:model ResponseWrapperJSONObject

func (*ResponseWrapperJSONObject) MarshalBinary

func (m *ResponseWrapperJSONObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperJSONObject) UnmarshalBinary

func (m *ResponseWrapperJSONObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperJSONObject) Validate

func (m *ResponseWrapperJSONObject) Validate(formats strfmt.Registry) error

Validate validates this response wrapper JSON object

type ResponseWrapperListApproveNFT1155ListResponse

type ResponseWrapperListApproveNFT1155ListResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result []*ApproveNFT1155ListResponse `json:"result"`
}

ResponseWrapperListApproveNFT1155ListResponse ResponseWrapperListApproveNFT1155ListResponse

swagger:model ResponseWrapperListApproveNFT1155ListResponse

func (*ResponseWrapperListApproveNFT1155ListResponse) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperListApproveNFT1155ListResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperListApproveNFT1155ListResponse) Validate

Validate validates this response wrapper list approve n f t1155 list response

type ResponseWrapperListApproveNFTListResponse

type ResponseWrapperListApproveNFTListResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result []*ApproveNFTListResponse `json:"result"`
}

ResponseWrapperListApproveNFTListResponse ResponseWrapperListApproveNFTListResponse

swagger:model ResponseWrapperListApproveNFTListResponse

func (*ResponseWrapperListApproveNFTListResponse) MarshalBinary

func (m *ResponseWrapperListApproveNFTListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperListApproveNFTListResponse) UnmarshalBinary

func (m *ResponseWrapperListApproveNFTListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperListApproveNFTListResponse) Validate

Validate validates this response wrapper list approve n f t list response

type ResponseWrapperListApproveTokenOutListResponse

type ResponseWrapperListApproveTokenOutListResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result []*ApproveTokenOutListResponse `json:"result"`
}

ResponseWrapperListApproveTokenOutListResponse ResponseWrapperListApproveTokenOutListResponse

swagger:model ResponseWrapperListApproveTokenOutListResponse

func (*ResponseWrapperListApproveTokenOutListResponse) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperListApproveTokenOutListResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperListApproveTokenOutListResponse) Validate

Validate validates this response wrapper list approve token out list response

type ResponseWrapperListGetChainsList

type ResponseWrapperListGetChainsList struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result []*ResponseWrapperListGetChainsListResultItems0 `json:"result"`
}

ResponseWrapperListGetChainsList ResponseWrapperListGetChainsList

swagger:model ResponseWrapperListGetChainsList

func (*ResponseWrapperListGetChainsList) MarshalBinary

func (m *ResponseWrapperListGetChainsList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperListGetChainsList) UnmarshalBinary

func (m *ResponseWrapperListGetChainsList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperListGetChainsList) Validate

Validate validates this response wrapper list get chains list

type ResponseWrapperListGetChainsListResultItems0

type ResponseWrapperListGetChainsListResultItems0 struct {

	// chain id
	ID string `json:"id,omitempty"`

	// chain name
	Name string `json:"name,omitempty"`
}

ResponseWrapperListGetChainsListResultItems0 response wrapper list get chains list result items0

swagger:model ResponseWrapperListGetChainsListResultItems0

func (*ResponseWrapperListGetChainsListResultItems0) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperListGetChainsListResultItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperListGetChainsListResultItems0) Validate

Validate validates this response wrapper list get chains list result items0

type ResponseWrapperListJSONObject

type ResponseWrapperListJSONObject struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result []JSONObject `json:"result"`
}

ResponseWrapperListJSONObject ResponseWrapperListJSONObject

swagger:model ResponseWrapperListJSONObject

func (*ResponseWrapperListJSONObject) MarshalBinary

func (m *ResponseWrapperListJSONObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperListJSONObject) UnmarshalBinary

func (m *ResponseWrapperListJSONObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperListJSONObject) Validate

func (m *ResponseWrapperListJSONObject) Validate(formats strfmt.Registry) error

Validate validates this response wrapper list JSON object

type ResponseWrapperMapStringString

type ResponseWrapperMapStringString struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result map[string]string `json:"result,omitempty"`
}

ResponseWrapperMapStringString ResponseWrapperMapStringString

swagger:model ResponseWrapperMapStringString

func (*ResponseWrapperMapStringString) MarshalBinary

func (m *ResponseWrapperMapStringString) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperMapStringString) UnmarshalBinary

func (m *ResponseWrapperMapStringString) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperMapStringString) Validate

func (m *ResponseWrapperMapStringString) Validate(formats strfmt.Registry) error

Validate validates this response wrapper map string string

type ResponseWrapperNftLockerResponse added in v1.2.6

type ResponseWrapperNftLockerResponse struct {

	// Code 1:Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *NftLockerResponse `json:"result,omitempty"`
}

ResponseWrapperNftLockerResponse ResponseWrapperNftLockerResponse

swagger:model ResponseWrapperNftLockerResponse

func (*ResponseWrapperNftLockerResponse) MarshalBinary added in v1.2.6

func (m *ResponseWrapperNftLockerResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperNftLockerResponse) UnmarshalBinary added in v1.2.6

func (m *ResponseWrapperNftLockerResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperNftLockerResponse) Validate added in v1.2.6

Validate validates this response wrapper nft locker response

type ResponseWrapperOpenScanAddressResp added in v1.2.7

type ResponseWrapperOpenScanAddressResp struct {

	// Code 1:Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *OpenScanAddressResp `json:"result,omitempty"`
}

ResponseWrapperOpenScanAddressResp ResponseWrapperOpenScanAddressResp

swagger:model ResponseWrapperOpenScanAddressResp

func (*ResponseWrapperOpenScanAddressResp) MarshalBinary added in v1.2.7

func (m *ResponseWrapperOpenScanAddressResp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperOpenScanAddressResp) UnmarshalBinary added in v1.2.7

func (m *ResponseWrapperOpenScanAddressResp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperOpenScanAddressResp) Validate added in v1.2.7

Validate validates this response wrapper open scan address resp

type ResponseWrapperPageResponseTaNftLockerLockInfo added in v1.2.7

type ResponseWrapperPageResponseTaNftLockerLockInfo struct {

	// Code 1:Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *PageResponseTaNftLockerLockInfo `json:"result,omitempty"`
}

ResponseWrapperPageResponseTaNftLockerLockInfo ResponseWrapperPageResponseTaNftLockerLockInfo

swagger:model ResponseWrapperPageResponseTaNftLockerLockInfo

func (*ResponseWrapperPageResponseTaNftLockerLockInfo) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperPageResponseTaNftLockerLockInfo) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperPageResponseTaNftLockerLockInfo) Validate added in v1.2.7

Validate validates this response wrapper page response ta nft locker lock info

type ResponseWrapperPageResponseTaTokenLockerLockInfo added in v1.2.7

type ResponseWrapperPageResponseTaTokenLockerLockInfo struct {

	// Code 1:Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *PageResponseTaTokenLockerLockInfo `json:"result,omitempty"`
}

ResponseWrapperPageResponseTaTokenLockerLockInfo ResponseWrapperPageResponseTaTokenLockerLockInfo

swagger:model ResponseWrapperPageResponseTaTokenLockerLockInfo

func (*ResponseWrapperPageResponseTaTokenLockerLockInfo) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperPageResponseTaTokenLockerLockInfo) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperPageResponseTaTokenLockerLockInfo) Validate added in v1.2.7

Validate validates this response wrapper page response ta token locker lock info

type ResponseWrapperPageResponseV4NftLockerLockInfos added in v1.2.7

type ResponseWrapperPageResponseV4NftLockerLockInfos struct {

	// Code 1:Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *PageResponseV4NftLockerLockInfos `json:"result,omitempty"`
}

ResponseWrapperPageResponseV4NftLockerLockInfos ResponseWrapperPageResponseV4NftLockerLockInfos

swagger:model ResponseWrapperPageResponseV4NftLockerLockInfos

func (*ResponseWrapperPageResponseV4NftLockerLockInfos) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperPageResponseV4NftLockerLockInfos) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperPageResponseV4NftLockerLockInfos) Validate added in v1.2.7

Validate validates this response wrapper page response v4 nft locker lock infos

type ResponseWrapperParseAbiDataResponse

type ResponseWrapperParseAbiDataResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *ParseAbiDataResponse `json:"result,omitempty"`
}

ResponseWrapperParseAbiDataResponse ResponseWrapperParseAbiDataResponse

swagger:model ResponseWrapperParseAbiDataResponse

func (*ResponseWrapperParseAbiDataResponse) MarshalBinary

func (m *ResponseWrapperParseAbiDataResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperParseAbiDataResponse) UnmarshalBinary

func (m *ResponseWrapperParseAbiDataResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperParseAbiDataResponse) Validate

Validate validates this response wrapper parse abi data response

type ResponseWrapperPhishingSite

type ResponseWrapperPhishingSite struct {

	// Code 1:Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// result
	Result *ResponseWrapperPhishingSiteResult `json:"result,omitempty"`
}

ResponseWrapperPhishingSite ResponseWrapperPhishingSite

swagger:model ResponseWrapperPhishingSite

func (*ResponseWrapperPhishingSite) MarshalBinary

func (m *ResponseWrapperPhishingSite) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperPhishingSite) UnmarshalBinary

func (m *ResponseWrapperPhishingSite) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperPhishingSite) Validate

func (m *ResponseWrapperPhishingSite) Validate(formats strfmt.Registry) error

Validate validates this response wrapper phishing site

type ResponseWrapperPhishingSiteResult

type ResponseWrapperPhishingSiteResult struct {

	// It means whether the website is a phishing site.
	// "1" means true;
	// "0" means that we have not found malicious behavior of this website.
	PhishingSite int32 `json:"phishing_site,omitempty"`

	// website contract security
	WebsiteContractSecurity []*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0 `json:"website_contract_security"`
}

ResponseWrapperPhishingSiteResult Response result

swagger:model ResponseWrapperPhishingSiteResult

func (*ResponseWrapperPhishingSiteResult) MarshalBinary

func (m *ResponseWrapperPhishingSiteResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResult) UnmarshalBinary

func (m *ResponseWrapperPhishingSiteResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResult) Validate

Validate validates this response wrapper phishing site result

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0 added in v1.2.3

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0 struct {

	// address risk
	AddressRisk []string `json:"address_risk"`

	// contract address
	Contract string `json:"contract,omitempty"`

	// It describes whether the holder is a contract "1" means true; "0" means false.
	IsContract int32 `json:"is_contract,omitempty"`

	// It describes whether this contract is open source.
	// "1" means true;
	// "0" means false.(Notice:Un-open-sourced contracts may hide various unknown mechanisms and are extremely risky. When the contract is not open source, we will not be able to detect other risk items.)
	IsOpenSource int32 `json:"is_open_source,omitempty"`

	// nft risk
	NftRisk *ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRisk `json:"nft_risk,omitempty"`

	// contract type(erc20, erc721, erc1155)
	Standard string `json:"standard,omitempty"`
}

ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0 response wrapper phishing site result website contract security items0

swagger:model ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0) MarshalBinary added in v1.2.3

MarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0) UnmarshalBinary added in v1.2.3

UnmarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0) Validate added in v1.2.3

Validate validates this response wrapper phishing site result website contract security items0

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRisk added in v1.2.3

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRisk struct {

	// It describes whether this contract is open source.
	// "1" means true;
	// "0" means false.(Notice:Un-open-sourced contracts may hide various unknown mechanisms and are extremely risky. When the contract is not open source, we will not be able to detect other risk items.)
	NftOpenSource int32 `json:"nft_open_source,omitempty"`

	// It describes whether this NFT contract has a proxy contract.
	// "1" means true;
	// "0" means false;
	// "Null" means unknown.(Notice:(1) When "is_open_source":"0", it will return "null".
	// (2) Most Proxy contracts are accompanied by modifiable implementation contracts, and implementation contracts may contain significant potential risk.)
	NftProxy int32 `json:"nft_proxy,omitempty"`

	// It describes whether this NFT owner can bypass the maximum amount of minting specified in the contract, and continue to mint NFTs beyond this limit.
	// "1" means true;
	// "0" means false;
	// "Null" means unknown.(Notice:Oversupply minting refers to the existence of a special mint method in the NFT contract - the owner can bypass the maximum amount of minting specified in the contract, and continue to mint NFTs beyond this limit.)
	OversupplyMinting int32 `json:"oversupply_minting,omitempty"`

	// privileged burn
	PrivilegedBurn *ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedBurn `json:"privileged_burn,omitempty"`

	// privileged minting
	PrivilegedMinting *ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedMinting `json:"privileged_minting,omitempty"`

	// It describes whether the NFT contract can restrict the approval, resulting in NFT can not be traded on the NFT DEX.
	// "1" means true;
	// "0" means false;
	// "Null" means unknown.(Notice:If this risk exists, it means that users will not be able to trade the NFT on the exchange and only privileged users in the whitelist will be able to trade normally.)
	RestrictedApproval int32 `json:"restricted_approval,omitempty"`

	// self destruct
	SelfDestruct *ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskSelfDestruct `json:"self_destruct,omitempty"`

	// transfer without approval
	TransferWithoutApproval *ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskTransferWithoutApproval `json:"transfer_without_approval,omitempty"`
}

ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRisk nft check risk

swagger:model ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRisk

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRisk) MarshalBinary added in v1.2.3

MarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRisk) UnmarshalBinary added in v1.2.3

UnmarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRisk) Validate added in v1.2.3

Validate validates this response wrapper phishing site result website contract security items0 nft risk

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedBurn added in v1.2.3

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedBurn struct {

	// Owner_address describes the owner address.
	// null: the owner address cannot be fetched.
	OwnerAddress string `json:"owner_address,omitempty"`

	// "blackhole" : the owner is a blackhole address.
	// "contract" : the owner is a contract.
	// "eoa" : the owner is a common address (eoa).
	// "multi-address":the owner is an array/list.
	// null: the address is not detected.
	OwnerType string `json:"owner_type,omitempty"`

	// The "value" describes the status of the risk.
	// null: the contract is not open source or there is a proxy, it is not possible to detect whether the risk exists. -1: the risk is detected but the ownership give up. If the detection of a code vulnerability, it can also be considered risk-free.
	// 0: the risk is not detected.
	// 1: the risk is detected, and the owner address is a common address (EOA), then it can be said that there is a clear risk.
	// 2: The risk is detected, but the owner address is a contract address, the risk is not significant.
	// 3: The risk is detected, but the owner address is not detectable / or an array.
	//
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedBurn It describes whether the NFT owner can burn others NFT.(Notice:Privileged_burn means that the owner can burn others' NFTs directly through the method.)

swagger:model ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedBurn

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedBurn) MarshalBinary added in v1.2.3

MarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedBurn) UnmarshalBinary added in v1.2.3

UnmarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedBurn) Validate added in v1.2.3

Validate validates this response wrapper phishing site result website contract security items0 nft risk privileged burn

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedMinting added in v1.2.3

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedMinting struct {

	// Owner_address describes the owner address.
	// null: the owner address cannot be fetched.
	OwnerAddress string `json:"owner_address,omitempty"`

	// "blackhole" : the owner is a blackhole address.
	// "contract" : the owner is a contract.
	// "eoa" : the owner is a common address (eoa).
	// "multi-address":the owner is an array/list.
	// null: the address is not detected.
	OwnerType string `json:"owner_type,omitempty"`

	// The "value" describes the status of the risk.
	// null: the contract is not open source or there is a proxy, it is not possible to detect whether the risk exists. -1: the risk is detected but the ownership give up. If the detection of a code vulnerability, it can also be considered risk-free.
	// 0: the risk is not detected.
	// 1: the risk is detected, and the owner address is a common address (EOA), then it can be said that there is a clear risk.
	// 2: The risk is detected, but the owner address is a contract address, the risk is not significant.
	// 3: The risk is detected, but the owner address is not detectable / or an array.
	//
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedMinting It describes whether the NFT contract has minting methods which can only be triggered by an address with special privileges. (Notice:Some minting methods can only be triggered by an address with special privileges. Generally speaking, these are usually for the owner to mint.)

swagger:model ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedMinting

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedMinting) MarshalBinary added in v1.2.3

MarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedMinting) UnmarshalBinary added in v1.2.3

UnmarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedMinting) Validate added in v1.2.3

Validate validates this response wrapper phishing site result website contract security items0 nft risk privileged minting

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskSelfDestruct added in v1.2.3

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskSelfDestruct struct {

	// Owner_address describes the owner address.
	// null: the owner address cannot be fetched.
	OwnerAddress string `json:"owner_address,omitempty"`

	// "blackhole" : the owner is a blackhole address.
	// "contract" : the owner is a contract.
	// "eoa" : the owner is a common address (eoa).
	// "multi-address":the owner is an array/list.
	// null: the address is not detected.
	OwnerType string `json:"owner_type,omitempty"`

	// The "value" describes the status of the risk.
	// null: the contract is not open source or there is a proxy, it is not possible to detect whether the risk exists. -1: the risk is detected but the ownership give up. If the detection of a code vulnerability, it can also be considered risk-free.
	// 0: the risk is not detected.
	// 1: the risk is detected, and the owner address is a common address (EOA), then it can be said that there is a clear risk.
	// 2: The risk is detected, but the owner address is a contract address, the risk is not significant.
	// 3: The risk is detected, but the owner address is not detectable / or an array.
	//
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskSelfDestruct { value: owner_address: owner_type }It describes whether this NFT contract can self destruct. (Notice:When the self-destruct function is triggered, this contract will be destroyed, all functions will be unavailable, and all related assets will be erased.)

swagger:model ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskSelfDestruct

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskSelfDestruct) MarshalBinary added in v1.2.3

MarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskSelfDestruct) UnmarshalBinary added in v1.2.3

UnmarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskSelfDestruct) Validate added in v1.2.3

Validate validates this response wrapper phishing site result website contract security items0 nft risk self destruct

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskTransferWithoutApproval added in v1.2.3

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskTransferWithoutApproval struct {

	// Owner_address describes the owner address.
	// null: the owner address cannot be fetched.
	OwnerAddress string `json:"owner_address,omitempty"`

	// "blackhole" : the owner is a blackhole address.
	// "contract" : the owner is a contract.
	// "eoa" : the owner is a common address (eoa).
	// "multi-address":the owner is an array/list.
	// null: the address is not detected.
	OwnerType string `json:"owner_type,omitempty"`

	// The "value" describes the status of the risk.
	// null: the contract is not open source or there is a proxy, it is not possible to detect whether the risk exists. -1: the risk is detected but the ownership give up. If the detection of a code vulnerability, it can also be considered risk-free.
	// 0: the risk is not detected.
	// 1: the risk is detected, and the owner address is a common address (EOA), then it can be said that there is a clear risk.
	// 2: The risk is detected, but the owner address is a contract address, the risk is not significant.
	// 3: The risk is detected, but the owner address is not detectable / or an array.
	//
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskTransferWithoutApproval It describes whether the NFT owner can transfer NFT without approval.(Notice:Transfer_without_approval generally means the scammer does not need to get approvals to transfer another address's NFT. One typical example is sleep_minting. Sleep_minting means that the scammer will first add the NFT to a well-known wallet address and then retrieve the NFT. After the value of the NFT has appreciated , it will be put back on the market.)

swagger:model ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskTransferWithoutApproval

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskTransferWithoutApproval) MarshalBinary added in v1.2.3

MarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskTransferWithoutApproval) UnmarshalBinary added in v1.2.3

UnmarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskTransferWithoutApproval) Validate added in v1.2.3

Validate validates this response wrapper phishing site result website contract security items0 nft risk transfer without approval

type ResponseWrapperSolanaPrerunTxResponse added in v1.2.6

type ResponseWrapperSolanaPrerunTxResponse struct {

	// Code 1:Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *SolanaPrerunTxResponse `json:"result,omitempty"`
}

ResponseWrapperSolanaPrerunTxResponse ResponseWrapperSolanaPrerunTxResponse

swagger:model ResponseWrapperSolanaPrerunTxResponse

func (*ResponseWrapperSolanaPrerunTxResponse) MarshalBinary added in v1.2.6

func (m *ResponseWrapperSolanaPrerunTxResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperSolanaPrerunTxResponse) UnmarshalBinary added in v1.2.6

func (m *ResponseWrapperSolanaPrerunTxResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaPrerunTxResponse) Validate added in v1.2.6

Validate validates this response wrapper solana prerun tx response

type ResponseWrapperSolanaTokenSecurity added in v1.2.6

type ResponseWrapperSolanaTokenSecurity struct {

	// Code 1:Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result map[string]ResponseWrapperSolanaTokenSecurityResultAnon `json:"result,omitempty"`
}

ResponseWrapperSolanaTokenSecurity ResponseWrapperSolanaTokenSecurity

swagger:model ResponseWrapperSolanaTokenSecurity

func (*ResponseWrapperSolanaTokenSecurity) MarshalBinary added in v1.2.6

func (m *ResponseWrapperSolanaTokenSecurity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurity) UnmarshalBinary added in v1.2.6

func (m *ResponseWrapperSolanaTokenSecurity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurity) Validate added in v1.2.6

Validate validates this response wrapper solana token security

type ResponseWrapperSolanaTokenSecurityResultAnon added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnon struct {

	// balance mutable authority
	BalanceMutableAuthority *ResponseWrapperSolanaTokenSecurityResultAnonBalanceMutableAuthority `json:"balance_mutable_authority,omitempty"`

	// closable
	Closable *ResponseWrapperSolanaTokenSecurityResultAnonClosable `json:"closable,omitempty"`

	// Contains information about the token creators.
	Creators []*ResponseWrapperSolanaTokenSecurityResultAnonCreatorsItems0 `json:"creators"`

	// The default state of newly created accounts. "0" for Uninitialized, "1" for Initialized, "2" for Frozen.(Notice: Uninitialized (0): The token is newly created and not ready for use. It cannot perform any token operations and typically needs to be initialized to become active.
	// Initialized (1): The token is fully ready for use and can engage in normal token transactions. Most token operations require the account to be in this state.
	// Frozen (2): All the account that created whe the token is "frozen" would be locked and prohibited from performing any token transactions or operations, usually for security or compliance reasons, until it is manually unfrozen.)
	DefaultAccountState string `json:"default_account_state,omitempty"`

	// default account state upgradable
	DefaultAccountStateUpgradable *ResponseWrapperSolanaTokenSecurityResultAnonDefaultAccountStateUpgradable `json:"default_account_state_upgradable,omitempty"`

	// Dex Info
	Dex []*ResponseWrapperSolanaTokenSecurityResultAnonDexItems0 `json:"dex"`

	// freezable
	Freezable *ResponseWrapperSolanaTokenSecurityResultAnonFreezable `json:"freezable,omitempty"`

	// List of top 10 addresses holding the token and their balances.
	Holders []*ResponseWrapperSolanaTokenSecurityResultAnonHoldersItems0 `json:"holders"`

	// List of top10 liquidity holders and their balances of the largest main token(SOL, USDC, USDT) liquidity pool.
	LpHolders []*ResponseWrapperSolanaTokenSecurityResultAnonLpHoldersItems0 `json:"lp_holders"`

	// metadata
	Metadata *ResponseWrapperSolanaTokenSecurityResultAnonMetadata `json:"metadata,omitempty"`

	// metadata mutable
	MetadataMutable *ResponseWrapperSolanaTokenSecurityResultAnonMetadataMutable `json:"metadata_mutable,omitempty"`

	// mintable
	Mintable *ResponseWrapperSolanaTokenSecurityResultAnonMintable `json:"mintable,omitempty"`

	// Indicates whether the token is non-transferable, "1" means non-transferable, "0" means transferable
	NoneTransferable string `json:"none_transferable,omitempty"`

	// transfer fee
	TransferFee *ResponseWrapperSolanaTokenSecurityResultAnonTransferFee `json:"transfer_fee,omitempty"`

	// transfer fee upgradable
	TransferFeeUpgradable *ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeUpgradable `json:"transfer_fee_upgradable,omitempty"`

	// If there is any external hook in the token programme.(Notice: Hook may block user from trading)
	TransferHook []*ResponseWrapperSolanaTokenSecurityResultAnonTransferHookItems0 `json:"transfer_hook"`

	// transfer hook upgradable
	TransferHookUpgradable *ResponseWrapperSolanaTokenSecurityResultAnonTransferHookUpgradable `json:"transfer_hook_upgradable,omitempty"`

	// If the token is a famous and trustworthy one. "1" means yes.
	TrustedToken int32 `json:"trusted_token,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnon key is contract address

swagger:model ResponseWrapperSolanaTokenSecurityResultAnon

func (*ResponseWrapperSolanaTokenSecurityResultAnon) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnon) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnon) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon

type ResponseWrapperSolanaTokenSecurityResultAnonBalanceMutableAuthority added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonBalanceMutableAuthority struct {

	// Information on metadata upgrade authority.
	Authority []*ResponseWrapperSolanaTokenSecurityResultAnonBalanceMutableAuthorityAuthorityItems0 `json:"authority"`

	// Status indicator, where "1" means the funtcion is available.
	Status string `json:"status,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonBalanceMutableAuthority Whether the developer can temper with users token balance.

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonBalanceMutableAuthority

func (*ResponseWrapperSolanaTokenSecurityResultAnonBalanceMutableAuthority) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonBalanceMutableAuthority) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonBalanceMutableAuthority) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon balance mutable authority

type ResponseWrapperSolanaTokenSecurityResultAnonBalanceMutableAuthorityAuthorityItems0 added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonBalanceMutableAuthorityAuthorityItems0 struct {

	// Address with upgrade authority
	Address string `json:"address,omitempty"`

	// Indicates whether the address is malicious, "1" means yes.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonBalanceMutableAuthorityAuthorityItems0 response wrapper solana token security result anon balance mutable authority authority items0

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonBalanceMutableAuthorityAuthorityItems0

func (*ResponseWrapperSolanaTokenSecurityResultAnonBalanceMutableAuthorityAuthorityItems0) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonBalanceMutableAuthorityAuthorityItems0) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonBalanceMutableAuthorityAuthorityItems0) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon balance mutable authority authority items0

type ResponseWrapperSolanaTokenSecurityResultAnonClosable added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonClosable struct {

	// Information on metadata upgrade authority.
	Authority []*ResponseWrapperSolanaTokenSecurityResultAnonClosableAuthorityItems0 `json:"authority"`

	// Status indicator, where "1" means the funtcion is available.
	Status string `json:"status,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonClosable Whether the developer can close the token programme at any time. If the programme is closed, all the assets would be eliminated.

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonClosable

func (*ResponseWrapperSolanaTokenSecurityResultAnonClosable) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonClosable) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonClosable) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon closable

type ResponseWrapperSolanaTokenSecurityResultAnonClosableAuthorityItems0 added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonClosableAuthorityItems0 struct {

	// Address with upgrade authority
	Address string `json:"address,omitempty"`

	// Indicates whether the address is malicious, "1" means yes.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonClosableAuthorityItems0 response wrapper solana token security result anon closable authority items0

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonClosableAuthorityItems0

func (*ResponseWrapperSolanaTokenSecurityResultAnonClosableAuthorityItems0) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonClosableAuthorityItems0) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonClosableAuthorityItems0) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon closable authority items0

type ResponseWrapperSolanaTokenSecurityResultAnonCreatorsItems0 added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonCreatorsItems0 struct {

	// Address of the creator.
	Address string `json:"address,omitempty"`

	// Indicates whether the address is malicious, "1" means yes.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonCreatorsItems0 response wrapper solana token security result anon creators items0

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonCreatorsItems0

func (*ResponseWrapperSolanaTokenSecurityResultAnonCreatorsItems0) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonCreatorsItems0) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonCreatorsItems0) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon creators items0

type ResponseWrapperSolanaTokenSecurityResultAnonDefaultAccountStateUpgradable added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonDefaultAccountStateUpgradable struct {

	// Information on metadata upgrade authority.
	Authority []*ResponseWrapperSolanaTokenSecurityResultAnonDefaultAccountStateUpgradableAuthorityItems0 `json:"authority"`

	// Status indicator, where "1" means the funtcion is available.
	Status string `json:"status,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonDefaultAccountStateUpgradable whether the default account state can be upgradable.

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonDefaultAccountStateUpgradable

func (*ResponseWrapperSolanaTokenSecurityResultAnonDefaultAccountStateUpgradable) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonDefaultAccountStateUpgradable) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonDefaultAccountStateUpgradable) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon default account state upgradable

type ResponseWrapperSolanaTokenSecurityResultAnonDefaultAccountStateUpgradableAuthorityItems0 added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonDefaultAccountStateUpgradableAuthorityItems0 struct {

	// Address with upgrade authority
	Address string `json:"address,omitempty"`

	// Indicates whether the address is malicious, "1" means yes.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonDefaultAccountStateUpgradableAuthorityItems0 response wrapper solana token security result anon default account state upgradable authority items0

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonDefaultAccountStateUpgradableAuthorityItems0

func (*ResponseWrapperSolanaTokenSecurityResultAnonDefaultAccountStateUpgradableAuthorityItems0) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonDefaultAccountStateUpgradableAuthorityItems0) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonDefaultAccountStateUpgradableAuthorityItems0) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon default account state upgradable authority items0

type ResponseWrapperSolanaTokenSecurityResultAnonDexItems0 added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonDexItems0 struct {

	// Percentage of burned LP
	BurnPercent float64 `json:"burn_percent,omitempty"`

	// day
	Day *ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Day `json:"day,omitempty"`

	// Name of the DEX.
	DexName string `json:"dex_name,omitempty"`

	// Transaction fee rate.
	FeeRate string `json:"fee_rate,omitempty"`

	// Address of the liquidity pool.
	ID string `json:"id,omitempty"`

	// Total amount of liquidity provider tokens, only shown when type is "standard"
	LpAmount string `json:"lp_amount,omitempty"`

	// month
	Month *ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Month `json:"month,omitempty"`

	// The epoch when trading is opened.
	OpenTime string `json:"open_time,omitempty"`

	// Current price (Unitless, count by two tokens in the pool).
	Price string `json:"price,omitempty"`

	// Total value locked (TVL) in the liquidity pool.
	Tvl string `json:"tvl,omitempty"`

	// Type of the DEX, could be "standard" or "concentrated".
	Type string `json:"type,omitempty"`

	// week
	Week *ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Week `json:"week,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonDexItems0 response wrapper solana token security result anon dex items0

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonDexItems0

func (*ResponseWrapperSolanaTokenSecurityResultAnonDexItems0) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonDexItems0) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonDexItems0) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon dex items0

type ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Day added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Day struct {

	// Maximum price during this period.
	PriceMax string `json:"price_max,omitempty"`

	// Minimum price during this period.
	PriceMin string `json:"price_min,omitempty"`

	// The volume of transactions during this period.
	Volume string `json:"volume,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Day Trading data for last day.

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Day

func (*ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Day) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Day) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Day) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon dex items0 day

type ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Month added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Month struct {

	// Maximum price during this period.
	PriceMax string `json:"price_max,omitempty"`

	// Minimum price during this period.
	PriceMin string `json:"price_min,omitempty"`

	// The volume of transactions during this period.
	Volume string `json:"volume,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Month Trading data for last month.

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Month

func (*ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Month) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Month) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Month) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon dex items0 month

type ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Week added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Week struct {

	// Maximum price during this period.
	PriceMax string `json:"price_max,omitempty"`

	// Minimum price during this period.
	PriceMin string `json:"price_min,omitempty"`

	// The volume of transactions during this period.
	Volume string `json:"volume,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Week Trading data for last week.

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Week

func (*ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Week) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Week) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonDexItems0Week) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon dex items0 week

type ResponseWrapperSolanaTokenSecurityResultAnonFreezable added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonFreezable struct {

	// Information on metadata upgrade authority.
	Authority []*ResponseWrapperSolanaTokenSecurityResultAnonFreezableAuthorityItems0 `json:"authority"`

	// Status indicator, where "1" means the funtcion is available.
	Status string `json:"status,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonFreezable Whether the developer can block any other users from trading.

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonFreezable

func (*ResponseWrapperSolanaTokenSecurityResultAnonFreezable) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonFreezable) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonFreezable) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon freezable

type ResponseWrapperSolanaTokenSecurityResultAnonFreezableAuthorityItems0 added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonFreezableAuthorityItems0 struct {

	// Address with upgrade authority
	Address string `json:"address,omitempty"`

	// Indicates whether the address is malicious, "1" means yes.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonFreezableAuthorityItems0 response wrapper solana token security result anon freezable authority items0

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonFreezableAuthorityItems0

func (*ResponseWrapperSolanaTokenSecurityResultAnonFreezableAuthorityItems0) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonFreezableAuthorityItems0) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonFreezableAuthorityItems0) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon freezable authority items0

type ResponseWrapperSolanaTokenSecurityResultAnonHoldersItems0 added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonHoldersItems0 struct {

	// Amount of tokens held.
	Balance string `json:"balance,omitempty"`

	// It describes whether the tokens owned by the holder are locked "1" means true; "0" means false;
	// (3) 'tag' describes the address's public tag. Example:Burn (Notice:About "locked":We only support the token lock addresses or black hole addresses that we have included. )
	IsLocked int32 `json:"is_locked,omitempty"`

	// It is an array, decribes lock position info of this holder, only shows when "locked":1. This Array may contain multiple objects for multiple locking info. (Notice:When "locked":0, or lock address is a black hole address,  "locked_detail" will be no return.)
	LockedDetail []*ResponseWrapperSolanaTokenSecurityResultAnonHoldersItems0LockedDetailItems0 `json:"locked_detail"`

	// Percentage of total supply held.
	Percent string `json:"percent,omitempty"`

	// Tag information of the holder.
	Tag string `json:"tag,omitempty"`

	// Address of the holder.
	TokenAccount string `json:"token_account,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonHoldersItems0 response wrapper solana token security result anon holders items0

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonHoldersItems0

func (*ResponseWrapperSolanaTokenSecurityResultAnonHoldersItems0) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonHoldersItems0) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonHoldersItems0) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon holders items0

type ResponseWrapperSolanaTokenSecurityResultAnonHoldersItems0LockedDetailItems0 added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonHoldersItems0LockedDetailItems0 struct {

	// "amount" describes the number of token locked
	Amount string `json:"amount,omitempty"`

	// "end_time" describes when the token will be unlocked
	EndTime string `json:"end_time,omitempty"`

	// "opt_time" describes when the token was locked
	OptTime string `json:"opt_time,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonHoldersItems0LockedDetailItems0 response wrapper solana token security result anon holders items0 locked detail items0

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonHoldersItems0LockedDetailItems0

func (*ResponseWrapperSolanaTokenSecurityResultAnonHoldersItems0LockedDetailItems0) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonHoldersItems0LockedDetailItems0) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonHoldersItems0LockedDetailItems0) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon holders items0 locked detail items0

type ResponseWrapperSolanaTokenSecurityResultAnonLpHoldersItems0 added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonLpHoldersItems0 struct {

	// Amount of tokens held.
	Balance string `json:"balance,omitempty"`

	// Percentage of total supply held.
	Percent string `json:"percent,omitempty"`

	// Tag information of the holder.
	Tag string `json:"tag,omitempty"`

	// Address of the holder.
	TokenAccount string `json:"token_account,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonLpHoldersItems0 response wrapper solana token security result anon lp holders items0

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonLpHoldersItems0

func (*ResponseWrapperSolanaTokenSecurityResultAnonLpHoldersItems0) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonLpHoldersItems0) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonLpHoldersItems0) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon lp holders items0

type ResponseWrapperSolanaTokenSecurityResultAnonMetadata added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonMetadata struct {

	// Description of the token.
	Description string `json:"description,omitempty"`

	// Name of the token.
	Name string `json:"name,omitempty"`

	// Symbol of the token.
	Symbol string `json:"symbol,omitempty"`

	// URI pointing to related token information.
	URI string `json:"uri,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonMetadata Contains the metadata information of the token.

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonMetadata

func (*ResponseWrapperSolanaTokenSecurityResultAnonMetadata) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonMetadata) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonMetadata) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon metadata

type ResponseWrapperSolanaTokenSecurityResultAnonMetadataMutable added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonMetadataMutable struct {

	// Information on metadata upgrade authority.
	MetadataUpgradeAuthority []*ResponseWrapperSolanaTokenSecurityResultAnonMetadataMutableMetadataUpgradeAuthorityItems0 `json:"metadata_upgrade_authority"`

	// Status indicator, where "1" means the funtcion is available.
	Status string `json:"status,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonMetadataMutable Whether the metadata is mutable.

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonMetadataMutable

func (*ResponseWrapperSolanaTokenSecurityResultAnonMetadataMutable) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonMetadataMutable) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonMetadataMutable) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon metadata mutable

type ResponseWrapperSolanaTokenSecurityResultAnonMetadataMutableMetadataUpgradeAuthorityItems0 added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonMetadataMutableMetadataUpgradeAuthorityItems0 struct {

	// Address with upgrade authority
	Address string `json:"address,omitempty"`

	// Indicates whether the address is malicious, "1" means yes.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonMetadataMutableMetadataUpgradeAuthorityItems0 response wrapper solana token security result anon metadata mutable metadata upgrade authority items0

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonMetadataMutableMetadataUpgradeAuthorityItems0

func (*ResponseWrapperSolanaTokenSecurityResultAnonMetadataMutableMetadataUpgradeAuthorityItems0) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonMetadataMutableMetadataUpgradeAuthorityItems0) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonMetadataMutableMetadataUpgradeAuthorityItems0) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon metadata mutable metadata upgrade authority items0

type ResponseWrapperSolanaTokenSecurityResultAnonMintable added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonMintable struct {

	// Information on metadata upgrade authority.
	Authority []*ResponseWrapperSolanaTokenSecurityResultAnonMintableAuthorityItems0 `json:"authority"`

	// Status indicator, where "1" means the funtcion is available.
	Status string `json:"status,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonMintable Whether the token is mintable.

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonMintable

func (*ResponseWrapperSolanaTokenSecurityResultAnonMintable) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonMintable) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonMintable) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon mintable

type ResponseWrapperSolanaTokenSecurityResultAnonMintableAuthorityItems0 added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonMintableAuthorityItems0 struct {

	// Address with upgrade authority
	Address string `json:"address,omitempty"`

	// Indicates whether the address is malicious, "1" means yes.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonMintableAuthorityItems0 response wrapper solana token security result anon mintable authority items0

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonMintableAuthorityItems0

func (*ResponseWrapperSolanaTokenSecurityResultAnonMintableAuthorityItems0) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonMintableAuthorityItems0) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonMintableAuthorityItems0) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon mintable authority items0

type ResponseWrapperSolanaTokenSecurityResultAnonTransferFee added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonTransferFee struct {

	// current fee rate
	CurrentFeeRate *ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeCurrentFeeRate `json:"current_fee_rate,omitempty"`

	// Scheduled changes to transfer fee rates.
	ScheduledFeeRate []*ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeScheduledFeeRateItems0 `json:"scheduled_fee_rate"`
}

ResponseWrapperSolanaTokenSecurityResultAnonTransferFee Configuration information for transfer fees.(Notice: "Scheduled Fee" would take effect and turn into "Current Fee" when the epoch is reached.)

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonTransferFee

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferFee) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferFee) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferFee) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon transfer fee

type ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeCurrentFeeRate added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeCurrentFeeRate struct {

	// Fee rate (expressed as a ratio, e.g., 0.02 means 2%)
	FeeRate string `json:"fee_rate,omitempty"`

	// Maximum fee amount for a single transaction.
	MaximumFee string `json:"maximum_fee,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeCurrentFeeRate Currently effective transfer fee rate.

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeCurrentFeeRate

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeCurrentFeeRate) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeCurrentFeeRate) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeCurrentFeeRate) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon transfer fee current fee rate

type ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeScheduledFeeRateItems0 added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeScheduledFeeRateItems0 struct {

	// The epoch at which the fee rate will take effect.
	Epoch string `json:"epoch,omitempty"`

	// Fee rate (expressed as a ratio, e.g., 0.02 means 2%)
	FeeRate string `json:"fee_rate,omitempty"`

	// Maximum fee amount for a single transaction.
	MaximumFee string `json:"maximum_fee,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeScheduledFeeRateItems0 response wrapper solana token security result anon transfer fee scheduled fee rate items0

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeScheduledFeeRateItems0

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeScheduledFeeRateItems0) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeScheduledFeeRateItems0) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeScheduledFeeRateItems0) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon transfer fee scheduled fee rate items0

type ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeUpgradable added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeUpgradable struct {

	// Information on metadata upgrade authority.
	Authority []*ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeUpgradableAuthorityItems0 `json:"authority"`

	// Status indicator, where "1" means the funtcion is available.
	Status string `json:"status,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeUpgradable Whether the transfer fee of the token can be upgraded

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeUpgradable

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeUpgradable) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeUpgradable) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeUpgradable) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon transfer fee upgradable

type ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeUpgradableAuthorityItems0 added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeUpgradableAuthorityItems0 struct {

	// Address with upgrade authority
	Address string `json:"address,omitempty"`

	// Indicates whether the address is malicious, "1" means yes.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeUpgradableAuthorityItems0 response wrapper solana token security result anon transfer fee upgradable authority items0

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeUpgradableAuthorityItems0

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeUpgradableAuthorityItems0) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeUpgradableAuthorityItems0) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferFeeUpgradableAuthorityItems0) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon transfer fee upgradable authority items0

type ResponseWrapperSolanaTokenSecurityResultAnonTransferHookItems0 added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonTransferHookItems0 struct {

	// Address of the hook.
	Address string `json:"address,omitempty"`

	// Indicates whether the address is malicious, "1" means yes.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonTransferHookItems0 response wrapper solana token security result anon transfer hook items0

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonTransferHookItems0

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferHookItems0) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferHookItems0) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferHookItems0) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon transfer hook items0

type ResponseWrapperSolanaTokenSecurityResultAnonTransferHookUpgradable added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonTransferHookUpgradable struct {

	// Information on metadata upgrade authority.
	Authority []*ResponseWrapperSolanaTokenSecurityResultAnonTransferHookUpgradableAuthorityItems0 `json:"authority"`

	// Status indicator, where "1" means the funtcion is available.
	Status string `json:"status,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonTransferHookUpgradable Whether the transfer hook is upgradable.

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonTransferHookUpgradable

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferHookUpgradable) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferHookUpgradable) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferHookUpgradable) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon transfer hook upgradable

type ResponseWrapperSolanaTokenSecurityResultAnonTransferHookUpgradableAuthorityItems0 added in v1.2.6

type ResponseWrapperSolanaTokenSecurityResultAnonTransferHookUpgradableAuthorityItems0 struct {

	// Address with upgrade authority
	Address string `json:"address,omitempty"`

	// Indicates whether the address is malicious, "1" means yes.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`
}

ResponseWrapperSolanaTokenSecurityResultAnonTransferHookUpgradableAuthorityItems0 response wrapper solana token security result anon transfer hook upgradable authority items0

swagger:model ResponseWrapperSolanaTokenSecurityResultAnonTransferHookUpgradableAuthorityItems0

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferHookUpgradableAuthorityItems0) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferHookUpgradableAuthorityItems0) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSolanaTokenSecurityResultAnonTransferHookUpgradableAuthorityItems0) Validate added in v1.2.6

Validate validates this response wrapper solana token security result anon transfer hook upgradable authority items0

type ResponseWrapperSuiTokenSecurity added in v1.2.6

type ResponseWrapperSuiTokenSecurity struct {

	// Code 1:Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result map[string]ResponseWrapperSuiTokenSecurityResultAnon `json:"result,omitempty"`
}

ResponseWrapperSuiTokenSecurity ResponseWrapperSuiTokenSecurity

swagger:model ResponseWrapperSuiTokenSecurity

func (*ResponseWrapperSuiTokenSecurity) MarshalBinary added in v1.2.6

func (m *ResponseWrapperSuiTokenSecurity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperSuiTokenSecurity) UnmarshalBinary added in v1.2.6

func (m *ResponseWrapperSuiTokenSecurity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperSuiTokenSecurity) Validate added in v1.2.6

Validate validates this response wrapper sui token security

type ResponseWrapperSuiTokenSecurityResultAnon added in v1.2.6

type ResponseWrapperSuiTokenSecurityResultAnon struct {

	// blacklist
	Blacklist *ResponseWrapperSuiTokenSecurityResultAnonBlacklist `json:"blacklist,omitempty"`

	// contract upgradeable
	ContractUpgradeable *ResponseWrapperSuiTokenSecurityResultAnonContractUpgradeable `json:"contract_upgradeable,omitempty"`

	// Creator of the token.
	Creator string `json:"creator,omitempty"`

	// Decimals of the token.
	Decimals int32 `json:"decimals,omitempty"`

	// metadata modifiable
	MetadataModifiable *ResponseWrapperSuiTokenSecurityResultAnonMetadataModifiable `json:"metadata_modifiable,omitempty"`

	// mintable
	Mintable *ResponseWrapperSuiTokenSecurityResultAnonMintable `json:"mintable,omitempty"`

	// Name of the token.
	Name string `json:"name,omitempty"`

	// Symbol of the token.
	Symbol string `json:"symbol,omitempty"`

	// Total supply of the token.
	TotalSupply string `json:"total_supply,omitempty"`

	// If the token is a famous and trustworthy one. "1" means yes.(Notice: This field is intended to identify well-known and reputable tokens. Trusted tokens with special functions (such as the mintable function in USDC) are generally not considered risk items. Please note that a value other than “1” does not indicate that the token is untrustworthy. We recommend properly evaluating and handling tokens with values other than “1” to avoid unnecessary disputes.
	// )
	TrustedToken string `json:"trusted_token,omitempty"`
}

ResponseWrapperSuiTokenSecurityResultAnon key is contract address

swagger:model ResponseWrapperSuiTokenSecurityResultAnon

func (*ResponseWrapperSuiTokenSecurityResultAnon) MarshalBinary added in v1.2.6

func (m *ResponseWrapperSuiTokenSecurityResultAnon) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperSuiTokenSecurityResultAnon) UnmarshalBinary added in v1.2.6

func (m *ResponseWrapperSuiTokenSecurityResultAnon) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperSuiTokenSecurityResultAnon) Validate added in v1.2.6

Validate validates this response wrapper sui token security result anon

type ResponseWrapperSuiTokenSecurityResultAnonBlacklist added in v1.2.6

type ResponseWrapperSuiTokenSecurityResultAnonBlacklist struct {

	// The owner cap of the function.
	// This field can have three possible values:
	// A. A specific address indicates the address that can currently operate this function.
	// B.'Shared' means any address can operate this function.
	// C.'Immutable' means this function can no longer be invoked.
	CapOwner string `json:"cap_owner,omitempty"`

	// Status indicator, where "1" means the funtcion is available.
	Value string `json:"value,omitempty"`
}

ResponseWrapperSuiTokenSecurityResultAnonBlacklist Whether the developer can block any other users from trading.

swagger:model ResponseWrapperSuiTokenSecurityResultAnonBlacklist

func (*ResponseWrapperSuiTokenSecurityResultAnonBlacklist) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSuiTokenSecurityResultAnonBlacklist) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSuiTokenSecurityResultAnonBlacklist) Validate added in v1.2.6

Validate validates this response wrapper sui token security result anon blacklist

type ResponseWrapperSuiTokenSecurityResultAnonContractUpgradeable added in v1.2.6

type ResponseWrapperSuiTokenSecurityResultAnonContractUpgradeable struct {

	// The owner cap of the function.
	// This field can have three possible values:
	// A. A specific address indicates the address that can currently operate this function.
	// B.'Shared' means any address can operate this function.
	// C.'Immutable' means this function can no longer be invoked.
	CapOwner string `json:"cap_owner,omitempty"`

	// Status indicator, where "1" means the funtcion is available.
	Value string `json:"value,omitempty"`
}

ResponseWrapperSuiTokenSecurityResultAnonContractUpgradeable Whetherthe token contract upgradebale. If the contract is upgradable, developers can arbitrarily modify its functions. This field follows the same rules as the other similar fields.

swagger:model ResponseWrapperSuiTokenSecurityResultAnonContractUpgradeable

func (*ResponseWrapperSuiTokenSecurityResultAnonContractUpgradeable) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSuiTokenSecurityResultAnonContractUpgradeable) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSuiTokenSecurityResultAnonContractUpgradeable) Validate added in v1.2.6

Validate validates this response wrapper sui token security result anon contract upgradeable

type ResponseWrapperSuiTokenSecurityResultAnonMetadataModifiable added in v1.2.6

type ResponseWrapperSuiTokenSecurityResultAnonMetadataModifiable struct {

	// The owner cap of the function.
	// This field can have three possible values:
	// A. A specific address indicates the address that can currently operate this function.
	// B.'Shared' means any address can operate this function.
	// C.'Immutable' means this function can no longer be invoked.
	CapOwner string `json:"cap_owner,omitempty"`

	// Status indicator, where "1" means the funtcion is available.
	Value string `json:"value,omitempty"`
}

ResponseWrapperSuiTokenSecurityResultAnonMetadataModifiable Whether the metadata is mutable.

swagger:model ResponseWrapperSuiTokenSecurityResultAnonMetadataModifiable

func (*ResponseWrapperSuiTokenSecurityResultAnonMetadataModifiable) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSuiTokenSecurityResultAnonMetadataModifiable) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSuiTokenSecurityResultAnonMetadataModifiable) Validate added in v1.2.6

Validate validates this response wrapper sui token security result anon metadata modifiable

type ResponseWrapperSuiTokenSecurityResultAnonMintable added in v1.2.6

type ResponseWrapperSuiTokenSecurityResultAnonMintable struct {

	// The owner cap of the function.
	// This field can have three possible values:
	// A. A specific address indicates the address that can currently operate this function.
	// B.'Shared' means any address can operate this function.
	// C.'Immutable' means this function can no longer be invoked.
	CapOwner string `json:"cap_owner,omitempty"`

	// Status indicator, where "1" means the funtcion is available.
	Value string `json:"value,omitempty"`
}

ResponseWrapperSuiTokenSecurityResultAnonMintable Whether the token is mintable.

swagger:model ResponseWrapperSuiTokenSecurityResultAnonMintable

func (*ResponseWrapperSuiTokenSecurityResultAnonMintable) MarshalBinary added in v1.2.6

MarshalBinary interface implementation

func (*ResponseWrapperSuiTokenSecurityResultAnonMintable) UnmarshalBinary added in v1.2.6

UnmarshalBinary interface implementation

func (*ResponseWrapperSuiTokenSecurityResultAnonMintable) Validate added in v1.2.6

Validate validates this response wrapper sui token security result anon mintable

type ResponseWrapperTaTokenSecurityResponse

type ResponseWrapperTaTokenSecurityResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *TaTokenSecurityResponse `json:"result,omitempty"`
}

ResponseWrapperTaTokenSecurityResponse ResponseWrapperTaTokenSecurityResponse

swagger:model ResponseWrapperTaTokenSecurityResponse

func (*ResponseWrapperTaTokenSecurityResponse) MarshalBinary

func (m *ResponseWrapperTaTokenSecurityResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperTaTokenSecurityResponse) UnmarshalBinary

func (m *ResponseWrapperTaTokenSecurityResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperTaTokenSecurityResponse) Validate

Validate validates this response wrapper ta token security response

type ResponseWrapperTokenLockerResponse added in v1.2.6

type ResponseWrapperTokenLockerResponse struct {

	// Code 1:Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *TokenLockerResponse `json:"result,omitempty"`
}

ResponseWrapperTokenLockerResponse ResponseWrapperTokenLockerResponse

swagger:model ResponseWrapperTokenLockerResponse

func (*ResponseWrapperTokenLockerResponse) MarshalBinary added in v1.2.6

func (m *ResponseWrapperTokenLockerResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperTokenLockerResponse) UnmarshalBinary added in v1.2.6

func (m *ResponseWrapperTokenLockerResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenLockerResponse) Validate added in v1.2.6

Validate validates this response wrapper token locker response

type ResponseWrapperTokenSecurity

type ResponseWrapperTokenSecurity struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result map[string]ResponseWrapperTokenSecurityResultAnon `json:"result,omitempty"`
}

ResponseWrapperTokenSecurity ResponseWrapperTokenSecurity

swagger:model ResponseWrapperTokenSecurity

func (*ResponseWrapperTokenSecurity) MarshalBinary

func (m *ResponseWrapperTokenSecurity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurity) UnmarshalBinary

func (m *ResponseWrapperTokenSecurity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurity) Validate

func (m *ResponseWrapperTokenSecurity) Validate(formats strfmt.Registry) error

Validate validates this response wrapper token security

type ResponseWrapperTokenSecurityResultAnon

type ResponseWrapperTokenSecurityResultAnon struct {

	// It describes whether the contract has the function to modify the maximum amount of transactions or the maximum token position.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3)When the anti whale value is set to a very small value, all tradinge would fail.)
	AntiWhaleModifiable string `json:"anti_whale_modifiable,omitempty"`

	// b20 token
	B20Token *ResponseWrapperTokenSecurityResultAnonB20Token `json:"b20_token,omitempty"`

	// It describes the tax when buying the token.
	// Example: "buy_tax": 0.1%.
	// No return means unknown.(Notice:(1) When "is_in_dex": "0", there will be no return.
	// (2) Buy tax will cause the actual value received when buying a token to be less than expected, and too much buy tax may lead to heavy losses.
	// (3) When "buy_tax": "1", it means buy tax is 100% or cannot buy.
	// (4) Sometimes token's anti-bot mechanism would affect our sandbox system, leading to "cannoy_buy": "1",  causing the display of "buy_tax": "1".
	// (5)Some of the token is deisgned not for sale, leading to "cannot_buy":1, causing the display of "buy_tax": "1".)
	BuyTax string `json:"buy_tax,omitempty"`

	// It describes whether this contract has the function to take back ownership.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) Ownership is mostly used to adjust the parameters and status of the contract, such as minting, modification of slippage, suspension of trading, setting blacklsit, etc.
	// When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, these functions will most likely be disabled.)
	CanTakeBackOwnership string `json:"can_take_back_ownership,omitempty"`

	// It deiscribes whether the Token can be bought.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) Generally, "cannot_buy": "1" would be found in Reward Tokens. Such Tokens are issued as rewards for some on-chain applications and cannot be bought directly by users.
	// (2) Sometimes token's anti-bot mechanism would affect our sandbox system, causing the display of "buy_tax": "1".
	// (3) When "cannot_buy": "1", our sandbox system might be bloked, causing the display of "buy_tax": "1" and "sell_tax": "1")
	CannotBuy string `json:"cannot_buy,omitempty"`

	// It describes whether the contract has the function restricting token holder selling all the token.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_in_dex": "0", there will be no return.
	// (2) This feature means that you will not be able to sell all your tokens in a single sale. Sometimes you need to leave a certain percentage of the token, e.g. 10%, sometimes you need to leave a fixed number of token, such as 10 token.
	// (3) When "buy_tax": "1", there will be no return.)
	CannotSellAll string `json:"cannot_sell_all,omitempty"`

	// It describes this contract's owner address.
	// Example: "creator_address": "0x744aF9cBb7606BB040f6FBf1c0a0B0dcBA6385E5";
	CreatorAddress string `json:"creator_address,omitempty"`

	// It describes the balance of the contract owner.
	// Example:"owner_balance": 100000000.
	CreatorBalance string `json:"creator_balance,omitempty"`

	// It describes the percentage of tokens held by the contract owner. Example:"owner_balance": 0.1.(Notice:1 means 100% here.)
	CreatorPercent string `json:"creator_percent,omitempty"`

	// It describes Dex information of where the token that can be traded.(Notice:When "is_in_dex": "0", there will be empty array. )
	Dex []*ResponseWrapperTokenSecurityResultAnonDexItems0 `json:"dex"`

	// It describes whether the contract would call functions of other contracts when primary methods are executed.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) External call would cause the implementation of this contract to be highly dependent on other external contracts, which may be a potential risk.)
	ExternalCall string `json:"external_call,omitempty"`

	// fake token
	FakeToken *ResponseWrapperTokenSecurityResultAnonFakeToken `json:"fake_token,omitempty"`

	// It describes whether the contract has hidden owners. For contract with a hidden owner, developer can still manipulate the contract even if the ownership has been abandoned.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) Hidden owner is often used by developers to hide ownership and is often accompanied by malicious functionality. When the hidden owner exists, it is assumed that ownership has not been abandoned.)
	HiddenOwner string `json:"hidden_owner,omitempty"`

	// It describes the number of token holders.
	// Example:"holder_count": "4342"
	HolderCount string `json:"holder_count,omitempty"`

	// Top10 holders info
	Holders []*ResponseWrapperTokenSecurityResultAnonHoldersItems0 `json:"holders"`

	// It describes the number of honeypot tokens created by this creator.
	HoneypotWithSameCreator string `json:"honeypot_with_same_creator,omitempty"`

	// It describes whether the token is an airdrop scam.
	// "1" means true;
	// "0" means false;
	// None means no result (Because We did not find conclusive information on whether token is an airdrop scam).(Notice:Only "is_airdrop_scam": "1" means it is an airdrop scam.)
	IsAirdropScam string `json:"is_airdrop_scam,omitempty"`

	// It describes whether the contract has the function to limit the maximum amount of transactions or the maximum token position that for single address.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return. )
	IsAntiWhale string `json:"is_anti_whale,omitempty"`

	// It describes whether the blacklist function is not included in the contract. If there is a blacklist, some addresses may not be able to trade normally.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0",  there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) The contract owner may add any address into the blacklist, and the token holder in blacklist will not be able to trade. Abuse of the blacklist function will lead to great risks.
	// (4) For contracts without an owner (or the owner is a black hole address), the blacklist will not be able to get updated. However, the existing blacklist is still in effect.)
	IsBlacklisted string `json:"is_blacklisted,omitempty"`

	// It describes whether the token is a honeypot. "HoneyPot" means that the token maybe cannot be sold because of the token contract's function, Or the token contains malicious code.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) Hight risk, definitely scam.)
	IsHoneypot string `json:"is_honeypot,omitempty"`

	// It describes whether the token can be traded on the main Dex.
	// "1" means true;
	// "0" means false(Notice:It only counts when the token has a marketing pair with mainstream coins/tokens.)
	IsInDex string `json:"is_in_dex,omitempty"`

	// It describes whether this contract has the function to mint tokens.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) Mint function will directly trigger a massive sell-off, causing the coin price to plummet. It is extremely risky.
	// (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.)
	IsMintable string `json:"is_mintable,omitempty"`

	// It describes whether this contract is open source.
	// "1" means true;
	// "0" means false.(Notice:Un-open-sourced contracts may hide various unknown mechanisms and are extremely risky. When the contract is not open source, we will not be able to detect other risk items.)
	IsOpenSource string `json:"is_open_source,omitempty"`

	// It describes whether this contract has a proxy contract.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Most Proxy contracts are accompanied by modifiable implementation contracts, and implementation contracts may contain significant potential risk. When the contract is a Proxy, we will stop detecting other risk items.)
	IsProxy string `json:"is_proxy,omitempty"`

	// It describes whether the token is true or fake.
	// "1" means true token;
	// "0" means fake token;
	// None means no result (Because we did not find decisive information about the truth or falsity)(Notice:Only "is_true_token": "0" means it is a fake token.)
	IsTrueToken string `json:"is_true_token,omitempty"`

	// It describes whether the whitelist function is not included in the contract. If there is a whitelist, some addresses may not be able to trade normally.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) Whitelisting is mostly used to allow specific addresses to make early transactions, tax-free, and not affected by transaction suspension.
	// (4) For contracts without an owner (or the owner is a black hole address), the whitelist will not be able to get updated. However, the existing whitelist is still in effect.)
	IsWhitelisted string `json:"is_whitelisted,omitempty"`

	// It describes the number of LP token holders.
	// Example:"lp_holder_count": "4342".
	// No return means no LP.(Notice:When "is_in_dex": "0", there will be no return.)
	LpHolderCount string `json:"lp_holder_count,omitempty"`

	// Top10 LP token holders info(Notice:When "is_in_dex": "0", there will be no return. )
	LpHolders []*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0 `json:"lp_holders"`

	// It describes the supply number of the LP token.
	// Example:"lp_total_supply": "100000000".
	// No return means no LP.(Notice:(1) When "is_in_dex": "0", there will be no return.
	// (2) It is LP token number, NOT token number)
	LpTotalSupply string `json:"lp_total_supply,omitempty"`

	// It describes whether the contract has other things investors need to know.
	// Example:
	// "note": "Contract owner is a multisign contract."(Notice:(1) If we haven't found any other thing which is valuable yet, there will be no return.
	// (2) Type: string.)
	Note string `json:"note,omitempty"`

	// It describes whether the contract has other potential risks.
	// Example:
	// "other_potential_risks": "Owner can set different transaction taxes for each user, which can trigger serious losses."(Notice:(1) If we haven't found any other potential risk yet, there will be no return.
	// (2) Type: string.)
	OtherPotentialRisks string `json:"other_potential_risks,omitempty"`

	// It describes this contract's owner address.
	// Example: "owner_address": "0x744aF9cBb7606BB040f6FBf1c0a0B0dcBA6385E5";
	// No return means unknown; Return empty means there is no ownership or can't find ownership.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) Ownership is mostly used to adjust the parameters and status of the contract, such as minting, modification of slippage, suspension of trading, setting blacklist, etc.
	// When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, these functions will most likely be disabled.)
	OwnerAddress string `json:"owner_address,omitempty"`

	// It describes the balance of the contract owner.
	// Example: "owner_balance": "100000000".
	// No return or return empty means there is no ownership or can't find ownership.(Notice:When "owner_address" returns empty, or no return, there will be no return.)
	OwnerBalance string `json:"owner_balance,omitempty"`

	// It describes whether the contract owner has the authority to change the balance of any token holder.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) Token with this feature means that the owner can modify anyone's balance, resulting in an asset straight to zero or a massive minting and sell-off.
	// (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.)
	OwnerChangeBalance string `json:"owner_change_balance,omitempty"`

	// It describes the percentage of tokens held by the contract owner.
	// Example:"owner_balance": "0.1".
	// No return or return empty means there is no ownership or can't find ownership.(Notice:(1) 1 means 100% here.
	// (2) When "owner_address" returns empty, or no return, there will be no return.)
	OwnerPercent string `json:"owner_percent,omitempty"`

	// It describes whether the owner can set a different tax rate for every assigned address.
	// "1" means ture;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0",  there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) The contract owner may set a very outrageous tax rate for assigned address to block it from trading. Abuse of this funtcion will lead to great risks.
	// (4) For contracts without an owner (or the owner is a black hole address), this function would not able to be used. However, the existing tax rate would be still in effect.)
	PersonalSlippageModifiable string `json:"personal_slippage_modifiable,omitempty"`

	// It describes whether this contract can self destruct.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) When the self-destruct function is triggered, this contract will be destroyed, all functions will be unavailable, and all related assets will be erased.)
	Selfdestruct string `json:"selfdestruct,omitempty"`

	// It describes the tax when selling the token.
	// Example: "sell_tax": 0.1%.
	// No return means unknown.(Notice:(1) When "is_in_dex": "0", there will be no return.
	// (2) Sell tax will cause the actual value received when selling a token to be less than expected, and too much buy tax may lead to large losses.
	// (3) When "sell_tax": "1", it means sell-tax is 100% or this token cannot be sold.
	// (4) Sometimes token's  trading-cool-down mechanism would affect our sandbox system. When "trading_cooldown": "1", "sell_tax" may return "1".)
	SellTax string `json:"sell_tax,omitempty"`

	// It describes whether the trading tax can be modifiable by token contract.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) Token with modifiable tax means that the contract owner can modify the buy tax or sell tax of the token. This may cause some losses, especially since some contracts have unlimited modifiable tax rates, which would make the token untradeable.
	// (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.)
	SlippageModifiable string `json:"slippage_modifiable,omitempty"`

	// Token Name
	TokenName string `json:"token_name,omitempty"`

	// Token Symbol
	TokenSymbol string `json:"token_symbol,omitempty"`

	// It describes the supply number of the token.
	// Example:"total_supply": 100000000
	TotalSupply string `json:"total_supply,omitempty"`

	// It describes whether the contract has trading-cool-down mechanism which can limits the minimum time between two transactions.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return. )
	TradingCooldown string `json:"trading_cooldown,omitempty"`

	// It describes whether trading can be pausable by token contract.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) This feature means that the contract owner will be able to suspend trading at any time, after that anyone will not be able to sell, except those who have special authority.
	// (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.)
	TransferPausable string `json:"transfer_pausable,omitempty"`

	// It describes whether the token is a famous and trustworthy one. "1" means true; No return no result (Because We did not find conclusive information on whether token is a airdrop scam).(Notice:(1) Only "trust_list": "1" means it is a famous and trustworthy token.
	// (2) No return doesn't mean it is risky.)
	TrustList string `json:"trust_list,omitempty"`
}

ResponseWrapperTokenSecurityResultAnon key is contract address

swagger:model ResponseWrapperTokenSecurityResultAnon

func (*ResponseWrapperTokenSecurityResultAnon) MarshalBinary

func (m *ResponseWrapperTokenSecurityResultAnon) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnon) UnmarshalBinary

func (m *ResponseWrapperTokenSecurityResultAnon) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnon) Validate

Validate validates this response wrapper token security result anon

type ResponseWrapperTokenSecurityResultAnonB20Token added in v1.2.7

type ResponseWrapperTokenSecurityResultAnonB20Token struct {

	// b20 info
	B20Info *ResponseWrapperTokenSecurityResultAnonB20TokenB20Info `json:"b20_info,omitempty"`

	// It describes whether the token is a B20 token.
	// "1" means true;
	// "0" means false;
	IsB20Token string `json:"is_b20_token,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonB20Token It describes the B20 token information. (Notice: Only returned when the token is a B20 token and new account.)

swagger:model ResponseWrapperTokenSecurityResultAnonB20Token

func (*ResponseWrapperTokenSecurityResultAnonB20Token) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20Token) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20Token) Validate added in v1.2.7

Validate validates this response wrapper token security result anon b20 token

type ResponseWrapperTokenSecurityResultAnonB20TokenB20Info added in v1.2.7

type ResponseWrapperTokenSecurityResultAnonB20TokenB20Info struct {

	// blacklist
	Blacklist *ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoBlacklist `json:"blacklist,omitempty"`

	// cannot buy
	CannotBuy *ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoCannotBuy `json:"cannot_buy,omitempty"`

	// cannot sell
	CannotSell *ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoCannotSell `json:"cannot_sell,omitempty"`

	// metadata modifiable
	MetadataModifiable *ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoMetadataModifiable `json:"metadata_modifiable,omitempty"`

	// mintable
	Mintable *ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoMintable `json:"mintable,omitempty"`

	// owner change balance
	OwnerChangeBalance *ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoOwnerChangeBalance `json:"owner_change_balance,omitempty"`

	// transfer pausable
	TransferPausable *ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoTransferPausable `json:"transfer_pausable,omitempty"`

	// whitelist
	Whitelist *ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoWhitelist `json:"whitelist,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonB20TokenB20Info It describes the detailed B20 token permission information.

swagger:model ResponseWrapperTokenSecurityResultAnonB20TokenB20Info

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20Info) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20Info) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20Info) Validate added in v1.2.7

Validate validates this response wrapper token security result anon b20 token b20 info

type ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoBlacklist added in v1.2.7

type ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoBlacklist struct {

	// It describes the admin addresses who have the blacklist permission.
	// Example: ["0x71ae788403067678fb509f1a018ce5cb50bca444"]
	Admin []string `json:"admin"`

	// It describes whether the blacklist permission is enabled.
	// "1" means enabled;
	// "0" means disabled;
	Status string `json:"status,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoBlacklist It describes the blacklist permission of the B20 token.

swagger:model ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoBlacklist

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoBlacklist) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoBlacklist) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoBlacklist) Validate added in v1.2.7

Validate validates this response wrapper token security result anon b20 token b20 info blacklist

type ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoCannotBuy added in v1.2.7

type ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoCannotBuy struct {

	// It describes the admin addresses who have the cannot_buy permission.
	// Example: []
	Admin []string `json:"admin"`

	// It describes whether the cannot_buy permission is enabled.
	// "1" means enabled;
	// "0" means disabled;
	Status string `json:"status,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoCannotBuy It describes the cannot_buy permission of the B20 token.

swagger:model ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoCannotBuy

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoCannotBuy) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoCannotBuy) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoCannotBuy) Validate added in v1.2.7

Validate validates this response wrapper token security result anon b20 token b20 info cannot buy

type ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoCannotSell added in v1.2.7

type ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoCannotSell struct {

	// It describes the admin addresses who have the cannot_sell permission.
	// Example: []
	Admin []string `json:"admin"`

	// It describes whether the cannot_sell permission is enabled.
	// "1" means enabled;
	// "0" means disabled;
	Status string `json:"status,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoCannotSell It describes the cannot_sell permission of the B20 token.

swagger:model ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoCannotSell

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoCannotSell) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoCannotSell) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoCannotSell) Validate added in v1.2.7

Validate validates this response wrapper token security result anon b20 token b20 info cannot sell

type ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoMetadataModifiable added in v1.2.7

type ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoMetadataModifiable struct {

	// It describes the admin addresses who have the metadata_modifiable permission.
	// Example: ["0x71ae788403067678fb509f1a018ce5cb50bca444"]
	Admin []string `json:"admin"`

	// It describes whether the metadata_modifiable permission is enabled.
	// "1" means enabled;
	// "0" means disabled;
	Status string `json:"status,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoMetadataModifiable It describes the metadata_modifiable permission of the B20 token.

swagger:model ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoMetadataModifiable

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoMetadataModifiable) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoMetadataModifiable) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoMetadataModifiable) Validate added in v1.2.7

Validate validates this response wrapper token security result anon b20 token b20 info metadata modifiable

type ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoMintable added in v1.2.7

type ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoMintable struct {

	// It describes the admin addresses who have the mintable permission.
	// Example: ["0x71ae788403067678fb509f1a018ce5cb50bca444"]
	Admin []string `json:"admin"`

	// It describes whether the mintable permission is enabled.
	// "1" means enabled;
	// "0" means disabled;
	Status string `json:"status,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoMintable It describes the mintable permission of the B20 token.

swagger:model ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoMintable

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoMintable) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoMintable) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoMintable) Validate added in v1.2.7

Validate validates this response wrapper token security result anon b20 token b20 info mintable

type ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoOwnerChangeBalance added in v1.2.7

type ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoOwnerChangeBalance struct {

	// It describes the admin addresses who have the owner_change_balance permission.
	// Example: ["0x71ae788403067678fb509f1a018ce5cb50bca444"]
	Admin []string `json:"admin"`

	// It describes whether the owner_change_balance permission is enabled.
	// "1" means enabled;
	// "0" means disabled;
	Status string `json:"status,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoOwnerChangeBalance It describes the owner_change_balance permission of the B20 token.

swagger:model ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoOwnerChangeBalance

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoOwnerChangeBalance) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoOwnerChangeBalance) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoOwnerChangeBalance) Validate added in v1.2.7

Validate validates this response wrapper token security result anon b20 token b20 info owner change balance

type ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoTransferPausable added in v1.2.7

type ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoTransferPausable struct {

	// It describes the admin addresses who have the transfer_pausable permission.
	// Example: ["0x71ae788403067678fb509f1a018ce5cb50bca444"]
	Admin []string `json:"admin"`

	// It describes whether the transfer_pausable permission is enabled.
	// "1" means enabled;
	// "0" means disabled;
	Status string `json:"status,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoTransferPausable It describes the transfer_pausable permission of the B20 token.

swagger:model ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoTransferPausable

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoTransferPausable) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoTransferPausable) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoTransferPausable) Validate added in v1.2.7

Validate validates this response wrapper token security result anon b20 token b20 info transfer pausable

type ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoWhitelist added in v1.2.7

type ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoWhitelist struct {

	// It describes the admin addresses who have the whitelist permission.
	// Example: ["0x71ae788403067678fb509f1a018ce5cb50bca444"]
	Admin []string `json:"admin"`

	// It describes whether the whitelist permission is enabled.
	// "1" means enabled;
	// "0" means disabled;
	Status string `json:"status,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoWhitelist It describes the whitelist permission of the B20 token.

swagger:model ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoWhitelist

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoWhitelist) MarshalBinary added in v1.2.7

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoWhitelist) UnmarshalBinary added in v1.2.7

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonB20TokenB20InfoWhitelist) Validate added in v1.2.7

Validate validates this response wrapper token security result anon b20 token b20 info whitelist

type ResponseWrapperTokenSecurityResultAnonDexItems0

type ResponseWrapperTokenSecurityResultAnonDexItems0 struct {

	// Liquidity is converted to USDT denomination.
	Liquidity string `json:"liquidity,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	//  It only counts when the token has a marketing pair with mainstream
	Pair string `json:"pair,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonDexItems0 response wrapper token security result anon dex items0

swagger:model ResponseWrapperTokenSecurityResultAnonDexItems0

func (*ResponseWrapperTokenSecurityResultAnonDexItems0) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonDexItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonDexItems0) Validate

Validate validates this response wrapper token security result anon dex items0

type ResponseWrapperTokenSecurityResultAnonFakeToken added in v1.2.2

type ResponseWrapperTokenSecurityResultAnonFakeToken struct {

	// If the value is set to 1, and true_token_address is the address of the authentic mainstream asset that the token is imitating on this public chain. If there are multiple mainstream assets with the same name, they will be separated by commas.
	TrueTokenAddress string `json:"true_token_address,omitempty"`

	// If the value is set to 1, and true_token_address is the address of the authentic mainstream asset that the token is imitating on this public chain. If there are multiple mainstream assets with the same name, they will be separated by commas.
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonFakeToken It indicates whether the token is a counterfeit of a mainstream asset. (If there is no evidence indicating that it is a counterfeit asset, there will be no return.)

swagger:model ResponseWrapperTokenSecurityResultAnonFakeToken

func (*ResponseWrapperTokenSecurityResultAnonFakeToken) MarshalBinary added in v1.2.2

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonFakeToken) UnmarshalBinary added in v1.2.2

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonFakeToken) Validate added in v1.2.2

Validate validates this response wrapper token security result anon fake token

type ResponseWrapperTokenSecurityResultAnonHoldersItems0

type ResponseWrapperTokenSecurityResultAnonHoldersItems0 struct {

	// It describes the holder address;
	Address string `json:"address,omitempty"`

	// It describes the balance of the holder.
	Balance string `json:"balance,omitempty"`

	// It describes whether the holder is a contract "1" means true; "0" means false.
	IsContract int32 `json:"is_contract,omitempty"`

	// It describes whether the tokens owned by the holder are locked "1" means true; "0" means false;
	// (3) "tag" describes the address's public tag. Example:Burn (Notice:About "locked": We only support the token lock addresses or black hole addresses that we have included. )
	IsLocked int32 `json:"is_locked,omitempty"`

	// It is an array, decribes lock position info of this holder, only shows when "locked": 1. This Array may contain multiple objects for multiple locking info. (Notice:When "locked":0, or lock address is a black hole address,  "locked_detail" will be no return.)
	LockedDetail []*ResponseWrapperTokenSecurityResultAnonHoldersItems0LockedDetailItems0 `json:"locked_detail"`

	// It  describes the percentage of tokens held by this holder (Notice:About "percent": 1 means 100% here.)
	Percent string `json:"percent,omitempty"`

	// It describes the address's public tag. Example:Burn Address/Deployer;
	Tag string `json:"tag,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonHoldersItems0 response wrapper token security result anon holders items0

swagger:model ResponseWrapperTokenSecurityResultAnonHoldersItems0

func (*ResponseWrapperTokenSecurityResultAnonHoldersItems0) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonHoldersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonHoldersItems0) Validate

Validate validates this response wrapper token security result anon holders items0

type ResponseWrapperTokenSecurityResultAnonHoldersItems0LockedDetailItems0 added in v1.2.0

type ResponseWrapperTokenSecurityResultAnonHoldersItems0LockedDetailItems0 struct {

	// "amount" describes the number of token locked
	Amount string `json:"amount,omitempty"`

	// "end_time" describes when the token will be unlocked
	EndTime string `json:"end_time,omitempty"`

	// "opt_time" describes when the token was locked
	OptTime string `json:"opt_time,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonHoldersItems0LockedDetailItems0 response wrapper token security result anon holders items0 locked detail items0

swagger:model ResponseWrapperTokenSecurityResultAnonHoldersItems0LockedDetailItems0

func (*ResponseWrapperTokenSecurityResultAnonHoldersItems0LockedDetailItems0) MarshalBinary added in v1.2.0

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonHoldersItems0LockedDetailItems0) UnmarshalBinary added in v1.2.0

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonHoldersItems0LockedDetailItems0) Validate added in v1.2.0

Validate validates this response wrapper token security result anon holders items0 locked detail items0

type ResponseWrapperTokenSecurityResultAnonLpHoldersItems0

type ResponseWrapperTokenSecurityResultAnonLpHoldersItems0 struct {

	// It is an array, decribes nft list
	NFTList []*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0NFTListItems0 `json:"NFT_list"`

	// It describes the holder address;
	Address string `json:"address,omitempty"`

	// It describes the balance of the holder.
	Balance string `json:"balance,omitempty"`

	// It describes whether the holder is a contract "1" means true; "0" means false.
	IsContract int32 `json:"is_contract,omitempty"`

	// It describes whether the tokens owned by the holder are locked "1" means true; "0" means false;
	// (3) "tag" describes the address's public tag. Example:Burn (Notice:About "locked": We only support the token lock addresses or black hole addresses that we have included. )
	IsLocked int32 `json:"is_locked,omitempty"`

	// It is an array, decribes lock position info of this holder, only shows when "locked": 1. This Array may contain multiple objects for multiple locking info. (Notice:When "locked":0, or lock address is a black hole address,  "locked_detail" will be no return.)
	LockedDetail []*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0LockedDetailItems0 `json:"locked_detail"`

	// It  describes the percentage of tokens held by this holder (Notice:About "percent": 1 means 100% here.)
	Percent string `json:"percent,omitempty"`

	// It describes the address's public tag. Example:Burn Address/Deployer;
	Tag string `json:"tag,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonLpHoldersItems0 response wrapper token security result anon lp holders items0

swagger:model ResponseWrapperTokenSecurityResultAnonLpHoldersItems0

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0) Validate

Validate validates this response wrapper token security result anon lp holders items0

type ResponseWrapperTokenSecurityResultAnonLpHoldersItems0LockedDetailItems0 added in v1.2.0

type ResponseWrapperTokenSecurityResultAnonLpHoldersItems0LockedDetailItems0 struct {

	// "amount" describes the number of token locked
	Amount string `json:"amount,omitempty"`

	// "end_time" describes when the token will be unlocked
	EndTime string `json:"end_time,omitempty"`

	// "opt_time" describes when the token was locked
	OptTime string `json:"opt_time,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonLpHoldersItems0LockedDetailItems0 response wrapper token security result anon lp holders items0 locked detail items0

swagger:model ResponseWrapperTokenSecurityResultAnonLpHoldersItems0LockedDetailItems0

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0LockedDetailItems0) MarshalBinary added in v1.2.0

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0LockedDetailItems0) UnmarshalBinary added in v1.2.0

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0LockedDetailItems0) Validate added in v1.2.0

Validate validates this response wrapper token security result anon lp holders items0 locked detail items0

type ResponseWrapperTokenSecurityResultAnonLpHoldersItems0NFTListItems0 added in v1.2.2

type ResponseWrapperTokenSecurityResultAnonLpHoldersItems0NFTListItems0 struct {

	// "NFT_id" is the NFTID corresponding to that NFT.
	NFTID string `json:"NFT_id,omitempty"`

	// "NFT_percentage" represents the proportion of that NFT in the total liquidity.
	// When the LP holder is a lockup address, this information will also appear in the "locked_detail" section.
	NFTPercentage string `json:"NFT_percentage,omitempty"`

	// "amount" is the liquidity quantity corresponding to the NFT.
	Amount string `json:"amount,omitempty"`

	// "in_effect" indicates whether the liquidity corresponding to that NFT is effective at the current price.
	InEffect string `json:"in_effect,omitempty"`

	// "value" is the total USD value corresponding to the NFT.
	Value string `json:"value,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonLpHoldersItems0NFTListItems0 response wrapper token security result anon lp holders items0 n f t list items0

swagger:model ResponseWrapperTokenSecurityResultAnonLpHoldersItems0NFTListItems0

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0NFTListItems0) MarshalBinary added in v1.2.2

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0NFTListItems0) UnmarshalBinary added in v1.2.2

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0NFTListItems0) Validate added in v1.2.2

Validate validates this response wrapper token security result anon lp holders items0 n f t list items0

type ResponseWrapperTransactionSecurityResponse added in v1.2.7

type ResponseWrapperTransactionSecurityResponse struct {

	// Code 1:Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *TransactionSecurityResponse `json:"result,omitempty"`
}

ResponseWrapperTransactionSecurityResponse ResponseWrapperTransactionSecurityResponse

swagger:model ResponseWrapperTransactionSecurityResponse

func (*ResponseWrapperTransactionSecurityResponse) MarshalBinary added in v1.2.7

func (m *ResponseWrapperTransactionSecurityResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperTransactionSecurityResponse) UnmarshalBinary added in v1.2.7

func (m *ResponseWrapperTransactionSecurityResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperTransactionSecurityResponse) Validate added in v1.2.7

Validate validates this response wrapper transaction security response

type ResponseWrapperV4LpLockerLockInfoResp added in v1.2.7

type ResponseWrapperV4LpLockerLockInfoResp struct {

	// Code 1:Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *V4LpLockerLockInfoResp `json:"result,omitempty"`
}

ResponseWrapperV4LpLockerLockInfoResp ResponseWrapperV4LpLockerLockInfoResp

swagger:model ResponseWrapperV4LpLockerLockInfoResp

func (*ResponseWrapperV4LpLockerLockInfoResp) MarshalBinary added in v1.2.7

func (m *ResponseWrapperV4LpLockerLockInfoResp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperV4LpLockerLockInfoResp) UnmarshalBinary added in v1.2.7

func (m *ResponseWrapperV4LpLockerLockInfoResp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperV4LpLockerLockInfoResp) Validate added in v1.2.7

Validate validates this response wrapper v4 lp locker lock info resp

type ResponseWrapperobject

type ResponseWrapperobject struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result interface{} `json:"result,omitempty"`
}

ResponseWrapperobject ResponseWrapperobject

swagger:model ResponseWrapperobject

func (*ResponseWrapperobject) MarshalBinary

func (m *ResponseWrapperobject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperobject) UnmarshalBinary

func (m *ResponseWrapperobject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperobject) Validate

func (m *ResponseWrapperobject) Validate(formats strfmt.Registry) error

Validate validates this response wrapperobject

type ResponseWrapperstring added in v1.2.7

type ResponseWrapperstring struct {

	// Code 1:Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result string `json:"result,omitempty"`
}

ResponseWrapperstring ResponseWrapperstring

swagger:model ResponseWrapperstring

func (*ResponseWrapperstring) MarshalBinary added in v1.2.7

func (m *ResponseWrapperstring) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperstring) UnmarshalBinary added in v1.2.7

func (m *ResponseWrapperstring) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperstring) Validate added in v1.2.7

func (m *ResponseWrapperstring) Validate(formats strfmt.Registry) error

Validate validates this response wrapperstring

type SolanaAllowanceUpgrade added in v1.2.6

type SolanaAllowanceUpgrade struct {

	// decimals
	Decimals int32 `json:"decimals,omitempty"`

	// mint
	Mint string `json:"mint,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// new allowances
	NewAllowances []*NewAllowance `json:"new_allowances"`

	// symbol
	Symbol string `json:"symbol,omitempty"`
}

SolanaAllowanceUpgrade SolanaAllowanceUpgrade

swagger:model SolanaAllowanceUpgrade

func (*SolanaAllowanceUpgrade) MarshalBinary added in v1.2.6

func (m *SolanaAllowanceUpgrade) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolanaAllowanceUpgrade) UnmarshalBinary added in v1.2.6

func (m *SolanaAllowanceUpgrade) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolanaAllowanceUpgrade) Validate added in v1.2.6

func (m *SolanaAllowanceUpgrade) Validate(formats strfmt.Registry) error

Validate validates this solana allowance upgrade

type SolanaOwnershipChange added in v1.2.6

type SolanaOwnershipChange struct {

	// decimals
	Decimals int32 `json:"decimals,omitempty"`

	// mint
	Mint string `json:"mint,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// owner changed
	OwnerChanged string `json:"owner_changed,omitempty"`

	// post owner
	PostOwner string `json:"post_owner,omitempty"`

	// pre owner
	PreOwner string `json:"pre_owner,omitempty"`

	// risky post owner
	RiskyPostOwner int32 `json:"risky_post_owner,omitempty"`

	// symbol
	Symbol string `json:"symbol,omitempty"`
}

SolanaOwnershipChange SolanaOwnershipChange

swagger:model SolanaOwnershipChange

func (*SolanaOwnershipChange) MarshalBinary added in v1.2.6

func (m *SolanaOwnershipChange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolanaOwnershipChange) UnmarshalBinary added in v1.2.6

func (m *SolanaOwnershipChange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolanaOwnershipChange) Validate added in v1.2.6

func (m *SolanaOwnershipChange) Validate(formats strfmt.Registry) error

Validate validates this solana ownership change

type SolanaPrerunTxRequest added in v1.2.6

type SolanaPrerunTxRequest struct {

	// encoded transaction
	EncodedTransaction string `json:"encoded_transaction,omitempty"`
}

SolanaPrerunTxRequest SolanaPrerunTxRequest

swagger:model SolanaPrerunTxRequest

func (*SolanaPrerunTxRequest) MarshalBinary added in v1.2.6

func (m *SolanaPrerunTxRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolanaPrerunTxRequest) UnmarshalBinary added in v1.2.6

func (m *SolanaPrerunTxRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolanaPrerunTxRequest) Validate added in v1.2.6

func (m *SolanaPrerunTxRequest) Validate(formats strfmt.Registry) error

Validate validates this solana prerun tx request

type SolanaPrerunTxResponse added in v1.2.6

type SolanaPrerunTxResponse struct {

	// allowance upgrades
	AllowanceUpgrades []*SolanaAllowanceUpgrade `json:"allowance_upgrades"`

	// asset changes
	AssetChanges *SolanaTxAssetChanges `json:"asset_changes,omitempty"`

	// error
	Error string `json:"error,omitempty"`

	// input
	Input string `json:"input,omitempty"`

	// logs
	Logs []string `json:"logs"`

	// ownership changes
	OwnershipChanges []*SolanaOwnershipChange `json:"ownership_changes"`

	// risk detail
	RiskDetail []string `json:"risk_detail"`

	// risk type
	RiskType []int32 `json:"risk_type"`

	// risky txn
	RiskyTxn string `json:"risky_txn,omitempty"`

	// sender
	Sender string `json:"sender,omitempty"`

	// slot height
	SlotHeight int64 `json:"slot_height,omitempty"`

	// transaction fee
	TransactionFee string `json:"transaction_fee,omitempty"`
}

SolanaPrerunTxResponse SolanaPrerunTxResponse

swagger:model SolanaPrerunTxResponse

func (*SolanaPrerunTxResponse) MarshalBinary added in v1.2.6

func (m *SolanaPrerunTxResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolanaPrerunTxResponse) UnmarshalBinary added in v1.2.6

func (m *SolanaPrerunTxResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolanaPrerunTxResponse) Validate added in v1.2.6

func (m *SolanaPrerunTxResponse) Validate(formats strfmt.Registry) error

Validate validates this solana prerun tx response

type SolanaTxAssetChange added in v1.2.6

type SolanaTxAssetChange struct {

	// change detail
	ChangeDetail []*SolanaTxChangeDetail `json:"change_detail"`

	// decimals
	Decimals int32 `json:"decimals,omitempty"`

	// mint
	Mint string `json:"mint,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// symbol
	Symbol string `json:"symbol,omitempty"`
}

SolanaTxAssetChange SolanaTxAssetChange

swagger:model SolanaTxAssetChange

func (*SolanaTxAssetChange) MarshalBinary added in v1.2.6

func (m *SolanaTxAssetChange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolanaTxAssetChange) UnmarshalBinary added in v1.2.6

func (m *SolanaTxAssetChange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolanaTxAssetChange) Validate added in v1.2.6

func (m *SolanaTxAssetChange) Validate(formats strfmt.Registry) error

Validate validates this solana tx asset change

type SolanaTxAssetChanges added in v1.2.6

type SolanaTxAssetChanges struct {

	// nft changes
	NftChanges []*SolanaTxAssetChange `json:"nft_changes"`

	// sol changes
	SolChanges []*SolanaTxSolChange `json:"sol_changes"`

	// token changes
	TokenChanges []*SolanaTxAssetChange `json:"token_changes"`
}

SolanaTxAssetChanges SolanaTxAssetChanges

swagger:model SolanaTxAssetChanges

func (*SolanaTxAssetChanges) MarshalBinary added in v1.2.6

func (m *SolanaTxAssetChanges) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolanaTxAssetChanges) UnmarshalBinary added in v1.2.6

func (m *SolanaTxAssetChanges) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolanaTxAssetChanges) Validate added in v1.2.6

func (m *SolanaTxAssetChanges) Validate(formats strfmt.Registry) error

Validate validates this solana tx asset changes

type SolanaTxChangeDetail added in v1.2.6

type SolanaTxChangeDetail struct {

	// address
	Address string `json:"address,omitempty"`

	// amount changes
	AmountChanges string `json:"amount_changes,omitempty"`

	// from address
	FromAddress int32 `json:"from_address,omitempty"`

	// owner
	Owner string `json:"owner,omitempty"`

	// post amount
	PostAmount string `json:"post_amount,omitempty"`

	// pre amount
	PreAmount string `json:"pre_amount,omitempty"`

	// risky address
	RiskyAddress int32 `json:"risky_address,omitempty"`
}

SolanaTxChangeDetail SolanaTxChangeDetail

swagger:model SolanaTxChangeDetail

func (*SolanaTxChangeDetail) MarshalBinary added in v1.2.6

func (m *SolanaTxChangeDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolanaTxChangeDetail) UnmarshalBinary added in v1.2.6

func (m *SolanaTxChangeDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolanaTxChangeDetail) Validate added in v1.2.6

func (m *SolanaTxChangeDetail) Validate(formats strfmt.Registry) error

Validate validates this solana tx change detail

type SolanaTxSolChange added in v1.2.6

type SolanaTxSolChange struct {

	// address
	Address string `json:"address,omitempty"`

	// from address
	FromAddress int32 `json:"from_address,omitempty"`

	// lamport changes
	LamportChanges string `json:"lamport_changes,omitempty"`

	// post lamports
	PostLamports string `json:"post_lamports,omitempty"`

	// pre lamports
	PreLamports string `json:"pre_lamports,omitempty"`

	// risky address
	RiskyAddress int32 `json:"risky_address,omitempty"`
}

SolanaTxSolChange SolanaTxSolChange

swagger:model SolanaTxSolChange

func (*SolanaTxSolChange) MarshalBinary added in v1.2.6

func (m *SolanaTxSolChange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolanaTxSolChange) UnmarshalBinary added in v1.2.6

func (m *SolanaTxSolChange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolanaTxSolChange) Validate added in v1.2.6

func (m *SolanaTxSolChange) Validate(formats strfmt.Registry) error

Validate validates this solana tx sol change

type TaNftLockerLockInfo added in v1.2.7

type TaNftLockerLockInfo struct {

	// 解锁时间戳
	EndTime int64 `json:"endTime,omitempty"`

	// liquidity
	Liquidity float64 `json:"liquidity,omitempty"`

	// lock id
	LockID string `json:"lockId,omitempty"`

	// 锁仓比例
	LockedPercent string `json:"lockedPercent,omitempty"`

	// nft id
	NftID string `json:"nftId,omitempty"`

	// nft Position Manager
	NftPositionManager string `json:"nftPositionManager,omitempty"`

	// user address
	Owner string `json:"owner,omitempty"`

	// pool address
	Pool string `json:"pool,omitempty"`

	// 开始时间戳
	StartTime int64 `json:"startTime,omitempty"`
}

TaNftLockerLockInfo TaNftLockerLockInfo

Token NFT Lock

swagger:model TaNftLockerLockInfo

func (*TaNftLockerLockInfo) MarshalBinary added in v1.2.7

func (m *TaNftLockerLockInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaNftLockerLockInfo) UnmarshalBinary added in v1.2.7

func (m *TaNftLockerLockInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaNftLockerLockInfo) Validate added in v1.2.7

func (m *TaNftLockerLockInfo) Validate(formats strfmt.Registry) error

Validate validates this ta nft locker lock info

type TaNftLockerLockInfoobject added in v1.2.6

type TaNftLockerLockInfoobject struct {

	// 解锁时间戳
	EndTime int64 `json:"endTime,omitempty"`

	// lock id
	LockID string `json:"lockId,omitempty"`

	// nft id
	NftID string `json:"nftId,omitempty"`

	// nft Position Manager
	NftPositionManager string `json:"nftPositionManager,omitempty"`

	// 用户地址 address
	Owner string `json:"owner,omitempty"`

	// pool address
	Pool string `json:"pool,omitempty"`

	// 开始时间戳
	StartTime int32 `json:"startTime,omitempty"`
}

TaNftLockerLockInfoobject TaNftLockerLockInfoobject

Token NFT Lock 信息表

swagger:model TaNftLockerLockInfoobject

func (*TaNftLockerLockInfoobject) MarshalBinary added in v1.2.6

func (m *TaNftLockerLockInfoobject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaNftLockerLockInfoobject) UnmarshalBinary added in v1.2.6

func (m *TaNftLockerLockInfoobject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaNftLockerLockInfoobject) Validate added in v1.2.6

func (m *TaNftLockerLockInfoobject) Validate(formats strfmt.Registry) error

Validate validates this ta nft locker lock infoobject

type TaTokenLockerLockInfo added in v1.2.7

type TaTokenLockerLockInfo struct {

	// amount
	Amount string `json:"amount,omitempty"`

	// endTime
	EndTime int64 `json:"endTime,omitempty"`

	// is lp token -1:unknow,0:no,1:yes
	IsLpToken int32 `json:"isLpToken,omitempty"`

	// lock id
	LockID string `json:"lockId,omitempty"`

	// lockedPercent
	LockedPercent string `json:"lockedPercent,omitempty"`

	// user address
	Owner string `json:"owner,omitempty"`

	// startTime
	StartTime int64 `json:"startTime,omitempty"`

	// token contract address
	Token string `json:"token,omitempty"`

	// unlockedAmount
	UnlockedAmount string `json:"unlockedAmount,omitempty"`
}

TaTokenLockerLockInfo TaTokenLockerLockInfo

Token Locker Lock

swagger:model TaTokenLockerLockInfo

func (*TaTokenLockerLockInfo) MarshalBinary added in v1.2.7

func (m *TaTokenLockerLockInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaTokenLockerLockInfo) UnmarshalBinary added in v1.2.7

func (m *TaTokenLockerLockInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaTokenLockerLockInfo) Validate added in v1.2.7

func (m *TaTokenLockerLockInfo) Validate(formats strfmt.Registry) error

Validate validates this ta token locker lock info

type TaTokenLockerLockInfoobject added in v1.2.6

type TaTokenLockerLockInfoobject struct {

	// 累计总锁仓数量
	Amount string `json:"amount,omitempty"`

	// 解锁时间戳
	EndTime int64 `json:"endTime,omitempty"`

	// 是否为lp token -1:未知、0:否、1:是
	IsLpToken int32 `json:"isLpToken,omitempty"`

	// lock id
	LockID string `json:"lockId,omitempty"`

	// 用户地址 address
	Owner string `json:"owner,omitempty"`

	// 开始时间戳
	StartTime int32 `json:"startTime,omitempty"`

	// token contract address
	Token string `json:"token,omitempty"`

	// 已解锁数量
	UnlockedAmount string `json:"unlockedAmount,omitempty"`
}

TaTokenLockerLockInfoobject TaTokenLockerLockInfoobject

Token Locker Lock 信息表

swagger:model TaTokenLockerLockInfoobject

func (*TaTokenLockerLockInfoobject) MarshalBinary added in v1.2.6

func (m *TaTokenLockerLockInfoobject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaTokenLockerLockInfoobject) UnmarshalBinary added in v1.2.6

func (m *TaTokenLockerLockInfoobject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaTokenLockerLockInfoobject) Validate added in v1.2.6

func (m *TaTokenLockerLockInfoobject) Validate(formats strfmt.Registry) error

Validate validates this ta token locker lock infoobject

type TaTokenSecurityResponse

type TaTokenSecurityResponse struct {

	// data
	Data map[string]map[string]interface{} `json:"data,omitempty"`
}

TaTokenSecurityResponse TaTokenSecurityResponse

swagger:model TaTokenSecurityResponse

func (*TaTokenSecurityResponse) MarshalBinary

func (m *TaTokenSecurityResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaTokenSecurityResponse) UnmarshalBinary

func (m *TaTokenSecurityResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaTokenSecurityResponse) Validate

func (m *TaTokenSecurityResponse) Validate(formats strfmt.Registry) error

Validate validates this ta token security response

type TokenLockerResponse added in v1.2.6

type TokenLockerResponse struct {

	// list
	List []*TaTokenLockerLockInfoobject `json:"list"`

	// total count
	TotalCount int32 `json:"totalCount,omitempty"`
}

TokenLockerResponse TokenLockerResponse

swagger:model TokenLockerResponse

func (*TokenLockerResponse) MarshalBinary added in v1.2.6

func (m *TokenLockerResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TokenLockerResponse) UnmarshalBinary added in v1.2.6

func (m *TokenLockerResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TokenLockerResponse) Validate added in v1.2.6

func (m *TokenLockerResponse) Validate(formats strfmt.Registry) error

Validate validates this token locker response

type TransactionSecurityRequest added in v1.2.7

type TransactionSecurityRequest struct {

	// access list
	AccessList []*AddressInfo `json:"access_list"`

	// chain id
	ChainID string `json:"chain_id,omitempty"`

	// data
	Data string `json:"data,omitempty"`

	// from
	From string `json:"from,omitempty"`

	// gas limit
	GasLimit string `json:"gas_limit,omitempty"`

	// gas price
	GasPrice string `json:"gas_price,omitempty"`

	// max fee per gas
	MaxFeePerGas string `json:"max_fee_per_gas,omitempty"`

	// max priority fee per gas
	MaxPriorityFeePerGas string `json:"max_priority_fee_per_gas,omitempty"`

	// nonce
	Nonce string `json:"nonce,omitempty"`

	// to
	To string `json:"to,omitempty"`

	// url
	URL string `json:"url,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

TransactionSecurityRequest TransactionSecurityRequest

swagger:model TransactionSecurityRequest

func (*TransactionSecurityRequest) MarshalBinary added in v1.2.7

func (m *TransactionSecurityRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransactionSecurityRequest) UnmarshalBinary added in v1.2.7

func (m *TransactionSecurityRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TransactionSecurityRequest) Validate added in v1.2.7

func (m *TransactionSecurityRequest) Validate(formats strfmt.Registry) error

Validate validates this transaction security request

type TransactionSecurityResponse added in v1.2.7

type TransactionSecurityResponse struct {

	// erc20 allowance changes
	Erc20AllowanceChanges []*AllowanceChange `json:"erc20_allowance_changes"`

	// erc20 balance changes
	Erc20BalanceChanges []*ERC20BalanceChange `json:"erc20_balance_changes"`

	// erc721 balance changes
	Erc721BalanceChanges []*ERC721BalanceChange `json:"erc721_balance_changes"`

	// flagged
	Flagged []*Flag `json:"flagged"`

	// is revert
	IsRevert bool `json:"is_revert,omitempty"`

	// is simulated
	IsSimulated bool `json:"is_simulated,omitempty"`

	// logs
	Logs []*LogEntry `json:"logs"`

	// native balance changes
	NativeBalanceChanges []*NativeBalanceChange `json:"native_balance_changes"`

	// revert reason
	RevertReason string `json:"revert_reason,omitempty"`

	// simulate failed reason
	SimulateFailedReason string `json:"simulate_failed_reason,omitempty"`

	// suspicious addresses
	SuspiciousAddresses []*AddressInfo `json:"suspicious_addresses"`

	// suspicious url
	SuspiciousURL bool `json:"suspicious_url,omitempty"`

	// used gas
	UsedGas int64 `json:"used_gas,omitempty"`
}

TransactionSecurityResponse TransactionSecurityResponse

swagger:model TransactionSecurityResponse

func (*TransactionSecurityResponse) MarshalBinary added in v1.2.7

func (m *TransactionSecurityResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransactionSecurityResponse) UnmarshalBinary added in v1.2.7

func (m *TransactionSecurityResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TransactionSecurityResponse) Validate added in v1.2.7

func (m *TransactionSecurityResponse) Validate(formats strfmt.Registry) error

Validate validates this transaction security response

type V4LpLockerLockInfoResp added in v1.2.7

type V4LpLockerLockInfoResp struct {

	// 解锁时间戳
	EndTime int64 `json:"endTime,omitempty"`

	// lock id
	LockID string `json:"lockId,omitempty"`

	// nft id
	NftID string `json:"nftId,omitempty"`

	// nft Position Manager
	NftPositionManager string `json:"nftPositionManager,omitempty"`

	// user address
	Owner string `json:"owner,omitempty"`

	// pool id
	PoolID string `json:"poolId,omitempty"`

	// 开始时间戳
	StartTime int64 `json:"startTime,omitempty"`
}

V4LpLockerLockInfoResp V4LpLockerLockInfoResp

swagger:model V4LpLockerLockInfoResp

func (*V4LpLockerLockInfoResp) MarshalBinary added in v1.2.7

func (m *V4LpLockerLockInfoResp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4LpLockerLockInfoResp) UnmarshalBinary added in v1.2.7

func (m *V4LpLockerLockInfoResp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4LpLockerLockInfoResp) Validate added in v1.2.7

func (m *V4LpLockerLockInfoResp) Validate(formats strfmt.Registry) error

Validate validates this v4 lp locker lock info resp

type V4NftLockerLockInfos added in v1.2.7

type V4NftLockerLockInfos struct {

	// chain id
	ChainID string `json:"chainId,omitempty"`

	// lock info list
	LockList []*TaNftLockerLockInfo `json:"lockList"`

	// nft Position Manager
	NftPositionManager string `json:"nftPositionManager,omitempty"`

	// pool id
	PoolID string `json:"poolId,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

V4NftLockerLockInfos V4NftLockerLockInfos

V4 Token NFT Lock

swagger:model V4NftLockerLockInfos

func (*V4NftLockerLockInfos) MarshalBinary added in v1.2.7

func (m *V4NftLockerLockInfos) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4NftLockerLockInfos) UnmarshalBinary added in v1.2.7

func (m *V4NftLockerLockInfos) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4NftLockerLockInfos) Validate added in v1.2.7

func (m *V4NftLockerLockInfos) Validate(formats strfmt.Registry) error

Validate validates this v4 nft locker lock infos

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL