Type alias OperationScope

OperationScope: {
    signal: undefined | AbortSignal;
    isCanceled: (() => boolean);
    getCancelationError: (() => unknown);
    throwIfCanceled: (() => void);
    programs?: undefined | Program[];
    commitment?: undefined | Commitment;
    confirmOptions?: undefined | ConfirmOptions;
    payer?: Signer;
}

Type declaration

  • signal: undefined | AbortSignal
  • isCanceled: (() => boolean)
      • (): boolean
      • Returns boolean

  • getCancelationError: (() => unknown)
      • (): unknown
      • Returns unknown

  • throwIfCanceled: (() => void)
      • (): void
      • Returns void

  • Optional programs?: undefined | Program[]

    An optional set of programs that override the registered ones.

    You may set this option globally by calling metaplex.programs().register(programs).

    Default Value

    []

  • Optional commitment?: undefined | Commitment

    The level of commitment desired when querying the state of the blockchain.

    Default Value

    Defaults to undefined which will use the commitment level set on the Connection object.

  • Optional confirmOptions?: undefined | ConfirmOptions

    Options for confirming transactions as defined by the Solana web3.js library.

    Default Value

    if thecommitmentoption is set, otherwise{}`.

  • Optional payer?: Signer

    The wallet that should pay for transaction fees and, potentially, rent-exempt fees to create accounts.

    Defaults to the default fee payer of the RPC module which, itself, defaults to the current identity.

    You may set this option globally by calling metaplex.rpc.setDefaultFeePayer(payer).

    Default Value

    metaplex.rpc().getDefaultFeePayer()

Generated using TypeDoc