Record contract spending

post/contracts/spending

Request body

deletionsstring

Total amount spent on sector deletions

fundAccountstring

Total amount spent on funding ephemeral accounts

sectorRootsstring

Total amount spent on listing sector roots

uploadsstring

Total amount spent on storing sectors

contractIDstring

A unique identifier for a file contract

revisionNumberinteger

The revision number of the contract

sizeinteger

The size of the contract in bytes

missedHostPayoutstring

The amount of siacoins that the host will receive if the contract resolves missed

validRenterPayoutstring

The amount of siacoins that the renter will receive if the contract resolves valid.

Example request

[
  {
    "revisionNumber": 246
  }
]

Response

Spending recorded successfully

Changes