Skip to main content
GET
/
blocks
Get latest blocks
curl --request GET \
  --url https://api.minaexplorer.com/blocks
{
  "blocks": [
    {
      "blockHeight": 0,
      "canonical": true,
      "creator": "string",
      "creatorAccount": {
        "publicKey": "string"
      },
      "dateTime": "string",
      "protocolState": {
        "blockchainState": {
          "date": 0,
          "snarkedLedgerHash": "string",
          "stagedLedgerHash": "string",
          "utcDate": 0
        },
        "consensusState": {
          "blockHeight": 0,
          "blockchainLength": 0,
          "epoch": 0,
          "epochCount": 0,
          "hasAncestorInSameCheckpointWindow": true,
          "lastVrfOutput": "string",
          "minWindowDensity": 0,
          "nextEpochData": {
            "epochLength": 0,
            "ledger": {
              "hash": "string",
              "totalCurrency": 0
            },
            "lockCheckpoint": "string",
            "seed": "string",
            "startCheckpoint": "string"
          },
          "slot": 0,
          "slotSinceGenesis": 0,
          "stakingEpochData": {
            "epochLength": 0,
            "ledger": {
              "hash": "string",
              "totalCurrency": 0
            },
            "lockCheckpoint": "string",
            "seed": "string",
            "startCheckpoint": "string"
          },
          "totalCurrency": 0
        },
        "previousStateHash": "string"
      },
      "receivedTime": "string",
      "snarkJobs": [
        {
          "blockHeight": 0,
          "blockStateHash": "string",
          "dateTime": "string",
          "fee": 0,
          "prover": "string",
          "workIds": [
            {}
          ]
        }
      ],
      "stateHash": "string",
      "stateHashField": "string",
      "transactions": {
        "coinbase": 0,
        "coinbaseReceiverAccount": {
          "publicKey": "string"
        },
        "feeTransfer": [
          {
            "fee": 0,
            "recipient": "string"
          }
        ],
        "userCommands": [
          {
            "amount": 0,
            "blockHeight": 0,
            "blockStateHash": "string",
            "dateTime": "string",
            "fee": 0,
            "feePayer": {
              "publicKey": "string",
              "token": 0
            },
            "feeToken": 0,
            "from": "string",
            "fromAccount": {
              "publicKey": "string",
              "token": 0
            },
            "hash": "string",
            "id": "string",
            "isDelegation": true,
            "kind": "string",
            "memo": "string",
            "nonce": 0,
            "receiver": {
              "publicKey": "string"
            },
            "source": {
              "publicKey": "string"
            },
            "to": "string",
            "toAccount": {
              "publicKey": "string",
              "token": 0
            },
            "token": 0
          }
        ]
      },
      "winnerAccount": {
        "publicKey": "string"
      }
    }
  ]
}

Query Parameters

limit
number
default:1

Limit the number of blocks returned

Required range: 1 <= x <= 10

Response

200 - application/json

OK

blocks
object[]
required
Minimum array length: 1