v1

latestOpenAPI 3.0.02026-07-17120114186.8 KB
bus

Get latest contract revision

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

get/bus/contract/{id}/revision

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
}