---
title: "Get Dogecoin Block by hash or height"
method: GET
path: "/v3/dogecoin/block/{hash}"
tags: ["Dogecoin - Tatum API"]
---

# Get Dogecoin Block by hash or height

`GET /v3/dogecoin/block/{hash}`

## Request

- Base URL: `https://api.tatum.io`
- URL: `https://api.tatum.io/v3/dogecoin/block/{hash}`
- Auth: API key in header `x-api-key`

/v3/dogecoin/block/{hash}

#### 1 credit per API call.

  

Get Dogecoin Block detail by block hash or height.

## Path parameters

- `hash` string, required

## Response `200`

OK

- DogeBlock
  - `hash` string: Hash of block.
  - `height` number: The number of blocks preceding a particular block on a block chain.
  - `size` number: The size of the block.
  - `confirmations` number: Number of confirmations of that block.
  - `weight` number: The weight of the block.
  - `version` number: Block version.
  - `previousblockhash` string: Hash of the previous block.
  - `merkleRoot` string: The root node of a merkle tree, a descendant of all the hashed pairs in the tree.
  - `time` number: Time of the block.
  - `bits` number
  - `nonce` number: Arbitrary number that is used in Litecoin's proof of work consensus algorithm.
  - `txs` DogeTx[]
    - `hash` string: Transaction hash.
    - `size` number: Size of the transaction.
    - `vsize` number
    - `version` number: Index of the transaction.
    - `vin` object[]: List of transactions, from which assets are being sent.
      - `txid` string: Transaction hash of the input.
      - `vout` number: Transaction index of the input.
      - `scriptSig` object
        - `asm` string
        - `hex` string
      - `sequence` number
    - `vout` object[]: List of recipient addresses and amounts to send to each of them.
      - `value` number: Amount of UTXO in 1/1000000 DOGE.
      - `n` number: Transaction index of the output.
      - `scriptPubKey` object
        - `asm` string
        - `hex` string
        - `type` string
        - `addresses` string[]
    - `locktime` number

## Other responses

- `400`: Bad Request
- `401`: Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
- `404`: Block not found.
- `500`: Internal server error. There was an error on the server during the processing of the request.

---

[API](https://skmtc.dev/tatum/apis/blockchain.md) - [All operations](https://skmtc.dev/tatum/apis/blockchain/llms.txt) - [OpenAPI document](https://skmtc.dev/tatum/apis/blockchain/revisions/f9623a85f420?raw)
