new RegistrationApi()
- Version:
- 1.0
Registration service.
Methods
registerAccount(xChainId, opts, callback)
RegisterAccount Register account which used before
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
xChainId |
String | Klaytn chain network ID (1001 or 8217) |
||||||
opts |
Object | Optional parameters Properties
|
||||||
callback |
RegistrationApi~registerAccountCallback | The callback function, accepting three arguments: error, data, response data is of type: RegistrationStatusResponse |
Type Definitions
registerAccountCallback(error, data, response)
Callback function to receive the result of the registerAccount operation.
Parameters:
Name | Type | Description |
---|---|---|
error |
String | Error message, if any. |
data |
RegistrationStatusResponse | The data returned by the service call. |
response |
String | The complete HTTP response. |