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

> Get the latest block information from the Dogecoin network including block height, hash, and transaction count.

# Latest Block



## OpenAPI

````yaml dogecoin/node-rpc-api/openapi.json get /block/latest
openapi: 3.1.0
info:
  description: Node RPC API for Dogecoin.
  title: Dogecoin - Node RPC API
  version: '0.1'
servers:
  - description: Dogecoin Mainnet
    url: https://xdg-mainnet.gomaestro-api.org/v0/rpc
  - description: Dogecoin Testnet
    url: https://xdg-testnet.gomaestro-api.org/v0/rpc
security:
  - api-key: []
externalDocs:
  description: ''
  url: ''
paths:
  /block/latest:
    get:
      tags:
        - Blocks
      summary: Latest Block
      description: Latest block info
      operationId: rpc_block_latest
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_dogecoin.DogecoinBlockResponseBody'
          description: OK
        '500':
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/api_dogecoin.APIError'
                  - $ref: '#/components/schemas/api_dogecoin.APIError'
          description: Error processing block response.
components:
  schemas:
    api_dogecoin.DogecoinBlockResponseBody:
      properties:
        data:
          $ref: '#/components/schemas/api_dogecoin.DogecoinBlock'
        last_updated:
          $ref: '#/components/schemas/api_dogecoin.LastUpdatedBlock'
      type: object
    api_dogecoin.APIError:
      properties:
        error:
          description: Error returned from the API request
          example: Bad Request
          type: string
      type: object
    api_dogecoin.DogecoinBlock:
      properties:
        auxpow:
          properties:
            chainindex:
              type: integer
            chainmerklebranch:
              items:
                type: string
              type: array
              uniqueItems: false
            index:
              type: integer
            merklebranch:
              items:
                type: string
              type: array
              uniqueItems: false
            parentblock:
              type: string
            tx:
              properties:
                blockhash:
                  type: string
                hash:
                  type: string
                hex:
                  type: string
                locktime:
                  type: integer
                size:
                  type: integer
                txid:
                  type: string
                version:
                  type: integer
                vin:
                  items:
                    properties:
                      coinbase:
                        type: string
                      sequence:
                        type: integer
                    type: object
                  type: array
                  uniqueItems: false
                vout:
                  items:
                    properties:
                      'n':
                        type: integer
                      scriptPubKey:
                        properties:
                          addresses:
                            items:
                              type: string
                            type: array
                            uniqueItems: false
                          asm:
                            type: string
                          hex:
                            type: string
                          reqSigs:
                            type: integer
                          type:
                            type: string
                        type: object
                      value:
                        type: number
                    type: object
                  type: array
                  uniqueItems: false
                vsize:
                  type: integer
              type: object
          type: object
        bits:
          type: string
        chainwork:
          type: string
        confirmations:
          type: integer
        difficulty:
          type: number
        hash:
          type: string
        height:
          type: integer
        mediantime:
          type: integer
        merkleroot:
          type: string
        nextblockhash:
          type: string
        nonce:
          type: integer
        previousblockhash:
          type: string
        size:
          type: integer
        strippedsize:
          type: integer
        time:
          type: integer
        tx:
          items:
            type: string
          type: array
          uniqueItems: false
        version:
          type: integer
        versionHex:
          type: string
        weight:
          type: integer
      type: object
    api_dogecoin.LastUpdatedBlock:
      properties:
        block_hash:
          type: string
        block_height:
          type: integer
      type: object
  securitySchemes:
    api-key:
      description: Project API Key
      in: header
      name: api-key
      type: apiKey

````