Documentation Index
Fetch the complete documentation index at: https://docs.ostium.com/llms.txt
Use this file to discover all available pages before exploring further.
createSelfAndGasless() keeps custody with the trader EOA but submits trades through a Safe smart account.
- the trader EOA owns USDC and positions
- the trader EOA signs the underlying trade action
- the trader’s Safe submits the transaction as a sponsored user operation
When to use it
- consumer apps that want a gasless UX
- embedded trading flows where the user should not need ETH after setup
- client-side apps that already have a Safe execution path
One-time setup
The trader must do two EOA-signed transactions once:Submit-capable client
Build-only client
get*Tx() returns a Safe-style request with safeAddress and calls.