---
title: "Last block"
method: GET
path: "/blocks/last"
tags: ["blocks"]
---

# Last block

`GET /blocks/last`

Get the block at the current blockchain height

## Response `200`

successful operation

- Block
  - `timestamp` integer, required
  - `version` integer, required
  - `height` integer, required
  - `totalFee` integer, required
  - `reference` string, required
  - `generator` string, required
  - `generatorPublicKey` string, required
  - `signature` string, required
  - `id` string
  - `nxt-consensus` object, required
    - `base-target` integer, required
    - `generation-signature` string, required
  - `blocksize` integer, required
  - `transactionCount` integer, required
  - `features` integer[]
  - `reward` integer
  - `rewardShares` object — map of address <-> reward
  - `desiredReward` integer
  - `VRF` string, required
  - `transactionsRoot` string, required
  - `stateHash` string
  - `finalizationVoting` union
    - object
      - `valid` GeneratorIndex[], required
      - `finalizedHeight` integer, required
      - `aggregatedEndorsement` string, required
      - `conflict` BlockEndorsement[], required
        - `endorserIndex` integer, required
        - `finalizedId` union, required
          - string
          - string
        - `finalizedHeight` integer, required
        - `endorsedId` union, required
          - string
          - string
        - `signature` string, required
    - object
      - `valid` GeneratorIndex[], required
      - `finalizedHeight` integer, required
      - `aggregatedEndorsement` string, required
      - `conflict` BlockEndorsement[]
        - `endorserIndex` integer, required
        - `finalizedId` union, required
          - string
          - string
        - `finalizedHeight` integer, required
        - `endorsedId` union, required
          - string
          - string
        - `signature` string, required
    - object
      - `valid` GeneratorIndex[]
      - `finalizedHeight` integer, required
      - `aggregatedEndorsement` string
      - `conflict` BlockEndorsement[], required
        - `endorserIndex` integer, required
        - `finalizedId` union, required
          - string
          - string
        - `finalizedHeight` integer, required
        - `endorsedId` union, required
          - string
          - string
        - `signature` string, required
  - `transactions` Transaction[], required
    - union
      - GenesisTransaction
        - `id` string, required
        - `signature` string, required
        - `fee` integer, required
        - `timestamp` integer, required
        - `recipient` string, required
        - `amount` integer, required
      - union
        - object
          - `timestamp` integer, required
          - `sender` string, required
          - `senderPublicKey` string, required
          - `id` string, required
          - `applicationStatus` 'succeeded' | 'script_execution_failed', required — * `succeeded`: transaction is successful * `script_execution_failed`: the dApp script or the asset script failed See [Transaction Validation](https://docs.waves.tech/en/blockchain/transaction/transaction-validation) for details.
          - `version` integer, required
          - `type` integer, required
          - `proofs` Proof[], required
          - `signature` string, required
          - `fee` integer, required
          - `assetId` string, required
          - `amount` integer, required
        - object
          - `timestamp` integer, required
          - `sender` string, required
          - `senderPublicKey` string, required
          - `id` string, required
          - `applicationStatus` 'succeeded' | 'script_execution_failed', required — * `succeeded`: transaction is successful * `script_execution_failed`: the dApp script or the asset script failed See [Transaction Validation](https://docs.waves.tech/en/blockchain/transaction/transaction-validation) for details.
          - `version` integer, required
          - `type` integer, required
          - `proofs` Proof[], required
          - `signature` string, required
          - `fee` integer, required
          - `alias` string, required
        - object
          - `timestamp` integer, required
          - `sender` string, required
          - `senderPublicKey` string, required
          - `id` string, required
          - `applicationStatus` 'succeeded' | 'script_execution_failed', required — * `succeeded`: transaction is successful * `script_execution_failed`: the dApp script or the asset script failed See [Transaction Validation](https://docs.waves.tech/en/blockchain/transaction/transaction-validation) for details.
          - `version` integer, required
          - `type` integer, required
          - `proofs` Proof[], required
          - `signature` string, required
          - `fee` integer, required
          - `data` union[], required
            - union
              - …
        - object
          - `timestamp` integer, required
          - `sender` string, required
          - `senderPublicKey` string, required
          - `id` string, required
          - `applicationStatus` 'succeeded' | 'script_execution_failed', required — * `succeeded`: transaction is successful * `script_execution_failed`: the dApp script or the asset script failed See [Transaction Validation](https://docs.waves.tech/en/blockchain/transaction/transaction-validation) for details.
          - `version` integer, required
          - `type` integer, required
          - `proofs` Proof[], required
          - `signature` string, required
          - `fee` integer, required
          - `order1` Order, required
            - `version` integer
            - `id` string
            - `sender` string
            - `senderPublicKey` string
            - `matcherPublicKey` string
            - `assetPair` AssetPair
              - …
            - `orderType` 'buy' | 'sell'
            - `amount` integer
            - `price` integer
            - `timestamp` integer
            - `expiration` integer
            - `matcherFee` integer
            - `signature` string
            - `proofs` Signature[]
            - `matcherFeeAssetId` string
          - `order2` Order, required
            - `version` integer
            - `id` string
            - `sender` string
            - `senderPublicKey` string
            - `matcherPublicKey` string
            - `assetPair` AssetPair
              - …
            - `orderType` 'buy' | 'sell'
            - `amount` integer
            - `price` integer
            - `timestamp` integer
            - `expiration` integer
            - `matcherFee` integer
            - `signature` string
            - `proofs` Signature[]
            - `matcherFeeAssetId` string
          - `amount` integer, required
          - `price` integer, required
          - `buyMatcherFee` integer, required
          - `sellMatcherFee` integer, required
        - object
          - `timestamp` integer, required
          - `sender` string, required
          - `senderPublicKey` string, required
          - `id` string, required
          - `applicationStatus` 'succeeded' | 'script_execution_failed', required — * `succeeded`: transaction is successful * `script_execution_failed`: the dApp script or the asset script failed See [Transaction Validation](https://docs.waves.tech/en/blockchain/transaction/transaction-validation) for details.
          - `version` integer, required
          - `type` integer, required
          - `proofs` Proof[], required
          - `signature` string, required
          - `fee` integer, required
          - `dApp` union, required
            - string
            - string
          - `payment` object[], required
            - `amount` integer
            - `assetId` string
          - `call` object, required
            - `function` string
            - `args` object[]
              - …
          - `stateChanges` StateChanges, required
            - `data` DataAction[], required
              - …
            - `transfers` TransferAction[], required
              - …
            - `issues` IssueAction[], required
              - …
            - `reissues` ReissueAction[], required
              - …
            - `burns` BurnAction[], required
              - …
            - `sponsorFees` SponsorFeeAction[], required
              - …
            - `leases` LeaseAction[], required
              - …
            - `leaseCancel` LeaseCancelAction[], required
              - …
            - `invokes` InvokeAction[], required
              - …
          - `feeAssetId` string
        - object
          - `timestamp` integer, required
          - `sender` string, required
          - `senderPublicKey` string, required
          - `id` string, required
          - `applicationStatus` 'succeeded' | 'script_execution_failed', required — * `succeeded`: transaction is successful * `script_execution_failed`: the dApp script or the asset script failed See [Transaction Validation](https://docs.waves.tech/en/blockchain/transaction/transaction-validation) for details.
          - `version` integer, required
          - `type` integer, required
          - `proofs` Proof[], required
          - `signature` string, required
          - `fee` integer, required
          - `assetId` string, required
          - `name` string, required
          - `quantity` integer, required
          - `reissuable` boolean, required
          - `decimals` integer, required
          - `description` string, required
          - `script` string, byte, required
        - object
          - `timestamp` integer, required
          - `sender` string, required
          - `senderPublicKey` string, required
          - `id` string, required
          - `applicationStatus` 'succeeded' | 'script_execution_failed', required — * `succeeded`: transaction is successful * `script_execution_failed`: the dApp script or the asset script failed See [Transaction Validation](https://docs.waves.tech/en/blockchain/transaction/transaction-validation) for details.
          - `version` integer, required
          - `type` integer, required
          - `proofs` Proof[], required
          - `signature` string, required
          - `fee` integer, required
          - `leaseId` string, required
          - `lease` LeaseInfo, required
            - `id` string, required
            - `originTransactionId` string, required
            - `sender` string, required
            - `recipient` string, required
            - `amount` integer, required
            - `height` integer, required
            - `status` 'active' | 'canceled', required — * `active`: lease is active; * `canceled`: lease has been canceled
            - `cancelHeight` integer
            - `cancelTransactionId` string
        - object
          - `timestamp` integer, required
          - `sender` string, required
          - `senderPublicKey` string, required
          - `id` string, required
          - `applicationStatus` 'succeeded' | 'script_execution_failed', required — * `succeeded`: transaction is successful * `script_execution_failed`: the dApp script or the asset script failed See [Transaction Validation](https://docs.waves.tech/en/blockchain/transaction/transaction-validation) for details.
          - `version` integer, required
          - `type` integer, required
          - `proofs` Proof[], required
          - `signature` string, required
          - `fee` integer, required
          - `amount` integer, required
          - `recipient` union, required
            - string
            - string
        - object
          - `timestamp` integer, required
          - `sender` string, required
          - `senderPublicKey` string, required
          - `id` string, required
          - `applicationStatus` 'succeeded' | 'script_execution_failed', required — * `succeeded`: transaction is successful * `script_execution_failed`: the dApp script or the asset script failed See [Transaction Validation](https://docs.waves.tech/en/blockchain/transaction/transaction-validation) for details.
          - `version` integer, required
          - `type` integer, required
          - `proofs` Proof[], required
          - `signature` string, required
          - `fee` integer, required
          - `assetId` string, required
          - `attachment` string, required
          - `transferCount` integer
          - `totalAmount` integer, required
          - `transfers` object[], required
            - `recipient` union
              - …
            - `amount` integer
        - object
          - `timestamp` integer, required
          - `sender` string, required
          - `senderPublicKey` string, required
          - `id` string, required
          - `applicationStatus` 'succeeded' | 'script_execution_failed', required — * `succeeded`: transaction is successful * `script_execution_failed`: the dApp script or the asset script failed See [Transaction Validation](https://docs.waves.tech/en/blockchain/transaction/transaction-validation) for details.
          - `version` integer, required
          - `type` integer, required
          - `proofs` Proof[], required
          - `signature` string, required
          - `fee` integer, required
          - `assetId` string, required
          - `quantity` integer, required
          - `reissuable` boolean, required
        - object
          - `timestamp` integer, required
          - `sender` string, required
          - `senderPublicKey` string, required
          - `id` string, required
          - `applicationStatus` 'succeeded' | 'script_execution_failed', required — * `succeeded`: transaction is successful * `script_execution_failed`: the dApp script or the asset script failed See [Transaction Validation](https://docs.waves.tech/en/blockchain/transaction/transaction-validation) for details.
          - `version` integer, required
          - `type` integer, required
          - `proofs` Proof[], required
          - `signature` string, required
          - `fee` integer, required
          - `assetId` string, required
          - `script` string, byte, required
        - object
          - `timestamp` integer, required
          - `sender` string, required
          - `senderPublicKey` string, required
          - `id` string, required
          - `applicationStatus` 'succeeded' | 'script_execution_failed', required — * `succeeded`: transaction is successful * `script_execution_failed`: the dApp script or the asset script failed See [Transaction Validation](https://docs.waves.tech/en/blockchain/transaction/transaction-validation) for details.
          - `version` integer, required
          - `type` integer, required
          - `proofs` Proof[], required
          - `signature` string, required
          - `fee` integer, required
          - `script` string, byte, required
        - object
          - `timestamp` integer, required
          - `sender` string, required
          - `senderPublicKey` string, required
          - `id` string, required
          - `applicationStatus` 'succeeded' | 'script_execution_failed', required — * `succeeded`: transaction is successful * `script_execution_failed`: the dApp script or the asset script failed See [Transaction Validation](https://docs.waves.tech/en/blockchain/transaction/transaction-validation) for details.
          - `version` integer, required
          - `type` integer, required
          - `proofs` Proof[], required
          - `signature` string, required
          - `fee` integer, required
          - `assetId` string, required
          - `minSponsoredAssetFee` integer, required
        - object
          - `timestamp` integer, required
          - `sender` string, required
          - `senderPublicKey` string, required
          - `id` string, required
          - `applicationStatus` 'succeeded' | 'script_execution_failed', required — * `succeeded`: transaction is successful * `script_execution_failed`: the dApp script or the asset script failed See [Transaction Validation](https://docs.waves.tech/en/blockchain/transaction/transaction-validation) for details.
          - `version` integer, required
          - `type` integer, required
          - `proofs` Proof[], required
          - `signature` string, required
          - `fee` integer, required
          - `recipient` union, required
            - string
            - string
          - `assetId` string
          - `feeAsset` string
          - `feeAssetId` string
          - `amount` integer, required
          - `attachment` string, required
        - object
          - `timestamp` integer, required
          - `sender` string, required
          - `senderPublicKey` string, required
          - `id` string, required
          - `applicationStatus` 'succeeded' | 'script_execution_failed', required — * `succeeded`: transaction is successful * `script_execution_failed`: the dApp script or the asset script failed See [Transaction Validation](https://docs.waves.tech/en/blockchain/transaction/transaction-validation) for details.
          - `version` integer, required
          - `type` integer, required
          - `proofs` Proof[], required
          - `signature` string, required
          - `fee` integer, required
          - `assetId` string, required
          - `name` string, required
          - `description` string, required
          - `feeAssetId` string
        - object
          - `timestamp` integer, required
          - `sender` string, required
          - `senderPublicKey` string, required
          - `id` string, required
          - `applicationStatus` 'succeeded' | 'script_execution_failed', required — * `succeeded`: transaction is successful * `script_execution_failed`: the dApp script or the asset script failed See [Transaction Validation](https://docs.waves.tech/en/blockchain/transaction/transaction-validation) for details.
          - `version` integer, required
          - `type` integer, required
          - `proofs` Proof[], required
          - `signature` string, required
          - `fee` integer, required
          - `endorserPublicKey` string, required
          - `generationPeriodStart` integer, required
          - `commitmentSignature` string, required

## Changes

> 36 revisions in range; 1 could not be searched.

- **2026-03-31** `d9769537f2c3` — 2 warning, 6 info
  - removed the optional property `allOf[subschema #2]/transactions/items/oneOf[#/components/schemas/NonGenesisTransaction -> subschema #2: NonGenesisTransaction]/allOf[#/components/schemas/TransactionBase]/feeAssetId` from the response with the `200` status (media type: application/json)
  - removed the optional property `allOf[subschema #2]/transactions/items/oneOf[#/components/schemas/NonGenesisTransactionLSF -> subschema #2: NonGenesisTransactionLSF]/allOf[#/components/schemas/TransactionBaseLSF]/feeAssetId` from the response with the `200` status (media type: application/json;large-significand-format=string)
  - added the optional property `allOf[#/components/schemas/BlockHeaderLSF]/finalizationVoting` to the response with the `200` status (media type: application/json;large-significand-format=string)
  - added the optional property `allOf[#/components/schemas/BlockHeader]/finalizationVoting` to the response with the `200` status (media type: application/json)
  - …4 more
- **2023-11-09** `55abcf4c27fb` — 2 info
  - added the optional property `allOf[#/components/schemas/BlockHeaderLSF]/stateHash` to the response with the `200` status (media type: application/json;large-significand-format=string)
  - added the optional property `allOf[#/components/schemas/BlockHeader]/stateHash` to the response with the `200` status (media type: application/json)
- …earlier changes not shown

[Full history](https://skmtc.dev/wavesplatform/apis/waves-full-node-chainid/changes/blocks/last/get.md)

---

[API](https://skmtc.dev/wavesplatform/apis/waves-full-node-chainid.md) · [All operations](https://skmtc.dev/wavesplatform/apis/waves-full-node-chainid/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wavesplatform/waves-full-node-chainid/revisions/09465bcdf6ce/schema)
