Skip to content
    hazBasehazBaseDocs
    SMART CONTRACTS
    Contract catalog

    SmartAccount

    A wallet with contract-based signature validation and execution permissions.

    WalletsSmartAccountV2.sol

    Role and use

    Build wallets with passkey-based owner validation, scoped session keys and recovery.

    Integration considerationsThe referenced implementation is SmartAccountV2. Scope session targets, operations and expiry to the Wallet API approval flow.

    Key contract operations

    Key entry points for direct contract calls. Consult the linked implementation and matching ABI for parameters, types and access conditions.

    OperationPurpose
    executeExecute an authorized call
    executeBatchExecute a batch of calls
    grantSessionKeyConfigure session-key permissions
    revokeSessionKeyRevoke a session key
    Integrate through the Wallet API

    Related contracts

    Put it into practice

    Payments & connected services

    See the data model, processing sequence and SDK code for an application-level implementation.

    Read the implementation pattern

    Specification and source

    The Solidity source is pinned to the revision below. Match it with the SDK version and your network’s implementation address and ABI.

    smart-account/contracts/SmartAccountV2.sol

    Source revision: b53a5b5