Provide global configuration and states for components.
| Property | Description | Type | Default | Version |
|---|---|---|---|---|
| locale | Multilingual settings | Locale | - | |
| account | Account | Account | - | |
| chain | Chain | Chain | - | |
| balance | Balance | Balance | - | |
| availableWallets | List of available wallets | Wallet[] | - | |
| availableChains | List of available chains | Chain[] | - | |
| extendsContextFromParent | extends context from parent Provider | boolean | true | |
| connect | Connect to the chain | (wallet?: Wallet) => Promise<void> | - | |
| disconnect | Disconnect from the chain | () => Promise<void> | - | |
| switchChain | Switch to another chain | (chain: Chain) => Promise<void> | - | |
| getNFTMetadata | Get the metadata of the NFT | (params: { address: string; tokenId: bigint }) => Promise<NFTMetadata>; | - | |
| sign | Sign-in configuration | SignConfig | - | 1.20.0 |
Web3ConfigProvider API inherits from UniversalWeb3ProviderInterface, providing chain-related interaction interfaces for UI components.