POST
/
nodes
/
register
curl --request POST \
  --url http://localhost:3001/nodes/register \
  --header 'Content-Type: application/json' \
  --data '{
  "gas": "<string>",
  "gas_budget": 1,
  "gas_price": 1
}'
{
  "tx_digest": "<string>"
}

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.

Response

200
application/json

Node registration successful

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.