consensus

Current consensus state

Changed on

Returns the full consensus state at the current chain tip.

get/consensus/tipstate

Request

  • Base URL
    http://localhost:9980/api
  • URL
    http://localhost:9980/api/consensus/tipstate
  • Auth
    HTTP basic

Response

Consensus state at the tip.

prevTimestampsstring[] required

Recent block timestamps from newest to oldest.

depthstring required

256-bit blake2b hash.

childTargetstring required

256-bit blake2b hash.

siafundTaxRevenuestring required

Hastings (1 Siacoin = 10^24 Hastings).

oakTimestring required

Oak target window as a Go duration string.

oakTargetstring required

256-bit blake2b hash.

foundationSubsidyAddressstring required

Human-readable Sia address.

foundationManagementAddressstring required

Human-readable Sia address.

totalWorkstring required

Quantity of work encoded as a decimal string.

difficultystring required

Quantity of work encoded as a decimal string.

oakWorkstring required

Quantity of work encoded as a decimal string.

attestationsinteger required

Changes

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status