@lightprotocol/stateless.js - v0.22.1-alpha.1
    Preparing search index...

    Class LightSystemProgram

    Index

    Properties

    programId: PublicKey = ...

    The LightSystemProgram program ID.

    Methods

    • Creates instruction to create compressed account with PDA. Cannot write data.

      Parameters

      • __namedParameters: CreateAccountWithSeedParams

      Returns Promise<TransactionInstruction>

    • Creates a transaction instruction that transfers compressed lamports from one owner to another.

      Parameters

      • __namedParameters: TransferParams

      Returns Promise<TransactionInstruction>

    • Creates a transaction instruction that transfers compressed lamports from one owner to another.

      Parameters

      • __namedParameters: CompressParams

      Returns Promise<TransactionInstruction>

    • Creates a transaction instruction that transfers compressed lamports from one owner to another.

      Parameters

      • __namedParameters: DecompressParams

      Returns Promise<TransactionInstruction>