The SDK exposesDocumentation Index
Fetch the complete documentation index at: https://docs.ostium.com/llms.txt
Use this file to discover all available pages before exploring further.
get*Tx() helpers for every write action. Use them when your app wants the SDK to build the correct calldata, but your wallet or Safe flow will handle signing and submission.
Available methods
getSetupGaslessDelegationTx()getApproveUsdcTx(amount)getSetDelegateTx(delegateAddress)getRemoveDelegateTx()getOpenTradeTx(params)getCloseTradeTx(params)getCancelOrderTx(params)getModifyOrderTx(params)getUpdateCollateralTx(params)
Return shape
Depending on the mode, the SDK returns one of two request types:Example
createSelfAndSelf() or createDelegatedAndSelf() for EOA-style build output, and use createSelfAndGasless() or createDelegatedAndGasless() for Safe-style build output.