RegistrationApi

RegistrationApi

new RegistrationApi()

Version:
  • 1.0

Registration service.

Methods

registerAccount(opts, callback)

Account registration Add account in the account pool. The only permitted transaction type for the RLP value is TxTypeFeeDelegatedAccountUpdate. Choose `AccountKeyPublic` for `key` type to use the public key from the key newly created in the wallet. Using other `key` types may result in restrictions for using this account. When the RLP value is ommitted, a transaction does not occur.

Parameters:
Name Type Description
opts Object

Optional parameters

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(opts, callback)

Account registration Add account in the account pool. The only permitted transaction type for the RLP value is TxTypeFeeDelegatedAccountUpdate. Choose `AccountKeyPublic` for `key` type to use the public key from the key newly created in the wallet. Using other `key` types may result in restrictions for using this account. When the RLP value is ommitted, a transaction does not occur.

Parameters:
Name Type Description
opts Object

Optional parameters

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.