getAccount
Return the Account that is currently connected to the dApp.
Input Arguments
None
Success Response
Parameter
Description
address: string
Address of the connected account
label?: string
A label the users has set to identify their wallet
isLedger: boolean
Whether the connected account is a ledger account
Error Response
Parameter
Description
type: string
The type of error which has occured
description: string
A description of the error which has occured
data: string
Any raw data associated with the error
Example
Request
Response
最后更新于