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

    Function transfer

    • Transfer compressed lamports from one owner to another

      Parameters

      • rpc: Rpc

        Rpc to use

      • payer: Signer

        Payer of transaction fees

      • lamports: number | BN

        Number of lamports to transfer

      • owner: Signer

        Owner of the compressed lamports

      • toAddress: PublicKey

        Destination address of the recipient

      • OptionalconfirmOptions: ConfirmOptions

        Options for confirming the transaction

      Returns Promise<string>

      Signature of the confirmed transaction