Skip to main content

WalletNamespace

Wallet namespace that provides unified wallet operations

Methods

hostedWalletProvider()

Get direct access to the hosted wallet provider Returns: Promise resolving to the configured hosted wallet provider instance Source ↗

smartWalletProvider()

Get direct access to the smart wallet provider Returns: Promise resolving to the configured smart wallet provider instance Source ↗

createSmartWallet()

Create a new smart wallet Returns: Promise resolving to deployment result containing:
  • wallet: The created SmartWallet instance
  • deployments: Array of deployment results with chainId, receipt, success flag, and error
Source ↗

createSigner()

Create a viem LocalAccount signer from the hosted wallet Returns: Promise resolving to a viem LocalAccount with the hosted wallet as the signer backend Source ↗

toActionsWallet()

Convert a hosted wallet to an Actions wallet Returns: Promise resolving to the Actions wallet instance Source ↗

getSmartWallet()

Get an existing smart wallet with a provided signer Returns: Promise resolving to the smart wallet instance with the provided signer Source ↗

Wallet

Base actions wallet class

Namespaces

Properties

Methods

getBalance()

Get asset balances across all supported chains Returns: Promise resolving to array of token balances with chain breakdown Source ↗

send()

Send a transaction using this actions wallet Returns: Promise resolving to the transaction hash Source ↗

sendBatch()

Send a batch of transactions using this actions wallet Returns: Promise resolving to the transaction hash Source ↗