Module responses

Module responses 

Source

Structs§

AddPeerResponse
Response of POST /api/core/v2/peers. Returns information about the added peer.
BaseTokenResponse
Returned in InfoResponse. Information about the base token.
BlockMetadataResponse
Response of GET /api/core/v2/blocks/{block_id}/metadata. Returns the metadata of a block.
ConfirmedMilestoneResponse
Returned in StatusResponse. Information about the confirmed milestone.
InfoResponse
Response of GET /api/core/v2/info. Returns general information about the node.
LatestMilestoneResponse
Returned in StatusResponse. Information about the latest milestone.
MetricsResponse
Returned in InfoResponse. Metric information about the node.
OutputMetadataResponse
Response of GET /api/core/v2/outputs/{output_id}/metadata. Returns an output metadata.
OutputResponse
Response of GET /api/core/v2/outputs/{output_id}. Returns an output and its metadata.
PeerResponse
Response of GET /api/core/v2/peer/{peer_id}. Returns information about a specific peer of the node.
PeersResponse
Response of GET /api/core/v2/peers. Returns information about all peers of the node.
PendingProtocolParameter
Returned in InfoResponse. Pending protocol parameters.
ProtocolResponse
Returned in InfoResponse. Protocol information about the node.
ReceiptsResponse
Response of:
RentStructureResponse
Returned in InfoResponse. Rent information about the node.
RoutesResponse
Response of GET /api/routes. Returns the available API route groups of the node.
StatusResponse
Returned in InfoResponse. Status information about the node.
SubmitBlockResponse
Response of POST /api/core/v2/blocks. Returns the block identifier of the submitted block.
TipsResponse
Response of GET /api/core/v2/tips. Returns non-lazy tips.
TreasuryResponse
Response of GET /api/core/v2/treasury. Returns all information about the treasury.
UtxoChangesResponse
Response of GET /api/core/v2/milestone/{milestone_index}/utxo-changes. Returns all UTXO changes that happened at a specific milestone.
WhiteFlagResponse
Response of GET /api/plugins/debug/whiteflag. Returns the computed merkle tree hash for the given white flag traversal.

Enums§

BlockResponse
Response of GET /api/core/v2/blocks/{block_id}. Returns a specific block.
MilestoneResponse
Response of GET /api/core/v2/milestone/{milestone_index}. Returns information about a milestone.