> ## Documentation Index
> Fetch the complete documentation index at: https://docs.solanatracker.io/llms.txt
> Use this file to discover all available pages before exploring further.

# getLookupTablesByAccount

> Find address lookup tables that contain a given account. Returns match metadata including address index and estimated bytes saved for transaction compression.

<Tip>
  **⚡ Powered by Solana Ridge DB**

  Find address lookup tables that contain a specific account. Useful when building transactions that reference accounts already stored in LUTs — the response includes the address index and estimated bytes saved for transaction compression.

  Optionally filter by LUT authority with the `owner` parameter.
</Tip>

<Note>
  This method costs **1 credit** per call.
</Note>


## OpenAPI

````yaml getlookuptablesbyaccount post /
openapi: 3.1.0
info:
  title: Solana RPC
  version: 1.0.0
  description: Solana RPC HTTP method reference.
servers:
  - url: https://rpc-mainnet.solanatracker.io
    description: Mainnet RPC endpoint
security: []
paths:
  /:
    post:
      summary: getLookupTablesByAccount
      description: >-
        Find address lookup tables that contain a given account. Returns match
        metadata including address index and estimated bytes saved for
        transaction compression.
      operationId: getlookuptablesbyaccount
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
                - params
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  example: '2.0'
                  default: '2.0'
                  description: The JSON-RPC protocol version.
                id:
                  type: string
                  example: '1'
                  default: '1'
                  description: A unique identifier for the request.
                method:
                  type: string
                  enum:
                    - getLookupTablesByAccount
                  example: getLookupTablesByAccount
                  default: getLookupTablesByAccount
                  description: The name of the RPC method to invoke.
                params:
                  type: array
                  description: Method parameters.
                  minItems: 1
                  maxItems: 1
                  items:
                    type: object
                    required:
                      - account
                    properties:
                      account:
                        type: string
                        description: Account public key to search for within lookup tables.
                        example: SomeAccountPubkey111111111111111111111111111
                      owner:
                        type: string
                        nullable: true
                        description: >-
                          Optional authority filter — only return LUTs owned by
                          this wallet.
                      limit:
                        type: integer
                        minimum: 1
                        maximum: 1000
                        default: 100
                      cursor:
                        type: string
                        nullable: true
            examples:
              default:
                summary: Lookup tables containing an account
                value:
                  jsonrpc: '2.0'
                  id: 1
                  method: getLookupTablesByAccount
                  params:
                    - account: SomeAccountPubkey111111111111111111111111111
                      owner: null
                      limit: 100
                      cursor: null
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    enum:
                      - '2.0'
                  id:
                    type: string
                  result:
                    type: object
                    properties:
                      lookupTables:
                        type: array
                        items:
                          type: object
                          properties:
                            pubkey:
                              type: string
                              description: Address lookup table public key.
                              example: LUTPubkey1111111111111111111111111111111
                            authority:
                              type: string
                              description: Authority wallet that owns this lookup table.
                              example: 9aoUCn5J4sxhvYERCVwVnakPQxyXTHQVXe86CUJYxY8p
                            deactivationSlot:
                              type: integer
                              description: >-
                                Slot at which the LUT was deactivated.
                                18446744073709551615 (u64::MAX) means the LUT is
                                still active.
                              example: 18446744073709552000
                            addressCount:
                              type: integer
                              description: Number of addresses stored in the lookup table.
                              example: 12
                            addresses:
                              type: array
                              items:
                                type: string
                              description: All addresses in the lookup table.
                            mints:
                              type: array
                              items:
                                type: string
                              description: Subset of addresses that are known token mints.
                            slot:
                              type: integer
                              description: Slot when the lookup table was last indexed.
                              example: 423867852
                            addressIndex:
                              type: integer
                              description: >-
                                Index of the matched account within the lookup
                                table.
                              example: 42
                            matchedAccounts:
                              type: array
                              items:
                                type: string
                              description: Accounts from the query that appear in this LUT.
                            matchedAddressIndices:
                              type: array
                              items:
                                type: integer
                              description: Indices of matched accounts within the LUT.
                            estimatedBytesSaved:
                              type: integer
                              description: >-
                                Estimated transaction size bytes saved by using
                                this LUT.
                              example: 31
                      nextCursor:
                        type: string
                        nullable: true
                        description: Pagination cursor for the next page.
                      hasMore:
                        type: boolean
                        description: Whether more results are available.
                      count:
                        type: integer
                        description: Number of lookup tables returned in this page.
              examples:
                default:
                  summary: Matching lookup tables
                  value:
                    jsonrpc: '2.0'
                    id: 1
                    result:
                      lookupTables:
                        - pubkey: LUTPubkey1111111111111111111111111111111
                          authority: 9aoUCn5J4sxhvYERCVwVnakPQxyXTHQVXe86CUJYxY8p
                          deactivationSlot: 18446744073709552000
                          addressCount: 256
                          addresses:
                            - SomeAccountPubkey111111111111111111111111111
                          mints:
                            - MintPubkey111111111111111111111111111111111
                          slot: 423867852
                          addressIndex: 42
                          matchedAccounts:
                            - SomeAccountPubkey111111111111111111111111111
                          matchedAddressIndices:
                            - 42
                          estimatedBytesSaved: 31
                      nextCursor: null
                      hasMore: false
                      count: 1
        '400':
          description: Bad Request - Invalid request parameters or malformed request.
        '401':
          description: Unauthorized - Invalid or missing API key.
        '429':
          description: Too Many Requests - Rate limit exceeded.
        '503':
          description: Service Unavailable - The server is temporarily unavailable.
        '504':
          description: Gateway Timeout - The request timed out.
      security:
        - ApiKeyQuery: []
components:
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api_key

````