requestAddresses
Requests a list of accounts managed by a wallet.
requestAddresses sends a request to the wallet, asking for permission to access the user's accounts. After the user accepts the request, it will return a list of accounts (addresses).
This API can be useful for dapps that need to access the user's accounts in order to execute transactions or interact with smart contracts.
Usage
import { } from "./client";
const = await .();
// ['cfx:...', 'cfx:...']import { , } from 'cive'
import { } from 'cive/chains'
export const = ({
: ,
: (.!),
})