Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Protocol = Protocols{ StandardTokenProtocols{ Token20: "token_20", Token721: "token_721", Token1155: "token_1155", }, BTCEcosystemProtocols{ Runes: "runes", BRC20: "brc20", SRC20: "src20", ARC20: "arc20", OrdinalsNFT: "ordinals_nft", }, }
Functions ¶
func IsBTCEcosystemProtocol ¶
IsBTCEcosystemProtocol Determine whether the given protocol type is a special token protocol for the Bitcoin ecosystem
func IsStandardProtocol ¶
IsStandardProtocol Determine whether the given protocol type is a standard token protocol
Types ¶
type BTCEcosystemProtocols ¶
type Protocols ¶
type Protocols struct { StandardTokenProtocols BTCEcosystemProtocols }
type StandardTokenProtocols ¶
StandardTokenProtocols 20 tokens: token_20; 721 tokens: token_721; 1155 tokens: token_1155; Inscription token protocol type Runes: runes BRC-20 tokens: brc20 SRC-20 tokens: src20 ARC-20 tokens: arc20 Ordinals NFT: ordinals_nft
type TokenRequest ¶
type TokenRequest struct { ChainShortName string `json:"chainShortName"` ExplorerName string `json:"explorerName"` ContractAddress string `json:"contractAddress"` ProtocolType string `json:"protocolType"` TokenInscriptionId string `json:"tokenInscriptionId"` Symbol string `json:"symbol"` ProjectId string `json:"projectId"` Page string `json:"page"` Limit string `json:"limit"` }
Click to show internal directories.
Click to hide internal directories.