Skip to main content
No-op on exchanges that don’t cache. Polymarket uses this to refresh USDC and CTF allowances after on-chain approvals.
async fn refresh_balance() -> Result<(), OpenPxError>

Parameters

None.

Returns

() on success.

Example

ex.refresh_balance().await?;