Skip to main content

Module client

Module client 

Source
Expand description

The NodeClient trait — the abstract interface every concrete node adapter implements.

This is deliberately thin: two async methods plus a convenience send_and_wait_for helper. Mirrors the TS NodeClient.Service interface from midnight-wallet/packages/node-client/src/effect/NodeClient.ts.

Structs§

Genesis
Initial-chain-state bootstrap data returned by NodeClient::get_genesis.

Traits§

NodeClient
Client for the Midnight node’s submission RPC.

Type Aliases§

SerializedTransaction
Transparent newtype wrapper around Midnight transaction bytes.