Create a passkey and Grid smart account in one atomic operation.
Creates both a passkey account and a Grid smart account in a single atomic transaction. Pass the raw WebAuthnDocumentation Index
Fetch the complete documentation index at: https://developers.squads.so/llms.txt
Use this file to discover all available pages before exploring further.
authenticatorResponse directly—the passkey does not need to exist beforehand.
/passkeys/submit first.slotNumber must be within Solana’s SlotHashes window (~3 minutes / 512 slots). If you encounter slot-related errors, fetch a fresh slot and retry.
Your Grid API key from the Grid Dashboard
Solana network environment (sandbox, devnet, mainnet)
Grid v1 API SessionKey type that supports backward-compatible deserialization from both raw bytes array (old format) and base58 string (new format). Always serializes to base58 string format.
x >= 0