Function createTransferCheckedInstruction

  • Construct a TransferChecked instruction

    Parameters

    • source: PublicKey

      Source account

    • mint: PublicKey

      Mint account

    • destination: PublicKey

      Destination account

    • owner: PublicKey

      Owner of the source account

    • amount: number | bigint

      Number of tokens to transfer

    • decimals: number

      Number of decimals in transfer amount

    • multiSigners: (PublicKey | Signer)[] = []

      Signing accounts if owner is a multisig

    • programId: PublicKey = TOKEN_PROGRAM_ID

      SPL Token program account

    Returns TransactionInstruction

    Instruction to add to a transaction

Generated using TypeDoc