code.vegaprotocol.io/vega@v0.79.0/protos/blockexplorer/api/v1/blockexplorer.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc (unknown) 5 // source: blockexplorer/api/v1/blockexplorer.proto 6 7 package v1 8 9 import ( 10 v1 "code.vegaprotocol.io/vega/protos/vega/commands/v1" 11 _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" 12 _ "google.golang.org/genproto/googleapis/api/annotations" 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 reflect "reflect" 16 sync "sync" 17 ) 18 19 const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24 ) 25 26 // node information 27 type InfoRequest struct { 28 state protoimpl.MessageState 29 sizeCache protoimpl.SizeCache 30 unknownFields protoimpl.UnknownFields 31 } 32 33 func (x *InfoRequest) Reset() { 34 *x = InfoRequest{} 35 if protoimpl.UnsafeEnabled { 36 mi := &file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[0] 37 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 38 ms.StoreMessageInfo(mi) 39 } 40 } 41 42 func (x *InfoRequest) String() string { 43 return protoimpl.X.MessageStringOf(x) 44 } 45 46 func (*InfoRequest) ProtoMessage() {} 47 48 func (x *InfoRequest) ProtoReflect() protoreflect.Message { 49 mi := &file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[0] 50 if protoimpl.UnsafeEnabled && x != nil { 51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 52 if ms.LoadMessageInfo() == nil { 53 ms.StoreMessageInfo(mi) 54 } 55 return ms 56 } 57 return mi.MessageOf(x) 58 } 59 60 // Deprecated: Use InfoRequest.ProtoReflect.Descriptor instead. 61 func (*InfoRequest) Descriptor() ([]byte, []int) { 62 return file_blockexplorer_api_v1_blockexplorer_proto_rawDescGZIP(), []int{0} 63 } 64 65 type InfoResponse struct { 66 state protoimpl.MessageState 67 sizeCache protoimpl.SizeCache 68 unknownFields protoimpl.UnknownFields 69 70 // Semver formatted version of the data node 71 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` 72 // Commit hash from which the data node was built 73 CommitHash string `protobuf:"bytes,2,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"` 74 } 75 76 func (x *InfoResponse) Reset() { 77 *x = InfoResponse{} 78 if protoimpl.UnsafeEnabled { 79 mi := &file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[1] 80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 81 ms.StoreMessageInfo(mi) 82 } 83 } 84 85 func (x *InfoResponse) String() string { 86 return protoimpl.X.MessageStringOf(x) 87 } 88 89 func (*InfoResponse) ProtoMessage() {} 90 91 func (x *InfoResponse) ProtoReflect() protoreflect.Message { 92 mi := &file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[1] 93 if protoimpl.UnsafeEnabled && x != nil { 94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 95 if ms.LoadMessageInfo() == nil { 96 ms.StoreMessageInfo(mi) 97 } 98 return ms 99 } 100 return mi.MessageOf(x) 101 } 102 103 // Deprecated: Use InfoResponse.ProtoReflect.Descriptor instead. 104 func (*InfoResponse) Descriptor() ([]byte, []int) { 105 return file_blockexplorer_api_v1_blockexplorer_proto_rawDescGZIP(), []int{1} 106 } 107 108 func (x *InfoResponse) GetVersion() string { 109 if x != nil { 110 return x.Version 111 } 112 return "" 113 } 114 115 func (x *InfoResponse) GetCommitHash() string { 116 if x != nil { 117 return x.CommitHash 118 } 119 return "" 120 } 121 122 type GetTransactionRequest struct { 123 state protoimpl.MessageState 124 sizeCache protoimpl.SizeCache 125 unknownFields protoimpl.UnknownFields 126 127 // Hash of the transaction 128 Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` 129 } 130 131 func (x *GetTransactionRequest) Reset() { 132 *x = GetTransactionRequest{} 133 if protoimpl.UnsafeEnabled { 134 mi := &file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[2] 135 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 136 ms.StoreMessageInfo(mi) 137 } 138 } 139 140 func (x *GetTransactionRequest) String() string { 141 return protoimpl.X.MessageStringOf(x) 142 } 143 144 func (*GetTransactionRequest) ProtoMessage() {} 145 146 func (x *GetTransactionRequest) ProtoReflect() protoreflect.Message { 147 mi := &file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[2] 148 if protoimpl.UnsafeEnabled && x != nil { 149 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 150 if ms.LoadMessageInfo() == nil { 151 ms.StoreMessageInfo(mi) 152 } 153 return ms 154 } 155 return mi.MessageOf(x) 156 } 157 158 // Deprecated: Use GetTransactionRequest.ProtoReflect.Descriptor instead. 159 func (*GetTransactionRequest) Descriptor() ([]byte, []int) { 160 return file_blockexplorer_api_v1_blockexplorer_proto_rawDescGZIP(), []int{2} 161 } 162 163 func (x *GetTransactionRequest) GetHash() string { 164 if x != nil { 165 return x.Hash 166 } 167 return "" 168 } 169 170 type GetTransactionResponse struct { 171 state protoimpl.MessageState 172 sizeCache protoimpl.SizeCache 173 unknownFields protoimpl.UnknownFields 174 175 // Transaction corresponding to the hash 176 Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` 177 } 178 179 func (x *GetTransactionResponse) Reset() { 180 *x = GetTransactionResponse{} 181 if protoimpl.UnsafeEnabled { 182 mi := &file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[3] 183 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 184 ms.StoreMessageInfo(mi) 185 } 186 } 187 188 func (x *GetTransactionResponse) String() string { 189 return protoimpl.X.MessageStringOf(x) 190 } 191 192 func (*GetTransactionResponse) ProtoMessage() {} 193 194 func (x *GetTransactionResponse) ProtoReflect() protoreflect.Message { 195 mi := &file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[3] 196 if protoimpl.UnsafeEnabled && x != nil { 197 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 198 if ms.LoadMessageInfo() == nil { 199 ms.StoreMessageInfo(mi) 200 } 201 return ms 202 } 203 return mi.MessageOf(x) 204 } 205 206 // Deprecated: Use GetTransactionResponse.ProtoReflect.Descriptor instead. 207 func (*GetTransactionResponse) Descriptor() ([]byte, []int) { 208 return file_blockexplorer_api_v1_blockexplorer_proto_rawDescGZIP(), []int{3} 209 } 210 211 func (x *GetTransactionResponse) GetTransaction() *Transaction { 212 if x != nil { 213 return x.Transaction 214 } 215 return nil 216 } 217 218 type ListTransactionsRequest struct { 219 state protoimpl.MessageState 220 sizeCache protoimpl.SizeCache 221 unknownFields protoimpl.UnknownFields 222 223 // Cursor to paginate the request. It can be used in conjunction with the `after` cursor. 224 Before *string `protobuf:"bytes,2,opt,name=before,proto3,oneof" json:"before,omitempty"` 225 // Cursor to paginate the request. It can be used in conjunction with the `before` cursor. 226 After *string `protobuf:"bytes,3,opt,name=after,proto3,oneof" json:"after,omitempty"` 227 // Filters to apply to the request 228 Filters map[string]string `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 229 // Transaction command types filter, for listing transactions with specified command types 230 CmdTypes []string `protobuf:"bytes,5,rep,name=cmd_types,json=cmdTypes,proto3" json:"cmd_types,omitempty"` 231 // Transaction command types exclusion filter, for listing all the transactions except the ones with specified command types 232 ExcludeCmdTypes []string `protobuf:"bytes,6,rep,name=exclude_cmd_types,json=excludeCmdTypes,proto3" json:"exclude_cmd_types,omitempty"` 233 // Party IDs filter, can be sender or receiver 234 Parties []string `protobuf:"bytes,7,rep,name=parties,proto3" json:"parties,omitempty"` 235 // Number of transactions to be returned from the blockchain. 236 // Use in conjunction with the `after` cursor to paginate forwards. Paginating forwards means toward the most recent 237 // transactions. 238 // It cannot be used in conjunction with the `before` cursor. 239 // On its own, this will return the `first` most recent transactions. 240 First uint32 `protobuf:"varint,8,opt,name=first,proto3" json:"first,omitempty"` 241 // Number of transactions to be returned from the blockchain. 242 // Use in conjunction with the `before` cursor to paginate backwards. Paginating forwards means toward the least recent 243 // transactions. 244 // It cannot be used in conjunction with the `after` cursor. 245 // On its own, this will return the `last` oldest transactions. 246 Last uint32 `protobuf:"varint,9,opt,name=last,proto3" json:"last,omitempty"` 247 } 248 249 func (x *ListTransactionsRequest) Reset() { 250 *x = ListTransactionsRequest{} 251 if protoimpl.UnsafeEnabled { 252 mi := &file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[4] 253 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 254 ms.StoreMessageInfo(mi) 255 } 256 } 257 258 func (x *ListTransactionsRequest) String() string { 259 return protoimpl.X.MessageStringOf(x) 260 } 261 262 func (*ListTransactionsRequest) ProtoMessage() {} 263 264 func (x *ListTransactionsRequest) ProtoReflect() protoreflect.Message { 265 mi := &file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[4] 266 if protoimpl.UnsafeEnabled && x != nil { 267 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 268 if ms.LoadMessageInfo() == nil { 269 ms.StoreMessageInfo(mi) 270 } 271 return ms 272 } 273 return mi.MessageOf(x) 274 } 275 276 // Deprecated: Use ListTransactionsRequest.ProtoReflect.Descriptor instead. 277 func (*ListTransactionsRequest) Descriptor() ([]byte, []int) { 278 return file_blockexplorer_api_v1_blockexplorer_proto_rawDescGZIP(), []int{4} 279 } 280 281 func (x *ListTransactionsRequest) GetBefore() string { 282 if x != nil && x.Before != nil { 283 return *x.Before 284 } 285 return "" 286 } 287 288 func (x *ListTransactionsRequest) GetAfter() string { 289 if x != nil && x.After != nil { 290 return *x.After 291 } 292 return "" 293 } 294 295 func (x *ListTransactionsRequest) GetFilters() map[string]string { 296 if x != nil { 297 return x.Filters 298 } 299 return nil 300 } 301 302 func (x *ListTransactionsRequest) GetCmdTypes() []string { 303 if x != nil { 304 return x.CmdTypes 305 } 306 return nil 307 } 308 309 func (x *ListTransactionsRequest) GetExcludeCmdTypes() []string { 310 if x != nil { 311 return x.ExcludeCmdTypes 312 } 313 return nil 314 } 315 316 func (x *ListTransactionsRequest) GetParties() []string { 317 if x != nil { 318 return x.Parties 319 } 320 return nil 321 } 322 323 func (x *ListTransactionsRequest) GetFirst() uint32 { 324 if x != nil { 325 return x.First 326 } 327 return 0 328 } 329 330 func (x *ListTransactionsRequest) GetLast() uint32 { 331 if x != nil { 332 return x.Last 333 } 334 return 0 335 } 336 337 type ListTransactionsResponse struct { 338 state protoimpl.MessageState 339 sizeCache protoimpl.SizeCache 340 unknownFields protoimpl.UnknownFields 341 342 // Transaction corresponding to the specific request and filters 343 Transactions []*Transaction `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"` 344 } 345 346 func (x *ListTransactionsResponse) Reset() { 347 *x = ListTransactionsResponse{} 348 if protoimpl.UnsafeEnabled { 349 mi := &file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[5] 350 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 351 ms.StoreMessageInfo(mi) 352 } 353 } 354 355 func (x *ListTransactionsResponse) String() string { 356 return protoimpl.X.MessageStringOf(x) 357 } 358 359 func (*ListTransactionsResponse) ProtoMessage() {} 360 361 func (x *ListTransactionsResponse) ProtoReflect() protoreflect.Message { 362 mi := &file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[5] 363 if protoimpl.UnsafeEnabled && x != nil { 364 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 365 if ms.LoadMessageInfo() == nil { 366 ms.StoreMessageInfo(mi) 367 } 368 return ms 369 } 370 return mi.MessageOf(x) 371 } 372 373 // Deprecated: Use ListTransactionsResponse.ProtoReflect.Descriptor instead. 374 func (*ListTransactionsResponse) Descriptor() ([]byte, []int) { 375 return file_blockexplorer_api_v1_blockexplorer_proto_rawDescGZIP(), []int{5} 376 } 377 378 func (x *ListTransactionsResponse) GetTransactions() []*Transaction { 379 if x != nil { 380 return x.Transactions 381 } 382 return nil 383 } 384 385 type Transaction struct { 386 state protoimpl.MessageState 387 sizeCache protoimpl.SizeCache 388 unknownFields protoimpl.UnknownFields 389 390 // Height of the block the transaction was found in 391 Block uint64 `protobuf:"varint,1,opt,name=block,proto3" json:"block,omitempty"` 392 // Index of the transaction in the block 393 Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` 394 // Hash of the transaction 395 Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` 396 // Vega public key of the transaction's submitter 397 Submitter string `protobuf:"bytes,4,opt,name=submitter,proto3" json:"submitter,omitempty"` 398 // Type of transaction 399 Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` 400 // Results code of the transaction. 0 indicates the transaction was successful 401 Code uint32 `protobuf:"varint,6,opt,name=code,proto3" json:"code,omitempty"` 402 // Cursor for this transaction. This is used for paginating results 403 Cursor string `protobuf:"bytes,7,opt,name=cursor,proto3" json:"cursor,omitempty"` 404 // Actual command of the transaction 405 Command *v1.InputData `protobuf:"bytes,8,opt,name=command,proto3" json:"command,omitempty"` 406 // Signature generated by the submitter for the transaction 407 Signature *v1.Signature `protobuf:"bytes,9,opt,name=signature,proto3" json:"signature,omitempty"` 408 // Optional error happening when processing / checking the transaction 409 // This should be set if error code is not 0 410 Error *string `protobuf:"bytes,10,opt,name=error,proto3,oneof" json:"error,omitempty"` 411 // Timestamp when the transaction happened, using RFC3399 format. 412 CreatedAt string `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` 413 // Version format of the transaction 414 Version v1.TxVersion `protobuf:"varint,12,opt,name=version,proto3,enum=vega.commands.v1.TxVersion" json:"version,omitempty"` 415 // Proof of Work parameters of the transaction 416 Pow *v1.ProofOfWork `protobuf:"bytes,13,opt,name=pow,proto3" json:"pow,omitempty"` 417 } 418 419 func (x *Transaction) Reset() { 420 *x = Transaction{} 421 if protoimpl.UnsafeEnabled { 422 mi := &file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[6] 423 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 424 ms.StoreMessageInfo(mi) 425 } 426 } 427 428 func (x *Transaction) String() string { 429 return protoimpl.X.MessageStringOf(x) 430 } 431 432 func (*Transaction) ProtoMessage() {} 433 434 func (x *Transaction) ProtoReflect() protoreflect.Message { 435 mi := &file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[6] 436 if protoimpl.UnsafeEnabled && x != nil { 437 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 438 if ms.LoadMessageInfo() == nil { 439 ms.StoreMessageInfo(mi) 440 } 441 return ms 442 } 443 return mi.MessageOf(x) 444 } 445 446 // Deprecated: Use Transaction.ProtoReflect.Descriptor instead. 447 func (*Transaction) Descriptor() ([]byte, []int) { 448 return file_blockexplorer_api_v1_blockexplorer_proto_rawDescGZIP(), []int{6} 449 } 450 451 func (x *Transaction) GetBlock() uint64 { 452 if x != nil { 453 return x.Block 454 } 455 return 0 456 } 457 458 func (x *Transaction) GetIndex() uint32 { 459 if x != nil { 460 return x.Index 461 } 462 return 0 463 } 464 465 func (x *Transaction) GetHash() string { 466 if x != nil { 467 return x.Hash 468 } 469 return "" 470 } 471 472 func (x *Transaction) GetSubmitter() string { 473 if x != nil { 474 return x.Submitter 475 } 476 return "" 477 } 478 479 func (x *Transaction) GetType() string { 480 if x != nil { 481 return x.Type 482 } 483 return "" 484 } 485 486 func (x *Transaction) GetCode() uint32 { 487 if x != nil { 488 return x.Code 489 } 490 return 0 491 } 492 493 func (x *Transaction) GetCursor() string { 494 if x != nil { 495 return x.Cursor 496 } 497 return "" 498 } 499 500 func (x *Transaction) GetCommand() *v1.InputData { 501 if x != nil { 502 return x.Command 503 } 504 return nil 505 } 506 507 func (x *Transaction) GetSignature() *v1.Signature { 508 if x != nil { 509 return x.Signature 510 } 511 return nil 512 } 513 514 func (x *Transaction) GetError() string { 515 if x != nil && x.Error != nil { 516 return *x.Error 517 } 518 return "" 519 } 520 521 func (x *Transaction) GetCreatedAt() string { 522 if x != nil { 523 return x.CreatedAt 524 } 525 return "" 526 } 527 528 func (x *Transaction) GetVersion() v1.TxVersion { 529 if x != nil { 530 return x.Version 531 } 532 return v1.TxVersion(0) 533 } 534 535 func (x *Transaction) GetPow() *v1.ProofOfWork { 536 if x != nil { 537 return x.Pow 538 } 539 return nil 540 } 541 542 var File_blockexplorer_api_v1_blockexplorer_proto protoreflect.FileDescriptor 543 544 var file_blockexplorer_api_v1_blockexplorer_proto_rawDesc = []byte{ 545 0x0a, 0x28, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x2f, 546 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x78, 0x70, 0x6c, 547 0x6f, 0x72, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x62, 0x6c, 0x6f, 0x63, 548 0x6b, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 549 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 550 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 551 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 552 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 553 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 554 0x6f, 0x1a, 0x20, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 555 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 556 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 557 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 558 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0d, 0x0a, 0x0b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 559 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x49, 0x0a, 0x0c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 560 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 561 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 562 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 563 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x48, 0x61, 0x73, 564 0x68, 0x22, 0x31, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 565 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x04, 0x68, 0x61, 566 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04, 567 0x68, 0x61, 0x73, 0x68, 0x22, 0x5d, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 568 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 569 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 570 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x78, 0x70, 0x6c, 0x6f, 571 0x72, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 572 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 573 0x69, 0x6f, 0x6e, 0x22, 0x8b, 0x03, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 574 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 575 0x1b, 0x0a, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 576 0x00, 0x52, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 577 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x61, 578 0x66, 0x74, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x54, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 579 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 580 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 581 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 582 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x45, 583 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1b, 0x0a, 584 0x09, 0x63, 0x6d, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 585 0x52, 0x08, 0x63, 0x6d, 0x64, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x78, 586 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x63, 0x6d, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 587 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x43, 0x6d, 588 0x64, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x69, 0x65, 589 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x72, 0x74, 0x69, 0x65, 0x73, 590 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x72, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 591 0x05, 0x66, 0x69, 0x72, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x61, 0x73, 0x74, 0x18, 0x09, 592 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x6c, 0x61, 0x73, 0x74, 0x1a, 0x3a, 0x0a, 0x0c, 0x46, 0x69, 593 0x6c, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 594 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 595 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 596 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x62, 0x65, 0x66, 0x6f, 0x72, 597 0x65, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x4a, 0x04, 0x08, 0x01, 0x10, 598 0x02, 0x22, 0x61, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 599 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 600 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 601 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x78, 0x70, 0x6c, 0x6f, 602 0x72, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 603 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 604 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xc9, 0x03, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 605 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 606 0x01, 0x28, 0x04, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 607 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 608 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 609 0x68, 0x61, 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 610 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 611 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 612 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 613 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x75, 614 0x72, 0x73, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x75, 0x72, 0x73, 615 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x08, 0x20, 616 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 617 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 618 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x39, 0x0a, 0x09, 0x73, 0x69, 0x67, 619 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 620 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 621 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 622 0x74, 0x75, 0x72, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0a, 0x20, 623 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x12, 624 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0b, 0x20, 625 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x35, 626 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 627 0x1b, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 628 0x76, 0x31, 0x2e, 0x54, 0x78, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 629 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x03, 0x70, 0x6f, 0x77, 0x18, 0x0d, 0x20, 0x01, 630 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 631 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x4f, 0x66, 0x57, 0x6f, 0x72, 632 0x6b, 0x52, 0x03, 0x70, 0x6f, 0x77, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 633 0x32, 0xc9, 0x02, 0x0a, 0x14, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 634 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6d, 0x0a, 0x0e, 0x47, 0x65, 0x74, 635 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x2e, 0x62, 0x6c, 636 0x6f, 0x63, 0x6b, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 637 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 638 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 639 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 640 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 641 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 642 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2d, 0x2e, 0x62, 643 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 644 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 645 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x62, 0x6c, 646 0x6f, 0x63, 0x6b, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 647 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 648 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 649 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x78, 0x70, 650 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x66, 651 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 652 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 653 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x78, 0x5a, 0x35, 654 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 655 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 656 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x2f, 0x61, 657 0x70, 0x69, 0x2f, 0x76, 0x31, 0x92, 0x41, 0x3e, 0x12, 0x23, 0x0a, 0x18, 0x56, 0x65, 0x67, 0x61, 658 0x20, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x20, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x20, 659 0x41, 0x50, 0x49, 0x73, 0x32, 0x07, 0x76, 0x30, 0x2e, 0x37, 0x39, 0x2e, 0x30, 0x1a, 0x13, 0x6c, 660 0x62, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x6e, 0x65, 0x74, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x78, 661 0x79, 0x7a, 0x2a, 0x02, 0x01, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 662 } 663 664 var ( 665 file_blockexplorer_api_v1_blockexplorer_proto_rawDescOnce sync.Once 666 file_blockexplorer_api_v1_blockexplorer_proto_rawDescData = file_blockexplorer_api_v1_blockexplorer_proto_rawDesc 667 ) 668 669 func file_blockexplorer_api_v1_blockexplorer_proto_rawDescGZIP() []byte { 670 file_blockexplorer_api_v1_blockexplorer_proto_rawDescOnce.Do(func() { 671 file_blockexplorer_api_v1_blockexplorer_proto_rawDescData = protoimpl.X.CompressGZIP(file_blockexplorer_api_v1_blockexplorer_proto_rawDescData) 672 }) 673 return file_blockexplorer_api_v1_blockexplorer_proto_rawDescData 674 } 675 676 var file_blockexplorer_api_v1_blockexplorer_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 677 var file_blockexplorer_api_v1_blockexplorer_proto_goTypes = []interface{}{ 678 (*InfoRequest)(nil), // 0: blockexplorer.api.v1.InfoRequest 679 (*InfoResponse)(nil), // 1: blockexplorer.api.v1.InfoResponse 680 (*GetTransactionRequest)(nil), // 2: blockexplorer.api.v1.GetTransactionRequest 681 (*GetTransactionResponse)(nil), // 3: blockexplorer.api.v1.GetTransactionResponse 682 (*ListTransactionsRequest)(nil), // 4: blockexplorer.api.v1.ListTransactionsRequest 683 (*ListTransactionsResponse)(nil), // 5: blockexplorer.api.v1.ListTransactionsResponse 684 (*Transaction)(nil), // 6: blockexplorer.api.v1.Transaction 685 nil, // 7: blockexplorer.api.v1.ListTransactionsRequest.FiltersEntry 686 (*v1.InputData)(nil), // 8: vega.commands.v1.InputData 687 (*v1.Signature)(nil), // 9: vega.commands.v1.Signature 688 (v1.TxVersion)(0), // 10: vega.commands.v1.TxVersion 689 (*v1.ProofOfWork)(nil), // 11: vega.commands.v1.ProofOfWork 690 } 691 var file_blockexplorer_api_v1_blockexplorer_proto_depIdxs = []int32{ 692 6, // 0: blockexplorer.api.v1.GetTransactionResponse.transaction:type_name -> blockexplorer.api.v1.Transaction 693 7, // 1: blockexplorer.api.v1.ListTransactionsRequest.filters:type_name -> blockexplorer.api.v1.ListTransactionsRequest.FiltersEntry 694 6, // 2: blockexplorer.api.v1.ListTransactionsResponse.transactions:type_name -> blockexplorer.api.v1.Transaction 695 8, // 3: blockexplorer.api.v1.Transaction.command:type_name -> vega.commands.v1.InputData 696 9, // 4: blockexplorer.api.v1.Transaction.signature:type_name -> vega.commands.v1.Signature 697 10, // 5: blockexplorer.api.v1.Transaction.version:type_name -> vega.commands.v1.TxVersion 698 11, // 6: blockexplorer.api.v1.Transaction.pow:type_name -> vega.commands.v1.ProofOfWork 699 2, // 7: blockexplorer.api.v1.BlockExplorerService.GetTransaction:input_type -> blockexplorer.api.v1.GetTransactionRequest 700 4, // 8: blockexplorer.api.v1.BlockExplorerService.ListTransactions:input_type -> blockexplorer.api.v1.ListTransactionsRequest 701 0, // 9: blockexplorer.api.v1.BlockExplorerService.Info:input_type -> blockexplorer.api.v1.InfoRequest 702 3, // 10: blockexplorer.api.v1.BlockExplorerService.GetTransaction:output_type -> blockexplorer.api.v1.GetTransactionResponse 703 5, // 11: blockexplorer.api.v1.BlockExplorerService.ListTransactions:output_type -> blockexplorer.api.v1.ListTransactionsResponse 704 1, // 12: blockexplorer.api.v1.BlockExplorerService.Info:output_type -> blockexplorer.api.v1.InfoResponse 705 10, // [10:13] is the sub-list for method output_type 706 7, // [7:10] is the sub-list for method input_type 707 7, // [7:7] is the sub-list for extension type_name 708 7, // [7:7] is the sub-list for extension extendee 709 0, // [0:7] is the sub-list for field type_name 710 } 711 712 func init() { file_blockexplorer_api_v1_blockexplorer_proto_init() } 713 func file_blockexplorer_api_v1_blockexplorer_proto_init() { 714 if File_blockexplorer_api_v1_blockexplorer_proto != nil { 715 return 716 } 717 if !protoimpl.UnsafeEnabled { 718 file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 719 switch v := v.(*InfoRequest); i { 720 case 0: 721 return &v.state 722 case 1: 723 return &v.sizeCache 724 case 2: 725 return &v.unknownFields 726 default: 727 return nil 728 } 729 } 730 file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 731 switch v := v.(*InfoResponse); i { 732 case 0: 733 return &v.state 734 case 1: 735 return &v.sizeCache 736 case 2: 737 return &v.unknownFields 738 default: 739 return nil 740 } 741 } 742 file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 743 switch v := v.(*GetTransactionRequest); i { 744 case 0: 745 return &v.state 746 case 1: 747 return &v.sizeCache 748 case 2: 749 return &v.unknownFields 750 default: 751 return nil 752 } 753 } 754 file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 755 switch v := v.(*GetTransactionResponse); i { 756 case 0: 757 return &v.state 758 case 1: 759 return &v.sizeCache 760 case 2: 761 return &v.unknownFields 762 default: 763 return nil 764 } 765 } 766 file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 767 switch v := v.(*ListTransactionsRequest); i { 768 case 0: 769 return &v.state 770 case 1: 771 return &v.sizeCache 772 case 2: 773 return &v.unknownFields 774 default: 775 return nil 776 } 777 } 778 file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 779 switch v := v.(*ListTransactionsResponse); i { 780 case 0: 781 return &v.state 782 case 1: 783 return &v.sizeCache 784 case 2: 785 return &v.unknownFields 786 default: 787 return nil 788 } 789 } 790 file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 791 switch v := v.(*Transaction); i { 792 case 0: 793 return &v.state 794 case 1: 795 return &v.sizeCache 796 case 2: 797 return &v.unknownFields 798 default: 799 return nil 800 } 801 } 802 } 803 file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[4].OneofWrappers = []interface{}{} 804 file_blockexplorer_api_v1_blockexplorer_proto_msgTypes[6].OneofWrappers = []interface{}{} 805 type x struct{} 806 out := protoimpl.TypeBuilder{ 807 File: protoimpl.DescBuilder{ 808 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 809 RawDescriptor: file_blockexplorer_api_v1_blockexplorer_proto_rawDesc, 810 NumEnums: 0, 811 NumMessages: 8, 812 NumExtensions: 0, 813 NumServices: 1, 814 }, 815 GoTypes: file_blockexplorer_api_v1_blockexplorer_proto_goTypes, 816 DependencyIndexes: file_blockexplorer_api_v1_blockexplorer_proto_depIdxs, 817 MessageInfos: file_blockexplorer_api_v1_blockexplorer_proto_msgTypes, 818 }.Build() 819 File_blockexplorer_api_v1_blockexplorer_proto = out.File 820 file_blockexplorer_api_v1_blockexplorer_proto_rawDesc = nil 821 file_blockexplorer_api_v1_blockexplorer_proto_goTypes = nil 822 file_blockexplorer_api_v1_blockexplorer_proto_depIdxs = nil 823 }