Type alias TransactionBuilderOptions

TransactionBuilderOptions: {
    programs?: undefined | Program[];
    payer?: undefined | Signer;
}

Type declaration

  • 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 payer?: undefined | 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