Sha256: 40bad66d5c6a40f2ae8f1111467e68171f80032e10c63c2f997985a1b97582f8
Contents?: true
Size: 1.2 KB
Versions: 1
Compression:
Stored size: 1.2 KB
Contents
syntax = "proto3"; package waves.events.grpc; option java_package = "com.wavesplatform.events.api.grpc.protobuf"; option csharp_namespace = "Waves.Events.Grpc"; option go_package = "github.com/wavesplatform/gowaves/pkg/grpc/generated/waves/events/grpc"; import "waves/events/events.proto"; service BlockchainUpdatesApi { rpc GetBlockUpdate (GetBlockUpdateRequest) returns (GetBlockUpdateResponse); rpc GetBlockUpdatesRange (GetBlockUpdatesRangeRequest) returns (GetBlockUpdatesRangeResponse); rpc Subscribe (SubscribeRequest) returns (stream SubscribeEvent); } message GetBlockUpdateRequest { int32 height = 1; } message GetBlockUpdateResponse { waves.events.BlockchainUpdated update = 1; } message GetBlockUpdatesRangeRequest { // both required, inclusive int32 from_height = 1; int32 to_height = 2; } message GetBlockUpdatesRangeResponse { repeated waves.events.BlockchainUpdated updates = 1; } message SubscribeRequest { // Optional. Default: start at the genesis, height 1. int32 from_height = 1; // Optional. Default: stream historical, then switch to current events. int32 to_height = 2; } message SubscribeEvent { waves.events.BlockchainUpdated update = 1; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
waves_lib-0.1.0 | js/node_modules/@waves/protobuf-serialization/proto/waves/events/grpc/blockchain_updates.proto |