Function preTransaction

  • Logs the starting value of SOL in the payment account. Should be the first instruction in the transaction.

    Parameters

    • program: AtlasFeePayerIDLProgram

      atlas fee payer program

    • feePayer: PublicKey

      the fee payer

    • paymentAccount: {
          remoteSign: PublicKey;
      } | {
          localSign: AsyncSigner<unknown>;
      }

      the payment account for the fee payer. This does sign but is not required to sign.

    • signerCount: number

      the signer count

    Returns InstructionReturn

    InstructionReturn - the instruction

Generated using TypeDoc