POST
/
nodes
/
register

Body

application/json

Represents a request to register a node.

This struct is used to encapsulate the necessary parameters for registering a node, including optional gas-related fields.

gas
string

Optional gas object ID. If not provided, the default is None.

gas_budget
integer | null

Optional gas budget. If not provided, the default is None.

Required range: x > 0
gas_price
integer | null

Optional gas price. If not provided, the default is None.

Required range: x > 0

Response

200 - application/json

Represents a response to a node registration request.

This struct contains the transaction digest, which is a unique identifier for the transaction associated with the node registration.

tx_digest
string
required

The transaction digest. This is a unique identifier for the transaction.