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

# List pending boards

> Returns all boards whose funding transactions have not yet reached the number of on-chain confirmations required by the Ark server.



## OpenAPI

````yaml https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/boards/pending
openapi: 3.1.0
info:
  title: barkd REST API
  description: >-
    A simple REST API for barkd, a wallet daemon for integrating bitcoin
    payments into your app over HTTP. Supports self-custodial Lightning, Ark,
    and on-chain out of the box.


    barkd is a long-running daemon best suited for always-on or
    high-connectivity environments like nodes, servers, desktops, and
    point-of-sale terminals.


    All endpoints return JSON. Amounts are denominated in satoshis.
  contact:
    name: Second Team
    email: hello@second.tech
  license:
    name: MIT
    identifier: MIT
  version: 0.1.4
servers: []
security:
  - bearer: []
tags:
  - name: boards
    description: Move on-chain bitcoin onto the Ark protocol.
  - name: exits
    description: Move bitcoin back on-chain without server cooperation.
  - name: fees
    description: Estimate fees for wallet operations before executing them.
  - name: lightning
    description: Create Lightning invoices and track receives.
  - name: onchain
    description: Manage barkd's on-chain bitcoin wallet.
  - name: wallet
    description: Manage Ark balances and VTXOs, send payments via Ark, LN, and on-chain.
  - name: bitcoin
    description: Query bitcoin network data.
  - name: notifications
    description: Receive real-time notifications from barkd.
paths:
  /api/v1/boards/pending:
    get:
      tags:
        - boards
      summary: List pending boards
      description: >-
        Returns all boards whose funding transactions have not yet reached the
        number of on-chain confirmations required by the Ark server.
      operationId: get_pending_boards
      responses:
        '200':
          description: Returns all pending boards
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PendingBoardInfo'
        '500':
          description: Internal server error
components:
  schemas:
    PendingBoardInfo:
      type: object
      description: Describes a completed transition of funds from onchain to offchain.
      required:
        - funding_tx
        - vtxos
        - amount_sat
        - movement_id
      properties:
        amount_sat:
          type: integer
          format: int64
          description: The amount of the board.
          minimum: 0
        funding_tx:
          $ref: '#/components/schemas/TransactionInfo'
          description: |-
            The funding transaction.
            This is the transaction that has to be confirmed
            onchain for the board to succeed.
        movement_id:
          type: integer
          format: int32
          description: The ID of the movement associated with this board.
          minimum: 0
        vtxos:
          type: array
          items:
            type: string
          description: |-
            The IDs of the VTXOs that were created
            in this board.

            Currently, this is always a vector of length 1
    TransactionInfo:
      type: object
      description: >-
        An information struct used to pair the ID of a transaction with the full
        transaction for ease

        of use and readability for the user
      required:
        - txid
        - tx
      properties:
        tx:
          type: string
        txid:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: AuthToken
      description: Base64url-encoded auth token

````