pickAddress

Prompts the user to select an address from the wallet and returns the selected address.

Parameters

1. prompt (optional)

string

Optional text shown to the user to explain why the dapp is requesting an address selection.

Returns

Promise<Address>

Address is a Neo N3 address string.

Errors

Code
Name
Description

10006

CANCELED

The user canceled the selection request.

Example

Request

Response

最后更新于