Sha256: 1df25d146307e407306f73a6e84bcab61b188daaddb3a9338ef4722d3d900ec5
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
syntax = "proto3"; package waves.node.grpc; option java_package = "com.wavesplatform.api.grpc"; option csharp_namespace = "Waves.Node.Grpc"; option go_package = "github.com/wavesplatform/gowaves/pkg/grpc/generated/waves/node/grpc"; import "waves/block.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/wrappers.proto"; service BlocksApi { rpc GetBlock (BlockRequest) returns (BlockWithHeight); rpc GetBlockRange (BlockRangeRequest) returns (stream BlockWithHeight); rpc GetCurrentHeight (google.protobuf.Empty) returns (google.protobuf.UInt32Value); } message BlockRequest { oneof request { bytes block_id = 1; int32 height = 2; // bytes reference = 3; } bool include_transactions = 100; } message BlockRangeRequest { uint32 from_height = 1; uint32 to_height = 2; oneof filter { bytes generator_public_key = 3; bytes generator_address = 4; } bool include_transactions = 100; } message BlockWithHeight { Block block = 1; uint32 height = 2; }
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/node/grpc/blocks_api.proto |