Learn how to use the getSmartAccount JSON-RPC method.
getSmartAccount
getSmartAccount
returns information regarding a specific smart account (such as a BICONOMY
, CYBERCONNECT
, SIMPLE
, LIGHT
, XTERIO
account) tied to an account address. It takes:
name
- string. Either BICONOMY
, CYBERCONNECT
or SIMPLE
.version
- string. Either 1.0.0
, ‘1.0.2’ or 2.0.0
(see the Web SDK reference for supported configurations).ownerAddress
- string.Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Request to retrieve smart account information.
The body is of type object
.
Successful response with smart account information.
The response is of type object
.