Hook to access and modify wallet configuration settings
Array<{ contractAddress: string, chainId: number }>
Array of assets to display in the wallet interface. Each asset is defined by:
contractAddress
: The token contract addresschainId
: The network ID where the token existsnumber[] | undefined
Array of network IDs where transactions are disabled. These networks are available for viewing balances and transaction history, but users cannot initiate new transactions.
(assets: Array<{ contractAddress: string, chainId: number }>) => void
Function to update the list of displayed assets. Takes an array of asset objects, each containing a contract address and chain ID.
This hook provides access to wallet display settings and network status information.
Key features:
Common use cases:
Best practices:
The hook is commonly used in wallet configuration interfaces to manage which assets are displayed and check network status.
Hook to access and modify wallet configuration settings
Array<{ contractAddress: string, chainId: number }>
Array of assets to display in the wallet interface. Each asset is defined by:
contractAddress
: The token contract addresschainId
: The network ID where the token existsnumber[] | undefined
Array of network IDs where transactions are disabled. These networks are available for viewing balances and transaction history, but users cannot initiate new transactions.
(assets: Array<{ contractAddress: string, chainId: number }>) => void
Function to update the list of displayed assets. Takes an array of asset objects, each containing a contract address and chain ID.
This hook provides access to wallet display settings and network status information.
Key features:
Common use cases:
Best practices:
The hook is commonly used in wallet configuration interfaces to manage which assets are displayed and check network status.