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

# List all Blockchain Deposit Addresses

> List all Blockchain Deposit Addresses.



## OpenAPI

````yaml openapi.json GET /beta/blockchain_deposit_addresses
openapi: 3.0.1
info:
  title: Lead Bank
  description: Lead Bank's APIs
  version: v1.0
servers:
  - url: https://api.sandbox.lead.bank
  - url: https://api.lead.bank
security:
  - bearerAuth: []
tags:
  - name: ACH
  - name: ACHv2
  - name: Account Number
  - name: OAuth
  - name: Events
  - name: Instant Payments
  - name: Lending
  - name: Simulation
  - name: Sandbox
  - name: Internal Transfer
  - name: Disbursement
  - name: Entity
  - name: Wire
  - name: Originator
  - name: Funding
  - name: Receivable Sale
  - name: Balances
  - name: Compliance
  - name: Application
  - name: User Account
  - name: Blockchain Payment
  - name: Core Account
  - name: Core Balance
  - name: Core Transaction
  - name: Event Subscription
  - name: Receivable
  - name: User Credit Transaction
  - name: Files
paths:
  /beta/blockchain_deposit_addresses:
    get:
      tags:
        - Blockchain Deposit Address Beta
      summary: List all Blockchain Deposit Addresses Beta
      description: List all Blockchain Deposit Addresses.
      operationId: list-all-blockchain-deposit-addresses-beta
      parameters:
        - name: account_number_id
          description: Filter by account number ID.
          in: query
          schema:
            $ref: '#/components/schemas/AccountNumberID'
        - name: chain
          description: Filter by chain.
          in: query
          schema:
            $ref: '#/components/schemas/BlockchainDepositAddressChainBeta'
        - name: status
          description: Filter by status.
          in: query
          schema:
            $ref: '#/components/schemas/BlockchainDepositAddressStatusBeta'
        - name: limit
          description: Maximum number of objects to be returned.
          in: query
          example: 10
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 10
        - name: starting_after
          in: query
          example: blockchain_deposit_address_xyz123
          schema:
            type: string
            pattern: ^blockchain_deposit_address_\w+$
          description: >-
            A cursor for use in pagination; this is an ID that defines your
            place in the list.
        - name: ending_before
          in: query
          example: blockchain_deposit_address_xyz456
          schema:
            type: string
            pattern: ^blockchain_deposit_address_\w+$
          description: >-
            A cursor for use in pagination; this is an ID that defines your
            place in the list.
      responses:
        '200':
          description: List of Blockchain Deposit Address objects
          content:
            application/json:
              schema:
                type: object
                required:
                  - objects
                  - has_more
                properties:
                  objects:
                    type: array
                    items:
                      $ref: '#/components/schemas/BlockchainDepositAddressBeta'
                  has_more:
                    type: boolean
                    description: Indicates whether more results are available.
        '400':
          description: >-
            Invalid query parameter value, or a cursor that does not name a
            Blockchain Deposit Address in these results.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '401':
          description: Missing or invalid authentication token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '422':
          description: Your request parameters did not validate.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '429':
          description: Too many requests. Please retry after some time.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '500':
          description: Unexpected server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
components:
  schemas:
    AccountNumberID:
      type: string
      description: The ID of the Lead Bank Account Number object.
      example: account_number_xyz123
      pattern: ^account_number_\w+$
    BlockchainDepositAddressChainBeta:
      description: The blockchain network.
      type: string
      example: base
      enum:
        - base
        - ethereum
        - solana
        - arbitrum
        - optimism
    BlockchainDepositAddressStatusBeta:
      description: The status of the Blockchain Deposit Address.
      type: string
      example: active
      enum:
        - active
        - closed
    BlockchainDepositAddressBeta:
      type: object
      description: An on-chain address that receives stablecoins.
      required:
        - account_identifier
      properties:
        id:
          $ref: '#/components/schemas/BlockchainDepositAddressID'
        status:
          $ref: '#/components/schemas/BlockchainDepositAddressStatusBeta'
        account_identifier:
          description: The account that arriving funds are credited to.
          allOf:
            - $ref: '#/components/schemas/BlockchainPaymentAccountIdentifierBeta'
        chain:
          $ref: '#/components/schemas/BlockchainDepositAddressChainBeta'
        token:
          $ref: '#/components/schemas/BlockchainDepositAddressTokenBeta'
        wallet_address:
          type: string
          description: The on-chain address to send funds to.
          example: '0x5a0b54d5dc17e0aadc383d2db43b0a0d3e029c4c'
        is_debtor_self:
          type: boolean
          description: Whether the sending wallets belong to the account holder.
          example: true
        created_at:
          type: string
          format: date-time
          description: >-
            ISO 8601 format timestamp representing when the blockchain deposit
            address was created.
          example: '2024-06-27T11:22:33Z'
        updated_at:
          type: string
          format: date-time
          description: >-
            ISO 8601 format timestamp representing when the blockchain deposit
            address was last updated.
          example: '2024-06-27T11:22:33Z'
    APIError:
      type: object
      properties:
        code:
          type: string
          description: The error code.
        title:
          type: string
          description: The error title.
        detail:
          type: string
          description: A detailed error description.
        status:
          type: string
          description: The HTTP status code.
        invalid_parameters:
          type: array
          description: Invalid request parameters with reasons, if applicable.
          items:
            $ref: '#/components/schemas/InvalidParameterDetail'
        instance:
          type: string
          description: >-
            The object causing this specific occurrence of the error, if
            applicable.
    BlockchainDepositAddressID:
      type: string
      description: The ID of the Blockchain Deposit Address object.
      example: blockchain_deposit_address_2GvQ9cTn4HsWq7JkLp1RzYe8Bx3
      pattern: ^blockchain_deposit_address_[0-9A-Za-z]{27}$
    BlockchainPaymentAccountIdentifierBeta:
      type: object
      description: Identifies an account.
      required:
        - type
        - value
      properties:
        type:
          $ref: '#/components/schemas/BlockchainPaymentAccountIdentifierTypeBeta'
        value:
          type: string
          description: The account identifier value.
          example: account_number_xyz123
    BlockchainDepositAddressTokenBeta:
      description: >-
        The token the address receives. OUSD is available on base, ethereum and
        solana for programs whose wallet holds OUSD.
      type: string
      example: USDC
      enum:
        - USDC
        - OUSD
    InvalidParameterDetail:
      type: object
      properties:
        parameter:
          type: string
          description: Which parameter is invalid.
          example: transaction_type
        reason:
          type: string
          description: Why the parameter is invalid.
    BlockchainPaymentAccountIdentifierTypeBeta:
      description: The type of account identifier.
      type: string
      example: account_number_id
      enum:
        - account_number_id
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````