Methods
The following shows the methods provided by the Wepin Unity SDK.
openWidget
openWidget
The openWidget
method shows the widget window.
Example
closeWidget
closeWidget
The closeWidget
method closes the widget window.
Example
getAccounts
getAccounts
The getAccounts
method returns user accounts of the networks available in the app. getAccounts
is a method available after widget login.
<WepinSDK.Types.AccountList>
It is the returned value of the getAccounts
. If a user is logged in, it returns a list of account
.
account
<WepinSDK.Types.Accounts>address
<string> The account addressnetwork
<string>The blockchain network of the account. The name of each network can be found below.
Example
finalize
The finalize()
method finalizes the Wepin SDK.
Example
Last updated