Check a flush on any pool
/dex/pools/{poolNft}/flush/checkWhat flushing the pool would move into its vault now. X is ERG for an ERG/token pool. lastFlushHeight is not tracked for these pools.
Path parameters
poolNftstringrequiredThe pool's NFT id, 64 hex characters
Responses
200The flush as it standsLDFlushCheck▶
pendingXstringrequirednanoERG fees the pool is holding for the vault. Decimal string.
pendingYstringrequiredToken side of the same. Decimal string.
canFlushbooleanrequiredA flush needs something to move, or the pool rejects it
poolAccXstringrequiredThe pool's current ERG accumulator. Decimal string.
poolAccYstringrequiredvaultAccXstringrequiredThe vault's ERG accumulator. Trails the pool's; the gap is exactly the money the vault does not yet have. Decimal string.
vaultAccYstringrequiredvaultBalanceAfterXstringrequiredWhat the vault would hold once the flush lands. Decimal string.
vaultBalanceAfterYstringrequiredlastFlushHeightinteger · int32currentHeightinteger · int32required
404No LithosDex pool with that NFT.ApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description
503The pool index is still building, or the node could not be read. 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