bus

Get latest contract revision

Changed on

Returns the latest revision of the contract with the specified ID.

get/bus/contract/{id}/revision

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

idstring required

A unique identifier for a file contract

Response

Latest contract revision

contractIDstring

A unique identifier for a file contract

missedHostValuestring

An unsigned amount of Hastings, the smallest unit of currency in Sia. 1 Siacoin (SC) equals 10^24 Hastings (H).

renterFundsstring

An unsigned amount of Hastings, the smallest unit of currency in Sia. 1 Siacoin (SC) equals 10^24 Hastings (H).

revisionNumberinteger

The revision number of the contract

sizeinteger

The size of the contract in bytes

Example response

{
  "revisionNumber": 246
}

Changes

    • breaking

      removed the media type text/plain for the response with the status

    • info

      api tag bus added

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      endpoint added