Skip to main content

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.

Use this once after creating a createSelfAndGasless() client.
await client.approveUsdc('max');
await client.setupGaslessDelegation();
This registers the Safe returned by getSmartAccountAddress() as the delegate for the trader EOA.

Response schema

interface Response {
  txHash: `0x${string}`;
  smartAccountAddress?: `0x${string}`;
}