Dogechain Tx API

The Tx API from Dogechain — 1 operation(s) for tx.

Operations 1

GET /tx/{txid} A transaction, explained #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dogechain-com:dogechain-com-tx-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dogechain-com-tx-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dogechain Com Tx API
  version: '3'
  contact:
    email: support@block.io
    name: Dogechain
    url: https://dogechain.com/developers
  termsOfService: https://dogechain.com/terms
  description: 'Operations tagged Tx across 2 of this provider''s published API definitions: openapi.json, dogechain-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://dogechain.com/api/v3
security: []
tags:
- name: Tx
paths:
  /tx/{txid}:
    get:
      description: A transaction with every input and output, a plain-English explanation (who paid whom, likely change, fee) and any address-poisoning warnings.
      operationId: getTransaction
      parameters:
      - in: path
        name: txid
        required: true
        schema:
          pattern: ^[0-9a-fA-F]{64}$
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    properties:
                      explain:
                        $ref: '#/components/schemas/Explain'
                      transaction:
                        $ref: '#/components/schemas/Transaction'
                      warnings:
                        items:
                          $ref: '#/components/schemas/Warning'
                        type: array
                    required:
                    - transaction
                    - explain
                    - warnings
                    type: object
                  status:
                    const: success
                required:
                - status
                - data
                type: object
          description: Success.
        '400':
          $ref: '#/components/responses/E400'
        '404':
          $ref: '#/components/responses/E404'
        '429':
          $ref: '#/components/responses/E429'
        '502':
          $ref: '#/components/responses/E502'
        '503':
          $ref: '#/components/responses/E503'
      summary: A transaction, explained
      tags:
      - Tx
    servers:
    - url: https://dogechain.com/api/v3
components:
  responses:
    E503:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Fail'
      description: The indexer is catching up; retry shortly.
    E404:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Fail'
      description: Not found.
    E400:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Fail'
      description: Invalid input.
    E429:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Fail'
      description: 'Over the limit: wait Retry-After seconds.'
      headers:
        RateLimit-Limit:
          schema:
            type: integer
        RateLimit-Remaining:
          schema:
            type: integer
        Retry-After:
          schema:
            type: integer
    E502:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Fail'
      description: The indexer is unreachable; retry shortly.
  schemas:
    Output:
      properties:
        address:
          description: Null when the script pays no address (data, non-standard).
          type:
          - string
          - 'null'
        index:
          type: integer
        is_change:
          description: Likely change back to the sender; null when unknown.
          type:
          - boolean
          - 'null'
        spent:
          anyOf:
          - $ref: '#/components/schemas/Outpoint'
          - type: 'null'
          description: The input that spent it; null while unspent.
        type:
          examples:
          - pubkeyhash
          - pubkey
          - scripthash
          - nulldata
          type:
          - string
          - 'null'
        value:
          $ref: '#/components/schemas/Amount'
      required:
      - index
      - value
      - address
      - type
      - spent
      - is_change
      type: object
    Fail:
      properties:
        data:
          properties:
            error_message:
              type: string
          required:
          - error_message
          type: object
        status:
          const: fail
      required:
      - status
      - data
      type: object
    Price:
      description: The DOGE price when the block or transaction was mined; null when unknown.
      properties:
        currency:
          type: string
        value:
          type: string
      required:
      - value
      - currency
      type:
      - object
      - 'null'
    Input:
      description: Null value, address and previous_output for a block reward's input (a coinbase).
      properties:
        address:
          type:
          - string
          - 'null'
        index:
          type: integer
        previous_output:
          anyOf:
          - $ref: '#/components/schemas/Outpoint'
          - type: 'null'
        value:
          anyOf:
          - $ref: '#/components/schemas/Amount'
          - type: 'null'
      required:
      - index
      - value
      - address
      - previous_output
      type: object
    Explain:
      description: The transaction in plain English.
      properties:
        change:
          $ref: '#/components/schemas/Amount'
        change_outputs:
          description: Output indexes that are likely change.
          items:
            type: integer
          type: array
        detail:
          type: string
        fee:
          $ref: '#/components/schemas/Amount'
        headline:
          examples:
          - DLPaeuaJi2JLUcvYHD4ddLxadwnGaVSt4p sent 306.98 DOGE to D7f4FyUGNWW4exuniZqBKL6qK8kAyudb45
          type: string
        sent:
          $ref: '#/components/schemas/Amount'
      required:
      - headline
      - detail
      - sent
      - change
      - fee
      - change_outputs
      type: object
    Warning:
      description: 'Likely address poisoning: dust from an address made to look like one the receiver really dealt with.'
      properties:
        imitates:
          type: string
        kind:
          const: lookalike_sender
        real_txid:
          type:
          - string
          - 'null'
        receiver:
          type: string
        sender:
          type: string
        sender_kind:
          type:
          - string
          - 'null'
        shared_prefix:
          type:
          - integer
          - 'null'
      required:
      - kind
      - sender
      - imitates
      - receiver
      type: object
    Transaction:
      properties:
        block_hash:
          type:
          - string
          - 'null'
        block_height:
          description: Null while in the mempool.
          type:
          - integer
          - 'null'
        confirmations:
          type: integer
        fee:
          $ref: '#/components/schemas/Amount'
        hash:
          type: string
        inputs:
          items:
            $ref: '#/components/schemas/Input'
          type: array
        inputs_n:
          type: integer
        inputs_value:
          $ref: '#/components/schemas/Amount'
        locktime:
          type: integer
        outputs:
          items:
            $ref: '#/components/schemas/Output'
          type: array
        outputs_n:
          type: integer
        outputs_value:
          $ref: '#/components/schemas/Amount'
        price:
          $ref: '#/components/schemas/Price'
        size:
          type: integer
        time:
          description: 'Unix seconds: when it was mined, or first seen if unconfirmed. Null for a moment while its block is being added.'
          type:
          - integer
          - 'null'
        version:
          type: integer
      required:
      - hash
      - confirmations
      - size
      - version
      - locktime
      - block_hash
      - block_height
      - time
      - inputs_n
      - inputs_value
      - outputs_n
      - outputs_value
      - fee
      - price
      - inputs
      - outputs
      type: object
    Outpoint:
      properties:
        hash:
          type: string
        index:
          type: integer
      required:
      - hash
      - index
      type: object
    Amount:
      description: DOGE with 8 decimals, as a string.
      examples:
      - '10000.00000000'
      pattern: ^-?[0-9]+\.[0-9]{8}$
      type: string
externalDocs:
  description: For developers, and llms.txt for LLM agents
  url: https://dogechain.com/developers
x-refined-from:
- openapi.json
- dogechain-com-openapi.json