List liquidity provisions
/dex/provisionsEvery provision held by this wallet, including those whose ownerNFT sits in one of its redeem orders. accrued* is what it has earned, claimable* is what can be paid now, and unflushed* is the difference a flush would release.
Responses
200Provisions held by this walletLDProvisionList▶
▶
provisionsLDProvision[]requiredboxIdstringrequiredProvision box id. Changes on every claim and resize.
ownerNFTstringrequiredToken that owns this provision. Unchanged by claims and resizes.
sharesstringrequiredLP shares this provision represents. Decimal string.
entryXstringrequiredAccumulator this provision last settled at. Decimal string.
entryYstringrequiredToken side of the same. Decimal string.
valuestringrequirednanoERG held by the provision box. Decimal string.
createdHeightinteger · int32requiredshareOfSupplynumber · doublerequiredaccruedXstringrequiredERG earned according to the pool, including fees not yet flushed. This is the figure to show a provider as "earned". Decimal string.
accruedYstringrequiredToken side of the same. Decimal string.
claimableXstringrequiredERG that can be paid out now. Never negative. Decimal string.
claimableYstringrequiredToken side of the same. Decimal string.
unflushedXstringrequiredaccruedX less claimableX — what a flush would release. Decimal string.
unflushedYstringrequiredToken side of the same. Decimal string.
canClaimbooleanrequiredWhether a claim would be accepted right now.
awaitingFlushbooleanrequiredTrue when nothing can be claimed until the next flush. Normal after a deposit or resize; not an error.
redeemOrderBoxIdstringPresent when an outstanding redeem order holds this provision's
ownerNFT. The provision cannot be claimed, resized or redeemed directly until that order fills or is cancelled.
503Node or wallet unavailable. Never returns a partial list.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