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 position collateral on Ostium with the Builder SDK.
updateCollateral()
await client.updateCollateral({ pairId, idx, amount: '50' }); await client.updateCollateral({ pairId, idx, amount: '-25' });
ALLOWANCE_INSUFFICIENT