Fee history for one provision
/dex/provisions/{boxId}/fees/historyEarnings over time for one provision, from its current size and entry. Earnings from before a resize are not reconstructed.
Path parameters
boxIdstringrequiredUTXO id of the provision box
Query parameters
frominteger · int32First block height to include
tointeger · int32Last block height to include
bucketinteger · int32default 720Bucket size in blocks
Responses
200Bucketed fee history for the provisionLDProvisionFeeHistory▶
boxIdstringrequired▶
historyLDFeeHistoryPoint[]requiredheightinteger · int32requiredBlock height at the end of this bucket
timestampinteger · int64Unix milliseconds at the end of this bucket. Absent if unresolved.
periodXstringrequirednanoERG fees taken during this bucket. Decimal string.
periodYstringrequiredcumulativeXstringrequirednanoERG fees taken from the start of the range to here. Decimal string.
cumulativeYstringrequired
partialbooleanrequiredTrue when the series does not reach back to the pool's start.
400No pool history indexed, or an invalid range or bucket size.ApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description
404No live provision with that id.ApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description
409The provision moved. Re-read to find its current box id.LDStateChangedResponse▶
errorintegerrequiredreasonstringrequireddetailstringrequiredWhat moved, and what it moved to
poolBoxIdstringCurrent pool box id
vaultBoxIdstringCurrent vault box id
provisionBoxIdstringCurrent provision box id
503Node unavailable. Retry.ApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description
defaultErrorApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description