Documentation
    Preparing search index...

    Function isStalePriceAbort

    • Checks whether an execution or simulation error is a MoveAbort in 0x2::balance, which for walrus payment transactions usually indicates the payment was computed from stale cached prices (it can also indicate an insufficient WAL balance). This can be used to detect stale prices when executing transactions outside of the walrus client (for example through a wallet or a sponsor). Calling WalrusClient.reset() clears the cached prices, so transactions built afterwards will use freshly loaded prices.

      Parameters

      Returns boolean