Bigchaindb Outputs API

List transaction outputs by public key.

OpenAPI Specification

bigchaindb-outputs-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: BigchainDB HTTP Assets Outputs API
  version: v1
  description: The BigchainDB HTTP Client-Server API. BigchainDB is an open-source blockchain database that combines high throughput, low latency, immutable data storage and built-in asset support with decentralized control. This document is a faithful transcription of the operations, parameters and status codes published in the official BigchainDB Server HTTP API reference; BigchainDB does not publish its own machine-readable OpenAPI, so this spec was generated by the API Evangelist enrichment pipeline from the documented endpoint reference.
  x-apievangelist-generated: true
  x-source: https://docs.bigchaindb.com/projects/server/en/latest/http-client-server-api.html
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  contact:
    name: BigchainDB GmbH
    url: https://www.bigchaindb.com/
servers:
- url: https://{host}:9984
  description: A BigchainDB node (self-hosted or hosted network). Default node port is 9984.
  variables:
    host:
      default: test.ipdb.io
      description: Hostname of a BigchainDB node (the IPDB test network historically ran at test.ipdb.io).
tags:
- name: Outputs
  description: List transaction outputs by public key.
paths:
  /api/v1/outputs:
    get:
      tags:
      - Outputs
      operationId: listOutputs
      summary: List outputs by public key
      description: Get transaction outputs associated with a given public key. Optionally filter to only spent or only unspent outputs.
      parameters:
      - name: public_key
        in: query
        required: true
        description: The public key to list outputs for.
        schema:
          type: string
      - name: spent
        in: query
        required: false
        description: When set, filter to spent (true) or unspent (false) outputs.
        schema:
          type: boolean
      responses:
        '200':
          description: A list of output links (transaction id + output index).
        '400':
          description: A required parameter was missing or malformed.
externalDocs:
  description: BigchainDB Server HTTP Client-Server API
  url: https://docs.bigchaindb.com/projects/server/en/latest/http-client-server-api.html