Skip to main content
Simplified input for creating a Grid account. Provide either an email for email-based accounts or a signer public key for signer-based accounts.

Example

/ Email-based account
const input: CreateAccountInput = { email: 'user@example.com' };

/ Signer-based account
const input: CreateAccountInput = { signer: 'publicKeyString' };

Properties

PropertyTypeDescription
email?stringEmail address for email-based accounts
signer?stringSolana public key for signer-based accounts
I