OMSWallet
OMSWallet
Main entry point for OMS Wallet.
Authentication and sessions
OMSWalletSessionAuth
OMSWalletEmailSessionAuth
OMSWalletOidcSessionAuthFlow
OMSWalletOidcSessionAuth
OMSWalletSessionState
Current durable wallet-session state for a WalletClient.
OMSWalletSessionExpiredEvent
Event delivered when a wallet session expires.
WalletType
Wallet
Page
CredentialInfo
ListAccessResponse
CustomOidcProviderConfig
Caller-owned OIDC provider configuration for authorization-code redirect auth.
OmsRelayOidcProvider
Opaque OIDC provider value whose OAuth callback is owned by the OMS relay.
OmsRelayOidcProviders
SDK-owned OMS relay provider values.
OidcRedirectAuthMode
WaaS redirect auth-code mode supported by OIDC redirect providers.
StartOidcRedirectAuthResult
Result returned after starting an OIDC authorization-code redirect flow.
OidcRedirectAuthResult
Result of handling an incoming OIDC authorization-code redirect callback.
OidcRedirectAuthResult.Completed
OidcRedirectAuthResult.NotOidcRedirectCallback
OidcRedirectAuthResult.NoPendingAuth
WalletSelectionResult
Result returned after selecting or creating a wallet.
WalletSelectionBehavior
Controls whether auth completion should select a wallet automatically or let
the app complete wallet selection.
PendingWalletSelection
Authenticated state waiting for the app to select or create a wallet.
CompleteAuthResult
Result returned by auth completion APIs when wallet selection can be automatic
or app-driven.
CompleteAuthResult.WalletSelected
CompleteAuthResult.WalletSelection
WalletClient
WalletClient.DEFAULT_SESSION_LIFETIME_SECONDS
Default requested WaaS wallet session lifetime in seconds.
WalletClient.MAX_SESSION_LIFETIME_SECONDS
Maximum requested WaaS wallet session lifetime in seconds.
WalletClient.walletAddress
Address of the currently selected wallet, or null when no wallet is selected.
WalletClient.session
Snapshot of the current completed wallet-session state.
WalletClient.onSessionExpired
Registers a listener for expired wallet sessions.
WalletClient.signOut
WalletClient.startEmailAuth
WalletClient.signInWithOidcIdToken
WalletClient.startOidcRedirectAuth
WalletClient.handleOidcRedirectCallback
WalletClient.completeEmailAuth
WalletClient.useWallet
Selects an existing wallet by its WaaS wallet id.
WalletClient.createWallet
Creates and selects a new wallet for the authenticated user.
WalletClient.listWallets
Lists all wallets available to the authenticated credential.
WalletClient.listAccess
Returns all credentials that currently have access to the selected wallet.
WalletClient.listAccessPages
Emits credential-access pages for the selected wallet until WaaS stops
returning a cursor.
WalletClient.listAccessPage
Returns one credential-access page for the selected wallet.
WalletClient.getIdToken
Returns an ID token for the currently selected wallet.
WalletClient.revokeAccess
Revokes a credential’s access to the selected wallet.
Transactions and signing
TransactionMode
TransactionStatus
FeeToken
FeeOption
FeeOptionSelection
AbiArg
TransactionStatusResponse
FeeOptionSelector
FeeOptionWithBalance
SendTransactionRequest
SendTransactionResponse
TransactionStatusResolution
TransactionStatusPollingOptions
WalletClient.signMessage
Signs message with the currently selected wallet on network.
WalletClient.signTypedData
Signs EIP-712 typedData with the currently selected wallet on network.
WalletClient.isValidMessageSignature
Validates signature for message through the WaaS public wallet RPC.
WalletClient.isValidTypedDataSignature
Validates signature for EIP-712 typedData through the WaaS public wallet RPC.
WalletClient.sendTransaction
Sends a transaction from the currently selected wallet on network.
WalletClient.callContract
Calls a state-changing smart contract function through the WaaS
prepare/execute flow.
WalletClient.getTransactionStatus
Returns the current WaaS execution status for a prepared or submitted
transaction.
Indexer
IndexerClient
IndexerClient.getBalances
Gets token and native balances for walletAddress.
IndexerClient.getTransactionHistory
Gets transaction history for walletAddress.
TokenBalancesPageRequest
IndexerNetworkType
ContractVerificationStatus
TokenBalancesPage
MetadataOptions
TokenContractInfo
TokenMetadataAsset
TokenMetadata
TokenBalance
NativeTokenBalance
ContractTokenBalance
TokenBalancesResult
TransactionTransfer
Transaction
TransactionHistoryResult
Networks, types, and errors
Network
A network supported by the OMS Wallet SDK.
OMSWalletNetworks
Networks currently supported by this SDK build.
OMSWalletErrorCode
Stable SDK-level error categories for app-facing error handling.
OMSWalletOperation
Stable identifiers for SDK operations that can appear on OMSWalletException.
OMSWalletUpstreamService
Remote OMS service that produced diagnostic failure details.
OMSWalletUpstreamError
Normalized diagnostic detail from a remote OMS service response or transport failure.
OMSWalletException
Base exception type thrown by public OMS Wallet SDK APIs.
OMSWalletSessionException
OMSWalletRequestException
OMSWalletResponseException
OMSWalletTransactionException
OMSWalletSelectionException
OMSWalletValidationException
OMSWalletStorageException
formatUnits
Divides value by 10^decimals and formats it as a decimal string.
parseUnits
Multiplies the decimal string value by 10^decimals.