Changeset View
Changeset View
Standalone View
Standalone View
chronik/chronik-proto/proto/chronik.proto
Show First 20 Lines • Show All 140 Lines • ▼ Show 20 Lines | |||||
// List of UTXOs of a script | // List of UTXOs of a script | ||||
message ScriptUtxos { | message ScriptUtxos { | ||||
// The serialized script of the UTXOs | // The serialized script of the UTXOs | ||||
bytes script = 1; | bytes script = 1; | ||||
// UTXOs of the script. | // UTXOs of the script. | ||||
repeated ScriptUtxo utxos = 2; | repeated ScriptUtxo utxos = 2; | ||||
} | } | ||||
// Raw serialized tx. | |||||
message RawTx { | |||||
// Bytes of the serialized tx. | |||||
bytes raw_tx = 1; | |||||
} | |||||
// Subscription to WebSocket updates. | // Subscription to WebSocket updates. | ||||
message WsSub { | message WsSub { | ||||
// Set this to `true` to unsubscribe from the event. | // Set this to `true` to unsubscribe from the event. | ||||
bool is_unsub = 1; | bool is_unsub = 1; | ||||
// What kind of updates to subscribe to. | // What kind of updates to subscribe to. | ||||
oneof sub_type { | oneof sub_type { | ||||
// Subscription to block updates | // Subscription to block updates | ||||
WsSubBlocks blocks = 2; | WsSubBlocks blocks = 2; | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |