v1

latestOpenAPI 3.1.02026-07-243035381.4 MB
Dogecoin - Tatum API

Get Dogecoin Block by hash or height

/v3/dogecoin/block/{hash}

1 credit per API call.

Get Dogecoin Block detail by block hash or height.

get/v3/dogecoin/block/{hash}

Path parameters

hashstring required
Example:1234314

Block hash or height.

Response

OK

hashstring

Hash of block.

heightnumber

The number of blocks preceding a particular block on a block chain.

sizenumber

The size of the block.

confirmationsnumber

Number of confirmations of that block.

weightnumber

The weight of the block.

versionnumber

Block version.

previousblockhashstring

Hash of the previous block.

merkleRootstring

The root node of a merkle tree, a descendant of all the hashed pairs in the tree.

timenumber

Time of the block.

bitsnumber
noncenumber

Arbitrary number that is used in Litecoin's proof of work consensus algorithm.

Example response

{
  "hash": "6178dda07b94becb118f67b21aa72f60d85c1029e9e9b8ae56a25d684de66078",
  "height": 1234314,
  "size": 1234314,
  "confirmations": 1234314,
  "weight": 1234314,
  "version": 536870912,
  "previousblockhash": "a3047a060e5d586a9b26779ebe62fc57ce7323745da8f28761ab755454d89c52",
  "merkleRoot": "a1634a42a8e956a5fb5225d06c3af6207e7f6fe5a00fa45229edfd0ddfa587f0",
  "time": 1572865501,
  "bits": 503452237,
  "nonce": 2278594841,
  "txs": [
    {
      "hash": "5f83d51c8d3054012cea3011fa626b85d89442788721afd60719ab1f9ab8f78a",
      "size": 145,
      "vsize": 145,
      "version": 2,
      "vin": [
        {
          "txid": "0db5a2881f26f7dce20222f9c2538dc296ab562e134a72052596bdf4bb6913b4",
          "vout": 1,
          "sequence": 4294967294
        }
      ],
      "vout": [
        {
          "value": 1000,
          "n": 1,
          "scriptPubKey": {
            "asm": "OP_HASH160 905c261d73922a21a16f505cefccaa07aaee50cd OP_EQUAL",
            "hex": "a914905c261d73922a21a16f505cefccaa07aaee50cd87",
            "type": "scripthash",
            "addresses": [
              "n4YNG8q5JyxkeWf7zMi1bMyRZbRKK1W7or"
            ]
          }
        }
      ],
      "locktime": 1233222
    }
  ]
}