Create a passkey and Grid smart account in one atomic operation.
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