Versions in this module Expand all Collapse all v1 v1.0.1 Jun 26, 2024 Changes in this version + const EDITION_MARKER_BIT_SIZE + 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 CreateVerifyCollection(param VerifyCollectionParams) 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.Instruction + func UpdateMetadataAccountV2(param UpdateMetadataAccountV2Param) types.Instruction + type Collection struct + Key common.PublicKey + Verified bool + type CollectionDetails struct + Enum borsh.Enum + V1 CollectionDetailsV1 + type CollectionDetailsV1 struct + Size uint64 + type CreateMasterEditionParam struct + Edition common.PublicKey + MaxSupply *uint64 + Metadata common.PublicKey + Mint common.PublicKey + MintAuthority common.PublicKey + Payer common.PublicKey + UpdateAuthority common.PublicKey + type CreateMasterEditionV3Param struct + Edition common.PublicKey + MaxSupply *uint64 + Metadata common.PublicKey + Mint common.PublicKey + MintAuthority common.PublicKey + Payer common.PublicKey + UpdateAuthority common.PublicKey + type CreateMetadataAccountParam struct + IsMutable bool + Metadata common.PublicKey + Mint common.PublicKey + MintAuthority common.PublicKey + MintData Data + Payer common.PublicKey + UpdateAuthority common.PublicKey + UpdateAuthorityIsSigner bool + type CreateMetadataAccountV2Param struct + Data DataV2 + IsMutable bool + Metadata common.PublicKey + Mint common.PublicKey + MintAuthority common.PublicKey + Payer common.PublicKey + UpdateAuthority common.PublicKey + UpdateAuthorityIsSigner bool + type CreateMetadataAccountV3Param struct + CollectionDetails *CollectionDetails + Data DataV2 + IsMutable bool + Metadata common.PublicKey + Mint common.PublicKey + MintAuthority common.PublicKey + Payer common.PublicKey + UpdateAuthority common.PublicKey + UpdateAuthorityIsSigner bool + type Creator struct + Address common.PublicKey + Share uint8 + Verified bool + type Data struct + Creators *[]Creator + Name string + SellerFeeBasisPoints uint16 + Symbol string + Uri string + type DataV2 struct + Collection *Collection + Creators *[]Creator + Name string + SellerFeeBasisPoints uint16 + Symbol string + Uri string + Uses *Uses + type Instruction uint8 + const InstructionApproveCollectionAuthority + const InstructionApproveUseAuthority + const InstructionBubblegumSetCollectionSize + const InstructionBurn + const InstructionBurnEditionNft + const InstructionBurnNft + const InstructionCloseEscrowAccount + const InstructionCollect + const InstructionConvertMasterEditionV1ToV2 + const InstructionCreate + const InstructionCreateEscrowAccount + const InstructionCreateMasterEdition + const InstructionCreateMasterEditionV3 + const InstructionCreateMetadataAccount + const InstructionCreateMetadataAccountV2 + const InstructionCreateMetadataAccountV3 + const InstructionDelegate + const InstructionDeprecatedCreateMasterEdition + const InstructionDeprecatedCreateReservationList + const InstructionDeprecatedMintNewEditionFromMasterEditionViaPrintingToken + const InstructionDeprecatedMintPrintingTokens + const InstructionDeprecatedMintPrintingTokensViaToken + const InstructionDeprecatedSetReservationList + const InstructionFreezeDelegatedAccount + const InstructionLock + const InstructionMigrate + const InstructionMint + const InstructionMintNewEditionFromMasterEditionViaToken + const InstructionMintNewEditionFromMasterEditionViaVaultProxy + const InstructionPuffMetadata + const InstructionRemoveCreatorVerification + const InstructionRevoke + const InstructionRevokeCollectionAuthority + const InstructionRevokeUseAuthority + const InstructionSetAndVerifyCollection + const InstructionSetAndVerifySizedCollectionItem + const InstructionSetCollectionSize + const InstructionSetTokenStandard + const InstructionSignMetadata + const InstructionThawDelegatedAccount + const InstructionTransfer + const InstructionTransferOutOfEscrow + const InstructionUnlock + const InstructionUnverify + const InstructionUnverifyCollection + const InstructionUnverifySizedCollectionItem + const InstructionUpdate + const InstructionUpdateMetadataAccount + const InstructionUpdateMetadataAccountV2 + const InstructionUpdatePrimarySaleHappenedViaToken + const InstructionUse + const InstructionUtilize + const InstructionVerify + const InstructionVerifyCollection + const InstructionVerifySizedCollectionItem + type Key borsh.Enum + const KeyCollectionAuthorityRecord + const KeyEditionMarker + const KeyEditionV1 + const KeyMasterEditionV1 + const KeyMasterEditionV2 + const KeyMetadataV1 + const KeyReservationListV1 + const KeyReservationListV2 + const KeyUninitialized + const KeyUseAuthorityRecord + type MasterEditionV2 struct + Key Key + MaxSupply *uint64 + Supply uint64 + type Metadata struct + Collection *Collection + CollectionDetails *CollectionDetails + Data Data + EditionNonce *uint8 + IsMutable bool + Key Key + Mint common.PublicKey + PrimarySaleHappened bool + ProgrammableConfig *ProgrammableConfig + TokenStandard *TokenStandard + UpdateAuthority common.PublicKey + Uses *Uses + func MetadataDeserialize(data []byte) (Metadata, error) + type MintNewEditionFromMasterEditionViaTokeParam struct + Edition uint64 + EditionMark common.PublicKey + MasterEdition common.PublicKey + MasterMetadata common.PublicKey + NewEdition common.PublicKey + NewMetaData common.PublicKey + NewMetadataUpdateAuthority common.PublicKey + NewMint common.PublicKey + NewMintAuthority common.PublicKey + Payer common.PublicKey + TokenAccount common.PublicKey + TokenAccountOwner common.PublicKey + type ProgrammableConfig struct + Enum borsh.Enum + V1 ProgrammableConfigV1 + type ProgrammableConfigV1 struct + RuleSet *common.PublicKey + type SignMetadataParam struct + Creator common.PublicKey + Metadata common.PublicKey + type TokenStandard borsh.Enum + const Fungible + const FungibleAsset + const NonFungible + const NonFungibleEdition + const ProgrammableNonFungible + type UpdateMetadataAccountParam struct + Data *Data + MetadataAccount common.PublicKey + NewUpdateAuthority *common.PublicKey + PrimarySaleHappened *bool + UpdateAuthority common.PublicKey + type UpdateMetadataAccountV2Param struct + Data *DataV2 + IsMutable *bool + MetadataAccount common.PublicKey + NewUpdateAuthority *common.PublicKey + PrimarySaleHappened *bool + UpdateAuthority common.PublicKey + type UseMethod borsh.Enum + const Burn + const Multiple + const Single + type Uses struct + Remaining uint64 + Total uint64 + UseMethod UseMethod + type VerifyCollectionParams struct + Collection common.PublicKey + CollectionAuthorityRecord *common.PublicKey + CollectionMasterEditionAccount common.PublicKey + CollectionMint common.PublicKey + CollectionUpdateAuthority common.PublicKey + Metadata common.PublicKey + Payer common.PublicKey