Search…
⌃K
Links

retrieveVerifiedAccount

​
You can use this function to retrieve your account by the account name. If your account name is the same as your public key, you can use it like so:
const account = await retrieveVerifiedAccount({ accountName: PUBLIC_KEY });
Otherwise, pass your account name into the function:
const account = await retrieveVerifiedAccount({ accountName: 'my-account-name' });
Last modified 1mo ago