Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Add or remove collateral from an Ostium position with the Builder SDK.
await client.updateCollateral({ pairId, idx, amount: '50' }); await client.updateCollateral({ pairId, idx, amount: '-25' });
interface Response { txHash: `0x${string}`; smartAccountAddress?: `0x${string}`; }