POST
/
nodes
/
model-subscribe

Body

application/json

Represents a request to subscribe to a node model.

This struct encapsulates the necessary parameters for subscribing to a node model, including optional gas-related fields.

echelon_id
integer
required

The echelon ID associated with the subscription.

Required range: x > 0
model_name
string
required

The name of the model to subscribe to.

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
node_badge_id
string

Optional node badge ID. If not provided, the default is None.

Response

200 - application/json

Represents a response to a node model subscription request.

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

tx_digest
string
required

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