@lightprotocol/compressed-token - v0.22.1-alpha.2
    Preparing search index...

    Function createTokenProgramLookupTable

    • Create a lookup table for the token program's default accounts

      Parameters

      • rpc: Rpc

        Rpc connection to use

      • payer: Signer

        Fee payer

      • authority: Signer

        Authority of the lookup table

      • Optionalmints: PublicKey[]

        Optional array of mint public keys to include in the lookup table

      • OptionaladditionalAccounts: PublicKey[]

        Optional array of additional account public keys to include in the lookup table

      Returns Promise<{ txIds: string[]; address: PublicKey }>

      Object with transaction signatures and the address of the created lookup table