> ## 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 round participations

> Returns all active round participations and their current status. A round participation is created when you call one of the `refresh` endpoints and persists until the round's funding transaction is confirmed on-chain (2 confirmations on mainnet, 1 on testnet). The list can contain multiple entries—for example, a previous round awaiting on-chain confirmation alongside a newly submitted round waiting for the next server round to start. Confirmed and failed rounds are removed automatically by the background daemon.



## OpenAPI

````yaml https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/rounds
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/wallet/rounds:
    get:
      tags:
        - wallet
      summary: List round participations
      description: >-
        Returns all active round participations and their current status. A
        round participation is created when you call one of the `refresh`
        endpoints and persists until the round's funding transaction is
        confirmed on-chain (2 confirmations on mainnet, 1 on testnet). The list
        can contain multiple entries—for example, a previous round awaiting
        on-chain confirmation alongside a newly submitted round waiting for the
        next server round to start. Confirmed and failed rounds are removed
        automatically by the background daemon.
      operationId: pending_rounds
      responses:
        '200':
          description: Returns the wallet pending rounds
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PendingRoundInfo'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerError'
components:
  schemas:
    PendingRoundInfo:
      type: object
      required:
        - id
        - status
        - participation
        - unlock_hash
        - funding_txid
      properties:
        funding_tx_hex:
          type:
            - string
            - 'null'
        funding_txid:
          type:
            - string
            - 'null'
          description: The round transaction id, if already assigned
        id:
          type: integer
          format: int32
          description: Unique identifier for the round
          minimum: 0
        participation:
          $ref: '#/components/schemas/RoundParticipationInfo'
          description: the round participation details
        status:
          $ref: '#/components/schemas/RoundStatus'
          description: the current status of the round
        unlock_hash:
          type:
            - string
            - 'null'
    InternalServerError:
      type: object
      required:
        - message
      properties:
        message:
          type: string
    RoundParticipationInfo:
      type: object
      required:
        - inputs
        - outputs
      properties:
        inputs:
          type: array
          items:
            type: string
        outputs:
          type: array
          items:
            $ref: '#/components/schemas/VtxoRequestInfo'
    RoundStatus:
      oneOf:
        - type: object
          description: Failed to sync round
          required:
            - error
            - status
          properties:
            error:
              type: string
            status:
              type: string
              enum:
                - sync-error
        - type: object
          description: The round was successful and is fully confirmed
          required:
            - funding_txid
            - status
          properties:
            funding_txid:
              type: string
            status:
              type: string
              enum:
                - confirmed
        - type: object
          description: Round successful but not fully confirmed
          required:
            - funding_txid
            - status
          properties:
            funding_txid:
              type: string
            status:
              type: string
              enum:
                - unconfirmed
        - type: object
          description: We have unsigned funding transactions that might confirm
          required:
            - status
          properties:
            status:
              type: string
              enum:
                - pending
        - type: object
          description: The round failed
          required:
            - error
            - status
          properties:
            error:
              type: string
            status:
              type: string
              enum:
                - failed
        - type: object
          description: The round canceled
          required:
            - status
          properties:
            status:
              type: string
              enum:
                - canceled
    VtxoRequestInfo:
      type: object
      required:
        - amount_sat
        - policy_type
        - user_pubkey
      properties:
        amount_sat:
          type: integer
          format: int64
          minimum: 0
        policy_type:
          type: string
        user_pubkey:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: AuthToken
      description: Base64url-encoded auth token

````