Package-level declarations

Types

Link copied to clipboard

Configuration-related errors (1xxx range).

Link copied to clipboard

Contract-level error codes from the OZ smart account contract.

Link copied to clipboard

Credential-related errors (3xxx range).

Link copied to clipboard
data class DelegatedSigner(val address: String) : SmartAccountSigner

A delegated signer using a Soroban address with built-in require_auth verification.

Link copied to clipboard
data class Ed25519Signature(val publicKey: ByteArray, val signature: ByteArray) : SmartAccountSignature

Ed25519 signature from a traditional keypair.

Link copied to clipboard
data class ExternalSigner(val verifierAddress: String, val keyData: ByteArray) : SmartAccountSigner

An external signer using a verifier contract for custom signature validation.

Link copied to clipboard

Indexer-related errors (10xxx range).

Link copied to clipboard

Policy signature representing policy-based authorization.

Link copied to clipboard

Session-related errors (9xxx range).

Link copied to clipboard

Signer-related errors (6xxx range).

Link copied to clipboard
data class SimpleThresholdParams(val threshold: Int)

Parameters for simple threshold policy.

Link copied to clipboard

Authentication utilities for Smart Account authorization entries.

Link copied to clipboard
data class SmartAccountAuthPayload(val signers: MutableMap<SmartAccountSigner, ByteArray>, val contextRuleIds: List<UInt>)

Represents the v0.7.0 AuthPayload format used by the OZ smart account contract.

Link copied to clipboard

Codec for reading and writing SmartAccountAuthPayload to/from SCValXdr.

Link copied to clipboard

Builder utilities for Smart Account Kit.

Link copied to clipboard

Cryptographic and protocol-level constants for Smart Account operations.

Link copied to clipboard

Error codes for Smart Account operations.

Link copied to clipboard

Base sealed class for Smart Account exceptions.

Link copied to clipboard

Base sealed class for smart account signature types.

Link copied to clipboard
sealed class SmartAccountSigner

Represents a signer that can authorize smart account transactions.

Link copied to clipboard

Utility functions for Smart Account operations.

Link copied to clipboard

Parameters for spending limit policy.

Link copied to clipboard

Storage-related errors (8xxx range).

Link copied to clipboard

Determines how a transaction is submitted to the network.

Link copied to clipboard

Transaction-related errors (5xxx range).

Link copied to clipboard

Validation-related errors (7xxx range).

Link copied to clipboard

Wallet state-related errors (2xxx range).

Link copied to clipboard

WebAuthn-related errors (4xxx range).

Link copied to clipboard
data class WebAuthnSignature(val authenticatorData: ByteArray, val clientData: ByteArray, val signature: ByteArray) : SmartAccountSignature

WebAuthn signature from a passkey authentication ceremony.

Link copied to clipboard
data class WeightedThresholdParams(val threshold: Int, val signerWeights: Map<SmartAccountSigner, Int>)

Parameters for weighted threshold policy.