Documentation ¶
Index ¶
- Constants
- func CreateMasterEdition(param CreateMasterEditionParam) types.Instruction
- func CreateMasterEditionV3(param CreateMasterEditionParam) types.Instruction
- func CreateMetadataAccount(param CreateMetadataAccountParam) types.Instruction
- func CreateMetadataAccountV2(param CreateMetadataAccountV2Param) types.Instruction
- func CreateMetadataAccountV3(param CreateMetadataAccountV3Param) types.Instruction
- func GetEditionMark(mint common.PublicKey, edition uint64) (common.PublicKey, error)
- func GetMasterEdition(mint common.PublicKey) (common.PublicKey, error)
- func GetTokenMetaPubkey(mint common.PublicKey) (common.PublicKey, error)
- func MintNewEditionFromMasterEditionViaToken(param MintNewEditionFromMasterEditionViaTokeParam) types.Instruction
- func SignMetadata(param SignMetadataParam) types.Instruction
- func UpdateMetadataAccount(param UpdateMetadataAccountParam) types.Instructiondeprecated
- func UpdateMetadataAccountV2(param UpdateMetadataAccountV2Param) types.Instruction
- type Collection
- type CollectionDetails
- type CollectionDetailsV1
- type CreateMasterEditionParam
- type CreateMasterEditionV3Param
- type CreateMetadataAccountParam
- type CreateMetadataAccountV2Param
- type CreateMetadataAccountV3Param
- type Creator
- type Data
- type DataV2
- type Instruction
- type Key
- type MasterEditionV2
- type Metadata
- type MintNewEditionFromMasterEditionViaTokeParam
- type ProgrammableConfig
- type ProgrammableConfigV1
- type SignMetadataParam
- type TokenStandard
- type UpdateMetadataAccountParamdeprecated
- type UpdateMetadataAccountV2Param
- type UseMethod
- type Uses
Constants ¶
View Source
const EDITION_MARKER_BIT_SIZE uint64 = 248
Variables ¶
This section is empty.
Functions ¶
func CreateMasterEdition ¶
func CreateMasterEdition(param CreateMasterEditionParam) types.Instruction
func CreateMasterEditionV3 ¶
func CreateMasterEditionV3(param CreateMasterEditionParam) types.Instruction
func CreateMetadataAccount ¶
func CreateMetadataAccount(param CreateMetadataAccountParam) types.Instruction
func CreateMetadataAccountV2 ¶
func CreateMetadataAccountV2(param CreateMetadataAccountV2Param) types.Instruction
func CreateMetadataAccountV3 ¶
func CreateMetadataAccountV3(param CreateMetadataAccountV3Param) types.Instruction
func GetEditionMark ¶
func MintNewEditionFromMasterEditionViaToken ¶
func MintNewEditionFromMasterEditionViaToken(param MintNewEditionFromMasterEditionViaTokeParam) types.Instruction
func SignMetadata ¶
func SignMetadata(param SignMetadataParam) types.Instruction
func UpdateMetadataAccount
deprecated
func UpdateMetadataAccount(param UpdateMetadataAccountParam) types.Instruction
Deprecated: please use UpdateMetadataAccountV2
func UpdateMetadataAccountV2 ¶ added in v1.27.0
func UpdateMetadataAccountV2(param UpdateMetadataAccountV2Param) types.Instruction
Types ¶
type Collection ¶
type CollectionDetails ¶
type CollectionDetails struct { Enum borsh.Enum `borsh_enum:"true"` V1 CollectionDetailsV1 }
type CollectionDetailsV1 ¶
type CollectionDetailsV1 struct {
Size uint64
}
type Instruction ¶
type Instruction uint8
const ( InstructionCreateMetadataAccount Instruction = iota InstructionUpdateMetadataAccount InstructionDeprecatedCreateMasterEdition InstructionDeprecatedMintNewEditionFromMasterEditionViaPrintingToken InstructionUpdatePrimarySaleHappenedViaToken InstructionDeprecatedSetReservationList InstructionDeprecatedCreateReservationList InstructionSignMetadata InstructionDeprecatedMintPrintingTokensViaToken InstructionDeprecatedMintPrintingTokens InstructionCreateMasterEdition InstructionMintNewEditionFromMasterEditionViaToken InstructionConvertMasterEditionV1ToV2 InstructionMintNewEditionFromMasterEditionViaVaultProxy InstructionPuffMetadata InstructionUpdateMetadataAccountV2 InstructionCreateMetadataAccountV2 InstructionCreateMasterEditionV3 InstructionVerifyCollection InstructionUtilize InstructionApproveUseAuthority InstructionRevokeUseAuthority InstructionUnverifyCollection InstructionApproveCollectionAuthority InstructionRevokeCollectionAuthority InstructionSetAndVerifyCollection InstructionFreezeDelegatedAccount InstructionThawDelegatedAccount InstructionRemoveCreatorVerification InstructionBurnNft InstructionVerifySizedCollectionItem InstructionUnverifySizedCollectionItem InstructionSetAndVerifySizedCollectionItem InstructionCreateMetadataAccountV3 InstructionSetCollectionSize InstructionSetTokenStandard InstructionBubblegumSetCollectionSize InstructionBurnEditionNft InstructionCreateEscrowAccount InstructionCloseEscrowAccount InstructionTransferOutOfEscrow InstructionBurn InstructionCreate InstructionMint InstructionDelegate InstructionRevoke InstructionLock InstructionUnlock InstructionMigrate InstructionTransfer InstructionUpdate InstructionUse InstructionVerify InstructionUnverify InstructionCollect )
type MasterEditionV2 ¶
type Metadata ¶
type Metadata struct { Key Key UpdateAuthority common.PublicKey Mint common.PublicKey Data Data PrimarySaleHappened bool IsMutable bool EditionNonce *uint8 TokenStandard *TokenStandard Collection *Collection Uses *Uses CollectionDetails *CollectionDetails ProgrammableConfig *ProgrammableConfig }
func MetadataDeserialize ¶
type MintNewEditionFromMasterEditionViaTokeParam ¶
type MintNewEditionFromMasterEditionViaTokeParam struct { NewMetaData common.PublicKey NewEdition common.PublicKey MasterEdition common.PublicKey NewMint common.PublicKey EditionMark common.PublicKey NewMintAuthority common.PublicKey Payer common.PublicKey TokenAccountOwner common.PublicKey TokenAccount common.PublicKey NewMetadataUpdateAuthority common.PublicKey MasterMetadata common.PublicKey Edition uint64 }
type ProgrammableConfig ¶ added in v1.26.0
type ProgrammableConfig struct { Enum borsh.Enum `borsh_enum:"true"` V1 ProgrammableConfigV1 }
type ProgrammableConfigV1 ¶ added in v1.26.0
type SignMetadataParam ¶
type TokenStandard ¶
type TokenStandard borsh.Enum
const ( NonFungible TokenStandard = iota FungibleAsset Fungible NonFungibleEdition ProgrammableNonFungible )
type UpdateMetadataAccountV2Param ¶ added in v1.27.0
Click to show internal directories.
Click to hide internal directories.