createSelfAndGasless() client.
getSmartAccountAddress() as the delegate for the trader EOA.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Register the Safe delegate required for self gasless Ostium trading.
createSelfAndGasless() client.
await client.approveUsdc('max');
await client.setupGaslessDelegation();
getSmartAccountAddress() as the delegate for the trader EOA.
interface Response {
txHash: `0x${string}`;
smartAccountAddress?: `0x${string}`;
}