Class ListingClient

Hierarchy

Constructors

  • Parameters

    • provider: AnchorProvider
    • catalogProgram: undefined | Program<Idl>
    • baseUrl: undefined | string
    • authUrl: undefined | string
    • apiKey: undefined | string

    Returns ListingClient

Properties

accessToken: string
apiKey: string
authUrl: string
baseUrl: string
catalogProgram: Program<Idl>
provider: AnchorProvider

Methods

  • Parameters

    • listingSpec: ListingSpec
    • owner: Keypair
    • feePayer: Keypair
    • catalog: string

    Returns Promise<ListingInstructions>

  • Returns Promise<string>

  • Parameters

    • uriData: number[]

    Returns Promise<string>

  • Parameters

    • url: string
    • expandMode: number = 0

    Returns Promise<PublicKey>

  • Parameters

    • programRoot: CatalogRootData
    • listing: string
    • owner: Keypair
    • feeRecipient: Keypair

    Returns Promise<string>

  • Parameters

    Returns Promise<string[]>

  • Parameters

    • owner: Keypair
    • feePayer: Keypair
    • catalog: string = 'commerce'

    Returns Promise<ListingSyncResult>

  • Parameters

    • attrs: any

    Returns number

Generated using TypeDoc