Enclave API Documentation
  • Welcome
  • Getting Started
    • Integrations
  • SDK
  • Integrating with Privy
  • Models
    • Passkey Models
    • Transaction Models
    • User Model
    • Smart Balance
  • API Reference
    • Health Check
    • User Details
    • Smart Balance
    • Smart Account Creation
    • Smart Account Transactions
    • Passkey Account Creation
    • Passkey Account Authentication
    • Passkey Account Transactions
    • Session Key
  • COMING SOON
    • SDKs
    • Network Support
    • Protocol Integration
    • Mobile Integration
    • Custom Integration
Powered by GitBook
On this page
  1. Models

User Model

interface NewEnclaveUser {
    username: string,
    passkeyRegistrationOptions: any,
    passkey: any,
    publickey: any,
    deviceInfo: AuthenticatorDevice,
    passkeyAuthenticationOptions: any,
    passkeyTransactionOptions: any,
    transactionNetwork: number,
    verified: boolean,
    authenticated: Boolean,
    credential: RegistrationResponseJSON,
    userOp?: UserOperationStruct,
    wallet: {
        scw_address: string,
        multi_scw?: any,
        public_key: {
            x: string,
            y: string,
            pkHex: string
        },
    },
    orgId: string,
    gasConfig?: {
        mode: GasModes,
    },
    overallTxnDetails?: any,
    addedOn?: number;
    updatedOn?: number;
    version?: number;
    lastTransaction?: number,
    fcmToken?: String,
}
PreviousTransaction ModelsNextSmart Balance

Last updated 6 months ago