Skip to main content

Wallet Preloading

preloadWallet()

Preloads the wallet service to improve performance by initializing the wallet infrastructure before it’s needed. Method Signature:
Usage:
Important notes:
  • The wallet can be preloaded even before the user is logged in
  • Improves response time for subsequent wallet operations
  • Even if preloading hasn’t finished, using the provider or any other wallet operation will ensure that the wallet is done initializing before executing the actual call
Requirements:
  • Service must be initialized

EIP-1193 Wallet Provider

getProvider()

Returns an EIP-1193 compatible provider that works seamlessly with popular Web3 libraries such as web3, ethers, and Viem. Method Signature:
Returns: An EIP-1193 compatible provider object with the following interface:
Supported Events:
Requirements:
  • User must be logged in

Standard RPC Methods

The provider also supports all standard EIP-1193 methods:

Wallet Events

The EIP-1193 provider supports standard wallet events: