RegistrationApi

RegistrationApi

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
Name Type Description
body Array.<AccountRegistration>
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.

RegistrationApi

new RegistrationApi(apiClientopt)

Constructs a new RegistrationApi.

Parameters:
Name Type Attributes Description
apiClient ApiClient <optional>

Optional API client implementation to use, default to ApiClient#instance if unspecified.

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
Name Type Description
body Array.<AccountRegistration>
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.