Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • getAllListings(connection: Connection): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
  • Parameters

    • connection: Connection

    Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

  • getAllMarketplaces(connection: Connection): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
  • Parameters

    • connection: Connection

    Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

  • getAllOfType<T>(connection: Connection, key: string): Promise<AccountData<T>[]>
  • getAllTransferAuthorities(connection: Connection): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
  • Parameters

    • connection: Connection

    Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

  • getListing(connection: Connection, mintId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
  • Parameters

    • connection: Connection
    • mintId: PublicKey

    Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

  • getListingsForIssuer(connection: Connection, issuerId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
  • Parameters

    • connection: Connection
    • issuerId: PublicKey

    Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

  • getListingsForMarketplace(connection: Connection, marketplaceId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
  • Parameters

    • connection: Connection
    • marketplaceId: PublicKey

    Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

  • getMarketplace(connection: Connection, marketplaceId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
  • Parameters

    • connection: Connection
    • marketplaceId: PublicKey

    Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

  • getMarketplaceByName(connection: Connection, name: string): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
  • Parameters

    • connection: Connection
    • name: string

    Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

  • getTransfer(connection: Connection, mintId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
  • Parameters

    • connection: Connection
    • mintId: PublicKey

    Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

  • getTransferAuthority(connection: Connection, transferAuthorityId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
  • Parameters

    • connection: Connection
    • transferAuthorityId: PublicKey

    Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

  • getTransferAuthorityByName(connection: Connection, name: string): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
  • Parameters

    • connection: Connection
    • name: string

    Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

  • getTransfersFromUser(connection: Connection, from: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
  • Parameters

    • connection: Connection
    • from: PublicKey

    Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

  • getTransfersToUser(connection: Connection, to: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
  • Parameters

    • connection: Connection
    • to: PublicKey

    Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

Generated using TypeDoc