Vana SDK - v3.5.0
    Preparing search index...

    Module index.browser

    Exposes the platform adapter, ECIES crypto, storage providers, smart-contract helpers, ABIs, addresses, chain configurations, and shared types — without Node-only dependencies.

    Classes - Storage

    StorageManager
    CallbackStorage
    DropboxStorage
    GoogleDriveStorage
    IpfsStorage
    PinataStorage
    R2Storage
    VanaStorage

    Classes - Reference

    MissingAuthError
    InvalidSignatureError
    ExpiredTokenError
    InMemoryTokenStore
    BrowserECIESProvider
    PSError

    Classes - Auth

    OAuthClient

    Classes - Contracts

    ContractFactory

    Classes - Error Handling

    VanaError
    RelayerError
    UserRejectedRequestError
    InvalidConfigurationError
    ContractNotFoundError
    BlockchainError
    SerializationError
    SignatureError
    NetworkError
    NonceError
    PersonalServerError
    ServerUrlMismatchError
    PermissionError
    ReadOnlyError
    TransactionPendingError

    Classes - Errors

    ECIESError

    Classes - Platform

    BrowserPlatformAdapter

    Interfaces - Storage

    R2Config
    VanaStorageSigner
    VanaStorageConfig
    StorageProvider

    Interfaces - Configuration

    StorageCallbacks
    StorageDownloadOptions
    StorageListResult

    Interfaces - Reference

    OAuthClientConfig
    AuthorizationUrlResult
    TokenRecord
    TokenStore
    ServiceEndpoints
    ECIESEncrypted
    ECIESOptions
    GenericPaymentMessage
    EscrowBalanceEntry
    EscrowBalanceResult
    EscrowBalanceSyncResult
    DepositSubmissionResult
    PaymentBreakdown
    EscrowPayResult
    SubmitDepositParams
    PayForOpParams
    EscrowGatewayClient

    Interfaces - Contracts

    ContractInfo
    ContractDeployment

    Interfaces - Cryptography

    ECIESProvider

    Interfaces - Platform

    VanaPlatformAdapter

    Type Aliases - Reference

    Web3SignedSignFn
    PSErrorCode

    Type Aliases - Blockchain

    VanaChainId
    VanaChain

    Type Aliases - Contracts

    VanaContractName
    VanaContractInstance
    ContractAddresses

    Variables - Reference

    vanaMainnet
    moksha
    mainnetServices
    mokshaServices
    MASTER_KEY_MESSAGE
    GENERIC_PAYMENT_TYPES
    ESCROW_DEPOSIT_ABI
    NATIVE_ASSET_ADDRESS

    Variables - Auth

    PKCE_VERIFIER_PATTERN
    PKCE_CHALLENGE_PATTERN

    Variables - Blockchain

    chains

    Functions - Reference

    generatePkceVerifier
    computePkceChallenge
    verifyPkceChallenge
    computeBodyHash
    buildWeb3SignedHeader
    parseWeb3SignedHeader
    verifyWeb3Signed
    getChainConfig
    getAllChains
    getServiceEndpoints
    clearContractCache
    isECIESEncrypted
    serializeECIES
    deserializeECIES
    encryptWithPassword
    decryptWithPassword
    deriveMasterKey
    recoverServerOwner
    deriveScopeKey
    getContractAddress
    createBrowserPlatformAdapter
    createPlatformAdapterSafe
    detectPlatform
    isPlatformSupported
    getPlatformCapabilities
    genericPaymentDomain
    createEscrowGatewayClient
    parsePSError

    Functions - Auth

    assertValidPkceVerifier

    Functions - Blockchain

    isVanaChainId
    isVanaChain

    Functions - Contracts

    getContractController
    getContractInfo