- Preparing search index...
- The search index is not available
Stacks.js
Function fetchUsernameForAccountByDerivationType
- fetchUsernameForAccountByDerivationType(opts): Promise<{
username: undefined | string;
}>
-
Parameters
-
opts: {
derivationType: Wallet | Data;
index: number;
network?: StacksNetwork | "mainnet" | "testnet" | "devnet" | "mocknet";
rootNode: HDKey;
} & ApiParam
Returns Promise<{
username: undefined | string;
}>