Documentation Index
Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
Use this file to discover all available pages before exploring further.
Checking Bitcoin Wallet Account Type
When working with multiple blockchain types, you may need to check if a wallet account is specifically a Bitcoin wallet account. TheisBitcoinWalletAccount type guard function helps you narrow down the type safely.
Usage
Parameters
| Parameter | Type | Description |
|---|---|---|
walletAccount | WalletAccount | The wallet account to check |
Returns
boolean - Returns true if the wallet account is a Bitcoin wallet account, false otherwise. Also acts as a TypeScript type guard, narrowing the type to BitcoinWalletAccount.
Related functions
- sendBitcoin - Send a Bitcoin transaction