Important behavior
- available in self modes
- unavailable in delegated modes
- required before
openTrade()and someupdateCollateral()top-ups
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Approve TradingStorage to spend trader USDC through the Ostium Builder SDK.
await client.approveUsdc('max');
await client.approveUsdc('1000');
openTrade() and some updateCollateral() top-upsinterface Response {
txHash: `0x${string}`;
smartAccountAddress?: `0x${string}`;
}