Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type BalanceOfOpts ¶
type BalanceOfOpts struct { AccountAddress string `json:"account_addr"` Chain string `json:"chain"` // chain name Decimals uint32 `json:"decimals"` TokenType tokenmanager.Type `json:"token_type"` TokenAddress string `json:"token_address"` // hex-encoded TokenID string `json:"token_id,omitempty"` // hex-encoded }
type Collection ¶
type Collection struct { Verified bool Address solana.PublicKey }
type MetaplexMetadata ¶
type MetaplexMetadata struct { Key borsh.Enum UpdateAuthority solana.PublicKey Mint solana.PublicKey Data Data PrimarySaleHappened bool IsMutable bool EditionNonce *uint8 TokenStandard *TokenStandard Collection *Collection Uses *Uses }
type NftMetadataOpts ¶
type NftMetadataOpts struct { Chain string `json:"chain"` // chain name TokenType tokenmanager.Type `json:"token_type"` TokenAddress string `json:"token_address"` // hex-encoded TokenID string `json:"token_id,omitempty"` // hex-encoded }
type TokenStandard ¶
type TokenStandard borsh.Enum
const ( NonFungible TokenStandard = iota FungibleAsset Fungible NonFungibleEdition )
Click to show internal directories.
Click to hide internal directories.