github.com/Finschia/finschia-sdk@v0.48.1/client/docs/swagger-ui/swagger.yaml (about) 1 swagger: '2.0' 2 info: 3 title: LBM SDK - gRPC Gateway docs 4 description: 'A REST interface for state queries, legacy transactions' 5 version: 1.0.0 6 paths: 7 /cosmos/auth/v1beta1/accounts: 8 get: 9 summary: Accounts returns all the existing accounts 10 description: 'Since: cosmos-sdk 0.43' 11 operationId: Accounts 12 responses: 13 '200': 14 description: A successful response. 15 schema: 16 type: object 17 properties: 18 accounts: 19 type: array 20 items: 21 type: object 22 properties: 23 type_url: 24 type: string 25 description: >- 26 A URL/resource name that uniquely identifies the type of 27 the serialized 28 29 protocol buffer message. This string must contain at 30 least 31 32 one "/" character. The last segment of the URL's path 33 must represent 34 35 the fully qualified name of the type (as in 36 37 `path/google.protobuf.Duration`). The name should be in 38 a canonical form 39 40 (e.g., leading "." is not accepted). 41 42 43 In practice, teams usually precompile into the binary 44 all types that they 45 46 expect it to use in the context of Any. However, for 47 URLs which use the 48 49 scheme `http`, `https`, or no scheme, one can optionally 50 set up a type 51 52 server that maps type URLs to message definitions as 53 follows: 54 55 56 * If no scheme is provided, `https` is assumed. 57 58 * An HTTP GET on the URL must yield a 59 [google.protobuf.Type][] 60 value in binary format, or produce an error. 61 * Applications are allowed to cache lookup results based 62 on the 63 URL, or have them precompiled into a binary to avoid any 64 lookup. Therefore, binary compatibility needs to be preserved 65 on changes to types. (Use versioned type names to manage 66 breaking changes.) 67 68 Note: this functionality is not currently available in 69 the official 70 71 protobuf release, and it is not used for type URLs 72 beginning with 73 74 type.googleapis.com. 75 76 77 Schemes other than `http`, `https` (or the empty scheme) 78 might be 79 80 used with implementation specific semantics. 81 value: 82 type: string 83 format: byte 84 description: >- 85 Must be a valid serialized protocol buffer of the above 86 specified type. 87 description: >- 88 `Any` contains an arbitrary serialized protocol buffer 89 message along with a 90 91 URL that describes the type of the serialized message. 92 93 94 Protobuf library provides support to pack/unpack Any values 95 in the form 96 97 of utility functions or additional generated methods of the 98 Any type. 99 100 101 Example 1: Pack and unpack a message in C++. 102 103 Foo foo = ...; 104 Any any; 105 any.PackFrom(foo); 106 ... 107 if (any.UnpackTo(&foo)) { 108 ... 109 } 110 111 Example 2: Pack and unpack a message in Java. 112 113 Foo foo = ...; 114 Any any = Any.pack(foo); 115 ... 116 if (any.is(Foo.class)) { 117 foo = any.unpack(Foo.class); 118 } 119 120 Example 3: Pack and unpack a message in Python. 121 122 foo = Foo(...) 123 any = Any() 124 any.Pack(foo) 125 ... 126 if any.Is(Foo.DESCRIPTOR): 127 any.Unpack(foo) 128 ... 129 130 Example 4: Pack and unpack a message in Go 131 132 foo := &pb.Foo{...} 133 any, err := ptypes.MarshalAny(foo) 134 ... 135 foo := &pb.Foo{} 136 if err := ptypes.UnmarshalAny(any, foo); err != nil { 137 ... 138 } 139 140 The pack methods provided by protobuf library will by 141 default use 142 143 'type.googleapis.com/full.type.name' as the type URL and the 144 unpack 145 146 methods only use the fully qualified type name after the 147 last '/' 148 149 in the type URL, for example "foo.bar.com/x/y.z" will yield 150 type 151 152 name "y.z". 153 154 155 156 JSON 157 158 ==== 159 160 The JSON representation of an `Any` value uses the regular 161 162 representation of the deserialized, embedded message, with 163 an 164 165 additional field `@type` which contains the type URL. 166 Example: 167 168 package google.profile; 169 message Person { 170 string first_name = 1; 171 string last_name = 2; 172 } 173 174 { 175 "@type": "type.googleapis.com/google.profile.Person", 176 "firstName": <string>, 177 "lastName": <string> 178 } 179 180 If the embedded message type is well-known and has a custom 181 JSON 182 183 representation, that representation will be embedded adding 184 a field 185 186 `value` which holds the custom JSON in addition to the 187 `@type` 188 189 field. Example (for message [google.protobuf.Duration][]): 190 191 { 192 "@type": "type.googleapis.com/google.protobuf.Duration", 193 "value": "1.212s" 194 } 195 title: accounts are the existing accounts 196 pagination: 197 description: pagination defines the pagination in the response. 198 type: object 199 properties: 200 next_key: 201 type: string 202 format: byte 203 title: |- 204 next_key is the key to be passed to PageRequest.key to 205 query the next page most efficiently 206 total: 207 type: string 208 format: uint64 209 title: >- 210 total is total number of results available if 211 PageRequest.count_total 212 213 was set, its value is undefined otherwise 214 description: >- 215 QueryAccountsResponse is the response type for the Query/Accounts 216 RPC method. 217 218 219 Since: cosmos-sdk 0.43 220 default: 221 description: An unexpected error response 222 schema: 223 type: object 224 properties: 225 error: 226 type: string 227 code: 228 type: integer 229 format: int32 230 message: 231 type: string 232 details: 233 type: array 234 items: 235 type: object 236 properties: 237 type_url: 238 type: string 239 description: >- 240 A URL/resource name that uniquely identifies the type of 241 the serialized 242 243 protocol buffer message. This string must contain at 244 least 245 246 one "/" character. The last segment of the URL's path 247 must represent 248 249 the fully qualified name of the type (as in 250 251 `path/google.protobuf.Duration`). The name should be in 252 a canonical form 253 254 (e.g., leading "." is not accepted). 255 256 257 In practice, teams usually precompile into the binary 258 all types that they 259 260 expect it to use in the context of Any. However, for 261 URLs which use the 262 263 scheme `http`, `https`, or no scheme, one can optionally 264 set up a type 265 266 server that maps type URLs to message definitions as 267 follows: 268 269 270 * If no scheme is provided, `https` is assumed. 271 272 * An HTTP GET on the URL must yield a 273 [google.protobuf.Type][] 274 value in binary format, or produce an error. 275 * Applications are allowed to cache lookup results based 276 on the 277 URL, or have them precompiled into a binary to avoid any 278 lookup. Therefore, binary compatibility needs to be preserved 279 on changes to types. (Use versioned type names to manage 280 breaking changes.) 281 282 Note: this functionality is not currently available in 283 the official 284 285 protobuf release, and it is not used for type URLs 286 beginning with 287 288 type.googleapis.com. 289 290 291 Schemes other than `http`, `https` (or the empty scheme) 292 might be 293 294 used with implementation specific semantics. 295 value: 296 type: string 297 format: byte 298 description: >- 299 Must be a valid serialized protocol buffer of the above 300 specified type. 301 description: >- 302 `Any` contains an arbitrary serialized protocol buffer 303 message along with a 304 305 URL that describes the type of the serialized message. 306 307 308 Protobuf library provides support to pack/unpack Any values 309 in the form 310 311 of utility functions or additional generated methods of the 312 Any type. 313 314 315 Example 1: Pack and unpack a message in C++. 316 317 Foo foo = ...; 318 Any any; 319 any.PackFrom(foo); 320 ... 321 if (any.UnpackTo(&foo)) { 322 ... 323 } 324 325 Example 2: Pack and unpack a message in Java. 326 327 Foo foo = ...; 328 Any any = Any.pack(foo); 329 ... 330 if (any.is(Foo.class)) { 331 foo = any.unpack(Foo.class); 332 } 333 334 Example 3: Pack and unpack a message in Python. 335 336 foo = Foo(...) 337 any = Any() 338 any.Pack(foo) 339 ... 340 if any.Is(Foo.DESCRIPTOR): 341 any.Unpack(foo) 342 ... 343 344 Example 4: Pack and unpack a message in Go 345 346 foo := &pb.Foo{...} 347 any, err := ptypes.MarshalAny(foo) 348 ... 349 foo := &pb.Foo{} 350 if err := ptypes.UnmarshalAny(any, foo); err != nil { 351 ... 352 } 353 354 The pack methods provided by protobuf library will by 355 default use 356 357 'type.googleapis.com/full.type.name' as the type URL and the 358 unpack 359 360 methods only use the fully qualified type name after the 361 last '/' 362 363 in the type URL, for example "foo.bar.com/x/y.z" will yield 364 type 365 366 name "y.z". 367 368 369 370 JSON 371 372 ==== 373 374 The JSON representation of an `Any` value uses the regular 375 376 representation of the deserialized, embedded message, with 377 an 378 379 additional field `@type` which contains the type URL. 380 Example: 381 382 package google.profile; 383 message Person { 384 string first_name = 1; 385 string last_name = 2; 386 } 387 388 { 389 "@type": "type.googleapis.com/google.profile.Person", 390 "firstName": <string>, 391 "lastName": <string> 392 } 393 394 If the embedded message type is well-known and has a custom 395 JSON 396 397 representation, that representation will be embedded adding 398 a field 399 400 `value` which holds the custom JSON in addition to the 401 `@type` 402 403 field. Example (for message [google.protobuf.Duration][]): 404 405 { 406 "@type": "type.googleapis.com/google.protobuf.Duration", 407 "value": "1.212s" 408 } 409 parameters: 410 - name: pagination.key 411 description: |- 412 key is a value returned in PageResponse.next_key to begin 413 querying the next page most efficiently. Only one of offset or key 414 should be set. 415 in: query 416 required: false 417 type: string 418 format: byte 419 - name: pagination.offset 420 description: >- 421 offset is a numeric offset that can be used when key is unavailable. 422 423 It is less efficient than using key. Only one of offset or key 424 should 425 426 be set. 427 in: query 428 required: false 429 type: string 430 format: uint64 431 - name: pagination.limit 432 description: >- 433 limit is the total number of results to be returned in the result 434 page. 435 436 If left empty it will default to a value to be set by each app. 437 in: query 438 required: false 439 type: string 440 format: uint64 441 - name: pagination.count_total 442 description: >- 443 count_total is set to true to indicate that the result set should 444 include 445 446 a count of the total number of items available for pagination in 447 UIs. 448 449 count_total is only respected when offset is used. It is ignored 450 when key 451 452 is set. 453 in: query 454 required: false 455 type: boolean 456 format: boolean 457 - name: pagination.reverse 458 description: >- 459 reverse is set to true if results are to be returned in the 460 descending order. 461 462 463 Since: cosmos-sdk 0.43 464 in: query 465 required: false 466 type: boolean 467 format: boolean 468 tags: 469 - Query 470 '/cosmos/auth/v1beta1/accounts/{address}': 471 get: 472 summary: Account returns account details based on address. 473 operationId: Account 474 responses: 475 '200': 476 description: A successful response. 477 schema: 478 type: object 479 properties: 480 account: 481 type: object 482 properties: 483 type_url: 484 type: string 485 description: >- 486 A URL/resource name that uniquely identifies the type of 487 the serialized 488 489 protocol buffer message. This string must contain at least 490 491 one "/" character. The last segment of the URL's path must 492 represent 493 494 the fully qualified name of the type (as in 495 496 `path/google.protobuf.Duration`). The name should be in a 497 canonical form 498 499 (e.g., leading "." is not accepted). 500 501 502 In practice, teams usually precompile into the binary all 503 types that they 504 505 expect it to use in the context of Any. However, for URLs 506 which use the 507 508 scheme `http`, `https`, or no scheme, one can optionally 509 set up a type 510 511 server that maps type URLs to message definitions as 512 follows: 513 514 515 * If no scheme is provided, `https` is assumed. 516 517 * An HTTP GET on the URL must yield a 518 [google.protobuf.Type][] 519 value in binary format, or produce an error. 520 * Applications are allowed to cache lookup results based 521 on the 522 URL, or have them precompiled into a binary to avoid any 523 lookup. Therefore, binary compatibility needs to be preserved 524 on changes to types. (Use versioned type names to manage 525 breaking changes.) 526 527 Note: this functionality is not currently available in the 528 official 529 530 protobuf release, and it is not used for type URLs 531 beginning with 532 533 type.googleapis.com. 534 535 536 Schemes other than `http`, `https` (or the empty scheme) 537 might be 538 539 used with implementation specific semantics. 540 value: 541 type: string 542 format: byte 543 description: >- 544 Must be a valid serialized protocol buffer of the above 545 specified type. 546 description: >- 547 `Any` contains an arbitrary serialized protocol buffer message 548 along with a 549 550 URL that describes the type of the serialized message. 551 552 553 Protobuf library provides support to pack/unpack Any values in 554 the form 555 556 of utility functions or additional generated methods of the 557 Any type. 558 559 560 Example 1: Pack and unpack a message in C++. 561 562 Foo foo = ...; 563 Any any; 564 any.PackFrom(foo); 565 ... 566 if (any.UnpackTo(&foo)) { 567 ... 568 } 569 570 Example 2: Pack and unpack a message in Java. 571 572 Foo foo = ...; 573 Any any = Any.pack(foo); 574 ... 575 if (any.is(Foo.class)) { 576 foo = any.unpack(Foo.class); 577 } 578 579 Example 3: Pack and unpack a message in Python. 580 581 foo = Foo(...) 582 any = Any() 583 any.Pack(foo) 584 ... 585 if any.Is(Foo.DESCRIPTOR): 586 any.Unpack(foo) 587 ... 588 589 Example 4: Pack and unpack a message in Go 590 591 foo := &pb.Foo{...} 592 any, err := ptypes.MarshalAny(foo) 593 ... 594 foo := &pb.Foo{} 595 if err := ptypes.UnmarshalAny(any, foo); err != nil { 596 ... 597 } 598 599 The pack methods provided by protobuf library will by default 600 use 601 602 'type.googleapis.com/full.type.name' as the type URL and the 603 unpack 604 605 methods only use the fully qualified type name after the last 606 '/' 607 608 in the type URL, for example "foo.bar.com/x/y.z" will yield 609 type 610 611 name "y.z". 612 613 614 615 JSON 616 617 ==== 618 619 The JSON representation of an `Any` value uses the regular 620 621 representation of the deserialized, embedded message, with an 622 623 additional field `@type` which contains the type URL. Example: 624 625 package google.profile; 626 message Person { 627 string first_name = 1; 628 string last_name = 2; 629 } 630 631 { 632 "@type": "type.googleapis.com/google.profile.Person", 633 "firstName": <string>, 634 "lastName": <string> 635 } 636 637 If the embedded message type is well-known and has a custom 638 JSON 639 640 representation, that representation will be embedded adding a 641 field 642 643 `value` which holds the custom JSON in addition to the `@type` 644 645 field. Example (for message [google.protobuf.Duration][]): 646 647 { 648 "@type": "type.googleapis.com/google.protobuf.Duration", 649 "value": "1.212s" 650 } 651 description: >- 652 QueryAccountResponse is the response type for the Query/Account 653 RPC method. 654 default: 655 description: An unexpected error response 656 schema: 657 type: object 658 properties: 659 error: 660 type: string 661 code: 662 type: integer 663 format: int32 664 message: 665 type: string 666 details: 667 type: array 668 items: 669 type: object 670 properties: 671 type_url: 672 type: string 673 description: >- 674 A URL/resource name that uniquely identifies the type of 675 the serialized 676 677 protocol buffer message. This string must contain at 678 least 679 680 one "/" character. The last segment of the URL's path 681 must represent 682 683 the fully qualified name of the type (as in 684 685 `path/google.protobuf.Duration`). The name should be in 686 a canonical form 687 688 (e.g., leading "." is not accepted). 689 690 691 In practice, teams usually precompile into the binary 692 all types that they 693 694 expect it to use in the context of Any. However, for 695 URLs which use the 696 697 scheme `http`, `https`, or no scheme, one can optionally 698 set up a type 699 700 server that maps type URLs to message definitions as 701 follows: 702 703 704 * If no scheme is provided, `https` is assumed. 705 706 * An HTTP GET on the URL must yield a 707 [google.protobuf.Type][] 708 value in binary format, or produce an error. 709 * Applications are allowed to cache lookup results based 710 on the 711 URL, or have them precompiled into a binary to avoid any 712 lookup. Therefore, binary compatibility needs to be preserved 713 on changes to types. (Use versioned type names to manage 714 breaking changes.) 715 716 Note: this functionality is not currently available in 717 the official 718 719 protobuf release, and it is not used for type URLs 720 beginning with 721 722 type.googleapis.com. 723 724 725 Schemes other than `http`, `https` (or the empty scheme) 726 might be 727 728 used with implementation specific semantics. 729 value: 730 type: string 731 format: byte 732 description: >- 733 Must be a valid serialized protocol buffer of the above 734 specified type. 735 description: >- 736 `Any` contains an arbitrary serialized protocol buffer 737 message along with a 738 739 URL that describes the type of the serialized message. 740 741 742 Protobuf library provides support to pack/unpack Any values 743 in the form 744 745 of utility functions or additional generated methods of the 746 Any type. 747 748 749 Example 1: Pack and unpack a message in C++. 750 751 Foo foo = ...; 752 Any any; 753 any.PackFrom(foo); 754 ... 755 if (any.UnpackTo(&foo)) { 756 ... 757 } 758 759 Example 2: Pack and unpack a message in Java. 760 761 Foo foo = ...; 762 Any any = Any.pack(foo); 763 ... 764 if (any.is(Foo.class)) { 765 foo = any.unpack(Foo.class); 766 } 767 768 Example 3: Pack and unpack a message in Python. 769 770 foo = Foo(...) 771 any = Any() 772 any.Pack(foo) 773 ... 774 if any.Is(Foo.DESCRIPTOR): 775 any.Unpack(foo) 776 ... 777 778 Example 4: Pack and unpack a message in Go 779 780 foo := &pb.Foo{...} 781 any, err := ptypes.MarshalAny(foo) 782 ... 783 foo := &pb.Foo{} 784 if err := ptypes.UnmarshalAny(any, foo); err != nil { 785 ... 786 } 787 788 The pack methods provided by protobuf library will by 789 default use 790 791 'type.googleapis.com/full.type.name' as the type URL and the 792 unpack 793 794 methods only use the fully qualified type name after the 795 last '/' 796 797 in the type URL, for example "foo.bar.com/x/y.z" will yield 798 type 799 800 name "y.z". 801 802 803 804 JSON 805 806 ==== 807 808 The JSON representation of an `Any` value uses the regular 809 810 representation of the deserialized, embedded message, with 811 an 812 813 additional field `@type` which contains the type URL. 814 Example: 815 816 package google.profile; 817 message Person { 818 string first_name = 1; 819 string last_name = 2; 820 } 821 822 { 823 "@type": "type.googleapis.com/google.profile.Person", 824 "firstName": <string>, 825 "lastName": <string> 826 } 827 828 If the embedded message type is well-known and has a custom 829 JSON 830 831 representation, that representation will be embedded adding 832 a field 833 834 `value` which holds the custom JSON in addition to the 835 `@type` 836 837 field. Example (for message [google.protobuf.Duration][]): 838 839 { 840 "@type": "type.googleapis.com/google.protobuf.Duration", 841 "value": "1.212s" 842 } 843 parameters: 844 - name: address 845 description: address defines the address to query for. 846 in: path 847 required: true 848 type: string 849 tags: 850 - Query 851 '/cosmos/auth/v1beta1/module_accounts/{name}': 852 get: 853 summary: ModuleAccountByName returns the module account info by module name 854 operationId: ModuleAccountByName 855 responses: 856 '200': 857 description: A successful response. 858 schema: 859 type: object 860 properties: 861 account: 862 type: object 863 properties: 864 type_url: 865 type: string 866 description: >- 867 A URL/resource name that uniquely identifies the type of 868 the serialized 869 870 protocol buffer message. This string must contain at least 871 872 one "/" character. The last segment of the URL's path must 873 represent 874 875 the fully qualified name of the type (as in 876 877 `path/google.protobuf.Duration`). The name should be in a 878 canonical form 879 880 (e.g., leading "." is not accepted). 881 882 883 In practice, teams usually precompile into the binary all 884 types that they 885 886 expect it to use in the context of Any. However, for URLs 887 which use the 888 889 scheme `http`, `https`, or no scheme, one can optionally 890 set up a type 891 892 server that maps type URLs to message definitions as 893 follows: 894 895 896 * If no scheme is provided, `https` is assumed. 897 898 * An HTTP GET on the URL must yield a 899 [google.protobuf.Type][] 900 value in binary format, or produce an error. 901 * Applications are allowed to cache lookup results based 902 on the 903 URL, or have them precompiled into a binary to avoid any 904 lookup. Therefore, binary compatibility needs to be preserved 905 on changes to types. (Use versioned type names to manage 906 breaking changes.) 907 908 Note: this functionality is not currently available in the 909 official 910 911 protobuf release, and it is not used for type URLs 912 beginning with 913 914 type.googleapis.com. 915 916 917 Schemes other than `http`, `https` (or the empty scheme) 918 might be 919 920 used with implementation specific semantics. 921 value: 922 type: string 923 format: byte 924 description: >- 925 Must be a valid serialized protocol buffer of the above 926 specified type. 927 description: >- 928 `Any` contains an arbitrary serialized protocol buffer message 929 along with a 930 931 URL that describes the type of the serialized message. 932 933 934 Protobuf library provides support to pack/unpack Any values in 935 the form 936 937 of utility functions or additional generated methods of the 938 Any type. 939 940 941 Example 1: Pack and unpack a message in C++. 942 943 Foo foo = ...; 944 Any any; 945 any.PackFrom(foo); 946 ... 947 if (any.UnpackTo(&foo)) { 948 ... 949 } 950 951 Example 2: Pack and unpack a message in Java. 952 953 Foo foo = ...; 954 Any any = Any.pack(foo); 955 ... 956 if (any.is(Foo.class)) { 957 foo = any.unpack(Foo.class); 958 } 959 960 Example 3: Pack and unpack a message in Python. 961 962 foo = Foo(...) 963 any = Any() 964 any.Pack(foo) 965 ... 966 if any.Is(Foo.DESCRIPTOR): 967 any.Unpack(foo) 968 ... 969 970 Example 4: Pack and unpack a message in Go 971 972 foo := &pb.Foo{...} 973 any, err := ptypes.MarshalAny(foo) 974 ... 975 foo := &pb.Foo{} 976 if err := ptypes.UnmarshalAny(any, foo); err != nil { 977 ... 978 } 979 980 The pack methods provided by protobuf library will by default 981 use 982 983 'type.googleapis.com/full.type.name' as the type URL and the 984 unpack 985 986 methods only use the fully qualified type name after the last 987 '/' 988 989 in the type URL, for example "foo.bar.com/x/y.z" will yield 990 type 991 992 name "y.z". 993 994 995 996 JSON 997 998 ==== 999 1000 The JSON representation of an `Any` value uses the regular 1001 1002 representation of the deserialized, embedded message, with an 1003 1004 additional field `@type` which contains the type URL. Example: 1005 1006 package google.profile; 1007 message Person { 1008 string first_name = 1; 1009 string last_name = 2; 1010 } 1011 1012 { 1013 "@type": "type.googleapis.com/google.profile.Person", 1014 "firstName": <string>, 1015 "lastName": <string> 1016 } 1017 1018 If the embedded message type is well-known and has a custom 1019 JSON 1020 1021 representation, that representation will be embedded adding a 1022 field 1023 1024 `value` which holds the custom JSON in addition to the `@type` 1025 1026 field. Example (for message [google.protobuf.Duration][]): 1027 1028 { 1029 "@type": "type.googleapis.com/google.protobuf.Duration", 1030 "value": "1.212s" 1031 } 1032 description: >- 1033 QueryModuleAccountByNameResponse is the response type for the 1034 Query/ModuleAccountByName RPC method. 1035 default: 1036 description: An unexpected error response 1037 schema: 1038 type: object 1039 properties: 1040 error: 1041 type: string 1042 code: 1043 type: integer 1044 format: int32 1045 message: 1046 type: string 1047 details: 1048 type: array 1049 items: 1050 type: object 1051 properties: 1052 type_url: 1053 type: string 1054 description: >- 1055 A URL/resource name that uniquely identifies the type of 1056 the serialized 1057 1058 protocol buffer message. This string must contain at 1059 least 1060 1061 one "/" character. The last segment of the URL's path 1062 must represent 1063 1064 the fully qualified name of the type (as in 1065 1066 `path/google.protobuf.Duration`). The name should be in 1067 a canonical form 1068 1069 (e.g., leading "." is not accepted). 1070 1071 1072 In practice, teams usually precompile into the binary 1073 all types that they 1074 1075 expect it to use in the context of Any. However, for 1076 URLs which use the 1077 1078 scheme `http`, `https`, or no scheme, one can optionally 1079 set up a type 1080 1081 server that maps type URLs to message definitions as 1082 follows: 1083 1084 1085 * If no scheme is provided, `https` is assumed. 1086 1087 * An HTTP GET on the URL must yield a 1088 [google.protobuf.Type][] 1089 value in binary format, or produce an error. 1090 * Applications are allowed to cache lookup results based 1091 on the 1092 URL, or have them precompiled into a binary to avoid any 1093 lookup. Therefore, binary compatibility needs to be preserved 1094 on changes to types. (Use versioned type names to manage 1095 breaking changes.) 1096 1097 Note: this functionality is not currently available in 1098 the official 1099 1100 protobuf release, and it is not used for type URLs 1101 beginning with 1102 1103 type.googleapis.com. 1104 1105 1106 Schemes other than `http`, `https` (or the empty scheme) 1107 might be 1108 1109 used with implementation specific semantics. 1110 value: 1111 type: string 1112 format: byte 1113 description: >- 1114 Must be a valid serialized protocol buffer of the above 1115 specified type. 1116 description: >- 1117 `Any` contains an arbitrary serialized protocol buffer 1118 message along with a 1119 1120 URL that describes the type of the serialized message. 1121 1122 1123 Protobuf library provides support to pack/unpack Any values 1124 in the form 1125 1126 of utility functions or additional generated methods of the 1127 Any type. 1128 1129 1130 Example 1: Pack and unpack a message in C++. 1131 1132 Foo foo = ...; 1133 Any any; 1134 any.PackFrom(foo); 1135 ... 1136 if (any.UnpackTo(&foo)) { 1137 ... 1138 } 1139 1140 Example 2: Pack and unpack a message in Java. 1141 1142 Foo foo = ...; 1143 Any any = Any.pack(foo); 1144 ... 1145 if (any.is(Foo.class)) { 1146 foo = any.unpack(Foo.class); 1147 } 1148 1149 Example 3: Pack and unpack a message in Python. 1150 1151 foo = Foo(...) 1152 any = Any() 1153 any.Pack(foo) 1154 ... 1155 if any.Is(Foo.DESCRIPTOR): 1156 any.Unpack(foo) 1157 ... 1158 1159 Example 4: Pack and unpack a message in Go 1160 1161 foo := &pb.Foo{...} 1162 any, err := ptypes.MarshalAny(foo) 1163 ... 1164 foo := &pb.Foo{} 1165 if err := ptypes.UnmarshalAny(any, foo); err != nil { 1166 ... 1167 } 1168 1169 The pack methods provided by protobuf library will by 1170 default use 1171 1172 'type.googleapis.com/full.type.name' as the type URL and the 1173 unpack 1174 1175 methods only use the fully qualified type name after the 1176 last '/' 1177 1178 in the type URL, for example "foo.bar.com/x/y.z" will yield 1179 type 1180 1181 name "y.z". 1182 1183 1184 1185 JSON 1186 1187 ==== 1188 1189 The JSON representation of an `Any` value uses the regular 1190 1191 representation of the deserialized, embedded message, with 1192 an 1193 1194 additional field `@type` which contains the type URL. 1195 Example: 1196 1197 package google.profile; 1198 message Person { 1199 string first_name = 1; 1200 string last_name = 2; 1201 } 1202 1203 { 1204 "@type": "type.googleapis.com/google.profile.Person", 1205 "firstName": <string>, 1206 "lastName": <string> 1207 } 1208 1209 If the embedded message type is well-known and has a custom 1210 JSON 1211 1212 representation, that representation will be embedded adding 1213 a field 1214 1215 `value` which holds the custom JSON in addition to the 1216 `@type` 1217 1218 field. Example (for message [google.protobuf.Duration][]): 1219 1220 { 1221 "@type": "type.googleapis.com/google.protobuf.Duration", 1222 "value": "1.212s" 1223 } 1224 parameters: 1225 - name: name 1226 in: path 1227 required: true 1228 type: string 1229 tags: 1230 - Query 1231 /cosmos/auth/v1beta1/next_account_number: 1232 get: 1233 summary: |- 1234 NextAccountNumber queries the global account number. 1235 Please be careful use this rpc. This rpc can be disappear whenever. 1236 And backward compatibility is not guaranteed. 1237 operationId: NextAccountNumber 1238 responses: 1239 '200': 1240 description: A successful response. 1241 schema: 1242 type: object 1243 properties: 1244 next_account_number: 1245 type: string 1246 format: uint64 1247 description: >- 1248 The next account number is the next value of global account 1249 number. 1250 description: >- 1251 QueryNextAccountNumberResponse is the response for the 1252 Query/NextAccountNumber. 1253 default: 1254 description: An unexpected error response 1255 schema: 1256 type: object 1257 properties: 1258 error: 1259 type: string 1260 code: 1261 type: integer 1262 format: int32 1263 message: 1264 type: string 1265 details: 1266 type: array 1267 items: 1268 type: object 1269 properties: 1270 type_url: 1271 type: string 1272 description: >- 1273 A URL/resource name that uniquely identifies the type of 1274 the serialized 1275 1276 protocol buffer message. This string must contain at 1277 least 1278 1279 one "/" character. The last segment of the URL's path 1280 must represent 1281 1282 the fully qualified name of the type (as in 1283 1284 `path/google.protobuf.Duration`). The name should be in 1285 a canonical form 1286 1287 (e.g., leading "." is not accepted). 1288 1289 1290 In practice, teams usually precompile into the binary 1291 all types that they 1292 1293 expect it to use in the context of Any. However, for 1294 URLs which use the 1295 1296 scheme `http`, `https`, or no scheme, one can optionally 1297 set up a type 1298 1299 server that maps type URLs to message definitions as 1300 follows: 1301 1302 1303 * If no scheme is provided, `https` is assumed. 1304 1305 * An HTTP GET on the URL must yield a 1306 [google.protobuf.Type][] 1307 value in binary format, or produce an error. 1308 * Applications are allowed to cache lookup results based 1309 on the 1310 URL, or have them precompiled into a binary to avoid any 1311 lookup. Therefore, binary compatibility needs to be preserved 1312 on changes to types. (Use versioned type names to manage 1313 breaking changes.) 1314 1315 Note: this functionality is not currently available in 1316 the official 1317 1318 protobuf release, and it is not used for type URLs 1319 beginning with 1320 1321 type.googleapis.com. 1322 1323 1324 Schemes other than `http`, `https` (or the empty scheme) 1325 might be 1326 1327 used with implementation specific semantics. 1328 value: 1329 type: string 1330 format: byte 1331 description: >- 1332 Must be a valid serialized protocol buffer of the above 1333 specified type. 1334 description: >- 1335 `Any` contains an arbitrary serialized protocol buffer 1336 message along with a 1337 1338 URL that describes the type of the serialized message. 1339 1340 1341 Protobuf library provides support to pack/unpack Any values 1342 in the form 1343 1344 of utility functions or additional generated methods of the 1345 Any type. 1346 1347 1348 Example 1: Pack and unpack a message in C++. 1349 1350 Foo foo = ...; 1351 Any any; 1352 any.PackFrom(foo); 1353 ... 1354 if (any.UnpackTo(&foo)) { 1355 ... 1356 } 1357 1358 Example 2: Pack and unpack a message in Java. 1359 1360 Foo foo = ...; 1361 Any any = Any.pack(foo); 1362 ... 1363 if (any.is(Foo.class)) { 1364 foo = any.unpack(Foo.class); 1365 } 1366 1367 Example 3: Pack and unpack a message in Python. 1368 1369 foo = Foo(...) 1370 any = Any() 1371 any.Pack(foo) 1372 ... 1373 if any.Is(Foo.DESCRIPTOR): 1374 any.Unpack(foo) 1375 ... 1376 1377 Example 4: Pack and unpack a message in Go 1378 1379 foo := &pb.Foo{...} 1380 any, err := ptypes.MarshalAny(foo) 1381 ... 1382 foo := &pb.Foo{} 1383 if err := ptypes.UnmarshalAny(any, foo); err != nil { 1384 ... 1385 } 1386 1387 The pack methods provided by protobuf library will by 1388 default use 1389 1390 'type.googleapis.com/full.type.name' as the type URL and the 1391 unpack 1392 1393 methods only use the fully qualified type name after the 1394 last '/' 1395 1396 in the type URL, for example "foo.bar.com/x/y.z" will yield 1397 type 1398 1399 name "y.z". 1400 1401 1402 1403 JSON 1404 1405 ==== 1406 1407 The JSON representation of an `Any` value uses the regular 1408 1409 representation of the deserialized, embedded message, with 1410 an 1411 1412 additional field `@type` which contains the type URL. 1413 Example: 1414 1415 package google.profile; 1416 message Person { 1417 string first_name = 1; 1418 string last_name = 2; 1419 } 1420 1421 { 1422 "@type": "type.googleapis.com/google.profile.Person", 1423 "firstName": <string>, 1424 "lastName": <string> 1425 } 1426 1427 If the embedded message type is well-known and has a custom 1428 JSON 1429 1430 representation, that representation will be embedded adding 1431 a field 1432 1433 `value` which holds the custom JSON in addition to the 1434 `@type` 1435 1436 field. Example (for message [google.protobuf.Duration][]): 1437 1438 { 1439 "@type": "type.googleapis.com/google.protobuf.Duration", 1440 "value": "1.212s" 1441 } 1442 tags: 1443 - Query 1444 /cosmos/auth/v1beta1/params: 1445 get: 1446 summary: Params queries all parameters. 1447 operationId: AuthParams 1448 responses: 1449 '200': 1450 description: A successful response. 1451 schema: 1452 type: object 1453 properties: 1454 params: 1455 description: params defines the parameters of the module. 1456 type: object 1457 properties: 1458 max_memo_characters: 1459 type: string 1460 format: uint64 1461 tx_sig_limit: 1462 type: string 1463 format: uint64 1464 tx_size_cost_per_byte: 1465 type: string 1466 format: uint64 1467 sig_verify_cost_ed25519: 1468 type: string 1469 format: uint64 1470 sig_verify_cost_secp256k1: 1471 type: string 1472 format: uint64 1473 description: >- 1474 QueryParamsResponse is the response type for the Query/Params RPC 1475 method. 1476 default: 1477 description: An unexpected error response 1478 schema: 1479 type: object 1480 properties: 1481 error: 1482 type: string 1483 code: 1484 type: integer 1485 format: int32 1486 message: 1487 type: string 1488 details: 1489 type: array 1490 items: 1491 type: object 1492 properties: 1493 type_url: 1494 type: string 1495 description: >- 1496 A URL/resource name that uniquely identifies the type of 1497 the serialized 1498 1499 protocol buffer message. This string must contain at 1500 least 1501 1502 one "/" character. The last segment of the URL's path 1503 must represent 1504 1505 the fully qualified name of the type (as in 1506 1507 `path/google.protobuf.Duration`). The name should be in 1508 a canonical form 1509 1510 (e.g., leading "." is not accepted). 1511 1512 1513 In practice, teams usually precompile into the binary 1514 all types that they 1515 1516 expect it to use in the context of Any. However, for 1517 URLs which use the 1518 1519 scheme `http`, `https`, or no scheme, one can optionally 1520 set up a type 1521 1522 server that maps type URLs to message definitions as 1523 follows: 1524 1525 1526 * If no scheme is provided, `https` is assumed. 1527 1528 * An HTTP GET on the URL must yield a 1529 [google.protobuf.Type][] 1530 value in binary format, or produce an error. 1531 * Applications are allowed to cache lookup results based 1532 on the 1533 URL, or have them precompiled into a binary to avoid any 1534 lookup. Therefore, binary compatibility needs to be preserved 1535 on changes to types. (Use versioned type names to manage 1536 breaking changes.) 1537 1538 Note: this functionality is not currently available in 1539 the official 1540 1541 protobuf release, and it is not used for type URLs 1542 beginning with 1543 1544 type.googleapis.com. 1545 1546 1547 Schemes other than `http`, `https` (or the empty scheme) 1548 might be 1549 1550 used with implementation specific semantics. 1551 value: 1552 type: string 1553 format: byte 1554 description: >- 1555 Must be a valid serialized protocol buffer of the above 1556 specified type. 1557 description: >- 1558 `Any` contains an arbitrary serialized protocol buffer 1559 message along with a 1560 1561 URL that describes the type of the serialized message. 1562 1563 1564 Protobuf library provides support to pack/unpack Any values 1565 in the form 1566 1567 of utility functions or additional generated methods of the 1568 Any type. 1569 1570 1571 Example 1: Pack and unpack a message in C++. 1572 1573 Foo foo = ...; 1574 Any any; 1575 any.PackFrom(foo); 1576 ... 1577 if (any.UnpackTo(&foo)) { 1578 ... 1579 } 1580 1581 Example 2: Pack and unpack a message in Java. 1582 1583 Foo foo = ...; 1584 Any any = Any.pack(foo); 1585 ... 1586 if (any.is(Foo.class)) { 1587 foo = any.unpack(Foo.class); 1588 } 1589 1590 Example 3: Pack and unpack a message in Python. 1591 1592 foo = Foo(...) 1593 any = Any() 1594 any.Pack(foo) 1595 ... 1596 if any.Is(Foo.DESCRIPTOR): 1597 any.Unpack(foo) 1598 ... 1599 1600 Example 4: Pack and unpack a message in Go 1601 1602 foo := &pb.Foo{...} 1603 any, err := ptypes.MarshalAny(foo) 1604 ... 1605 foo := &pb.Foo{} 1606 if err := ptypes.UnmarshalAny(any, foo); err != nil { 1607 ... 1608 } 1609 1610 The pack methods provided by protobuf library will by 1611 default use 1612 1613 'type.googleapis.com/full.type.name' as the type URL and the 1614 unpack 1615 1616 methods only use the fully qualified type name after the 1617 last '/' 1618 1619 in the type URL, for example "foo.bar.com/x/y.z" will yield 1620 type 1621 1622 name "y.z". 1623 1624 1625 1626 JSON 1627 1628 ==== 1629 1630 The JSON representation of an `Any` value uses the regular 1631 1632 representation of the deserialized, embedded message, with 1633 an 1634 1635 additional field `@type` which contains the type URL. 1636 Example: 1637 1638 package google.profile; 1639 message Person { 1640 string first_name = 1; 1641 string last_name = 2; 1642 } 1643 1644 { 1645 "@type": "type.googleapis.com/google.profile.Person", 1646 "firstName": <string>, 1647 "lastName": <string> 1648 } 1649 1650 If the embedded message type is well-known and has a custom 1651 JSON 1652 1653 representation, that representation will be embedded adding 1654 a field 1655 1656 `value` which holds the custom JSON in addition to the 1657 `@type` 1658 1659 field. Example (for message [google.protobuf.Duration][]): 1660 1661 { 1662 "@type": "type.googleapis.com/google.protobuf.Duration", 1663 "value": "1.212s" 1664 } 1665 tags: 1666 - Query 1667 '/cosmos/bank/v1beta1/balances/{address}': 1668 get: 1669 summary: AllBalances queries the balance of all coins for a single account. 1670 operationId: AllBalances 1671 responses: 1672 '200': 1673 description: A successful response. 1674 schema: 1675 type: object 1676 properties: 1677 balances: 1678 type: array 1679 items: 1680 type: object 1681 properties: 1682 denom: 1683 type: string 1684 amount: 1685 type: string 1686 description: >- 1687 Coin defines a token with a denomination and an amount. 1688 1689 1690 NOTE: The amount field is an Int which implements the custom 1691 method 1692 1693 signatures required by gogoproto. 1694 description: balances is the balances of all the coins. 1695 pagination: 1696 description: pagination defines the pagination in the response. 1697 type: object 1698 properties: 1699 next_key: 1700 type: string 1701 format: byte 1702 title: |- 1703 next_key is the key to be passed to PageRequest.key to 1704 query the next page most efficiently 1705 total: 1706 type: string 1707 format: uint64 1708 title: >- 1709 total is total number of results available if 1710 PageRequest.count_total 1711 1712 was set, its value is undefined otherwise 1713 description: >- 1714 QueryAllBalancesResponse is the response type for the 1715 Query/AllBalances RPC 1716 1717 method. 1718 default: 1719 description: An unexpected error response 1720 schema: 1721 type: object 1722 properties: 1723 error: 1724 type: string 1725 code: 1726 type: integer 1727 format: int32 1728 message: 1729 type: string 1730 details: 1731 type: array 1732 items: 1733 type: object 1734 properties: 1735 type_url: 1736 type: string 1737 value: 1738 type: string 1739 format: byte 1740 parameters: 1741 - name: address 1742 description: address is the address to query balances for. 1743 in: path 1744 required: true 1745 type: string 1746 - name: pagination.key 1747 description: |- 1748 key is a value returned in PageResponse.next_key to begin 1749 querying the next page most efficiently. Only one of offset or key 1750 should be set. 1751 in: query 1752 required: false 1753 type: string 1754 format: byte 1755 - name: pagination.offset 1756 description: >- 1757 offset is a numeric offset that can be used when key is unavailable. 1758 1759 It is less efficient than using key. Only one of offset or key 1760 should 1761 1762 be set. 1763 in: query 1764 required: false 1765 type: string 1766 format: uint64 1767 - name: pagination.limit 1768 description: >- 1769 limit is the total number of results to be returned in the result 1770 page. 1771 1772 If left empty it will default to a value to be set by each app. 1773 in: query 1774 required: false 1775 type: string 1776 format: uint64 1777 - name: pagination.count_total 1778 description: >- 1779 count_total is set to true to indicate that the result set should 1780 include 1781 1782 a count of the total number of items available for pagination in 1783 UIs. 1784 1785 count_total is only respected when offset is used. It is ignored 1786 when key 1787 1788 is set. 1789 in: query 1790 required: false 1791 type: boolean 1792 format: boolean 1793 - name: pagination.reverse 1794 description: >- 1795 reverse is set to true if results are to be returned in the 1796 descending order. 1797 1798 1799 Since: cosmos-sdk 0.43 1800 in: query 1801 required: false 1802 type: boolean 1803 format: boolean 1804 tags: 1805 - Query 1806 '/cosmos/bank/v1beta1/balances/{address}/by_denom': 1807 get: 1808 summary: Balance queries the balance of a single coin for a single account. 1809 operationId: Balance 1810 responses: 1811 '200': 1812 description: A successful response. 1813 schema: 1814 type: object 1815 properties: 1816 balance: 1817 type: object 1818 properties: 1819 denom: 1820 type: string 1821 amount: 1822 type: string 1823 description: >- 1824 Coin defines a token with a denomination and an amount. 1825 1826 1827 NOTE: The amount field is an Int which implements the custom 1828 method 1829 1830 signatures required by gogoproto. 1831 description: >- 1832 QueryBalanceResponse is the response type for the Query/Balance 1833 RPC method. 1834 default: 1835 description: An unexpected error response 1836 schema: 1837 type: object 1838 properties: 1839 error: 1840 type: string 1841 code: 1842 type: integer 1843 format: int32 1844 message: 1845 type: string 1846 details: 1847 type: array 1848 items: 1849 type: object 1850 properties: 1851 type_url: 1852 type: string 1853 value: 1854 type: string 1855 format: byte 1856 parameters: 1857 - name: address 1858 description: address is the address to query balances for. 1859 in: path 1860 required: true 1861 type: string 1862 - name: denom 1863 description: denom is the coin denom to query balances for. 1864 in: query 1865 required: false 1866 type: string 1867 tags: 1868 - Query 1869 /cosmos/bank/v1beta1/denoms_metadata: 1870 get: 1871 summary: >- 1872 DenomsMetadata queries the client metadata for all registered coin 1873 denominations. 1874 operationId: DenomsMetadata 1875 responses: 1876 '200': 1877 description: A successful response. 1878 schema: 1879 type: object 1880 properties: 1881 metadatas: 1882 type: array 1883 items: 1884 type: object 1885 properties: 1886 description: 1887 type: string 1888 denom_units: 1889 type: array 1890 items: 1891 type: object 1892 properties: 1893 denom: 1894 type: string 1895 description: >- 1896 denom represents the string name of the given 1897 denom unit (e.g uatom). 1898 exponent: 1899 type: integer 1900 format: int64 1901 description: >- 1902 exponent represents power of 10 exponent that one 1903 must 1904 1905 raise the base_denom to in order to equal the 1906 given DenomUnit's denom 1907 1908 1 denom = 1^exponent base_denom 1909 1910 (e.g. with a base_denom of uatom, one can create a 1911 DenomUnit of 'atom' with 1912 1913 exponent = 6, thus: 1 atom = 10^6 uatom). 1914 aliases: 1915 type: array 1916 items: 1917 type: string 1918 title: >- 1919 aliases is a list of string aliases for the given 1920 denom 1921 description: |- 1922 DenomUnit represents a struct that describes a given 1923 denomination unit of the basic token. 1924 title: >- 1925 denom_units represents the list of DenomUnit's for a 1926 given coin 1927 base: 1928 type: string 1929 description: >- 1930 base represents the base denom (should be the DenomUnit 1931 with exponent = 0). 1932 display: 1933 type: string 1934 description: |- 1935 display indicates the suggested denom that should be 1936 displayed in clients. 1937 name: 1938 type: string 1939 description: 'Since: cosmos-sdk 0.43' 1940 title: 'name defines the name of the token (eg: Cosmos Atom)' 1941 symbol: 1942 type: string 1943 description: >- 1944 symbol is the token symbol usually shown on exchanges 1945 (eg: ATOM). This can 1946 1947 be the same as the display. 1948 1949 1950 Since: cosmos-sdk 0.43 1951 description: |- 1952 Metadata represents a struct that describes 1953 a basic token. 1954 description: >- 1955 metadata provides the client information for all the 1956 registered tokens. 1957 pagination: 1958 description: pagination defines the pagination in the response. 1959 type: object 1960 properties: 1961 next_key: 1962 type: string 1963 format: byte 1964 title: |- 1965 next_key is the key to be passed to PageRequest.key to 1966 query the next page most efficiently 1967 total: 1968 type: string 1969 format: uint64 1970 title: >- 1971 total is total number of results available if 1972 PageRequest.count_total 1973 1974 was set, its value is undefined otherwise 1975 description: >- 1976 QueryDenomsMetadataResponse is the response type for the 1977 Query/DenomsMetadata RPC 1978 1979 method. 1980 default: 1981 description: An unexpected error response 1982 schema: 1983 type: object 1984 properties: 1985 error: 1986 type: string 1987 code: 1988 type: integer 1989 format: int32 1990 message: 1991 type: string 1992 details: 1993 type: array 1994 items: 1995 type: object 1996 properties: 1997 type_url: 1998 type: string 1999 value: 2000 type: string 2001 format: byte 2002 parameters: 2003 - name: pagination.key 2004 description: |- 2005 key is a value returned in PageResponse.next_key to begin 2006 querying the next page most efficiently. Only one of offset or key 2007 should be set. 2008 in: query 2009 required: false 2010 type: string 2011 format: byte 2012 - name: pagination.offset 2013 description: >- 2014 offset is a numeric offset that can be used when key is unavailable. 2015 2016 It is less efficient than using key. Only one of offset or key 2017 should 2018 2019 be set. 2020 in: query 2021 required: false 2022 type: string 2023 format: uint64 2024 - name: pagination.limit 2025 description: >- 2026 limit is the total number of results to be returned in the result 2027 page. 2028 2029 If left empty it will default to a value to be set by each app. 2030 in: query 2031 required: false 2032 type: string 2033 format: uint64 2034 - name: pagination.count_total 2035 description: >- 2036 count_total is set to true to indicate that the result set should 2037 include 2038 2039 a count of the total number of items available for pagination in 2040 UIs. 2041 2042 count_total is only respected when offset is used. It is ignored 2043 when key 2044 2045 is set. 2046 in: query 2047 required: false 2048 type: boolean 2049 format: boolean 2050 - name: pagination.reverse 2051 description: >- 2052 reverse is set to true if results are to be returned in the 2053 descending order. 2054 2055 2056 Since: cosmos-sdk 0.43 2057 in: query 2058 required: false 2059 type: boolean 2060 format: boolean 2061 tags: 2062 - Query 2063 '/cosmos/bank/v1beta1/denoms_metadata/{denom}': 2064 get: 2065 summary: DenomsMetadata queries the client metadata of a given coin denomination. 2066 operationId: DenomMetadata 2067 responses: 2068 '200': 2069 description: A successful response. 2070 schema: 2071 type: object 2072 properties: 2073 metadata: 2074 type: object 2075 properties: 2076 description: 2077 type: string 2078 denom_units: 2079 type: array 2080 items: 2081 type: object 2082 properties: 2083 denom: 2084 type: string 2085 description: >- 2086 denom represents the string name of the given denom 2087 unit (e.g uatom). 2088 exponent: 2089 type: integer 2090 format: int64 2091 description: >- 2092 exponent represents power of 10 exponent that one 2093 must 2094 2095 raise the base_denom to in order to equal the given 2096 DenomUnit's denom 2097 2098 1 denom = 1^exponent base_denom 2099 2100 (e.g. with a base_denom of uatom, one can create a 2101 DenomUnit of 'atom' with 2102 2103 exponent = 6, thus: 1 atom = 10^6 uatom). 2104 aliases: 2105 type: array 2106 items: 2107 type: string 2108 title: >- 2109 aliases is a list of string aliases for the given 2110 denom 2111 description: |- 2112 DenomUnit represents a struct that describes a given 2113 denomination unit of the basic token. 2114 title: >- 2115 denom_units represents the list of DenomUnit's for a given 2116 coin 2117 base: 2118 type: string 2119 description: >- 2120 base represents the base denom (should be the DenomUnit 2121 with exponent = 0). 2122 display: 2123 type: string 2124 description: |- 2125 display indicates the suggested denom that should be 2126 displayed in clients. 2127 name: 2128 type: string 2129 description: 'Since: cosmos-sdk 0.43' 2130 title: 'name defines the name of the token (eg: Cosmos Atom)' 2131 symbol: 2132 type: string 2133 description: >- 2134 symbol is the token symbol usually shown on exchanges (eg: 2135 ATOM). This can 2136 2137 be the same as the display. 2138 2139 2140 Since: cosmos-sdk 0.43 2141 description: |- 2142 Metadata represents a struct that describes 2143 a basic token. 2144 description: >- 2145 QueryDenomMetadataResponse is the response type for the 2146 Query/DenomMetadata RPC 2147 2148 method. 2149 default: 2150 description: An unexpected error response 2151 schema: 2152 type: object 2153 properties: 2154 error: 2155 type: string 2156 code: 2157 type: integer 2158 format: int32 2159 message: 2160 type: string 2161 details: 2162 type: array 2163 items: 2164 type: object 2165 properties: 2166 type_url: 2167 type: string 2168 value: 2169 type: string 2170 format: byte 2171 parameters: 2172 - name: denom 2173 description: denom is the coin denom to query the metadata for. 2174 in: path 2175 required: true 2176 type: string 2177 tags: 2178 - Query 2179 /cosmos/bank/v1beta1/params: 2180 get: 2181 summary: Params queries the parameters of x/bank module. 2182 operationId: BankParams 2183 responses: 2184 '200': 2185 description: A successful response. 2186 schema: 2187 type: object 2188 properties: 2189 params: 2190 type: object 2191 properties: 2192 send_enabled: 2193 type: array 2194 items: 2195 type: object 2196 properties: 2197 denom: 2198 type: string 2199 enabled: 2200 type: boolean 2201 format: boolean 2202 description: >- 2203 SendEnabled maps coin denom to a send_enabled status 2204 (whether a denom is 2205 2206 sendable). 2207 default_send_enabled: 2208 type: boolean 2209 format: boolean 2210 description: Params defines the parameters for the bank module. 2211 description: >- 2212 QueryParamsResponse defines the response type for querying x/bank 2213 parameters. 2214 default: 2215 description: An unexpected error response 2216 schema: 2217 type: object 2218 properties: 2219 error: 2220 type: string 2221 code: 2222 type: integer 2223 format: int32 2224 message: 2225 type: string 2226 details: 2227 type: array 2228 items: 2229 type: object 2230 properties: 2231 type_url: 2232 type: string 2233 value: 2234 type: string 2235 format: byte 2236 tags: 2237 - Query 2238 '/cosmos/bank/v1beta1/spendable_balances/{address}': 2239 get: 2240 summary: |- 2241 SpendableBalances queries the spenable balance of all coins for a single 2242 account. 2243 operationId: SpendableBalances 2244 responses: 2245 '200': 2246 description: A successful response. 2247 schema: 2248 type: object 2249 properties: 2250 balances: 2251 type: array 2252 items: 2253 type: object 2254 properties: 2255 denom: 2256 type: string 2257 amount: 2258 type: string 2259 description: >- 2260 Coin defines a token with a denomination and an amount. 2261 2262 2263 NOTE: The amount field is an Int which implements the custom 2264 method 2265 2266 signatures required by gogoproto. 2267 description: balances is the spendable balances of all the coins. 2268 pagination: 2269 description: pagination defines the pagination in the response. 2270 type: object 2271 properties: 2272 next_key: 2273 type: string 2274 format: byte 2275 title: |- 2276 next_key is the key to be passed to PageRequest.key to 2277 query the next page most efficiently 2278 total: 2279 type: string 2280 format: uint64 2281 title: >- 2282 total is total number of results available if 2283 PageRequest.count_total 2284 2285 was set, its value is undefined otherwise 2286 description: >- 2287 QuerySpendableBalancesResponse defines the gRPC response structure 2288 for querying 2289 2290 an account's spendable balances. 2291 default: 2292 description: An unexpected error response 2293 schema: 2294 type: object 2295 properties: 2296 error: 2297 type: string 2298 code: 2299 type: integer 2300 format: int32 2301 message: 2302 type: string 2303 details: 2304 type: array 2305 items: 2306 type: object 2307 properties: 2308 type_url: 2309 type: string 2310 value: 2311 type: string 2312 format: byte 2313 parameters: 2314 - name: address 2315 description: address is the address to query spendable balances for. 2316 in: path 2317 required: true 2318 type: string 2319 - name: pagination.key 2320 description: |- 2321 key is a value returned in PageResponse.next_key to begin 2322 querying the next page most efficiently. Only one of offset or key 2323 should be set. 2324 in: query 2325 required: false 2326 type: string 2327 format: byte 2328 - name: pagination.offset 2329 description: >- 2330 offset is a numeric offset that can be used when key is unavailable. 2331 2332 It is less efficient than using key. Only one of offset or key 2333 should 2334 2335 be set. 2336 in: query 2337 required: false 2338 type: string 2339 format: uint64 2340 - name: pagination.limit 2341 description: >- 2342 limit is the total number of results to be returned in the result 2343 page. 2344 2345 If left empty it will default to a value to be set by each app. 2346 in: query 2347 required: false 2348 type: string 2349 format: uint64 2350 - name: pagination.count_total 2351 description: >- 2352 count_total is set to true to indicate that the result set should 2353 include 2354 2355 a count of the total number of items available for pagination in 2356 UIs. 2357 2358 count_total is only respected when offset is used. It is ignored 2359 when key 2360 2361 is set. 2362 in: query 2363 required: false 2364 type: boolean 2365 format: boolean 2366 - name: pagination.reverse 2367 description: >- 2368 reverse is set to true if results are to be returned in the 2369 descending order. 2370 2371 2372 Since: cosmos-sdk 0.43 2373 in: query 2374 required: false 2375 type: boolean 2376 format: boolean 2377 tags: 2378 - Query 2379 /cosmos/bank/v1beta1/supply: 2380 get: 2381 summary: TotalSupply queries the total supply of all coins. 2382 operationId: TotalSupply 2383 responses: 2384 '200': 2385 description: A successful response. 2386 schema: 2387 type: object 2388 properties: 2389 supply: 2390 type: array 2391 items: 2392 type: object 2393 properties: 2394 denom: 2395 type: string 2396 amount: 2397 type: string 2398 description: >- 2399 Coin defines a token with a denomination and an amount. 2400 2401 2402 NOTE: The amount field is an Int which implements the custom 2403 method 2404 2405 signatures required by gogoproto. 2406 title: supply is the supply of the coins 2407 pagination: 2408 description: |- 2409 pagination defines the pagination in the response. 2410 2411 Since: cosmos-sdk 0.43 2412 type: object 2413 properties: 2414 next_key: 2415 type: string 2416 format: byte 2417 title: |- 2418 next_key is the key to be passed to PageRequest.key to 2419 query the next page most efficiently 2420 total: 2421 type: string 2422 format: uint64 2423 title: >- 2424 total is total number of results available if 2425 PageRequest.count_total 2426 2427 was set, its value is undefined otherwise 2428 title: >- 2429 QueryTotalSupplyResponse is the response type for the 2430 Query/TotalSupply RPC 2431 2432 method 2433 default: 2434 description: An unexpected error response 2435 schema: 2436 type: object 2437 properties: 2438 error: 2439 type: string 2440 code: 2441 type: integer 2442 format: int32 2443 message: 2444 type: string 2445 details: 2446 type: array 2447 items: 2448 type: object 2449 properties: 2450 type_url: 2451 type: string 2452 value: 2453 type: string 2454 format: byte 2455 parameters: 2456 - name: pagination.key 2457 description: |- 2458 key is a value returned in PageResponse.next_key to begin 2459 querying the next page most efficiently. Only one of offset or key 2460 should be set. 2461 in: query 2462 required: false 2463 type: string 2464 format: byte 2465 - name: pagination.offset 2466 description: >- 2467 offset is a numeric offset that can be used when key is unavailable. 2468 2469 It is less efficient than using key. Only one of offset or key 2470 should 2471 2472 be set. 2473 in: query 2474 required: false 2475 type: string 2476 format: uint64 2477 - name: pagination.limit 2478 description: >- 2479 limit is the total number of results to be returned in the result 2480 page. 2481 2482 If left empty it will default to a value to be set by each app. 2483 in: query 2484 required: false 2485 type: string 2486 format: uint64 2487 - name: pagination.count_total 2488 description: >- 2489 count_total is set to true to indicate that the result set should 2490 include 2491 2492 a count of the total number of items available for pagination in 2493 UIs. 2494 2495 count_total is only respected when offset is used. It is ignored 2496 when key 2497 2498 is set. 2499 in: query 2500 required: false 2501 type: boolean 2502 format: boolean 2503 - name: pagination.reverse 2504 description: >- 2505 reverse is set to true if results are to be returned in the 2506 descending order. 2507 2508 2509 Since: cosmos-sdk 0.43 2510 in: query 2511 required: false 2512 type: boolean 2513 format: boolean 2514 tags: 2515 - Query 2516 '/cosmos/bank/v1beta1/supply/{denom}': 2517 get: 2518 summary: SupplyOf queries the supply of a single coin. 2519 operationId: SupplyOf 2520 responses: 2521 '200': 2522 description: A successful response. 2523 schema: 2524 type: object 2525 properties: 2526 amount: 2527 type: object 2528 properties: 2529 denom: 2530 type: string 2531 amount: 2532 type: string 2533 description: >- 2534 Coin defines a token with a denomination and an amount. 2535 2536 2537 NOTE: The amount field is an Int which implements the custom 2538 method 2539 2540 signatures required by gogoproto. 2541 description: >- 2542 QuerySupplyOfResponse is the response type for the Query/SupplyOf 2543 RPC method. 2544 default: 2545 description: An unexpected error response 2546 schema: 2547 type: object 2548 properties: 2549 error: 2550 type: string 2551 code: 2552 type: integer 2553 format: int32 2554 message: 2555 type: string 2556 details: 2557 type: array 2558 items: 2559 type: object 2560 properties: 2561 type_url: 2562 type: string 2563 value: 2564 type: string 2565 format: byte 2566 parameters: 2567 - name: denom 2568 description: denom is the coin denom to query balances for. 2569 in: path 2570 required: true 2571 type: string 2572 tags: 2573 - Query 2574 '/lbm/base/ostracon/v1/block/{hash}': 2575 get: 2576 summary: GetBlockByHash queries block for given hash. 2577 operationId: GetBlockByHash 2578 responses: 2579 '200': 2580 description: A successful response. 2581 schema: 2582 type: object 2583 properties: 2584 block_id: 2585 type: object 2586 properties: 2587 hash: 2588 type: string 2589 format: byte 2590 part_set_header: 2591 type: object 2592 properties: 2593 total: 2594 type: integer 2595 format: int64 2596 hash: 2597 type: string 2598 format: byte 2599 title: PartsetHeader 2600 title: BlockID 2601 block: 2602 type: object 2603 properties: 2604 header: 2605 type: object 2606 properties: 2607 version: 2608 title: basic block info 2609 type: object 2610 properties: 2611 block: 2612 type: string 2613 format: uint64 2614 app: 2615 type: string 2616 format: uint64 2617 description: >- 2618 Consensus captures the consensus rules for processing 2619 a block in the blockchain, 2620 2621 including all blockchain data structures and the rules 2622 of the application's 2623 2624 state transition machine. 2625 chain_id: 2626 type: string 2627 height: 2628 type: string 2629 format: int64 2630 time: 2631 type: string 2632 format: date-time 2633 last_block_id: 2634 type: object 2635 properties: 2636 hash: 2637 type: string 2638 format: byte 2639 part_set_header: 2640 type: object 2641 properties: 2642 total: 2643 type: integer 2644 format: int64 2645 hash: 2646 type: string 2647 format: byte 2648 title: PartsetHeader 2649 title: BlockID 2650 last_commit_hash: 2651 type: string 2652 format: byte 2653 title: hashes of block data 2654 data_hash: 2655 type: string 2656 format: byte 2657 validators_hash: 2658 type: string 2659 format: byte 2660 title: hashes from the app output from the prev block 2661 next_validators_hash: 2662 type: string 2663 format: byte 2664 consensus_hash: 2665 type: string 2666 format: byte 2667 app_hash: 2668 type: string 2669 format: byte 2670 last_results_hash: 2671 type: string 2672 format: byte 2673 evidence_hash: 2674 type: string 2675 format: byte 2676 title: consensus info 2677 proposer_address: 2678 type: string 2679 format: byte 2680 description: Header defines the structure of a Tendermint block header. 2681 data: 2682 type: object 2683 properties: 2684 txs: 2685 type: array 2686 items: 2687 type: string 2688 format: byte 2689 description: >- 2690 Txs that will be applied by state @ block.Height+1. 2691 2692 NOTE: not all txs here are valid. We're just agreeing 2693 on the order first. 2694 2695 This means that block.AppHash does not include these 2696 txs. 2697 title: >- 2698 Data contains the set of transactions included in the 2699 block 2700 evidence: 2701 type: object 2702 properties: 2703 evidence: 2704 type: array 2705 items: 2706 type: object 2707 properties: 2708 duplicate_vote_evidence: 2709 type: object 2710 properties: 2711 vote_a: 2712 type: object 2713 properties: 2714 type: 2715 type: string 2716 enum: 2717 - SIGNED_MSG_TYPE_UNKNOWN 2718 - SIGNED_MSG_TYPE_PREVOTE 2719 - SIGNED_MSG_TYPE_PRECOMMIT 2720 - SIGNED_MSG_TYPE_PROPOSAL 2721 default: SIGNED_MSG_TYPE_UNKNOWN 2722 description: >- 2723 SignedMsgType is a type of signed 2724 message in the consensus. 2725 2726 - SIGNED_MSG_TYPE_PREVOTE: Votes 2727 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 2728 height: 2729 type: string 2730 format: int64 2731 round: 2732 type: integer 2733 format: int32 2734 block_id: 2735 type: object 2736 properties: 2737 hash: 2738 type: string 2739 format: byte 2740 part_set_header: 2741 type: object 2742 properties: 2743 total: 2744 type: integer 2745 format: int64 2746 hash: 2747 type: string 2748 format: byte 2749 title: PartsetHeader 2750 title: BlockID 2751 timestamp: 2752 type: string 2753 format: date-time 2754 validator_address: 2755 type: string 2756 format: byte 2757 validator_index: 2758 type: integer 2759 format: int32 2760 signature: 2761 type: string 2762 format: byte 2763 description: >- 2764 Vote represents a prevote, precommit, or 2765 commit vote from validators for 2766 2767 consensus. 2768 vote_b: 2769 type: object 2770 properties: 2771 type: 2772 type: string 2773 enum: 2774 - SIGNED_MSG_TYPE_UNKNOWN 2775 - SIGNED_MSG_TYPE_PREVOTE 2776 - SIGNED_MSG_TYPE_PRECOMMIT 2777 - SIGNED_MSG_TYPE_PROPOSAL 2778 default: SIGNED_MSG_TYPE_UNKNOWN 2779 description: >- 2780 SignedMsgType is a type of signed 2781 message in the consensus. 2782 2783 - SIGNED_MSG_TYPE_PREVOTE: Votes 2784 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 2785 height: 2786 type: string 2787 format: int64 2788 round: 2789 type: integer 2790 format: int32 2791 block_id: 2792 type: object 2793 properties: 2794 hash: 2795 type: string 2796 format: byte 2797 part_set_header: 2798 type: object 2799 properties: 2800 total: 2801 type: integer 2802 format: int64 2803 hash: 2804 type: string 2805 format: byte 2806 title: PartsetHeader 2807 title: BlockID 2808 timestamp: 2809 type: string 2810 format: date-time 2811 validator_address: 2812 type: string 2813 format: byte 2814 validator_index: 2815 type: integer 2816 format: int32 2817 signature: 2818 type: string 2819 format: byte 2820 description: >- 2821 Vote represents a prevote, precommit, or 2822 commit vote from validators for 2823 2824 consensus. 2825 total_voting_power: 2826 type: string 2827 format: int64 2828 validator_power: 2829 type: string 2830 format: int64 2831 timestamp: 2832 type: string 2833 format: date-time 2834 description: >- 2835 DuplicateVoteEvidence contains evidence of a 2836 validator signed two conflicting votes. 2837 light_client_attack_evidence: 2838 type: object 2839 properties: 2840 conflicting_block: 2841 type: object 2842 properties: 2843 signed_header: 2844 type: object 2845 properties: 2846 header: 2847 type: object 2848 properties: 2849 version: 2850 title: basic block info 2851 type: object 2852 properties: 2853 block: 2854 type: string 2855 format: uint64 2856 app: 2857 type: string 2858 format: uint64 2859 description: >- 2860 Consensus captures the consensus rules 2861 for processing a block in the 2862 blockchain, 2863 2864 including all blockchain data structures 2865 and the rules of the application's 2866 2867 state transition machine. 2868 chain_id: 2869 type: string 2870 height: 2871 type: string 2872 format: int64 2873 time: 2874 type: string 2875 format: date-time 2876 last_block_id: 2877 type: object 2878 properties: 2879 hash: 2880 type: string 2881 format: byte 2882 part_set_header: 2883 type: object 2884 properties: 2885 total: 2886 type: integer 2887 format: int64 2888 hash: 2889 type: string 2890 format: byte 2891 title: PartsetHeader 2892 title: BlockID 2893 last_commit_hash: 2894 type: string 2895 format: byte 2896 title: hashes of block data 2897 data_hash: 2898 type: string 2899 format: byte 2900 validators_hash: 2901 type: string 2902 format: byte 2903 title: >- 2904 hashes from the app output from the prev 2905 block 2906 next_validators_hash: 2907 type: string 2908 format: byte 2909 consensus_hash: 2910 type: string 2911 format: byte 2912 app_hash: 2913 type: string 2914 format: byte 2915 last_results_hash: 2916 type: string 2917 format: byte 2918 evidence_hash: 2919 type: string 2920 format: byte 2921 title: consensus info 2922 proposer_address: 2923 type: string 2924 format: byte 2925 description: >- 2926 Header defines the structure of a 2927 Tendermint block header. 2928 commit: 2929 type: object 2930 properties: 2931 height: 2932 type: string 2933 format: int64 2934 round: 2935 type: integer 2936 format: int32 2937 block_id: 2938 type: object 2939 properties: 2940 hash: 2941 type: string 2942 format: byte 2943 part_set_header: 2944 type: object 2945 properties: 2946 total: 2947 type: integer 2948 format: int64 2949 hash: 2950 type: string 2951 format: byte 2952 title: PartsetHeader 2953 title: BlockID 2954 signatures: 2955 type: array 2956 items: 2957 type: object 2958 properties: 2959 block_id_flag: 2960 type: string 2961 enum: 2962 - BLOCK_ID_FLAG_UNKNOWN 2963 - BLOCK_ID_FLAG_ABSENT 2964 - BLOCK_ID_FLAG_COMMIT 2965 - BLOCK_ID_FLAG_NIL 2966 default: BLOCK_ID_FLAG_UNKNOWN 2967 title: >- 2968 BlockIdFlag indicates which BlcokID the 2969 signature is for 2970 validator_address: 2971 type: string 2972 format: byte 2973 timestamp: 2974 type: string 2975 format: date-time 2976 signature: 2977 type: string 2978 format: byte 2979 description: >- 2980 CommitSig is a part of the Vote included 2981 in a Commit. 2982 description: >- 2983 Commit contains the evidence that a 2984 block was committed by a set of 2985 validators. 2986 validator_set: 2987 type: object 2988 properties: 2989 validators: 2990 type: array 2991 items: 2992 type: object 2993 properties: 2994 address: 2995 type: string 2996 format: byte 2997 pub_key: 2998 type: object 2999 properties: 3000 ed25519: 3001 type: string 3002 format: byte 3003 secp256k1: 3004 type: string 3005 format: byte 3006 title: >- 3007 PublicKey defines the keys available for 3008 use with Tendermint Validators 3009 voting_power: 3010 type: string 3011 format: int64 3012 proposer_priority: 3013 type: string 3014 format: int64 3015 proposer: 3016 type: object 3017 properties: 3018 address: 3019 type: string 3020 format: byte 3021 pub_key: 3022 type: object 3023 properties: 3024 ed25519: 3025 type: string 3026 format: byte 3027 secp256k1: 3028 type: string 3029 format: byte 3030 title: >- 3031 PublicKey defines the keys available for 3032 use with Tendermint Validators 3033 voting_power: 3034 type: string 3035 format: int64 3036 proposer_priority: 3037 type: string 3038 format: int64 3039 total_voting_power: 3040 type: string 3041 format: int64 3042 common_height: 3043 type: string 3044 format: int64 3045 byzantine_validators: 3046 type: array 3047 items: 3048 type: object 3049 properties: 3050 address: 3051 type: string 3052 format: byte 3053 pub_key: 3054 type: object 3055 properties: 3056 ed25519: 3057 type: string 3058 format: byte 3059 secp256k1: 3060 type: string 3061 format: byte 3062 title: >- 3063 PublicKey defines the keys available for 3064 use with Tendermint Validators 3065 voting_power: 3066 type: string 3067 format: int64 3068 proposer_priority: 3069 type: string 3070 format: int64 3071 total_voting_power: 3072 type: string 3073 format: int64 3074 timestamp: 3075 type: string 3076 format: date-time 3077 description: >- 3078 LightClientAttackEvidence contains evidence of a 3079 set of validators attempting to mislead a light 3080 client. 3081 last_commit: 3082 type: object 3083 properties: 3084 height: 3085 type: string 3086 format: int64 3087 round: 3088 type: integer 3089 format: int32 3090 block_id: 3091 type: object 3092 properties: 3093 hash: 3094 type: string 3095 format: byte 3096 part_set_header: 3097 type: object 3098 properties: 3099 total: 3100 type: integer 3101 format: int64 3102 hash: 3103 type: string 3104 format: byte 3105 title: PartsetHeader 3106 title: BlockID 3107 signatures: 3108 type: array 3109 items: 3110 type: object 3111 properties: 3112 block_id_flag: 3113 type: string 3114 enum: 3115 - BLOCK_ID_FLAG_UNKNOWN 3116 - BLOCK_ID_FLAG_ABSENT 3117 - BLOCK_ID_FLAG_COMMIT 3118 - BLOCK_ID_FLAG_NIL 3119 default: BLOCK_ID_FLAG_UNKNOWN 3120 title: >- 3121 BlockIdFlag indicates which BlcokID the 3122 signature is for 3123 validator_address: 3124 type: string 3125 format: byte 3126 timestamp: 3127 type: string 3128 format: date-time 3129 signature: 3130 type: string 3131 format: byte 3132 description: >- 3133 CommitSig is a part of the Vote included in a 3134 Commit. 3135 description: >- 3136 Commit contains the evidence that a block was committed by 3137 a set of validators. 3138 entropy: 3139 title: '*** Ostracon Extended Fields ***' 3140 type: object 3141 properties: 3142 round: 3143 type: integer 3144 format: int32 3145 proof: 3146 type: string 3147 format: byte 3148 description: >- 3149 GetBlockByHashResponse is the response type for the 3150 Query/GetBlockByHash RPC method. 3151 default: 3152 description: An unexpected error response 3153 schema: 3154 type: object 3155 properties: 3156 error: 3157 type: string 3158 code: 3159 type: integer 3160 format: int32 3161 message: 3162 type: string 3163 details: 3164 type: array 3165 items: 3166 type: object 3167 properties: 3168 type_url: 3169 type: string 3170 description: >- 3171 A URL/resource name that uniquely identifies the type of 3172 the serialized 3173 3174 protocol buffer message. This string must contain at 3175 least 3176 3177 one "/" character. The last segment of the URL's path 3178 must represent 3179 3180 the fully qualified name of the type (as in 3181 3182 `path/google.protobuf.Duration`). The name should be in 3183 a canonical form 3184 3185 (e.g., leading "." is not accepted). 3186 3187 3188 In practice, teams usually precompile into the binary 3189 all types that they 3190 3191 expect it to use in the context of Any. However, for 3192 URLs which use the 3193 3194 scheme `http`, `https`, or no scheme, one can optionally 3195 set up a type 3196 3197 server that maps type URLs to message definitions as 3198 follows: 3199 3200 3201 * If no scheme is provided, `https` is assumed. 3202 3203 * An HTTP GET on the URL must yield a 3204 [google.protobuf.Type][] 3205 value in binary format, or produce an error. 3206 * Applications are allowed to cache lookup results based 3207 on the 3208 URL, or have them precompiled into a binary to avoid any 3209 lookup. Therefore, binary compatibility needs to be preserved 3210 on changes to types. (Use versioned type names to manage 3211 breaking changes.) 3212 3213 Note: this functionality is not currently available in 3214 the official 3215 3216 protobuf release, and it is not used for type URLs 3217 beginning with 3218 3219 type.googleapis.com. 3220 3221 3222 Schemes other than `http`, `https` (or the empty scheme) 3223 might be 3224 3225 used with implementation specific semantics. 3226 value: 3227 type: string 3228 format: byte 3229 description: >- 3230 Must be a valid serialized protocol buffer of the above 3231 specified type. 3232 description: >- 3233 `Any` contains an arbitrary serialized protocol buffer 3234 message along with a 3235 3236 URL that describes the type of the serialized message. 3237 3238 3239 Protobuf library provides support to pack/unpack Any values 3240 in the form 3241 3242 of utility functions or additional generated methods of the 3243 Any type. 3244 3245 3246 Example 1: Pack and unpack a message in C++. 3247 3248 Foo foo = ...; 3249 Any any; 3250 any.PackFrom(foo); 3251 ... 3252 if (any.UnpackTo(&foo)) { 3253 ... 3254 } 3255 3256 Example 2: Pack and unpack a message in Java. 3257 3258 Foo foo = ...; 3259 Any any = Any.pack(foo); 3260 ... 3261 if (any.is(Foo.class)) { 3262 foo = any.unpack(Foo.class); 3263 } 3264 3265 Example 3: Pack and unpack a message in Python. 3266 3267 foo = Foo(...) 3268 any = Any() 3269 any.Pack(foo) 3270 ... 3271 if any.Is(Foo.DESCRIPTOR): 3272 any.Unpack(foo) 3273 ... 3274 3275 Example 4: Pack and unpack a message in Go 3276 3277 foo := &pb.Foo{...} 3278 any, err := ptypes.MarshalAny(foo) 3279 ... 3280 foo := &pb.Foo{} 3281 if err := ptypes.UnmarshalAny(any, foo); err != nil { 3282 ... 3283 } 3284 3285 The pack methods provided by protobuf library will by 3286 default use 3287 3288 'type.googleapis.com/full.type.name' as the type URL and the 3289 unpack 3290 3291 methods only use the fully qualified type name after the 3292 last '/' 3293 3294 in the type URL, for example "foo.bar.com/x/y.z" will yield 3295 type 3296 3297 name "y.z". 3298 3299 3300 3301 JSON 3302 3303 ==== 3304 3305 The JSON representation of an `Any` value uses the regular 3306 3307 representation of the deserialized, embedded message, with 3308 an 3309 3310 additional field `@type` which contains the type URL. 3311 Example: 3312 3313 package google.profile; 3314 message Person { 3315 string first_name = 1; 3316 string last_name = 2; 3317 } 3318 3319 { 3320 "@type": "type.googleapis.com/google.profile.Person", 3321 "firstName": <string>, 3322 "lastName": <string> 3323 } 3324 3325 If the embedded message type is well-known and has a custom 3326 JSON 3327 3328 representation, that representation will be embedded adding 3329 a field 3330 3331 `value` which holds the custom JSON in addition to the 3332 `@type` 3333 3334 field. Example (for message [google.protobuf.Duration][]): 3335 3336 { 3337 "@type": "type.googleapis.com/google.protobuf.Duration", 3338 "value": "1.212s" 3339 } 3340 parameters: 3341 - name: hash 3342 in: path 3343 required: true 3344 type: string 3345 format: byte 3346 tags: 3347 - Service 3348 '/lbm/base/ostracon/v1/blockresults/{height}': 3349 get: 3350 summary: GetBlockResultsByHeight queries block results for given height. 3351 operationId: GetBlockResultsByHeight 3352 responses: 3353 '200': 3354 description: A successful response. 3355 schema: 3356 type: object 3357 properties: 3358 height: 3359 type: string 3360 format: int64 3361 txs_results: 3362 type: array 3363 items: 3364 type: object 3365 properties: 3366 code: 3367 type: integer 3368 format: int64 3369 data: 3370 type: string 3371 format: byte 3372 log: 3373 type: string 3374 info: 3375 type: string 3376 gas_wanted: 3377 type: string 3378 format: int64 3379 gas_used: 3380 type: string 3381 format: int64 3382 events: 3383 type: array 3384 items: 3385 type: object 3386 properties: 3387 type: 3388 type: string 3389 attributes: 3390 type: array 3391 items: 3392 type: object 3393 properties: 3394 key: 3395 type: string 3396 format: byte 3397 value: 3398 type: string 3399 format: byte 3400 index: 3401 type: boolean 3402 format: boolean 3403 description: >- 3404 EventAttribute is a single key-value pair, 3405 associated with an event. 3406 description: >- 3407 Event allows application developers to attach 3408 additional information to 3409 3410 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx 3411 and ResponseDeliverTx. 3412 3413 Later, transactions may be queried using these events. 3414 codespace: 3415 type: string 3416 res_begin_block: 3417 type: object 3418 properties: 3419 events: 3420 type: array 3421 items: 3422 type: object 3423 properties: 3424 type: 3425 type: string 3426 attributes: 3427 type: array 3428 items: 3429 type: object 3430 properties: 3431 key: 3432 type: string 3433 format: byte 3434 value: 3435 type: string 3436 format: byte 3437 index: 3438 type: boolean 3439 format: boolean 3440 description: >- 3441 EventAttribute is a single key-value pair, 3442 associated with an event. 3443 description: >- 3444 Event allows application developers to attach additional 3445 information to 3446 3447 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx 3448 and ResponseDeliverTx. 3449 3450 Later, transactions may be queried using these events. 3451 res_end_block: 3452 type: object 3453 properties: 3454 validator_updates: 3455 type: array 3456 items: 3457 type: object 3458 properties: 3459 pub_key: 3460 type: object 3461 properties: 3462 ed25519: 3463 type: string 3464 format: byte 3465 secp256k1: 3466 type: string 3467 format: byte 3468 title: >- 3469 PublicKey defines the keys available for use with 3470 Tendermint Validators 3471 power: 3472 type: string 3473 format: int64 3474 title: ValidatorUpdate 3475 consensus_param_updates: 3476 type: object 3477 properties: 3478 block: 3479 type: object 3480 properties: 3481 max_bytes: 3482 type: string 3483 format: int64 3484 title: 'Note: must be greater than 0' 3485 max_gas: 3486 type: string 3487 format: int64 3488 title: 'Note: must be greater or equal to -1' 3489 description: BlockParams contains limits on the block size. 3490 evidence: 3491 type: object 3492 properties: 3493 max_age_num_blocks: 3494 type: string 3495 format: int64 3496 description: >- 3497 Max age of evidence, in blocks. 3498 3499 3500 The basic formula for calculating this is: 3501 MaxAgeDuration / {average block 3502 3503 time}. 3504 max_age_duration: 3505 type: string 3506 description: >- 3507 Max age of evidence, in time. 3508 3509 3510 It should correspond with an app's "unbonding 3511 period" or other similar 3512 3513 mechanism for handling [Nothing-At-Stake 3514 3515 attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). 3516 max_bytes: 3517 type: string 3518 format: int64 3519 title: >- 3520 This sets the maximum size of total evidence in 3521 bytes that can be committed in a single block. 3522 3523 and should fall comfortably under the max block 3524 bytes. 3525 3526 Default is 1048576 or 1MB 3527 description: >- 3528 EvidenceParams determine how we handle evidence of 3529 malfeasance. 3530 validator: 3531 type: object 3532 properties: 3533 pub_key_types: 3534 type: array 3535 items: 3536 type: string 3537 description: >- 3538 ValidatorParams restrict the public key types 3539 validators can use. 3540 3541 NOTE: uses ABCI pubkey naming, not Amino names. 3542 version: 3543 type: object 3544 properties: 3545 app_version: 3546 type: string 3547 format: uint64 3548 description: VersionParams contains the ABCI application version. 3549 title: |- 3550 ConsensusParams contains all consensus-relevant parameters 3551 that can be adjusted by the abci app 3552 events: 3553 type: array 3554 items: 3555 type: object 3556 properties: 3557 type: 3558 type: string 3559 attributes: 3560 type: array 3561 items: 3562 type: object 3563 properties: 3564 key: 3565 type: string 3566 format: byte 3567 value: 3568 type: string 3569 format: byte 3570 index: 3571 type: boolean 3572 format: boolean 3573 description: >- 3574 EventAttribute is a single key-value pair, 3575 associated with an event. 3576 description: >- 3577 Event allows application developers to attach additional 3578 information to 3579 3580 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx 3581 and ResponseDeliverTx. 3582 3583 Later, transactions may be queried using these events. 3584 description: >- 3585 GetBlockResultsByHeightResponse is the response type for the 3586 Query/GetBlockResultsByHeight RPC method. 3587 default: 3588 description: An unexpected error response 3589 schema: 3590 type: object 3591 properties: 3592 error: 3593 type: string 3594 code: 3595 type: integer 3596 format: int32 3597 message: 3598 type: string 3599 details: 3600 type: array 3601 items: 3602 type: object 3603 properties: 3604 type_url: 3605 type: string 3606 description: >- 3607 A URL/resource name that uniquely identifies the type of 3608 the serialized 3609 3610 protocol buffer message. This string must contain at 3611 least 3612 3613 one "/" character. The last segment of the URL's path 3614 must represent 3615 3616 the fully qualified name of the type (as in 3617 3618 `path/google.protobuf.Duration`). The name should be in 3619 a canonical form 3620 3621 (e.g., leading "." is not accepted). 3622 3623 3624 In practice, teams usually precompile into the binary 3625 all types that they 3626 3627 expect it to use in the context of Any. However, for 3628 URLs which use the 3629 3630 scheme `http`, `https`, or no scheme, one can optionally 3631 set up a type 3632 3633 server that maps type URLs to message definitions as 3634 follows: 3635 3636 3637 * If no scheme is provided, `https` is assumed. 3638 3639 * An HTTP GET on the URL must yield a 3640 [google.protobuf.Type][] 3641 value in binary format, or produce an error. 3642 * Applications are allowed to cache lookup results based 3643 on the 3644 URL, or have them precompiled into a binary to avoid any 3645 lookup. Therefore, binary compatibility needs to be preserved 3646 on changes to types. (Use versioned type names to manage 3647 breaking changes.) 3648 3649 Note: this functionality is not currently available in 3650 the official 3651 3652 protobuf release, and it is not used for type URLs 3653 beginning with 3654 3655 type.googleapis.com. 3656 3657 3658 Schemes other than `http`, `https` (or the empty scheme) 3659 might be 3660 3661 used with implementation specific semantics. 3662 value: 3663 type: string 3664 format: byte 3665 description: >- 3666 Must be a valid serialized protocol buffer of the above 3667 specified type. 3668 description: >- 3669 `Any` contains an arbitrary serialized protocol buffer 3670 message along with a 3671 3672 URL that describes the type of the serialized message. 3673 3674 3675 Protobuf library provides support to pack/unpack Any values 3676 in the form 3677 3678 of utility functions or additional generated methods of the 3679 Any type. 3680 3681 3682 Example 1: Pack and unpack a message in C++. 3683 3684 Foo foo = ...; 3685 Any any; 3686 any.PackFrom(foo); 3687 ... 3688 if (any.UnpackTo(&foo)) { 3689 ... 3690 } 3691 3692 Example 2: Pack and unpack a message in Java. 3693 3694 Foo foo = ...; 3695 Any any = Any.pack(foo); 3696 ... 3697 if (any.is(Foo.class)) { 3698 foo = any.unpack(Foo.class); 3699 } 3700 3701 Example 3: Pack and unpack a message in Python. 3702 3703 foo = Foo(...) 3704 any = Any() 3705 any.Pack(foo) 3706 ... 3707 if any.Is(Foo.DESCRIPTOR): 3708 any.Unpack(foo) 3709 ... 3710 3711 Example 4: Pack and unpack a message in Go 3712 3713 foo := &pb.Foo{...} 3714 any, err := ptypes.MarshalAny(foo) 3715 ... 3716 foo := &pb.Foo{} 3717 if err := ptypes.UnmarshalAny(any, foo); err != nil { 3718 ... 3719 } 3720 3721 The pack methods provided by protobuf library will by 3722 default use 3723 3724 'type.googleapis.com/full.type.name' as the type URL and the 3725 unpack 3726 3727 methods only use the fully qualified type name after the 3728 last '/' 3729 3730 in the type URL, for example "foo.bar.com/x/y.z" will yield 3731 type 3732 3733 name "y.z". 3734 3735 3736 3737 JSON 3738 3739 ==== 3740 3741 The JSON representation of an `Any` value uses the regular 3742 3743 representation of the deserialized, embedded message, with 3744 an 3745 3746 additional field `@type` which contains the type URL. 3747 Example: 3748 3749 package google.profile; 3750 message Person { 3751 string first_name = 1; 3752 string last_name = 2; 3753 } 3754 3755 { 3756 "@type": "type.googleapis.com/google.profile.Person", 3757 "firstName": <string>, 3758 "lastName": <string> 3759 } 3760 3761 If the embedded message type is well-known and has a custom 3762 JSON 3763 3764 representation, that representation will be embedded adding 3765 a field 3766 3767 `value` which holds the custom JSON in addition to the 3768 `@type` 3769 3770 field. Example (for message [google.protobuf.Duration][]): 3771 3772 { 3773 "@type": "type.googleapis.com/google.protobuf.Duration", 3774 "value": "1.212s" 3775 } 3776 parameters: 3777 - name: height 3778 in: path 3779 required: true 3780 type: string 3781 format: int64 3782 tags: 3783 - Service 3784 /lbm/base/ostracon/v1/blocks/latest: 3785 get: 3786 summary: GetLatestBlock returns the latest block. 3787 operationId: GetLatestBlock2 3788 responses: 3789 '200': 3790 description: A successful response. 3791 schema: 3792 type: object 3793 properties: 3794 block_id: 3795 type: object 3796 properties: 3797 hash: 3798 type: string 3799 format: byte 3800 part_set_header: 3801 type: object 3802 properties: 3803 total: 3804 type: integer 3805 format: int64 3806 hash: 3807 type: string 3808 format: byte 3809 title: PartsetHeader 3810 title: BlockID 3811 block: 3812 type: object 3813 properties: 3814 header: 3815 type: object 3816 properties: 3817 version: 3818 title: basic block info 3819 type: object 3820 properties: 3821 block: 3822 type: string 3823 format: uint64 3824 app: 3825 type: string 3826 format: uint64 3827 description: >- 3828 Consensus captures the consensus rules for processing 3829 a block in the blockchain, 3830 3831 including all blockchain data structures and the rules 3832 of the application's 3833 3834 state transition machine. 3835 chain_id: 3836 type: string 3837 height: 3838 type: string 3839 format: int64 3840 time: 3841 type: string 3842 format: date-time 3843 last_block_id: 3844 type: object 3845 properties: 3846 hash: 3847 type: string 3848 format: byte 3849 part_set_header: 3850 type: object 3851 properties: 3852 total: 3853 type: integer 3854 format: int64 3855 hash: 3856 type: string 3857 format: byte 3858 title: PartsetHeader 3859 title: BlockID 3860 last_commit_hash: 3861 type: string 3862 format: byte 3863 title: hashes of block data 3864 data_hash: 3865 type: string 3866 format: byte 3867 validators_hash: 3868 type: string 3869 format: byte 3870 title: hashes from the app output from the prev block 3871 next_validators_hash: 3872 type: string 3873 format: byte 3874 consensus_hash: 3875 type: string 3876 format: byte 3877 app_hash: 3878 type: string 3879 format: byte 3880 last_results_hash: 3881 type: string 3882 format: byte 3883 evidence_hash: 3884 type: string 3885 format: byte 3886 title: consensus info 3887 proposer_address: 3888 type: string 3889 format: byte 3890 description: Header defines the structure of a Tendermint block header. 3891 data: 3892 type: object 3893 properties: 3894 txs: 3895 type: array 3896 items: 3897 type: string 3898 format: byte 3899 description: >- 3900 Txs that will be applied by state @ block.Height+1. 3901 3902 NOTE: not all txs here are valid. We're just agreeing 3903 on the order first. 3904 3905 This means that block.AppHash does not include these 3906 txs. 3907 title: >- 3908 Data contains the set of transactions included in the 3909 block 3910 evidence: 3911 type: object 3912 properties: 3913 evidence: 3914 type: array 3915 items: 3916 type: object 3917 properties: 3918 duplicate_vote_evidence: 3919 type: object 3920 properties: 3921 vote_a: 3922 type: object 3923 properties: 3924 type: 3925 type: string 3926 enum: 3927 - SIGNED_MSG_TYPE_UNKNOWN 3928 - SIGNED_MSG_TYPE_PREVOTE 3929 - SIGNED_MSG_TYPE_PRECOMMIT 3930 - SIGNED_MSG_TYPE_PROPOSAL 3931 default: SIGNED_MSG_TYPE_UNKNOWN 3932 description: >- 3933 SignedMsgType is a type of signed 3934 message in the consensus. 3935 3936 - SIGNED_MSG_TYPE_PREVOTE: Votes 3937 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 3938 height: 3939 type: string 3940 format: int64 3941 round: 3942 type: integer 3943 format: int32 3944 block_id: 3945 type: object 3946 properties: 3947 hash: 3948 type: string 3949 format: byte 3950 part_set_header: 3951 type: object 3952 properties: 3953 total: 3954 type: integer 3955 format: int64 3956 hash: 3957 type: string 3958 format: byte 3959 title: PartsetHeader 3960 title: BlockID 3961 timestamp: 3962 type: string 3963 format: date-time 3964 validator_address: 3965 type: string 3966 format: byte 3967 validator_index: 3968 type: integer 3969 format: int32 3970 signature: 3971 type: string 3972 format: byte 3973 description: >- 3974 Vote represents a prevote, precommit, or 3975 commit vote from validators for 3976 3977 consensus. 3978 vote_b: 3979 type: object 3980 properties: 3981 type: 3982 type: string 3983 enum: 3984 - SIGNED_MSG_TYPE_UNKNOWN 3985 - SIGNED_MSG_TYPE_PREVOTE 3986 - SIGNED_MSG_TYPE_PRECOMMIT 3987 - SIGNED_MSG_TYPE_PROPOSAL 3988 default: SIGNED_MSG_TYPE_UNKNOWN 3989 description: >- 3990 SignedMsgType is a type of signed 3991 message in the consensus. 3992 3993 - SIGNED_MSG_TYPE_PREVOTE: Votes 3994 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 3995 height: 3996 type: string 3997 format: int64 3998 round: 3999 type: integer 4000 format: int32 4001 block_id: 4002 type: object 4003 properties: 4004 hash: 4005 type: string 4006 format: byte 4007 part_set_header: 4008 type: object 4009 properties: 4010 total: 4011 type: integer 4012 format: int64 4013 hash: 4014 type: string 4015 format: byte 4016 title: PartsetHeader 4017 title: BlockID 4018 timestamp: 4019 type: string 4020 format: date-time 4021 validator_address: 4022 type: string 4023 format: byte 4024 validator_index: 4025 type: integer 4026 format: int32 4027 signature: 4028 type: string 4029 format: byte 4030 description: >- 4031 Vote represents a prevote, precommit, or 4032 commit vote from validators for 4033 4034 consensus. 4035 total_voting_power: 4036 type: string 4037 format: int64 4038 validator_power: 4039 type: string 4040 format: int64 4041 timestamp: 4042 type: string 4043 format: date-time 4044 description: >- 4045 DuplicateVoteEvidence contains evidence of a 4046 validator signed two conflicting votes. 4047 light_client_attack_evidence: 4048 type: object 4049 properties: 4050 conflicting_block: 4051 type: object 4052 properties: 4053 signed_header: 4054 type: object 4055 properties: 4056 header: 4057 type: object 4058 properties: 4059 version: 4060 title: basic block info 4061 type: object 4062 properties: 4063 block: 4064 type: string 4065 format: uint64 4066 app: 4067 type: string 4068 format: uint64 4069 description: >- 4070 Consensus captures the consensus rules 4071 for processing a block in the 4072 blockchain, 4073 4074 including all blockchain data structures 4075 and the rules of the application's 4076 4077 state transition machine. 4078 chain_id: 4079 type: string 4080 height: 4081 type: string 4082 format: int64 4083 time: 4084 type: string 4085 format: date-time 4086 last_block_id: 4087 type: object 4088 properties: 4089 hash: 4090 type: string 4091 format: byte 4092 part_set_header: 4093 type: object 4094 properties: 4095 total: 4096 type: integer 4097 format: int64 4098 hash: 4099 type: string 4100 format: byte 4101 title: PartsetHeader 4102 title: BlockID 4103 last_commit_hash: 4104 type: string 4105 format: byte 4106 title: hashes of block data 4107 data_hash: 4108 type: string 4109 format: byte 4110 validators_hash: 4111 type: string 4112 format: byte 4113 title: >- 4114 hashes from the app output from the prev 4115 block 4116 next_validators_hash: 4117 type: string 4118 format: byte 4119 consensus_hash: 4120 type: string 4121 format: byte 4122 app_hash: 4123 type: string 4124 format: byte 4125 last_results_hash: 4126 type: string 4127 format: byte 4128 evidence_hash: 4129 type: string 4130 format: byte 4131 title: consensus info 4132 proposer_address: 4133 type: string 4134 format: byte 4135 description: >- 4136 Header defines the structure of a 4137 Tendermint block header. 4138 commit: 4139 type: object 4140 properties: 4141 height: 4142 type: string 4143 format: int64 4144 round: 4145 type: integer 4146 format: int32 4147 block_id: 4148 type: object 4149 properties: 4150 hash: 4151 type: string 4152 format: byte 4153 part_set_header: 4154 type: object 4155 properties: 4156 total: 4157 type: integer 4158 format: int64 4159 hash: 4160 type: string 4161 format: byte 4162 title: PartsetHeader 4163 title: BlockID 4164 signatures: 4165 type: array 4166 items: 4167 type: object 4168 properties: 4169 block_id_flag: 4170 type: string 4171 enum: 4172 - BLOCK_ID_FLAG_UNKNOWN 4173 - BLOCK_ID_FLAG_ABSENT 4174 - BLOCK_ID_FLAG_COMMIT 4175 - BLOCK_ID_FLAG_NIL 4176 default: BLOCK_ID_FLAG_UNKNOWN 4177 title: >- 4178 BlockIdFlag indicates which BlcokID the 4179 signature is for 4180 validator_address: 4181 type: string 4182 format: byte 4183 timestamp: 4184 type: string 4185 format: date-time 4186 signature: 4187 type: string 4188 format: byte 4189 description: >- 4190 CommitSig is a part of the Vote included 4191 in a Commit. 4192 description: >- 4193 Commit contains the evidence that a 4194 block was committed by a set of 4195 validators. 4196 validator_set: 4197 type: object 4198 properties: 4199 validators: 4200 type: array 4201 items: 4202 type: object 4203 properties: 4204 address: 4205 type: string 4206 format: byte 4207 pub_key: 4208 type: object 4209 properties: 4210 ed25519: 4211 type: string 4212 format: byte 4213 secp256k1: 4214 type: string 4215 format: byte 4216 title: >- 4217 PublicKey defines the keys available for 4218 use with Tendermint Validators 4219 voting_power: 4220 type: string 4221 format: int64 4222 proposer_priority: 4223 type: string 4224 format: int64 4225 proposer: 4226 type: object 4227 properties: 4228 address: 4229 type: string 4230 format: byte 4231 pub_key: 4232 type: object 4233 properties: 4234 ed25519: 4235 type: string 4236 format: byte 4237 secp256k1: 4238 type: string 4239 format: byte 4240 title: >- 4241 PublicKey defines the keys available for 4242 use with Tendermint Validators 4243 voting_power: 4244 type: string 4245 format: int64 4246 proposer_priority: 4247 type: string 4248 format: int64 4249 total_voting_power: 4250 type: string 4251 format: int64 4252 common_height: 4253 type: string 4254 format: int64 4255 byzantine_validators: 4256 type: array 4257 items: 4258 type: object 4259 properties: 4260 address: 4261 type: string 4262 format: byte 4263 pub_key: 4264 type: object 4265 properties: 4266 ed25519: 4267 type: string 4268 format: byte 4269 secp256k1: 4270 type: string 4271 format: byte 4272 title: >- 4273 PublicKey defines the keys available for 4274 use with Tendermint Validators 4275 voting_power: 4276 type: string 4277 format: int64 4278 proposer_priority: 4279 type: string 4280 format: int64 4281 total_voting_power: 4282 type: string 4283 format: int64 4284 timestamp: 4285 type: string 4286 format: date-time 4287 description: >- 4288 LightClientAttackEvidence contains evidence of a 4289 set of validators attempting to mislead a light 4290 client. 4291 last_commit: 4292 type: object 4293 properties: 4294 height: 4295 type: string 4296 format: int64 4297 round: 4298 type: integer 4299 format: int32 4300 block_id: 4301 type: object 4302 properties: 4303 hash: 4304 type: string 4305 format: byte 4306 part_set_header: 4307 type: object 4308 properties: 4309 total: 4310 type: integer 4311 format: int64 4312 hash: 4313 type: string 4314 format: byte 4315 title: PartsetHeader 4316 title: BlockID 4317 signatures: 4318 type: array 4319 items: 4320 type: object 4321 properties: 4322 block_id_flag: 4323 type: string 4324 enum: 4325 - BLOCK_ID_FLAG_UNKNOWN 4326 - BLOCK_ID_FLAG_ABSENT 4327 - BLOCK_ID_FLAG_COMMIT 4328 - BLOCK_ID_FLAG_NIL 4329 default: BLOCK_ID_FLAG_UNKNOWN 4330 title: >- 4331 BlockIdFlag indicates which BlcokID the 4332 signature is for 4333 validator_address: 4334 type: string 4335 format: byte 4336 timestamp: 4337 type: string 4338 format: date-time 4339 signature: 4340 type: string 4341 format: byte 4342 description: >- 4343 CommitSig is a part of the Vote included in a 4344 Commit. 4345 description: >- 4346 Commit contains the evidence that a block was committed by 4347 a set of validators. 4348 entropy: 4349 title: '*** Ostracon Extended Fields ***' 4350 type: object 4351 properties: 4352 round: 4353 type: integer 4354 format: int32 4355 proof: 4356 type: string 4357 format: byte 4358 description: >- 4359 GetLatestBlockResponse is the response type for the 4360 Query/GetLatestBlock RPC method. 4361 default: 4362 description: An unexpected error response 4363 schema: 4364 type: object 4365 properties: 4366 error: 4367 type: string 4368 code: 4369 type: integer 4370 format: int32 4371 message: 4372 type: string 4373 details: 4374 type: array 4375 items: 4376 type: object 4377 properties: 4378 type_url: 4379 type: string 4380 description: >- 4381 A URL/resource name that uniquely identifies the type of 4382 the serialized 4383 4384 protocol buffer message. This string must contain at 4385 least 4386 4387 one "/" character. The last segment of the URL's path 4388 must represent 4389 4390 the fully qualified name of the type (as in 4391 4392 `path/google.protobuf.Duration`). The name should be in 4393 a canonical form 4394 4395 (e.g., leading "." is not accepted). 4396 4397 4398 In practice, teams usually precompile into the binary 4399 all types that they 4400 4401 expect it to use in the context of Any. However, for 4402 URLs which use the 4403 4404 scheme `http`, `https`, or no scheme, one can optionally 4405 set up a type 4406 4407 server that maps type URLs to message definitions as 4408 follows: 4409 4410 4411 * If no scheme is provided, `https` is assumed. 4412 4413 * An HTTP GET on the URL must yield a 4414 [google.protobuf.Type][] 4415 value in binary format, or produce an error. 4416 * Applications are allowed to cache lookup results based 4417 on the 4418 URL, or have them precompiled into a binary to avoid any 4419 lookup. Therefore, binary compatibility needs to be preserved 4420 on changes to types. (Use versioned type names to manage 4421 breaking changes.) 4422 4423 Note: this functionality is not currently available in 4424 the official 4425 4426 protobuf release, and it is not used for type URLs 4427 beginning with 4428 4429 type.googleapis.com. 4430 4431 4432 Schemes other than `http`, `https` (or the empty scheme) 4433 might be 4434 4435 used with implementation specific semantics. 4436 value: 4437 type: string 4438 format: byte 4439 description: >- 4440 Must be a valid serialized protocol buffer of the above 4441 specified type. 4442 description: >- 4443 `Any` contains an arbitrary serialized protocol buffer 4444 message along with a 4445 4446 URL that describes the type of the serialized message. 4447 4448 4449 Protobuf library provides support to pack/unpack Any values 4450 in the form 4451 4452 of utility functions or additional generated methods of the 4453 Any type. 4454 4455 4456 Example 1: Pack and unpack a message in C++. 4457 4458 Foo foo = ...; 4459 Any any; 4460 any.PackFrom(foo); 4461 ... 4462 if (any.UnpackTo(&foo)) { 4463 ... 4464 } 4465 4466 Example 2: Pack and unpack a message in Java. 4467 4468 Foo foo = ...; 4469 Any any = Any.pack(foo); 4470 ... 4471 if (any.is(Foo.class)) { 4472 foo = any.unpack(Foo.class); 4473 } 4474 4475 Example 3: Pack and unpack a message in Python. 4476 4477 foo = Foo(...) 4478 any = Any() 4479 any.Pack(foo) 4480 ... 4481 if any.Is(Foo.DESCRIPTOR): 4482 any.Unpack(foo) 4483 ... 4484 4485 Example 4: Pack and unpack a message in Go 4486 4487 foo := &pb.Foo{...} 4488 any, err := ptypes.MarshalAny(foo) 4489 ... 4490 foo := &pb.Foo{} 4491 if err := ptypes.UnmarshalAny(any, foo); err != nil { 4492 ... 4493 } 4494 4495 The pack methods provided by protobuf library will by 4496 default use 4497 4498 'type.googleapis.com/full.type.name' as the type URL and the 4499 unpack 4500 4501 methods only use the fully qualified type name after the 4502 last '/' 4503 4504 in the type URL, for example "foo.bar.com/x/y.z" will yield 4505 type 4506 4507 name "y.z". 4508 4509 4510 4511 JSON 4512 4513 ==== 4514 4515 The JSON representation of an `Any` value uses the regular 4516 4517 representation of the deserialized, embedded message, with 4518 an 4519 4520 additional field `@type` which contains the type URL. 4521 Example: 4522 4523 package google.profile; 4524 message Person { 4525 string first_name = 1; 4526 string last_name = 2; 4527 } 4528 4529 { 4530 "@type": "type.googleapis.com/google.profile.Person", 4531 "firstName": <string>, 4532 "lastName": <string> 4533 } 4534 4535 If the embedded message type is well-known and has a custom 4536 JSON 4537 4538 representation, that representation will be embedded adding 4539 a field 4540 4541 `value` which holds the custom JSON in addition to the 4542 `@type` 4543 4544 field. Example (for message [google.protobuf.Duration][]): 4545 4546 { 4547 "@type": "type.googleapis.com/google.protobuf.Duration", 4548 "value": "1.212s" 4549 } 4550 tags: 4551 - Service 4552 '/lbm/base/ostracon/v1/blocks/{height}': 4553 get: 4554 summary: GetBlockByHeight queries block for given height. 4555 operationId: GetBlockByHeight2 4556 responses: 4557 '200': 4558 description: A successful response. 4559 schema: 4560 type: object 4561 properties: 4562 block_id: 4563 type: object 4564 properties: 4565 hash: 4566 type: string 4567 format: byte 4568 part_set_header: 4569 type: object 4570 properties: 4571 total: 4572 type: integer 4573 format: int64 4574 hash: 4575 type: string 4576 format: byte 4577 title: PartsetHeader 4578 title: BlockID 4579 block: 4580 type: object 4581 properties: 4582 header: 4583 type: object 4584 properties: 4585 version: 4586 title: basic block info 4587 type: object 4588 properties: 4589 block: 4590 type: string 4591 format: uint64 4592 app: 4593 type: string 4594 format: uint64 4595 description: >- 4596 Consensus captures the consensus rules for processing 4597 a block in the blockchain, 4598 4599 including all blockchain data structures and the rules 4600 of the application's 4601 4602 state transition machine. 4603 chain_id: 4604 type: string 4605 height: 4606 type: string 4607 format: int64 4608 time: 4609 type: string 4610 format: date-time 4611 last_block_id: 4612 type: object 4613 properties: 4614 hash: 4615 type: string 4616 format: byte 4617 part_set_header: 4618 type: object 4619 properties: 4620 total: 4621 type: integer 4622 format: int64 4623 hash: 4624 type: string 4625 format: byte 4626 title: PartsetHeader 4627 title: BlockID 4628 last_commit_hash: 4629 type: string 4630 format: byte 4631 title: hashes of block data 4632 data_hash: 4633 type: string 4634 format: byte 4635 validators_hash: 4636 type: string 4637 format: byte 4638 title: hashes from the app output from the prev block 4639 next_validators_hash: 4640 type: string 4641 format: byte 4642 consensus_hash: 4643 type: string 4644 format: byte 4645 app_hash: 4646 type: string 4647 format: byte 4648 last_results_hash: 4649 type: string 4650 format: byte 4651 evidence_hash: 4652 type: string 4653 format: byte 4654 title: consensus info 4655 proposer_address: 4656 type: string 4657 format: byte 4658 description: Header defines the structure of a Tendermint block header. 4659 data: 4660 type: object 4661 properties: 4662 txs: 4663 type: array 4664 items: 4665 type: string 4666 format: byte 4667 description: >- 4668 Txs that will be applied by state @ block.Height+1. 4669 4670 NOTE: not all txs here are valid. We're just agreeing 4671 on the order first. 4672 4673 This means that block.AppHash does not include these 4674 txs. 4675 title: >- 4676 Data contains the set of transactions included in the 4677 block 4678 evidence: 4679 type: object 4680 properties: 4681 evidence: 4682 type: array 4683 items: 4684 type: object 4685 properties: 4686 duplicate_vote_evidence: 4687 type: object 4688 properties: 4689 vote_a: 4690 type: object 4691 properties: 4692 type: 4693 type: string 4694 enum: 4695 - SIGNED_MSG_TYPE_UNKNOWN 4696 - SIGNED_MSG_TYPE_PREVOTE 4697 - SIGNED_MSG_TYPE_PRECOMMIT 4698 - SIGNED_MSG_TYPE_PROPOSAL 4699 default: SIGNED_MSG_TYPE_UNKNOWN 4700 description: >- 4701 SignedMsgType is a type of signed 4702 message in the consensus. 4703 4704 - SIGNED_MSG_TYPE_PREVOTE: Votes 4705 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 4706 height: 4707 type: string 4708 format: int64 4709 round: 4710 type: integer 4711 format: int32 4712 block_id: 4713 type: object 4714 properties: 4715 hash: 4716 type: string 4717 format: byte 4718 part_set_header: 4719 type: object 4720 properties: 4721 total: 4722 type: integer 4723 format: int64 4724 hash: 4725 type: string 4726 format: byte 4727 title: PartsetHeader 4728 title: BlockID 4729 timestamp: 4730 type: string 4731 format: date-time 4732 validator_address: 4733 type: string 4734 format: byte 4735 validator_index: 4736 type: integer 4737 format: int32 4738 signature: 4739 type: string 4740 format: byte 4741 description: >- 4742 Vote represents a prevote, precommit, or 4743 commit vote from validators for 4744 4745 consensus. 4746 vote_b: 4747 type: object 4748 properties: 4749 type: 4750 type: string 4751 enum: 4752 - SIGNED_MSG_TYPE_UNKNOWN 4753 - SIGNED_MSG_TYPE_PREVOTE 4754 - SIGNED_MSG_TYPE_PRECOMMIT 4755 - SIGNED_MSG_TYPE_PROPOSAL 4756 default: SIGNED_MSG_TYPE_UNKNOWN 4757 description: >- 4758 SignedMsgType is a type of signed 4759 message in the consensus. 4760 4761 - SIGNED_MSG_TYPE_PREVOTE: Votes 4762 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 4763 height: 4764 type: string 4765 format: int64 4766 round: 4767 type: integer 4768 format: int32 4769 block_id: 4770 type: object 4771 properties: 4772 hash: 4773 type: string 4774 format: byte 4775 part_set_header: 4776 type: object 4777 properties: 4778 total: 4779 type: integer 4780 format: int64 4781 hash: 4782 type: string 4783 format: byte 4784 title: PartsetHeader 4785 title: BlockID 4786 timestamp: 4787 type: string 4788 format: date-time 4789 validator_address: 4790 type: string 4791 format: byte 4792 validator_index: 4793 type: integer 4794 format: int32 4795 signature: 4796 type: string 4797 format: byte 4798 description: >- 4799 Vote represents a prevote, precommit, or 4800 commit vote from validators for 4801 4802 consensus. 4803 total_voting_power: 4804 type: string 4805 format: int64 4806 validator_power: 4807 type: string 4808 format: int64 4809 timestamp: 4810 type: string 4811 format: date-time 4812 description: >- 4813 DuplicateVoteEvidence contains evidence of a 4814 validator signed two conflicting votes. 4815 light_client_attack_evidence: 4816 type: object 4817 properties: 4818 conflicting_block: 4819 type: object 4820 properties: 4821 signed_header: 4822 type: object 4823 properties: 4824 header: 4825 type: object 4826 properties: 4827 version: 4828 title: basic block info 4829 type: object 4830 properties: 4831 block: 4832 type: string 4833 format: uint64 4834 app: 4835 type: string 4836 format: uint64 4837 description: >- 4838 Consensus captures the consensus rules 4839 for processing a block in the 4840 blockchain, 4841 4842 including all blockchain data structures 4843 and the rules of the application's 4844 4845 state transition machine. 4846 chain_id: 4847 type: string 4848 height: 4849 type: string 4850 format: int64 4851 time: 4852 type: string 4853 format: date-time 4854 last_block_id: 4855 type: object 4856 properties: 4857 hash: 4858 type: string 4859 format: byte 4860 part_set_header: 4861 type: object 4862 properties: 4863 total: 4864 type: integer 4865 format: int64 4866 hash: 4867 type: string 4868 format: byte 4869 title: PartsetHeader 4870 title: BlockID 4871 last_commit_hash: 4872 type: string 4873 format: byte 4874 title: hashes of block data 4875 data_hash: 4876 type: string 4877 format: byte 4878 validators_hash: 4879 type: string 4880 format: byte 4881 title: >- 4882 hashes from the app output from the prev 4883 block 4884 next_validators_hash: 4885 type: string 4886 format: byte 4887 consensus_hash: 4888 type: string 4889 format: byte 4890 app_hash: 4891 type: string 4892 format: byte 4893 last_results_hash: 4894 type: string 4895 format: byte 4896 evidence_hash: 4897 type: string 4898 format: byte 4899 title: consensus info 4900 proposer_address: 4901 type: string 4902 format: byte 4903 description: >- 4904 Header defines the structure of a 4905 Tendermint block header. 4906 commit: 4907 type: object 4908 properties: 4909 height: 4910 type: string 4911 format: int64 4912 round: 4913 type: integer 4914 format: int32 4915 block_id: 4916 type: object 4917 properties: 4918 hash: 4919 type: string 4920 format: byte 4921 part_set_header: 4922 type: object 4923 properties: 4924 total: 4925 type: integer 4926 format: int64 4927 hash: 4928 type: string 4929 format: byte 4930 title: PartsetHeader 4931 title: BlockID 4932 signatures: 4933 type: array 4934 items: 4935 type: object 4936 properties: 4937 block_id_flag: 4938 type: string 4939 enum: 4940 - BLOCK_ID_FLAG_UNKNOWN 4941 - BLOCK_ID_FLAG_ABSENT 4942 - BLOCK_ID_FLAG_COMMIT 4943 - BLOCK_ID_FLAG_NIL 4944 default: BLOCK_ID_FLAG_UNKNOWN 4945 title: >- 4946 BlockIdFlag indicates which BlcokID the 4947 signature is for 4948 validator_address: 4949 type: string 4950 format: byte 4951 timestamp: 4952 type: string 4953 format: date-time 4954 signature: 4955 type: string 4956 format: byte 4957 description: >- 4958 CommitSig is a part of the Vote included 4959 in a Commit. 4960 description: >- 4961 Commit contains the evidence that a 4962 block was committed by a set of 4963 validators. 4964 validator_set: 4965 type: object 4966 properties: 4967 validators: 4968 type: array 4969 items: 4970 type: object 4971 properties: 4972 address: 4973 type: string 4974 format: byte 4975 pub_key: 4976 type: object 4977 properties: 4978 ed25519: 4979 type: string 4980 format: byte 4981 secp256k1: 4982 type: string 4983 format: byte 4984 title: >- 4985 PublicKey defines the keys available for 4986 use with Tendermint Validators 4987 voting_power: 4988 type: string 4989 format: int64 4990 proposer_priority: 4991 type: string 4992 format: int64 4993 proposer: 4994 type: object 4995 properties: 4996 address: 4997 type: string 4998 format: byte 4999 pub_key: 5000 type: object 5001 properties: 5002 ed25519: 5003 type: string 5004 format: byte 5005 secp256k1: 5006 type: string 5007 format: byte 5008 title: >- 5009 PublicKey defines the keys available for 5010 use with Tendermint Validators 5011 voting_power: 5012 type: string 5013 format: int64 5014 proposer_priority: 5015 type: string 5016 format: int64 5017 total_voting_power: 5018 type: string 5019 format: int64 5020 common_height: 5021 type: string 5022 format: int64 5023 byzantine_validators: 5024 type: array 5025 items: 5026 type: object 5027 properties: 5028 address: 5029 type: string 5030 format: byte 5031 pub_key: 5032 type: object 5033 properties: 5034 ed25519: 5035 type: string 5036 format: byte 5037 secp256k1: 5038 type: string 5039 format: byte 5040 title: >- 5041 PublicKey defines the keys available for 5042 use with Tendermint Validators 5043 voting_power: 5044 type: string 5045 format: int64 5046 proposer_priority: 5047 type: string 5048 format: int64 5049 total_voting_power: 5050 type: string 5051 format: int64 5052 timestamp: 5053 type: string 5054 format: date-time 5055 description: >- 5056 LightClientAttackEvidence contains evidence of a 5057 set of validators attempting to mislead a light 5058 client. 5059 last_commit: 5060 type: object 5061 properties: 5062 height: 5063 type: string 5064 format: int64 5065 round: 5066 type: integer 5067 format: int32 5068 block_id: 5069 type: object 5070 properties: 5071 hash: 5072 type: string 5073 format: byte 5074 part_set_header: 5075 type: object 5076 properties: 5077 total: 5078 type: integer 5079 format: int64 5080 hash: 5081 type: string 5082 format: byte 5083 title: PartsetHeader 5084 title: BlockID 5085 signatures: 5086 type: array 5087 items: 5088 type: object 5089 properties: 5090 block_id_flag: 5091 type: string 5092 enum: 5093 - BLOCK_ID_FLAG_UNKNOWN 5094 - BLOCK_ID_FLAG_ABSENT 5095 - BLOCK_ID_FLAG_COMMIT 5096 - BLOCK_ID_FLAG_NIL 5097 default: BLOCK_ID_FLAG_UNKNOWN 5098 title: >- 5099 BlockIdFlag indicates which BlcokID the 5100 signature is for 5101 validator_address: 5102 type: string 5103 format: byte 5104 timestamp: 5105 type: string 5106 format: date-time 5107 signature: 5108 type: string 5109 format: byte 5110 description: >- 5111 CommitSig is a part of the Vote included in a 5112 Commit. 5113 description: >- 5114 Commit contains the evidence that a block was committed by 5115 a set of validators. 5116 entropy: 5117 title: '*** Ostracon Extended Fields ***' 5118 type: object 5119 properties: 5120 round: 5121 type: integer 5122 format: int32 5123 proof: 5124 type: string 5125 format: byte 5126 description: >- 5127 GetBlockByHeightResponse is the response type for the 5128 Query/GetBlockByHeight RPC method. 5129 default: 5130 description: An unexpected error response 5131 schema: 5132 type: object 5133 properties: 5134 error: 5135 type: string 5136 code: 5137 type: integer 5138 format: int32 5139 message: 5140 type: string 5141 details: 5142 type: array 5143 items: 5144 type: object 5145 properties: 5146 type_url: 5147 type: string 5148 description: >- 5149 A URL/resource name that uniquely identifies the type of 5150 the serialized 5151 5152 protocol buffer message. This string must contain at 5153 least 5154 5155 one "/" character. The last segment of the URL's path 5156 must represent 5157 5158 the fully qualified name of the type (as in 5159 5160 `path/google.protobuf.Duration`). The name should be in 5161 a canonical form 5162 5163 (e.g., leading "." is not accepted). 5164 5165 5166 In practice, teams usually precompile into the binary 5167 all types that they 5168 5169 expect it to use in the context of Any. However, for 5170 URLs which use the 5171 5172 scheme `http`, `https`, or no scheme, one can optionally 5173 set up a type 5174 5175 server that maps type URLs to message definitions as 5176 follows: 5177 5178 5179 * If no scheme is provided, `https` is assumed. 5180 5181 * An HTTP GET on the URL must yield a 5182 [google.protobuf.Type][] 5183 value in binary format, or produce an error. 5184 * Applications are allowed to cache lookup results based 5185 on the 5186 URL, or have them precompiled into a binary to avoid any 5187 lookup. Therefore, binary compatibility needs to be preserved 5188 on changes to types. (Use versioned type names to manage 5189 breaking changes.) 5190 5191 Note: this functionality is not currently available in 5192 the official 5193 5194 protobuf release, and it is not used for type URLs 5195 beginning with 5196 5197 type.googleapis.com. 5198 5199 5200 Schemes other than `http`, `https` (or the empty scheme) 5201 might be 5202 5203 used with implementation specific semantics. 5204 value: 5205 type: string 5206 format: byte 5207 description: >- 5208 Must be a valid serialized protocol buffer of the above 5209 specified type. 5210 description: >- 5211 `Any` contains an arbitrary serialized protocol buffer 5212 message along with a 5213 5214 URL that describes the type of the serialized message. 5215 5216 5217 Protobuf library provides support to pack/unpack Any values 5218 in the form 5219 5220 of utility functions or additional generated methods of the 5221 Any type. 5222 5223 5224 Example 1: Pack and unpack a message in C++. 5225 5226 Foo foo = ...; 5227 Any any; 5228 any.PackFrom(foo); 5229 ... 5230 if (any.UnpackTo(&foo)) { 5231 ... 5232 } 5233 5234 Example 2: Pack and unpack a message in Java. 5235 5236 Foo foo = ...; 5237 Any any = Any.pack(foo); 5238 ... 5239 if (any.is(Foo.class)) { 5240 foo = any.unpack(Foo.class); 5241 } 5242 5243 Example 3: Pack and unpack a message in Python. 5244 5245 foo = Foo(...) 5246 any = Any() 5247 any.Pack(foo) 5248 ... 5249 if any.Is(Foo.DESCRIPTOR): 5250 any.Unpack(foo) 5251 ... 5252 5253 Example 4: Pack and unpack a message in Go 5254 5255 foo := &pb.Foo{...} 5256 any, err := ptypes.MarshalAny(foo) 5257 ... 5258 foo := &pb.Foo{} 5259 if err := ptypes.UnmarshalAny(any, foo); err != nil { 5260 ... 5261 } 5262 5263 The pack methods provided by protobuf library will by 5264 default use 5265 5266 'type.googleapis.com/full.type.name' as the type URL and the 5267 unpack 5268 5269 methods only use the fully qualified type name after the 5270 last '/' 5271 5272 in the type URL, for example "foo.bar.com/x/y.z" will yield 5273 type 5274 5275 name "y.z". 5276 5277 5278 5279 JSON 5280 5281 ==== 5282 5283 The JSON representation of an `Any` value uses the regular 5284 5285 representation of the deserialized, embedded message, with 5286 an 5287 5288 additional field `@type` which contains the type URL. 5289 Example: 5290 5291 package google.profile; 5292 message Person { 5293 string first_name = 1; 5294 string last_name = 2; 5295 } 5296 5297 { 5298 "@type": "type.googleapis.com/google.profile.Person", 5299 "firstName": <string>, 5300 "lastName": <string> 5301 } 5302 5303 If the embedded message type is well-known and has a custom 5304 JSON 5305 5306 representation, that representation will be embedded adding 5307 a field 5308 5309 `value` which holds the custom JSON in addition to the 5310 `@type` 5311 5312 field. Example (for message [google.protobuf.Duration][]): 5313 5314 { 5315 "@type": "type.googleapis.com/google.protobuf.Duration", 5316 "value": "1.212s" 5317 } 5318 parameters: 5319 - name: height 5320 in: path 5321 required: true 5322 type: string 5323 format: int64 5324 tags: 5325 - Service 5326 /lbm/base/ostracon/v1/node_info: 5327 get: 5328 summary: GetNodeInfo queries the current node info. 5329 operationId: GetNodeInfo2 5330 responses: 5331 '200': 5332 description: A successful response. 5333 schema: 5334 type: object 5335 properties: 5336 default_node_info: 5337 type: object 5338 properties: 5339 protocol_version: 5340 type: object 5341 properties: 5342 p2p: 5343 type: string 5344 format: uint64 5345 block: 5346 type: string 5347 format: uint64 5348 app: 5349 type: string 5350 format: uint64 5351 default_node_id: 5352 type: string 5353 listen_addr: 5354 type: string 5355 network: 5356 type: string 5357 version: 5358 type: string 5359 channels: 5360 type: string 5361 format: byte 5362 moniker: 5363 type: string 5364 other: 5365 type: object 5366 properties: 5367 tx_index: 5368 type: string 5369 rpc_address: 5370 type: string 5371 application_version: 5372 type: object 5373 properties: 5374 name: 5375 type: string 5376 app_name: 5377 type: string 5378 version: 5379 type: string 5380 git_commit: 5381 type: string 5382 build_tags: 5383 type: string 5384 go_version: 5385 type: string 5386 build_deps: 5387 type: array 5388 items: 5389 type: object 5390 properties: 5391 path: 5392 type: string 5393 title: module path 5394 version: 5395 type: string 5396 title: module version 5397 sum: 5398 type: string 5399 title: checksum 5400 title: Module is the type for VersionInfo 5401 lbm_sdk_version: 5402 type: string 5403 title: 'Since: cosmos-sdk 0.43' 5404 description: VersionInfo is the type for the GetNodeInfoResponse message. 5405 description: >- 5406 GetNodeInfoResponse is the request type for the Query/GetNodeInfo 5407 RPC method. 5408 default: 5409 description: An unexpected error response 5410 schema: 5411 type: object 5412 properties: 5413 error: 5414 type: string 5415 code: 5416 type: integer 5417 format: int32 5418 message: 5419 type: string 5420 details: 5421 type: array 5422 items: 5423 type: object 5424 properties: 5425 type_url: 5426 type: string 5427 description: >- 5428 A URL/resource name that uniquely identifies the type of 5429 the serialized 5430 5431 protocol buffer message. This string must contain at 5432 least 5433 5434 one "/" character. The last segment of the URL's path 5435 must represent 5436 5437 the fully qualified name of the type (as in 5438 5439 `path/google.protobuf.Duration`). The name should be in 5440 a canonical form 5441 5442 (e.g., leading "." is not accepted). 5443 5444 5445 In practice, teams usually precompile into the binary 5446 all types that they 5447 5448 expect it to use in the context of Any. However, for 5449 URLs which use the 5450 5451 scheme `http`, `https`, or no scheme, one can optionally 5452 set up a type 5453 5454 server that maps type URLs to message definitions as 5455 follows: 5456 5457 5458 * If no scheme is provided, `https` is assumed. 5459 5460 * An HTTP GET on the URL must yield a 5461 [google.protobuf.Type][] 5462 value in binary format, or produce an error. 5463 * Applications are allowed to cache lookup results based 5464 on the 5465 URL, or have them precompiled into a binary to avoid any 5466 lookup. Therefore, binary compatibility needs to be preserved 5467 on changes to types. (Use versioned type names to manage 5468 breaking changes.) 5469 5470 Note: this functionality is not currently available in 5471 the official 5472 5473 protobuf release, and it is not used for type URLs 5474 beginning with 5475 5476 type.googleapis.com. 5477 5478 5479 Schemes other than `http`, `https` (or the empty scheme) 5480 might be 5481 5482 used with implementation specific semantics. 5483 value: 5484 type: string 5485 format: byte 5486 description: >- 5487 Must be a valid serialized protocol buffer of the above 5488 specified type. 5489 description: >- 5490 `Any` contains an arbitrary serialized protocol buffer 5491 message along with a 5492 5493 URL that describes the type of the serialized message. 5494 5495 5496 Protobuf library provides support to pack/unpack Any values 5497 in the form 5498 5499 of utility functions or additional generated methods of the 5500 Any type. 5501 5502 5503 Example 1: Pack and unpack a message in C++. 5504 5505 Foo foo = ...; 5506 Any any; 5507 any.PackFrom(foo); 5508 ... 5509 if (any.UnpackTo(&foo)) { 5510 ... 5511 } 5512 5513 Example 2: Pack and unpack a message in Java. 5514 5515 Foo foo = ...; 5516 Any any = Any.pack(foo); 5517 ... 5518 if (any.is(Foo.class)) { 5519 foo = any.unpack(Foo.class); 5520 } 5521 5522 Example 3: Pack and unpack a message in Python. 5523 5524 foo = Foo(...) 5525 any = Any() 5526 any.Pack(foo) 5527 ... 5528 if any.Is(Foo.DESCRIPTOR): 5529 any.Unpack(foo) 5530 ... 5531 5532 Example 4: Pack and unpack a message in Go 5533 5534 foo := &pb.Foo{...} 5535 any, err := ptypes.MarshalAny(foo) 5536 ... 5537 foo := &pb.Foo{} 5538 if err := ptypes.UnmarshalAny(any, foo); err != nil { 5539 ... 5540 } 5541 5542 The pack methods provided by protobuf library will by 5543 default use 5544 5545 'type.googleapis.com/full.type.name' as the type URL and the 5546 unpack 5547 5548 methods only use the fully qualified type name after the 5549 last '/' 5550 5551 in the type URL, for example "foo.bar.com/x/y.z" will yield 5552 type 5553 5554 name "y.z". 5555 5556 5557 5558 JSON 5559 5560 ==== 5561 5562 The JSON representation of an `Any` value uses the regular 5563 5564 representation of the deserialized, embedded message, with 5565 an 5566 5567 additional field `@type` which contains the type URL. 5568 Example: 5569 5570 package google.profile; 5571 message Person { 5572 string first_name = 1; 5573 string last_name = 2; 5574 } 5575 5576 { 5577 "@type": "type.googleapis.com/google.profile.Person", 5578 "firstName": <string>, 5579 "lastName": <string> 5580 } 5581 5582 If the embedded message type is well-known and has a custom 5583 JSON 5584 5585 representation, that representation will be embedded adding 5586 a field 5587 5588 `value` which holds the custom JSON in addition to the 5589 `@type` 5590 5591 field. Example (for message [google.protobuf.Duration][]): 5592 5593 { 5594 "@type": "type.googleapis.com/google.protobuf.Duration", 5595 "value": "1.212s" 5596 } 5597 tags: 5598 - Service 5599 /lbm/base/ostracon/v1/syncing: 5600 get: 5601 summary: GetSyncing queries node syncing. 5602 operationId: GetSyncing2 5603 responses: 5604 '200': 5605 description: A successful response. 5606 schema: 5607 type: object 5608 properties: 5609 syncing: 5610 type: boolean 5611 format: boolean 5612 description: >- 5613 GetSyncingResponse is the response type for the Query/GetSyncing 5614 RPC method. 5615 default: 5616 description: An unexpected error response 5617 schema: 5618 type: object 5619 properties: 5620 error: 5621 type: string 5622 code: 5623 type: integer 5624 format: int32 5625 message: 5626 type: string 5627 details: 5628 type: array 5629 items: 5630 type: object 5631 properties: 5632 type_url: 5633 type: string 5634 description: >- 5635 A URL/resource name that uniquely identifies the type of 5636 the serialized 5637 5638 protocol buffer message. This string must contain at 5639 least 5640 5641 one "/" character. The last segment of the URL's path 5642 must represent 5643 5644 the fully qualified name of the type (as in 5645 5646 `path/google.protobuf.Duration`). The name should be in 5647 a canonical form 5648 5649 (e.g., leading "." is not accepted). 5650 5651 5652 In practice, teams usually precompile into the binary 5653 all types that they 5654 5655 expect it to use in the context of Any. However, for 5656 URLs which use the 5657 5658 scheme `http`, `https`, or no scheme, one can optionally 5659 set up a type 5660 5661 server that maps type URLs to message definitions as 5662 follows: 5663 5664 5665 * If no scheme is provided, `https` is assumed. 5666 5667 * An HTTP GET on the URL must yield a 5668 [google.protobuf.Type][] 5669 value in binary format, or produce an error. 5670 * Applications are allowed to cache lookup results based 5671 on the 5672 URL, or have them precompiled into a binary to avoid any 5673 lookup. Therefore, binary compatibility needs to be preserved 5674 on changes to types. (Use versioned type names to manage 5675 breaking changes.) 5676 5677 Note: this functionality is not currently available in 5678 the official 5679 5680 protobuf release, and it is not used for type URLs 5681 beginning with 5682 5683 type.googleapis.com. 5684 5685 5686 Schemes other than `http`, `https` (or the empty scheme) 5687 might be 5688 5689 used with implementation specific semantics. 5690 value: 5691 type: string 5692 format: byte 5693 description: >- 5694 Must be a valid serialized protocol buffer of the above 5695 specified type. 5696 description: >- 5697 `Any` contains an arbitrary serialized protocol buffer 5698 message along with a 5699 5700 URL that describes the type of the serialized message. 5701 5702 5703 Protobuf library provides support to pack/unpack Any values 5704 in the form 5705 5706 of utility functions or additional generated methods of the 5707 Any type. 5708 5709 5710 Example 1: Pack and unpack a message in C++. 5711 5712 Foo foo = ...; 5713 Any any; 5714 any.PackFrom(foo); 5715 ... 5716 if (any.UnpackTo(&foo)) { 5717 ... 5718 } 5719 5720 Example 2: Pack and unpack a message in Java. 5721 5722 Foo foo = ...; 5723 Any any = Any.pack(foo); 5724 ... 5725 if (any.is(Foo.class)) { 5726 foo = any.unpack(Foo.class); 5727 } 5728 5729 Example 3: Pack and unpack a message in Python. 5730 5731 foo = Foo(...) 5732 any = Any() 5733 any.Pack(foo) 5734 ... 5735 if any.Is(Foo.DESCRIPTOR): 5736 any.Unpack(foo) 5737 ... 5738 5739 Example 4: Pack and unpack a message in Go 5740 5741 foo := &pb.Foo{...} 5742 any, err := ptypes.MarshalAny(foo) 5743 ... 5744 foo := &pb.Foo{} 5745 if err := ptypes.UnmarshalAny(any, foo); err != nil { 5746 ... 5747 } 5748 5749 The pack methods provided by protobuf library will by 5750 default use 5751 5752 'type.googleapis.com/full.type.name' as the type URL and the 5753 unpack 5754 5755 methods only use the fully qualified type name after the 5756 last '/' 5757 5758 in the type URL, for example "foo.bar.com/x/y.z" will yield 5759 type 5760 5761 name "y.z". 5762 5763 5764 5765 JSON 5766 5767 ==== 5768 5769 The JSON representation of an `Any` value uses the regular 5770 5771 representation of the deserialized, embedded message, with 5772 an 5773 5774 additional field `@type` which contains the type URL. 5775 Example: 5776 5777 package google.profile; 5778 message Person { 5779 string first_name = 1; 5780 string last_name = 2; 5781 } 5782 5783 { 5784 "@type": "type.googleapis.com/google.profile.Person", 5785 "firstName": <string>, 5786 "lastName": <string> 5787 } 5788 5789 If the embedded message type is well-known and has a custom 5790 JSON 5791 5792 representation, that representation will be embedded adding 5793 a field 5794 5795 `value` which holds the custom JSON in addition to the 5796 `@type` 5797 5798 field. Example (for message [google.protobuf.Duration][]): 5799 5800 { 5801 "@type": "type.googleapis.com/google.protobuf.Duration", 5802 "value": "1.212s" 5803 } 5804 tags: 5805 - Service 5806 /lbm/base/ostracon/v1/validatorsets/latest: 5807 get: 5808 summary: GetLatestValidatorSet queries latest validator-set. 5809 operationId: GetLatestValidatorSet2 5810 responses: 5811 '200': 5812 description: A successful response. 5813 schema: 5814 type: object 5815 properties: 5816 block_height: 5817 type: string 5818 format: int64 5819 validators: 5820 type: array 5821 items: 5822 type: object 5823 properties: 5824 address: 5825 type: string 5826 pub_key: 5827 type: object 5828 properties: 5829 type_url: 5830 type: string 5831 description: >- 5832 A URL/resource name that uniquely identifies the 5833 type of the serialized 5834 5835 protocol buffer message. This string must contain at 5836 least 5837 5838 one "/" character. The last segment of the URL's 5839 path must represent 5840 5841 the fully qualified name of the type (as in 5842 5843 `path/google.protobuf.Duration`). The name should be 5844 in a canonical form 5845 5846 (e.g., leading "." is not accepted). 5847 5848 5849 In practice, teams usually precompile into the 5850 binary all types that they 5851 5852 expect it to use in the context of Any. However, for 5853 URLs which use the 5854 5855 scheme `http`, `https`, or no scheme, one can 5856 optionally set up a type 5857 5858 server that maps type URLs to message definitions as 5859 follows: 5860 5861 5862 * If no scheme is provided, `https` is assumed. 5863 5864 * An HTTP GET on the URL must yield a 5865 [google.protobuf.Type][] 5866 value in binary format, or produce an error. 5867 * Applications are allowed to cache lookup results 5868 based on the 5869 URL, or have them precompiled into a binary to avoid any 5870 lookup. Therefore, binary compatibility needs to be preserved 5871 on changes to types. (Use versioned type names to manage 5872 breaking changes.) 5873 5874 Note: this functionality is not currently available 5875 in the official 5876 5877 protobuf release, and it is not used for type URLs 5878 beginning with 5879 5880 type.googleapis.com. 5881 5882 5883 Schemes other than `http`, `https` (or the empty 5884 scheme) might be 5885 5886 used with implementation specific semantics. 5887 value: 5888 type: string 5889 format: byte 5890 description: >- 5891 Must be a valid serialized protocol buffer of the 5892 above specified type. 5893 description: >- 5894 `Any` contains an arbitrary serialized protocol buffer 5895 message along with a 5896 5897 URL that describes the type of the serialized message. 5898 5899 5900 Protobuf library provides support to pack/unpack Any 5901 values in the form 5902 5903 of utility functions or additional generated methods of 5904 the Any type. 5905 5906 5907 Example 1: Pack and unpack a message in C++. 5908 5909 Foo foo = ...; 5910 Any any; 5911 any.PackFrom(foo); 5912 ... 5913 if (any.UnpackTo(&foo)) { 5914 ... 5915 } 5916 5917 Example 2: Pack and unpack a message in Java. 5918 5919 Foo foo = ...; 5920 Any any = Any.pack(foo); 5921 ... 5922 if (any.is(Foo.class)) { 5923 foo = any.unpack(Foo.class); 5924 } 5925 5926 Example 3: Pack and unpack a message in Python. 5927 5928 foo = Foo(...) 5929 any = Any() 5930 any.Pack(foo) 5931 ... 5932 if any.Is(Foo.DESCRIPTOR): 5933 any.Unpack(foo) 5934 ... 5935 5936 Example 4: Pack and unpack a message in Go 5937 5938 foo := &pb.Foo{...} 5939 any, err := ptypes.MarshalAny(foo) 5940 ... 5941 foo := &pb.Foo{} 5942 if err := ptypes.UnmarshalAny(any, foo); err != nil { 5943 ... 5944 } 5945 5946 The pack methods provided by protobuf library will by 5947 default use 5948 5949 'type.googleapis.com/full.type.name' as the type URL and 5950 the unpack 5951 5952 methods only use the fully qualified type name after the 5953 last '/' 5954 5955 in the type URL, for example "foo.bar.com/x/y.z" will 5956 yield type 5957 5958 name "y.z". 5959 5960 5961 5962 JSON 5963 5964 ==== 5965 5966 The JSON representation of an `Any` value uses the 5967 regular 5968 5969 representation of the deserialized, embedded message, 5970 with an 5971 5972 additional field `@type` which contains the type URL. 5973 Example: 5974 5975 package google.profile; 5976 message Person { 5977 string first_name = 1; 5978 string last_name = 2; 5979 } 5980 5981 { 5982 "@type": "type.googleapis.com/google.profile.Person", 5983 "firstName": <string>, 5984 "lastName": <string> 5985 } 5986 5987 If the embedded message type is well-known and has a 5988 custom JSON 5989 5990 representation, that representation will be embedded 5991 adding a field 5992 5993 `value` which holds the custom JSON in addition to the 5994 `@type` 5995 5996 field. Example (for message 5997 [google.protobuf.Duration][]): 5998 5999 { 6000 "@type": "type.googleapis.com/google.protobuf.Duration", 6001 "value": "1.212s" 6002 } 6003 voting_power: 6004 type: string 6005 format: int64 6006 proposer_priority: 6007 type: string 6008 format: int64 6009 description: Validator is the type for the validator-set. 6010 pagination: 6011 description: pagination defines an pagination for the response. 6012 type: object 6013 properties: 6014 next_key: 6015 type: string 6016 format: byte 6017 title: |- 6018 next_key is the key to be passed to PageRequest.key to 6019 query the next page most efficiently 6020 total: 6021 type: string 6022 format: uint64 6023 title: >- 6024 total is total number of results available if 6025 PageRequest.count_total 6026 6027 was set, its value is undefined otherwise 6028 description: >- 6029 GetLatestValidatorSetResponse is the response type for the 6030 Query/GetValidatorSetByHeight RPC method. 6031 default: 6032 description: An unexpected error response 6033 schema: 6034 type: object 6035 properties: 6036 error: 6037 type: string 6038 code: 6039 type: integer 6040 format: int32 6041 message: 6042 type: string 6043 details: 6044 type: array 6045 items: 6046 type: object 6047 properties: 6048 type_url: 6049 type: string 6050 description: >- 6051 A URL/resource name that uniquely identifies the type of 6052 the serialized 6053 6054 protocol buffer message. This string must contain at 6055 least 6056 6057 one "/" character. The last segment of the URL's path 6058 must represent 6059 6060 the fully qualified name of the type (as in 6061 6062 `path/google.protobuf.Duration`). The name should be in 6063 a canonical form 6064 6065 (e.g., leading "." is not accepted). 6066 6067 6068 In practice, teams usually precompile into the binary 6069 all types that they 6070 6071 expect it to use in the context of Any. However, for 6072 URLs which use the 6073 6074 scheme `http`, `https`, or no scheme, one can optionally 6075 set up a type 6076 6077 server that maps type URLs to message definitions as 6078 follows: 6079 6080 6081 * If no scheme is provided, `https` is assumed. 6082 6083 * An HTTP GET on the URL must yield a 6084 [google.protobuf.Type][] 6085 value in binary format, or produce an error. 6086 * Applications are allowed to cache lookup results based 6087 on the 6088 URL, or have them precompiled into a binary to avoid any 6089 lookup. Therefore, binary compatibility needs to be preserved 6090 on changes to types. (Use versioned type names to manage 6091 breaking changes.) 6092 6093 Note: this functionality is not currently available in 6094 the official 6095 6096 protobuf release, and it is not used for type URLs 6097 beginning with 6098 6099 type.googleapis.com. 6100 6101 6102 Schemes other than `http`, `https` (or the empty scheme) 6103 might be 6104 6105 used with implementation specific semantics. 6106 value: 6107 type: string 6108 format: byte 6109 description: >- 6110 Must be a valid serialized protocol buffer of the above 6111 specified type. 6112 description: >- 6113 `Any` contains an arbitrary serialized protocol buffer 6114 message along with a 6115 6116 URL that describes the type of the serialized message. 6117 6118 6119 Protobuf library provides support to pack/unpack Any values 6120 in the form 6121 6122 of utility functions or additional generated methods of the 6123 Any type. 6124 6125 6126 Example 1: Pack and unpack a message in C++. 6127 6128 Foo foo = ...; 6129 Any any; 6130 any.PackFrom(foo); 6131 ... 6132 if (any.UnpackTo(&foo)) { 6133 ... 6134 } 6135 6136 Example 2: Pack and unpack a message in Java. 6137 6138 Foo foo = ...; 6139 Any any = Any.pack(foo); 6140 ... 6141 if (any.is(Foo.class)) { 6142 foo = any.unpack(Foo.class); 6143 } 6144 6145 Example 3: Pack and unpack a message in Python. 6146 6147 foo = Foo(...) 6148 any = Any() 6149 any.Pack(foo) 6150 ... 6151 if any.Is(Foo.DESCRIPTOR): 6152 any.Unpack(foo) 6153 ... 6154 6155 Example 4: Pack and unpack a message in Go 6156 6157 foo := &pb.Foo{...} 6158 any, err := ptypes.MarshalAny(foo) 6159 ... 6160 foo := &pb.Foo{} 6161 if err := ptypes.UnmarshalAny(any, foo); err != nil { 6162 ... 6163 } 6164 6165 The pack methods provided by protobuf library will by 6166 default use 6167 6168 'type.googleapis.com/full.type.name' as the type URL and the 6169 unpack 6170 6171 methods only use the fully qualified type name after the 6172 last '/' 6173 6174 in the type URL, for example "foo.bar.com/x/y.z" will yield 6175 type 6176 6177 name "y.z". 6178 6179 6180 6181 JSON 6182 6183 ==== 6184 6185 The JSON representation of an `Any` value uses the regular 6186 6187 representation of the deserialized, embedded message, with 6188 an 6189 6190 additional field `@type` which contains the type URL. 6191 Example: 6192 6193 package google.profile; 6194 message Person { 6195 string first_name = 1; 6196 string last_name = 2; 6197 } 6198 6199 { 6200 "@type": "type.googleapis.com/google.profile.Person", 6201 "firstName": <string>, 6202 "lastName": <string> 6203 } 6204 6205 If the embedded message type is well-known and has a custom 6206 JSON 6207 6208 representation, that representation will be embedded adding 6209 a field 6210 6211 `value` which holds the custom JSON in addition to the 6212 `@type` 6213 6214 field. Example (for message [google.protobuf.Duration][]): 6215 6216 { 6217 "@type": "type.googleapis.com/google.protobuf.Duration", 6218 "value": "1.212s" 6219 } 6220 parameters: 6221 - name: pagination.key 6222 description: |- 6223 key is a value returned in PageResponse.next_key to begin 6224 querying the next page most efficiently. Only one of offset or key 6225 should be set. 6226 in: query 6227 required: false 6228 type: string 6229 format: byte 6230 - name: pagination.offset 6231 description: >- 6232 offset is a numeric offset that can be used when key is unavailable. 6233 6234 It is less efficient than using key. Only one of offset or key 6235 should 6236 6237 be set. 6238 in: query 6239 required: false 6240 type: string 6241 format: uint64 6242 - name: pagination.limit 6243 description: >- 6244 limit is the total number of results to be returned in the result 6245 page. 6246 6247 If left empty it will default to a value to be set by each app. 6248 in: query 6249 required: false 6250 type: string 6251 format: uint64 6252 - name: pagination.count_total 6253 description: >- 6254 count_total is set to true to indicate that the result set should 6255 include 6256 6257 a count of the total number of items available for pagination in 6258 UIs. 6259 6260 count_total is only respected when offset is used. It is ignored 6261 when key 6262 6263 is set. 6264 in: query 6265 required: false 6266 type: boolean 6267 format: boolean 6268 - name: pagination.reverse 6269 description: >- 6270 reverse is set to true if results are to be returned in the 6271 descending order. 6272 6273 6274 Since: cosmos-sdk 0.43 6275 in: query 6276 required: false 6277 type: boolean 6278 format: boolean 6279 tags: 6280 - Service 6281 '/lbm/base/ostracon/v1/validatorsets/{height}': 6282 get: 6283 summary: GetValidatorSetByHeight queries validator-set at a given height. 6284 operationId: GetValidatorSetByHeight2 6285 responses: 6286 '200': 6287 description: A successful response. 6288 schema: 6289 type: object 6290 properties: 6291 block_height: 6292 type: string 6293 format: int64 6294 validators: 6295 type: array 6296 items: 6297 type: object 6298 properties: 6299 address: 6300 type: string 6301 pub_key: 6302 type: object 6303 properties: 6304 type_url: 6305 type: string 6306 description: >- 6307 A URL/resource name that uniquely identifies the 6308 type of the serialized 6309 6310 protocol buffer message. This string must contain at 6311 least 6312 6313 one "/" character. The last segment of the URL's 6314 path must represent 6315 6316 the fully qualified name of the type (as in 6317 6318 `path/google.protobuf.Duration`). The name should be 6319 in a canonical form 6320 6321 (e.g., leading "." is not accepted). 6322 6323 6324 In practice, teams usually precompile into the 6325 binary all types that they 6326 6327 expect it to use in the context of Any. However, for 6328 URLs which use the 6329 6330 scheme `http`, `https`, or no scheme, one can 6331 optionally set up a type 6332 6333 server that maps type URLs to message definitions as 6334 follows: 6335 6336 6337 * If no scheme is provided, `https` is assumed. 6338 6339 * An HTTP GET on the URL must yield a 6340 [google.protobuf.Type][] 6341 value in binary format, or produce an error. 6342 * Applications are allowed to cache lookup results 6343 based on the 6344 URL, or have them precompiled into a binary to avoid any 6345 lookup. Therefore, binary compatibility needs to be preserved 6346 on changes to types. (Use versioned type names to manage 6347 breaking changes.) 6348 6349 Note: this functionality is not currently available 6350 in the official 6351 6352 protobuf release, and it is not used for type URLs 6353 beginning with 6354 6355 type.googleapis.com. 6356 6357 6358 Schemes other than `http`, `https` (or the empty 6359 scheme) might be 6360 6361 used with implementation specific semantics. 6362 value: 6363 type: string 6364 format: byte 6365 description: >- 6366 Must be a valid serialized protocol buffer of the 6367 above specified type. 6368 description: >- 6369 `Any` contains an arbitrary serialized protocol buffer 6370 message along with a 6371 6372 URL that describes the type of the serialized message. 6373 6374 6375 Protobuf library provides support to pack/unpack Any 6376 values in the form 6377 6378 of utility functions or additional generated methods of 6379 the Any type. 6380 6381 6382 Example 1: Pack and unpack a message in C++. 6383 6384 Foo foo = ...; 6385 Any any; 6386 any.PackFrom(foo); 6387 ... 6388 if (any.UnpackTo(&foo)) { 6389 ... 6390 } 6391 6392 Example 2: Pack and unpack a message in Java. 6393 6394 Foo foo = ...; 6395 Any any = Any.pack(foo); 6396 ... 6397 if (any.is(Foo.class)) { 6398 foo = any.unpack(Foo.class); 6399 } 6400 6401 Example 3: Pack and unpack a message in Python. 6402 6403 foo = Foo(...) 6404 any = Any() 6405 any.Pack(foo) 6406 ... 6407 if any.Is(Foo.DESCRIPTOR): 6408 any.Unpack(foo) 6409 ... 6410 6411 Example 4: Pack and unpack a message in Go 6412 6413 foo := &pb.Foo{...} 6414 any, err := ptypes.MarshalAny(foo) 6415 ... 6416 foo := &pb.Foo{} 6417 if err := ptypes.UnmarshalAny(any, foo); err != nil { 6418 ... 6419 } 6420 6421 The pack methods provided by protobuf library will by 6422 default use 6423 6424 'type.googleapis.com/full.type.name' as the type URL and 6425 the unpack 6426 6427 methods only use the fully qualified type name after the 6428 last '/' 6429 6430 in the type URL, for example "foo.bar.com/x/y.z" will 6431 yield type 6432 6433 name "y.z". 6434 6435 6436 6437 JSON 6438 6439 ==== 6440 6441 The JSON representation of an `Any` value uses the 6442 regular 6443 6444 representation of the deserialized, embedded message, 6445 with an 6446 6447 additional field `@type` which contains the type URL. 6448 Example: 6449 6450 package google.profile; 6451 message Person { 6452 string first_name = 1; 6453 string last_name = 2; 6454 } 6455 6456 { 6457 "@type": "type.googleapis.com/google.profile.Person", 6458 "firstName": <string>, 6459 "lastName": <string> 6460 } 6461 6462 If the embedded message type is well-known and has a 6463 custom JSON 6464 6465 representation, that representation will be embedded 6466 adding a field 6467 6468 `value` which holds the custom JSON in addition to the 6469 `@type` 6470 6471 field. Example (for message 6472 [google.protobuf.Duration][]): 6473 6474 { 6475 "@type": "type.googleapis.com/google.protobuf.Duration", 6476 "value": "1.212s" 6477 } 6478 voting_power: 6479 type: string 6480 format: int64 6481 proposer_priority: 6482 type: string 6483 format: int64 6484 description: Validator is the type for the validator-set. 6485 pagination: 6486 description: pagination defines an pagination for the response. 6487 type: object 6488 properties: 6489 next_key: 6490 type: string 6491 format: byte 6492 title: |- 6493 next_key is the key to be passed to PageRequest.key to 6494 query the next page most efficiently 6495 total: 6496 type: string 6497 format: uint64 6498 title: >- 6499 total is total number of results available if 6500 PageRequest.count_total 6501 6502 was set, its value is undefined otherwise 6503 description: >- 6504 GetValidatorSetByHeightResponse is the response type for the 6505 Query/GetValidatorSetByHeight RPC method. 6506 default: 6507 description: An unexpected error response 6508 schema: 6509 type: object 6510 properties: 6511 error: 6512 type: string 6513 code: 6514 type: integer 6515 format: int32 6516 message: 6517 type: string 6518 details: 6519 type: array 6520 items: 6521 type: object 6522 properties: 6523 type_url: 6524 type: string 6525 description: >- 6526 A URL/resource name that uniquely identifies the type of 6527 the serialized 6528 6529 protocol buffer message. This string must contain at 6530 least 6531 6532 one "/" character. The last segment of the URL's path 6533 must represent 6534 6535 the fully qualified name of the type (as in 6536 6537 `path/google.protobuf.Duration`). The name should be in 6538 a canonical form 6539 6540 (e.g., leading "." is not accepted). 6541 6542 6543 In practice, teams usually precompile into the binary 6544 all types that they 6545 6546 expect it to use in the context of Any. However, for 6547 URLs which use the 6548 6549 scheme `http`, `https`, or no scheme, one can optionally 6550 set up a type 6551 6552 server that maps type URLs to message definitions as 6553 follows: 6554 6555 6556 * If no scheme is provided, `https` is assumed. 6557 6558 * An HTTP GET on the URL must yield a 6559 [google.protobuf.Type][] 6560 value in binary format, or produce an error. 6561 * Applications are allowed to cache lookup results based 6562 on the 6563 URL, or have them precompiled into a binary to avoid any 6564 lookup. Therefore, binary compatibility needs to be preserved 6565 on changes to types. (Use versioned type names to manage 6566 breaking changes.) 6567 6568 Note: this functionality is not currently available in 6569 the official 6570 6571 protobuf release, and it is not used for type URLs 6572 beginning with 6573 6574 type.googleapis.com. 6575 6576 6577 Schemes other than `http`, `https` (or the empty scheme) 6578 might be 6579 6580 used with implementation specific semantics. 6581 value: 6582 type: string 6583 format: byte 6584 description: >- 6585 Must be a valid serialized protocol buffer of the above 6586 specified type. 6587 description: >- 6588 `Any` contains an arbitrary serialized protocol buffer 6589 message along with a 6590 6591 URL that describes the type of the serialized message. 6592 6593 6594 Protobuf library provides support to pack/unpack Any values 6595 in the form 6596 6597 of utility functions or additional generated methods of the 6598 Any type. 6599 6600 6601 Example 1: Pack and unpack a message in C++. 6602 6603 Foo foo = ...; 6604 Any any; 6605 any.PackFrom(foo); 6606 ... 6607 if (any.UnpackTo(&foo)) { 6608 ... 6609 } 6610 6611 Example 2: Pack and unpack a message in Java. 6612 6613 Foo foo = ...; 6614 Any any = Any.pack(foo); 6615 ... 6616 if (any.is(Foo.class)) { 6617 foo = any.unpack(Foo.class); 6618 } 6619 6620 Example 3: Pack and unpack a message in Python. 6621 6622 foo = Foo(...) 6623 any = Any() 6624 any.Pack(foo) 6625 ... 6626 if any.Is(Foo.DESCRIPTOR): 6627 any.Unpack(foo) 6628 ... 6629 6630 Example 4: Pack and unpack a message in Go 6631 6632 foo := &pb.Foo{...} 6633 any, err := ptypes.MarshalAny(foo) 6634 ... 6635 foo := &pb.Foo{} 6636 if err := ptypes.UnmarshalAny(any, foo); err != nil { 6637 ... 6638 } 6639 6640 The pack methods provided by protobuf library will by 6641 default use 6642 6643 'type.googleapis.com/full.type.name' as the type URL and the 6644 unpack 6645 6646 methods only use the fully qualified type name after the 6647 last '/' 6648 6649 in the type URL, for example "foo.bar.com/x/y.z" will yield 6650 type 6651 6652 name "y.z". 6653 6654 6655 6656 JSON 6657 6658 ==== 6659 6660 The JSON representation of an `Any` value uses the regular 6661 6662 representation of the deserialized, embedded message, with 6663 an 6664 6665 additional field `@type` which contains the type URL. 6666 Example: 6667 6668 package google.profile; 6669 message Person { 6670 string first_name = 1; 6671 string last_name = 2; 6672 } 6673 6674 { 6675 "@type": "type.googleapis.com/google.profile.Person", 6676 "firstName": <string>, 6677 "lastName": <string> 6678 } 6679 6680 If the embedded message type is well-known and has a custom 6681 JSON 6682 6683 representation, that representation will be embedded adding 6684 a field 6685 6686 `value` which holds the custom JSON in addition to the 6687 `@type` 6688 6689 field. Example (for message [google.protobuf.Duration][]): 6690 6691 { 6692 "@type": "type.googleapis.com/google.protobuf.Duration", 6693 "value": "1.212s" 6694 } 6695 parameters: 6696 - name: height 6697 in: path 6698 required: true 6699 type: string 6700 format: int64 6701 - name: pagination.key 6702 description: |- 6703 key is a value returned in PageResponse.next_key to begin 6704 querying the next page most efficiently. Only one of offset or key 6705 should be set. 6706 in: query 6707 required: false 6708 type: string 6709 format: byte 6710 - name: pagination.offset 6711 description: >- 6712 offset is a numeric offset that can be used when key is unavailable. 6713 6714 It is less efficient than using key. Only one of offset or key 6715 should 6716 6717 be set. 6718 in: query 6719 required: false 6720 type: string 6721 format: uint64 6722 - name: pagination.limit 6723 description: >- 6724 limit is the total number of results to be returned in the result 6725 page. 6726 6727 If left empty it will default to a value to be set by each app. 6728 in: query 6729 required: false 6730 type: string 6731 format: uint64 6732 - name: pagination.count_total 6733 description: >- 6734 count_total is set to true to indicate that the result set should 6735 include 6736 6737 a count of the total number of items available for pagination in 6738 UIs. 6739 6740 count_total is only respected when offset is used. It is ignored 6741 when key 6742 6743 is set. 6744 in: query 6745 required: false 6746 type: boolean 6747 format: boolean 6748 - name: pagination.reverse 6749 description: >- 6750 reverse is set to true if results are to be returned in the 6751 descending order. 6752 6753 6754 Since: cosmos-sdk 0.43 6755 in: query 6756 required: false 6757 type: boolean 6758 format: boolean 6759 tags: 6760 - Service 6761 /cosmos/base/tendermint/v1beta1/blocks/latest: 6762 get: 6763 summary: GetLatestBlock returns the latest block. 6764 operationId: GetLatestBlock 6765 responses: 6766 '200': 6767 description: A successful response. 6768 schema: 6769 type: object 6770 properties: 6771 block_id: 6772 type: object 6773 properties: 6774 hash: 6775 type: string 6776 format: byte 6777 part_set_header: 6778 type: object 6779 properties: 6780 total: 6781 type: integer 6782 format: int64 6783 hash: 6784 type: string 6785 format: byte 6786 title: PartsetHeader 6787 title: BlockID 6788 block: 6789 type: object 6790 properties: 6791 header: 6792 type: object 6793 properties: 6794 version: 6795 title: basic block info 6796 type: object 6797 properties: 6798 block: 6799 type: string 6800 format: uint64 6801 app: 6802 type: string 6803 format: uint64 6804 description: >- 6805 Consensus captures the consensus rules for processing 6806 a block in the blockchain, 6807 6808 including all blockchain data structures and the rules 6809 of the application's 6810 6811 state transition machine. 6812 chain_id: 6813 type: string 6814 height: 6815 type: string 6816 format: int64 6817 time: 6818 type: string 6819 format: date-time 6820 last_block_id: 6821 type: object 6822 properties: 6823 hash: 6824 type: string 6825 format: byte 6826 part_set_header: 6827 type: object 6828 properties: 6829 total: 6830 type: integer 6831 format: int64 6832 hash: 6833 type: string 6834 format: byte 6835 title: PartsetHeader 6836 title: BlockID 6837 last_commit_hash: 6838 type: string 6839 format: byte 6840 title: hashes of block data 6841 data_hash: 6842 type: string 6843 format: byte 6844 validators_hash: 6845 type: string 6846 format: byte 6847 title: hashes from the app output from the prev block 6848 next_validators_hash: 6849 type: string 6850 format: byte 6851 consensus_hash: 6852 type: string 6853 format: byte 6854 app_hash: 6855 type: string 6856 format: byte 6857 last_results_hash: 6858 type: string 6859 format: byte 6860 evidence_hash: 6861 type: string 6862 format: byte 6863 title: consensus info 6864 proposer_address: 6865 type: string 6866 format: byte 6867 description: Header defines the structure of a Tendermint block header. 6868 data: 6869 type: object 6870 properties: 6871 txs: 6872 type: array 6873 items: 6874 type: string 6875 format: byte 6876 description: >- 6877 Txs that will be applied by state @ block.Height+1. 6878 6879 NOTE: not all txs here are valid. We're just agreeing 6880 on the order first. 6881 6882 This means that block.AppHash does not include these 6883 txs. 6884 title: >- 6885 Data contains the set of transactions included in the 6886 block 6887 evidence: 6888 type: object 6889 properties: 6890 evidence: 6891 type: array 6892 items: 6893 type: object 6894 properties: 6895 duplicate_vote_evidence: 6896 type: object 6897 properties: 6898 vote_a: 6899 type: object 6900 properties: 6901 type: 6902 type: string 6903 enum: 6904 - SIGNED_MSG_TYPE_UNKNOWN 6905 - SIGNED_MSG_TYPE_PREVOTE 6906 - SIGNED_MSG_TYPE_PRECOMMIT 6907 - SIGNED_MSG_TYPE_PROPOSAL 6908 default: SIGNED_MSG_TYPE_UNKNOWN 6909 description: >- 6910 SignedMsgType is a type of signed 6911 message in the consensus. 6912 6913 - SIGNED_MSG_TYPE_PREVOTE: Votes 6914 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 6915 height: 6916 type: string 6917 format: int64 6918 round: 6919 type: integer 6920 format: int32 6921 block_id: 6922 type: object 6923 properties: 6924 hash: 6925 type: string 6926 format: byte 6927 part_set_header: 6928 type: object 6929 properties: 6930 total: 6931 type: integer 6932 format: int64 6933 hash: 6934 type: string 6935 format: byte 6936 title: PartsetHeader 6937 title: BlockID 6938 timestamp: 6939 type: string 6940 format: date-time 6941 validator_address: 6942 type: string 6943 format: byte 6944 validator_index: 6945 type: integer 6946 format: int32 6947 signature: 6948 type: string 6949 format: byte 6950 description: >- 6951 Vote represents a prevote, precommit, or 6952 commit vote from validators for 6953 6954 consensus. 6955 vote_b: 6956 type: object 6957 properties: 6958 type: 6959 type: string 6960 enum: 6961 - SIGNED_MSG_TYPE_UNKNOWN 6962 - SIGNED_MSG_TYPE_PREVOTE 6963 - SIGNED_MSG_TYPE_PRECOMMIT 6964 - SIGNED_MSG_TYPE_PROPOSAL 6965 default: SIGNED_MSG_TYPE_UNKNOWN 6966 description: >- 6967 SignedMsgType is a type of signed 6968 message in the consensus. 6969 6970 - SIGNED_MSG_TYPE_PREVOTE: Votes 6971 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 6972 height: 6973 type: string 6974 format: int64 6975 round: 6976 type: integer 6977 format: int32 6978 block_id: 6979 type: object 6980 properties: 6981 hash: 6982 type: string 6983 format: byte 6984 part_set_header: 6985 type: object 6986 properties: 6987 total: 6988 type: integer 6989 format: int64 6990 hash: 6991 type: string 6992 format: byte 6993 title: PartsetHeader 6994 title: BlockID 6995 timestamp: 6996 type: string 6997 format: date-time 6998 validator_address: 6999 type: string 7000 format: byte 7001 validator_index: 7002 type: integer 7003 format: int32 7004 signature: 7005 type: string 7006 format: byte 7007 description: >- 7008 Vote represents a prevote, precommit, or 7009 commit vote from validators for 7010 7011 consensus. 7012 total_voting_power: 7013 type: string 7014 format: int64 7015 validator_power: 7016 type: string 7017 format: int64 7018 timestamp: 7019 type: string 7020 format: date-time 7021 description: >- 7022 DuplicateVoteEvidence contains evidence of a 7023 validator signed two conflicting votes. 7024 light_client_attack_evidence: 7025 type: object 7026 properties: 7027 conflicting_block: 7028 type: object 7029 properties: 7030 signed_header: 7031 type: object 7032 properties: 7033 header: 7034 type: object 7035 properties: 7036 version: 7037 title: basic block info 7038 type: object 7039 properties: 7040 block: 7041 type: string 7042 format: uint64 7043 app: 7044 type: string 7045 format: uint64 7046 description: >- 7047 Consensus captures the consensus rules 7048 for processing a block in the 7049 blockchain, 7050 7051 including all blockchain data structures 7052 and the rules of the application's 7053 7054 state transition machine. 7055 chain_id: 7056 type: string 7057 height: 7058 type: string 7059 format: int64 7060 time: 7061 type: string 7062 format: date-time 7063 last_block_id: 7064 type: object 7065 properties: 7066 hash: 7067 type: string 7068 format: byte 7069 part_set_header: 7070 type: object 7071 properties: 7072 total: 7073 type: integer 7074 format: int64 7075 hash: 7076 type: string 7077 format: byte 7078 title: PartsetHeader 7079 title: BlockID 7080 last_commit_hash: 7081 type: string 7082 format: byte 7083 title: hashes of block data 7084 data_hash: 7085 type: string 7086 format: byte 7087 validators_hash: 7088 type: string 7089 format: byte 7090 title: >- 7091 hashes from the app output from the prev 7092 block 7093 next_validators_hash: 7094 type: string 7095 format: byte 7096 consensus_hash: 7097 type: string 7098 format: byte 7099 app_hash: 7100 type: string 7101 format: byte 7102 last_results_hash: 7103 type: string 7104 format: byte 7105 evidence_hash: 7106 type: string 7107 format: byte 7108 title: consensus info 7109 proposer_address: 7110 type: string 7111 format: byte 7112 description: >- 7113 Header defines the structure of a 7114 Tendermint block header. 7115 commit: 7116 type: object 7117 properties: 7118 height: 7119 type: string 7120 format: int64 7121 round: 7122 type: integer 7123 format: int32 7124 block_id: 7125 type: object 7126 properties: 7127 hash: 7128 type: string 7129 format: byte 7130 part_set_header: 7131 type: object 7132 properties: 7133 total: 7134 type: integer 7135 format: int64 7136 hash: 7137 type: string 7138 format: byte 7139 title: PartsetHeader 7140 title: BlockID 7141 signatures: 7142 type: array 7143 items: 7144 type: object 7145 properties: 7146 block_id_flag: 7147 type: string 7148 enum: 7149 - BLOCK_ID_FLAG_UNKNOWN 7150 - BLOCK_ID_FLAG_ABSENT 7151 - BLOCK_ID_FLAG_COMMIT 7152 - BLOCK_ID_FLAG_NIL 7153 default: BLOCK_ID_FLAG_UNKNOWN 7154 title: >- 7155 BlockIdFlag indicates which BlcokID the 7156 signature is for 7157 validator_address: 7158 type: string 7159 format: byte 7160 timestamp: 7161 type: string 7162 format: date-time 7163 signature: 7164 type: string 7165 format: byte 7166 description: >- 7167 CommitSig is a part of the Vote included 7168 in a Commit. 7169 description: >- 7170 Commit contains the evidence that a 7171 block was committed by a set of 7172 validators. 7173 validator_set: 7174 type: object 7175 properties: 7176 validators: 7177 type: array 7178 items: 7179 type: object 7180 properties: 7181 address: 7182 type: string 7183 format: byte 7184 pub_key: 7185 type: object 7186 properties: 7187 ed25519: 7188 type: string 7189 format: byte 7190 secp256k1: 7191 type: string 7192 format: byte 7193 title: >- 7194 PublicKey defines the keys available for 7195 use with Tendermint Validators 7196 voting_power: 7197 type: string 7198 format: int64 7199 proposer_priority: 7200 type: string 7201 format: int64 7202 proposer: 7203 type: object 7204 properties: 7205 address: 7206 type: string 7207 format: byte 7208 pub_key: 7209 type: object 7210 properties: 7211 ed25519: 7212 type: string 7213 format: byte 7214 secp256k1: 7215 type: string 7216 format: byte 7217 title: >- 7218 PublicKey defines the keys available for 7219 use with Tendermint Validators 7220 voting_power: 7221 type: string 7222 format: int64 7223 proposer_priority: 7224 type: string 7225 format: int64 7226 total_voting_power: 7227 type: string 7228 format: int64 7229 common_height: 7230 type: string 7231 format: int64 7232 byzantine_validators: 7233 type: array 7234 items: 7235 type: object 7236 properties: 7237 address: 7238 type: string 7239 format: byte 7240 pub_key: 7241 type: object 7242 properties: 7243 ed25519: 7244 type: string 7245 format: byte 7246 secp256k1: 7247 type: string 7248 format: byte 7249 title: >- 7250 PublicKey defines the keys available for 7251 use with Tendermint Validators 7252 voting_power: 7253 type: string 7254 format: int64 7255 proposer_priority: 7256 type: string 7257 format: int64 7258 total_voting_power: 7259 type: string 7260 format: int64 7261 timestamp: 7262 type: string 7263 format: date-time 7264 description: >- 7265 LightClientAttackEvidence contains evidence of a 7266 set of validators attempting to mislead a light 7267 client. 7268 last_commit: 7269 type: object 7270 properties: 7271 height: 7272 type: string 7273 format: int64 7274 round: 7275 type: integer 7276 format: int32 7277 block_id: 7278 type: object 7279 properties: 7280 hash: 7281 type: string 7282 format: byte 7283 part_set_header: 7284 type: object 7285 properties: 7286 total: 7287 type: integer 7288 format: int64 7289 hash: 7290 type: string 7291 format: byte 7292 title: PartsetHeader 7293 title: BlockID 7294 signatures: 7295 type: array 7296 items: 7297 type: object 7298 properties: 7299 block_id_flag: 7300 type: string 7301 enum: 7302 - BLOCK_ID_FLAG_UNKNOWN 7303 - BLOCK_ID_FLAG_ABSENT 7304 - BLOCK_ID_FLAG_COMMIT 7305 - BLOCK_ID_FLAG_NIL 7306 default: BLOCK_ID_FLAG_UNKNOWN 7307 title: >- 7308 BlockIdFlag indicates which BlcokID the 7309 signature is for 7310 validator_address: 7311 type: string 7312 format: byte 7313 timestamp: 7314 type: string 7315 format: date-time 7316 signature: 7317 type: string 7318 format: byte 7319 description: >- 7320 CommitSig is a part of the Vote included in a 7321 Commit. 7322 description: >- 7323 Commit contains the evidence that a block was committed by 7324 a set of validators. 7325 description: >- 7326 GetLatestBlockResponse is the response type for the 7327 Query/GetLatestBlock RPC method. 7328 default: 7329 description: An unexpected error response 7330 schema: 7331 type: object 7332 properties: 7333 error: 7334 type: string 7335 code: 7336 type: integer 7337 format: int32 7338 message: 7339 type: string 7340 details: 7341 type: array 7342 items: 7343 type: object 7344 properties: 7345 type_url: 7346 type: string 7347 description: >- 7348 A URL/resource name that uniquely identifies the type of 7349 the serialized 7350 7351 protocol buffer message. This string must contain at 7352 least 7353 7354 one "/" character. The last segment of the URL's path 7355 must represent 7356 7357 the fully qualified name of the type (as in 7358 7359 `path/google.protobuf.Duration`). The name should be in 7360 a canonical form 7361 7362 (e.g., leading "." is not accepted). 7363 7364 7365 In practice, teams usually precompile into the binary 7366 all types that they 7367 7368 expect it to use in the context of Any. However, for 7369 URLs which use the 7370 7371 scheme `http`, `https`, or no scheme, one can optionally 7372 set up a type 7373 7374 server that maps type URLs to message definitions as 7375 follows: 7376 7377 7378 * If no scheme is provided, `https` is assumed. 7379 7380 * An HTTP GET on the URL must yield a 7381 [google.protobuf.Type][] 7382 value in binary format, or produce an error. 7383 * Applications are allowed to cache lookup results based 7384 on the 7385 URL, or have them precompiled into a binary to avoid any 7386 lookup. Therefore, binary compatibility needs to be preserved 7387 on changes to types. (Use versioned type names to manage 7388 breaking changes.) 7389 7390 Note: this functionality is not currently available in 7391 the official 7392 7393 protobuf release, and it is not used for type URLs 7394 beginning with 7395 7396 type.googleapis.com. 7397 7398 7399 Schemes other than `http`, `https` (or the empty scheme) 7400 might be 7401 7402 used with implementation specific semantics. 7403 value: 7404 type: string 7405 format: byte 7406 description: >- 7407 Must be a valid serialized protocol buffer of the above 7408 specified type. 7409 description: >- 7410 `Any` contains an arbitrary serialized protocol buffer 7411 message along with a 7412 7413 URL that describes the type of the serialized message. 7414 7415 7416 Protobuf library provides support to pack/unpack Any values 7417 in the form 7418 7419 of utility functions or additional generated methods of the 7420 Any type. 7421 7422 7423 Example 1: Pack and unpack a message in C++. 7424 7425 Foo foo = ...; 7426 Any any; 7427 any.PackFrom(foo); 7428 ... 7429 if (any.UnpackTo(&foo)) { 7430 ... 7431 } 7432 7433 Example 2: Pack and unpack a message in Java. 7434 7435 Foo foo = ...; 7436 Any any = Any.pack(foo); 7437 ... 7438 if (any.is(Foo.class)) { 7439 foo = any.unpack(Foo.class); 7440 } 7441 7442 Example 3: Pack and unpack a message in Python. 7443 7444 foo = Foo(...) 7445 any = Any() 7446 any.Pack(foo) 7447 ... 7448 if any.Is(Foo.DESCRIPTOR): 7449 any.Unpack(foo) 7450 ... 7451 7452 Example 4: Pack and unpack a message in Go 7453 7454 foo := &pb.Foo{...} 7455 any, err := ptypes.MarshalAny(foo) 7456 ... 7457 foo := &pb.Foo{} 7458 if err := ptypes.UnmarshalAny(any, foo); err != nil { 7459 ... 7460 } 7461 7462 The pack methods provided by protobuf library will by 7463 default use 7464 7465 'type.googleapis.com/full.type.name' as the type URL and the 7466 unpack 7467 7468 methods only use the fully qualified type name after the 7469 last '/' 7470 7471 in the type URL, for example "foo.bar.com/x/y.z" will yield 7472 type 7473 7474 name "y.z". 7475 7476 7477 7478 JSON 7479 7480 ==== 7481 7482 The JSON representation of an `Any` value uses the regular 7483 7484 representation of the deserialized, embedded message, with 7485 an 7486 7487 additional field `@type` which contains the type URL. 7488 Example: 7489 7490 package google.profile; 7491 message Person { 7492 string first_name = 1; 7493 string last_name = 2; 7494 } 7495 7496 { 7497 "@type": "type.googleapis.com/google.profile.Person", 7498 "firstName": <string>, 7499 "lastName": <string> 7500 } 7501 7502 If the embedded message type is well-known and has a custom 7503 JSON 7504 7505 representation, that representation will be embedded adding 7506 a field 7507 7508 `value` which holds the custom JSON in addition to the 7509 `@type` 7510 7511 field. Example (for message [google.protobuf.Duration][]): 7512 7513 { 7514 "@type": "type.googleapis.com/google.protobuf.Duration", 7515 "value": "1.212s" 7516 } 7517 tags: 7518 - Service 7519 '/cosmos/base/tendermint/v1beta1/blocks/{height}': 7520 get: 7521 summary: GetBlockByHeight queries block for given height. 7522 operationId: GetBlockByHeight 7523 responses: 7524 '200': 7525 description: A successful response. 7526 schema: 7527 type: object 7528 properties: 7529 block_id: 7530 type: object 7531 properties: 7532 hash: 7533 type: string 7534 format: byte 7535 part_set_header: 7536 type: object 7537 properties: 7538 total: 7539 type: integer 7540 format: int64 7541 hash: 7542 type: string 7543 format: byte 7544 title: PartsetHeader 7545 title: BlockID 7546 block: 7547 type: object 7548 properties: 7549 header: 7550 type: object 7551 properties: 7552 version: 7553 title: basic block info 7554 type: object 7555 properties: 7556 block: 7557 type: string 7558 format: uint64 7559 app: 7560 type: string 7561 format: uint64 7562 description: >- 7563 Consensus captures the consensus rules for processing 7564 a block in the blockchain, 7565 7566 including all blockchain data structures and the rules 7567 of the application's 7568 7569 state transition machine. 7570 chain_id: 7571 type: string 7572 height: 7573 type: string 7574 format: int64 7575 time: 7576 type: string 7577 format: date-time 7578 last_block_id: 7579 type: object 7580 properties: 7581 hash: 7582 type: string 7583 format: byte 7584 part_set_header: 7585 type: object 7586 properties: 7587 total: 7588 type: integer 7589 format: int64 7590 hash: 7591 type: string 7592 format: byte 7593 title: PartsetHeader 7594 title: BlockID 7595 last_commit_hash: 7596 type: string 7597 format: byte 7598 title: hashes of block data 7599 data_hash: 7600 type: string 7601 format: byte 7602 validators_hash: 7603 type: string 7604 format: byte 7605 title: hashes from the app output from the prev block 7606 next_validators_hash: 7607 type: string 7608 format: byte 7609 consensus_hash: 7610 type: string 7611 format: byte 7612 app_hash: 7613 type: string 7614 format: byte 7615 last_results_hash: 7616 type: string 7617 format: byte 7618 evidence_hash: 7619 type: string 7620 format: byte 7621 title: consensus info 7622 proposer_address: 7623 type: string 7624 format: byte 7625 description: Header defines the structure of a Tendermint block header. 7626 data: 7627 type: object 7628 properties: 7629 txs: 7630 type: array 7631 items: 7632 type: string 7633 format: byte 7634 description: >- 7635 Txs that will be applied by state @ block.Height+1. 7636 7637 NOTE: not all txs here are valid. We're just agreeing 7638 on the order first. 7639 7640 This means that block.AppHash does not include these 7641 txs. 7642 title: >- 7643 Data contains the set of transactions included in the 7644 block 7645 evidence: 7646 type: object 7647 properties: 7648 evidence: 7649 type: array 7650 items: 7651 type: object 7652 properties: 7653 duplicate_vote_evidence: 7654 type: object 7655 properties: 7656 vote_a: 7657 type: object 7658 properties: 7659 type: 7660 type: string 7661 enum: 7662 - SIGNED_MSG_TYPE_UNKNOWN 7663 - SIGNED_MSG_TYPE_PREVOTE 7664 - SIGNED_MSG_TYPE_PRECOMMIT 7665 - SIGNED_MSG_TYPE_PROPOSAL 7666 default: SIGNED_MSG_TYPE_UNKNOWN 7667 description: >- 7668 SignedMsgType is a type of signed 7669 message in the consensus. 7670 7671 - SIGNED_MSG_TYPE_PREVOTE: Votes 7672 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 7673 height: 7674 type: string 7675 format: int64 7676 round: 7677 type: integer 7678 format: int32 7679 block_id: 7680 type: object 7681 properties: 7682 hash: 7683 type: string 7684 format: byte 7685 part_set_header: 7686 type: object 7687 properties: 7688 total: 7689 type: integer 7690 format: int64 7691 hash: 7692 type: string 7693 format: byte 7694 title: PartsetHeader 7695 title: BlockID 7696 timestamp: 7697 type: string 7698 format: date-time 7699 validator_address: 7700 type: string 7701 format: byte 7702 validator_index: 7703 type: integer 7704 format: int32 7705 signature: 7706 type: string 7707 format: byte 7708 description: >- 7709 Vote represents a prevote, precommit, or 7710 commit vote from validators for 7711 7712 consensus. 7713 vote_b: 7714 type: object 7715 properties: 7716 type: 7717 type: string 7718 enum: 7719 - SIGNED_MSG_TYPE_UNKNOWN 7720 - SIGNED_MSG_TYPE_PREVOTE 7721 - SIGNED_MSG_TYPE_PRECOMMIT 7722 - SIGNED_MSG_TYPE_PROPOSAL 7723 default: SIGNED_MSG_TYPE_UNKNOWN 7724 description: >- 7725 SignedMsgType is a type of signed 7726 message in the consensus. 7727 7728 - SIGNED_MSG_TYPE_PREVOTE: Votes 7729 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 7730 height: 7731 type: string 7732 format: int64 7733 round: 7734 type: integer 7735 format: int32 7736 block_id: 7737 type: object 7738 properties: 7739 hash: 7740 type: string 7741 format: byte 7742 part_set_header: 7743 type: object 7744 properties: 7745 total: 7746 type: integer 7747 format: int64 7748 hash: 7749 type: string 7750 format: byte 7751 title: PartsetHeader 7752 title: BlockID 7753 timestamp: 7754 type: string 7755 format: date-time 7756 validator_address: 7757 type: string 7758 format: byte 7759 validator_index: 7760 type: integer 7761 format: int32 7762 signature: 7763 type: string 7764 format: byte 7765 description: >- 7766 Vote represents a prevote, precommit, or 7767 commit vote from validators for 7768 7769 consensus. 7770 total_voting_power: 7771 type: string 7772 format: int64 7773 validator_power: 7774 type: string 7775 format: int64 7776 timestamp: 7777 type: string 7778 format: date-time 7779 description: >- 7780 DuplicateVoteEvidence contains evidence of a 7781 validator signed two conflicting votes. 7782 light_client_attack_evidence: 7783 type: object 7784 properties: 7785 conflicting_block: 7786 type: object 7787 properties: 7788 signed_header: 7789 type: object 7790 properties: 7791 header: 7792 type: object 7793 properties: 7794 version: 7795 title: basic block info 7796 type: object 7797 properties: 7798 block: 7799 type: string 7800 format: uint64 7801 app: 7802 type: string 7803 format: uint64 7804 description: >- 7805 Consensus captures the consensus rules 7806 for processing a block in the 7807 blockchain, 7808 7809 including all blockchain data structures 7810 and the rules of the application's 7811 7812 state transition machine. 7813 chain_id: 7814 type: string 7815 height: 7816 type: string 7817 format: int64 7818 time: 7819 type: string 7820 format: date-time 7821 last_block_id: 7822 type: object 7823 properties: 7824 hash: 7825 type: string 7826 format: byte 7827 part_set_header: 7828 type: object 7829 properties: 7830 total: 7831 type: integer 7832 format: int64 7833 hash: 7834 type: string 7835 format: byte 7836 title: PartsetHeader 7837 title: BlockID 7838 last_commit_hash: 7839 type: string 7840 format: byte 7841 title: hashes of block data 7842 data_hash: 7843 type: string 7844 format: byte 7845 validators_hash: 7846 type: string 7847 format: byte 7848 title: >- 7849 hashes from the app output from the prev 7850 block 7851 next_validators_hash: 7852 type: string 7853 format: byte 7854 consensus_hash: 7855 type: string 7856 format: byte 7857 app_hash: 7858 type: string 7859 format: byte 7860 last_results_hash: 7861 type: string 7862 format: byte 7863 evidence_hash: 7864 type: string 7865 format: byte 7866 title: consensus info 7867 proposer_address: 7868 type: string 7869 format: byte 7870 description: >- 7871 Header defines the structure of a 7872 Tendermint block header. 7873 commit: 7874 type: object 7875 properties: 7876 height: 7877 type: string 7878 format: int64 7879 round: 7880 type: integer 7881 format: int32 7882 block_id: 7883 type: object 7884 properties: 7885 hash: 7886 type: string 7887 format: byte 7888 part_set_header: 7889 type: object 7890 properties: 7891 total: 7892 type: integer 7893 format: int64 7894 hash: 7895 type: string 7896 format: byte 7897 title: PartsetHeader 7898 title: BlockID 7899 signatures: 7900 type: array 7901 items: 7902 type: object 7903 properties: 7904 block_id_flag: 7905 type: string 7906 enum: 7907 - BLOCK_ID_FLAG_UNKNOWN 7908 - BLOCK_ID_FLAG_ABSENT 7909 - BLOCK_ID_FLAG_COMMIT 7910 - BLOCK_ID_FLAG_NIL 7911 default: BLOCK_ID_FLAG_UNKNOWN 7912 title: >- 7913 BlockIdFlag indicates which BlcokID the 7914 signature is for 7915 validator_address: 7916 type: string 7917 format: byte 7918 timestamp: 7919 type: string 7920 format: date-time 7921 signature: 7922 type: string 7923 format: byte 7924 description: >- 7925 CommitSig is a part of the Vote included 7926 in a Commit. 7927 description: >- 7928 Commit contains the evidence that a 7929 block was committed by a set of 7930 validators. 7931 validator_set: 7932 type: object 7933 properties: 7934 validators: 7935 type: array 7936 items: 7937 type: object 7938 properties: 7939 address: 7940 type: string 7941 format: byte 7942 pub_key: 7943 type: object 7944 properties: 7945 ed25519: 7946 type: string 7947 format: byte 7948 secp256k1: 7949 type: string 7950 format: byte 7951 title: >- 7952 PublicKey defines the keys available for 7953 use with Tendermint Validators 7954 voting_power: 7955 type: string 7956 format: int64 7957 proposer_priority: 7958 type: string 7959 format: int64 7960 proposer: 7961 type: object 7962 properties: 7963 address: 7964 type: string 7965 format: byte 7966 pub_key: 7967 type: object 7968 properties: 7969 ed25519: 7970 type: string 7971 format: byte 7972 secp256k1: 7973 type: string 7974 format: byte 7975 title: >- 7976 PublicKey defines the keys available for 7977 use with Tendermint Validators 7978 voting_power: 7979 type: string 7980 format: int64 7981 proposer_priority: 7982 type: string 7983 format: int64 7984 total_voting_power: 7985 type: string 7986 format: int64 7987 common_height: 7988 type: string 7989 format: int64 7990 byzantine_validators: 7991 type: array 7992 items: 7993 type: object 7994 properties: 7995 address: 7996 type: string 7997 format: byte 7998 pub_key: 7999 type: object 8000 properties: 8001 ed25519: 8002 type: string 8003 format: byte 8004 secp256k1: 8005 type: string 8006 format: byte 8007 title: >- 8008 PublicKey defines the keys available for 8009 use with Tendermint Validators 8010 voting_power: 8011 type: string 8012 format: int64 8013 proposer_priority: 8014 type: string 8015 format: int64 8016 total_voting_power: 8017 type: string 8018 format: int64 8019 timestamp: 8020 type: string 8021 format: date-time 8022 description: >- 8023 LightClientAttackEvidence contains evidence of a 8024 set of validators attempting to mislead a light 8025 client. 8026 last_commit: 8027 type: object 8028 properties: 8029 height: 8030 type: string 8031 format: int64 8032 round: 8033 type: integer 8034 format: int32 8035 block_id: 8036 type: object 8037 properties: 8038 hash: 8039 type: string 8040 format: byte 8041 part_set_header: 8042 type: object 8043 properties: 8044 total: 8045 type: integer 8046 format: int64 8047 hash: 8048 type: string 8049 format: byte 8050 title: PartsetHeader 8051 title: BlockID 8052 signatures: 8053 type: array 8054 items: 8055 type: object 8056 properties: 8057 block_id_flag: 8058 type: string 8059 enum: 8060 - BLOCK_ID_FLAG_UNKNOWN 8061 - BLOCK_ID_FLAG_ABSENT 8062 - BLOCK_ID_FLAG_COMMIT 8063 - BLOCK_ID_FLAG_NIL 8064 default: BLOCK_ID_FLAG_UNKNOWN 8065 title: >- 8066 BlockIdFlag indicates which BlcokID the 8067 signature is for 8068 validator_address: 8069 type: string 8070 format: byte 8071 timestamp: 8072 type: string 8073 format: date-time 8074 signature: 8075 type: string 8076 format: byte 8077 description: >- 8078 CommitSig is a part of the Vote included in a 8079 Commit. 8080 description: >- 8081 Commit contains the evidence that a block was committed by 8082 a set of validators. 8083 description: >- 8084 GetBlockByHeightResponse is the response type for the 8085 Query/GetBlockByHeight RPC method. 8086 default: 8087 description: An unexpected error response 8088 schema: 8089 type: object 8090 properties: 8091 error: 8092 type: string 8093 code: 8094 type: integer 8095 format: int32 8096 message: 8097 type: string 8098 details: 8099 type: array 8100 items: 8101 type: object 8102 properties: 8103 type_url: 8104 type: string 8105 description: >- 8106 A URL/resource name that uniquely identifies the type of 8107 the serialized 8108 8109 protocol buffer message. This string must contain at 8110 least 8111 8112 one "/" character. The last segment of the URL's path 8113 must represent 8114 8115 the fully qualified name of the type (as in 8116 8117 `path/google.protobuf.Duration`). The name should be in 8118 a canonical form 8119 8120 (e.g., leading "." is not accepted). 8121 8122 8123 In practice, teams usually precompile into the binary 8124 all types that they 8125 8126 expect it to use in the context of Any. However, for 8127 URLs which use the 8128 8129 scheme `http`, `https`, or no scheme, one can optionally 8130 set up a type 8131 8132 server that maps type URLs to message definitions as 8133 follows: 8134 8135 8136 * If no scheme is provided, `https` is assumed. 8137 8138 * An HTTP GET on the URL must yield a 8139 [google.protobuf.Type][] 8140 value in binary format, or produce an error. 8141 * Applications are allowed to cache lookup results based 8142 on the 8143 URL, or have them precompiled into a binary to avoid any 8144 lookup. Therefore, binary compatibility needs to be preserved 8145 on changes to types. (Use versioned type names to manage 8146 breaking changes.) 8147 8148 Note: this functionality is not currently available in 8149 the official 8150 8151 protobuf release, and it is not used for type URLs 8152 beginning with 8153 8154 type.googleapis.com. 8155 8156 8157 Schemes other than `http`, `https` (or the empty scheme) 8158 might be 8159 8160 used with implementation specific semantics. 8161 value: 8162 type: string 8163 format: byte 8164 description: >- 8165 Must be a valid serialized protocol buffer of the above 8166 specified type. 8167 description: >- 8168 `Any` contains an arbitrary serialized protocol buffer 8169 message along with a 8170 8171 URL that describes the type of the serialized message. 8172 8173 8174 Protobuf library provides support to pack/unpack Any values 8175 in the form 8176 8177 of utility functions or additional generated methods of the 8178 Any type. 8179 8180 8181 Example 1: Pack and unpack a message in C++. 8182 8183 Foo foo = ...; 8184 Any any; 8185 any.PackFrom(foo); 8186 ... 8187 if (any.UnpackTo(&foo)) { 8188 ... 8189 } 8190 8191 Example 2: Pack and unpack a message in Java. 8192 8193 Foo foo = ...; 8194 Any any = Any.pack(foo); 8195 ... 8196 if (any.is(Foo.class)) { 8197 foo = any.unpack(Foo.class); 8198 } 8199 8200 Example 3: Pack and unpack a message in Python. 8201 8202 foo = Foo(...) 8203 any = Any() 8204 any.Pack(foo) 8205 ... 8206 if any.Is(Foo.DESCRIPTOR): 8207 any.Unpack(foo) 8208 ... 8209 8210 Example 4: Pack and unpack a message in Go 8211 8212 foo := &pb.Foo{...} 8213 any, err := ptypes.MarshalAny(foo) 8214 ... 8215 foo := &pb.Foo{} 8216 if err := ptypes.UnmarshalAny(any, foo); err != nil { 8217 ... 8218 } 8219 8220 The pack methods provided by protobuf library will by 8221 default use 8222 8223 'type.googleapis.com/full.type.name' as the type URL and the 8224 unpack 8225 8226 methods only use the fully qualified type name after the 8227 last '/' 8228 8229 in the type URL, for example "foo.bar.com/x/y.z" will yield 8230 type 8231 8232 name "y.z". 8233 8234 8235 8236 JSON 8237 8238 ==== 8239 8240 The JSON representation of an `Any` value uses the regular 8241 8242 representation of the deserialized, embedded message, with 8243 an 8244 8245 additional field `@type` which contains the type URL. 8246 Example: 8247 8248 package google.profile; 8249 message Person { 8250 string first_name = 1; 8251 string last_name = 2; 8252 } 8253 8254 { 8255 "@type": "type.googleapis.com/google.profile.Person", 8256 "firstName": <string>, 8257 "lastName": <string> 8258 } 8259 8260 If the embedded message type is well-known and has a custom 8261 JSON 8262 8263 representation, that representation will be embedded adding 8264 a field 8265 8266 `value` which holds the custom JSON in addition to the 8267 `@type` 8268 8269 field. Example (for message [google.protobuf.Duration][]): 8270 8271 { 8272 "@type": "type.googleapis.com/google.protobuf.Duration", 8273 "value": "1.212s" 8274 } 8275 parameters: 8276 - name: height 8277 in: path 8278 required: true 8279 type: string 8280 format: int64 8281 tags: 8282 - Service 8283 /cosmos/base/tendermint/v1beta1/node_info: 8284 get: 8285 summary: GetNodeInfo queries the current node info. 8286 operationId: GetNodeInfo 8287 responses: 8288 '200': 8289 description: A successful response. 8290 schema: 8291 type: object 8292 properties: 8293 default_node_info: 8294 type: object 8295 properties: 8296 protocol_version: 8297 type: object 8298 properties: 8299 p2p: 8300 type: string 8301 format: uint64 8302 block: 8303 type: string 8304 format: uint64 8305 app: 8306 type: string 8307 format: uint64 8308 default_node_id: 8309 type: string 8310 listen_addr: 8311 type: string 8312 network: 8313 type: string 8314 version: 8315 type: string 8316 channels: 8317 type: string 8318 format: byte 8319 moniker: 8320 type: string 8321 other: 8322 type: object 8323 properties: 8324 tx_index: 8325 type: string 8326 rpc_address: 8327 type: string 8328 application_version: 8329 type: object 8330 properties: 8331 name: 8332 type: string 8333 app_name: 8334 type: string 8335 version: 8336 type: string 8337 git_commit: 8338 type: string 8339 build_tags: 8340 type: string 8341 go_version: 8342 type: string 8343 build_deps: 8344 type: array 8345 items: 8346 type: object 8347 properties: 8348 path: 8349 type: string 8350 title: module path 8351 version: 8352 type: string 8353 title: module version 8354 sum: 8355 type: string 8356 title: checksum 8357 title: Module is the type for VersionInfo 8358 cosmos_sdk_version: 8359 type: string 8360 title: 'Since: cosmos-sdk 0.43' 8361 description: VersionInfo is the type for the GetNodeInfoResponse message. 8362 description: >- 8363 GetNodeInfoResponse is the request type for the Query/GetNodeInfo 8364 RPC method. 8365 default: 8366 description: An unexpected error response 8367 schema: 8368 type: object 8369 properties: 8370 error: 8371 type: string 8372 code: 8373 type: integer 8374 format: int32 8375 message: 8376 type: string 8377 details: 8378 type: array 8379 items: 8380 type: object 8381 properties: 8382 type_url: 8383 type: string 8384 description: >- 8385 A URL/resource name that uniquely identifies the type of 8386 the serialized 8387 8388 protocol buffer message. This string must contain at 8389 least 8390 8391 one "/" character. The last segment of the URL's path 8392 must represent 8393 8394 the fully qualified name of the type (as in 8395 8396 `path/google.protobuf.Duration`). The name should be in 8397 a canonical form 8398 8399 (e.g., leading "." is not accepted). 8400 8401 8402 In practice, teams usually precompile into the binary 8403 all types that they 8404 8405 expect it to use in the context of Any. However, for 8406 URLs which use the 8407 8408 scheme `http`, `https`, or no scheme, one can optionally 8409 set up a type 8410 8411 server that maps type URLs to message definitions as 8412 follows: 8413 8414 8415 * If no scheme is provided, `https` is assumed. 8416 8417 * An HTTP GET on the URL must yield a 8418 [google.protobuf.Type][] 8419 value in binary format, or produce an error. 8420 * Applications are allowed to cache lookup results based 8421 on the 8422 URL, or have them precompiled into a binary to avoid any 8423 lookup. Therefore, binary compatibility needs to be preserved 8424 on changes to types. (Use versioned type names to manage 8425 breaking changes.) 8426 8427 Note: this functionality is not currently available in 8428 the official 8429 8430 protobuf release, and it is not used for type URLs 8431 beginning with 8432 8433 type.googleapis.com. 8434 8435 8436 Schemes other than `http`, `https` (or the empty scheme) 8437 might be 8438 8439 used with implementation specific semantics. 8440 value: 8441 type: string 8442 format: byte 8443 description: >- 8444 Must be a valid serialized protocol buffer of the above 8445 specified type. 8446 description: >- 8447 `Any` contains an arbitrary serialized protocol buffer 8448 message along with a 8449 8450 URL that describes the type of the serialized message. 8451 8452 8453 Protobuf library provides support to pack/unpack Any values 8454 in the form 8455 8456 of utility functions or additional generated methods of the 8457 Any type. 8458 8459 8460 Example 1: Pack and unpack a message in C++. 8461 8462 Foo foo = ...; 8463 Any any; 8464 any.PackFrom(foo); 8465 ... 8466 if (any.UnpackTo(&foo)) { 8467 ... 8468 } 8469 8470 Example 2: Pack and unpack a message in Java. 8471 8472 Foo foo = ...; 8473 Any any = Any.pack(foo); 8474 ... 8475 if (any.is(Foo.class)) { 8476 foo = any.unpack(Foo.class); 8477 } 8478 8479 Example 3: Pack and unpack a message in Python. 8480 8481 foo = Foo(...) 8482 any = Any() 8483 any.Pack(foo) 8484 ... 8485 if any.Is(Foo.DESCRIPTOR): 8486 any.Unpack(foo) 8487 ... 8488 8489 Example 4: Pack and unpack a message in Go 8490 8491 foo := &pb.Foo{...} 8492 any, err := ptypes.MarshalAny(foo) 8493 ... 8494 foo := &pb.Foo{} 8495 if err := ptypes.UnmarshalAny(any, foo); err != nil { 8496 ... 8497 } 8498 8499 The pack methods provided by protobuf library will by 8500 default use 8501 8502 'type.googleapis.com/full.type.name' as the type URL and the 8503 unpack 8504 8505 methods only use the fully qualified type name after the 8506 last '/' 8507 8508 in the type URL, for example "foo.bar.com/x/y.z" will yield 8509 type 8510 8511 name "y.z". 8512 8513 8514 8515 JSON 8516 8517 ==== 8518 8519 The JSON representation of an `Any` value uses the regular 8520 8521 representation of the deserialized, embedded message, with 8522 an 8523 8524 additional field `@type` which contains the type URL. 8525 Example: 8526 8527 package google.profile; 8528 message Person { 8529 string first_name = 1; 8530 string last_name = 2; 8531 } 8532 8533 { 8534 "@type": "type.googleapis.com/google.profile.Person", 8535 "firstName": <string>, 8536 "lastName": <string> 8537 } 8538 8539 If the embedded message type is well-known and has a custom 8540 JSON 8541 8542 representation, that representation will be embedded adding 8543 a field 8544 8545 `value` which holds the custom JSON in addition to the 8546 `@type` 8547 8548 field. Example (for message [google.protobuf.Duration][]): 8549 8550 { 8551 "@type": "type.googleapis.com/google.protobuf.Duration", 8552 "value": "1.212s" 8553 } 8554 tags: 8555 - Service 8556 /cosmos/base/tendermint/v1beta1/syncing: 8557 get: 8558 summary: GetSyncing queries node syncing. 8559 operationId: GetSyncing 8560 responses: 8561 '200': 8562 description: A successful response. 8563 schema: 8564 type: object 8565 properties: 8566 syncing: 8567 type: boolean 8568 format: boolean 8569 description: >- 8570 GetSyncingResponse is the response type for the Query/GetSyncing 8571 RPC method. 8572 default: 8573 description: An unexpected error response 8574 schema: 8575 type: object 8576 properties: 8577 error: 8578 type: string 8579 code: 8580 type: integer 8581 format: int32 8582 message: 8583 type: string 8584 details: 8585 type: array 8586 items: 8587 type: object 8588 properties: 8589 type_url: 8590 type: string 8591 description: >- 8592 A URL/resource name that uniquely identifies the type of 8593 the serialized 8594 8595 protocol buffer message. This string must contain at 8596 least 8597 8598 one "/" character. The last segment of the URL's path 8599 must represent 8600 8601 the fully qualified name of the type (as in 8602 8603 `path/google.protobuf.Duration`). The name should be in 8604 a canonical form 8605 8606 (e.g., leading "." is not accepted). 8607 8608 8609 In practice, teams usually precompile into the binary 8610 all types that they 8611 8612 expect it to use in the context of Any. However, for 8613 URLs which use the 8614 8615 scheme `http`, `https`, or no scheme, one can optionally 8616 set up a type 8617 8618 server that maps type URLs to message definitions as 8619 follows: 8620 8621 8622 * If no scheme is provided, `https` is assumed. 8623 8624 * An HTTP GET on the URL must yield a 8625 [google.protobuf.Type][] 8626 value in binary format, or produce an error. 8627 * Applications are allowed to cache lookup results based 8628 on the 8629 URL, or have them precompiled into a binary to avoid any 8630 lookup. Therefore, binary compatibility needs to be preserved 8631 on changes to types. (Use versioned type names to manage 8632 breaking changes.) 8633 8634 Note: this functionality is not currently available in 8635 the official 8636 8637 protobuf release, and it is not used for type URLs 8638 beginning with 8639 8640 type.googleapis.com. 8641 8642 8643 Schemes other than `http`, `https` (or the empty scheme) 8644 might be 8645 8646 used with implementation specific semantics. 8647 value: 8648 type: string 8649 format: byte 8650 description: >- 8651 Must be a valid serialized protocol buffer of the above 8652 specified type. 8653 description: >- 8654 `Any` contains an arbitrary serialized protocol buffer 8655 message along with a 8656 8657 URL that describes the type of the serialized message. 8658 8659 8660 Protobuf library provides support to pack/unpack Any values 8661 in the form 8662 8663 of utility functions or additional generated methods of the 8664 Any type. 8665 8666 8667 Example 1: Pack and unpack a message in C++. 8668 8669 Foo foo = ...; 8670 Any any; 8671 any.PackFrom(foo); 8672 ... 8673 if (any.UnpackTo(&foo)) { 8674 ... 8675 } 8676 8677 Example 2: Pack and unpack a message in Java. 8678 8679 Foo foo = ...; 8680 Any any = Any.pack(foo); 8681 ... 8682 if (any.is(Foo.class)) { 8683 foo = any.unpack(Foo.class); 8684 } 8685 8686 Example 3: Pack and unpack a message in Python. 8687 8688 foo = Foo(...) 8689 any = Any() 8690 any.Pack(foo) 8691 ... 8692 if any.Is(Foo.DESCRIPTOR): 8693 any.Unpack(foo) 8694 ... 8695 8696 Example 4: Pack and unpack a message in Go 8697 8698 foo := &pb.Foo{...} 8699 any, err := ptypes.MarshalAny(foo) 8700 ... 8701 foo := &pb.Foo{} 8702 if err := ptypes.UnmarshalAny(any, foo); err != nil { 8703 ... 8704 } 8705 8706 The pack methods provided by protobuf library will by 8707 default use 8708 8709 'type.googleapis.com/full.type.name' as the type URL and the 8710 unpack 8711 8712 methods only use the fully qualified type name after the 8713 last '/' 8714 8715 in the type URL, for example "foo.bar.com/x/y.z" will yield 8716 type 8717 8718 name "y.z". 8719 8720 8721 8722 JSON 8723 8724 ==== 8725 8726 The JSON representation of an `Any` value uses the regular 8727 8728 representation of the deserialized, embedded message, with 8729 an 8730 8731 additional field `@type` which contains the type URL. 8732 Example: 8733 8734 package google.profile; 8735 message Person { 8736 string first_name = 1; 8737 string last_name = 2; 8738 } 8739 8740 { 8741 "@type": "type.googleapis.com/google.profile.Person", 8742 "firstName": <string>, 8743 "lastName": <string> 8744 } 8745 8746 If the embedded message type is well-known and has a custom 8747 JSON 8748 8749 representation, that representation will be embedded adding 8750 a field 8751 8752 `value` which holds the custom JSON in addition to the 8753 `@type` 8754 8755 field. Example (for message [google.protobuf.Duration][]): 8756 8757 { 8758 "@type": "type.googleapis.com/google.protobuf.Duration", 8759 "value": "1.212s" 8760 } 8761 tags: 8762 - Service 8763 /cosmos/base/tendermint/v1beta1/validatorsets/latest: 8764 get: 8765 summary: GetLatestValidatorSet queries latest validator-set. 8766 operationId: GetLatestValidatorSet 8767 responses: 8768 '200': 8769 description: A successful response. 8770 schema: 8771 type: object 8772 properties: 8773 block_height: 8774 type: string 8775 format: int64 8776 validators: 8777 type: array 8778 items: 8779 type: object 8780 properties: 8781 address: 8782 type: string 8783 pub_key: 8784 type: object 8785 properties: 8786 type_url: 8787 type: string 8788 description: >- 8789 A URL/resource name that uniquely identifies the 8790 type of the serialized 8791 8792 protocol buffer message. This string must contain at 8793 least 8794 8795 one "/" character. The last segment of the URL's 8796 path must represent 8797 8798 the fully qualified name of the type (as in 8799 8800 `path/google.protobuf.Duration`). The name should be 8801 in a canonical form 8802 8803 (e.g., leading "." is not accepted). 8804 8805 8806 In practice, teams usually precompile into the 8807 binary all types that they 8808 8809 expect it to use in the context of Any. However, for 8810 URLs which use the 8811 8812 scheme `http`, `https`, or no scheme, one can 8813 optionally set up a type 8814 8815 server that maps type URLs to message definitions as 8816 follows: 8817 8818 8819 * If no scheme is provided, `https` is assumed. 8820 8821 * An HTTP GET on the URL must yield a 8822 [google.protobuf.Type][] 8823 value in binary format, or produce an error. 8824 * Applications are allowed to cache lookup results 8825 based on the 8826 URL, or have them precompiled into a binary to avoid any 8827 lookup. Therefore, binary compatibility needs to be preserved 8828 on changes to types. (Use versioned type names to manage 8829 breaking changes.) 8830 8831 Note: this functionality is not currently available 8832 in the official 8833 8834 protobuf release, and it is not used for type URLs 8835 beginning with 8836 8837 type.googleapis.com. 8838 8839 8840 Schemes other than `http`, `https` (or the empty 8841 scheme) might be 8842 8843 used with implementation specific semantics. 8844 value: 8845 type: string 8846 format: byte 8847 description: >- 8848 Must be a valid serialized protocol buffer of the 8849 above specified type. 8850 description: >- 8851 `Any` contains an arbitrary serialized protocol buffer 8852 message along with a 8853 8854 URL that describes the type of the serialized message. 8855 8856 8857 Protobuf library provides support to pack/unpack Any 8858 values in the form 8859 8860 of utility functions or additional generated methods of 8861 the Any type. 8862 8863 8864 Example 1: Pack and unpack a message in C++. 8865 8866 Foo foo = ...; 8867 Any any; 8868 any.PackFrom(foo); 8869 ... 8870 if (any.UnpackTo(&foo)) { 8871 ... 8872 } 8873 8874 Example 2: Pack and unpack a message in Java. 8875 8876 Foo foo = ...; 8877 Any any = Any.pack(foo); 8878 ... 8879 if (any.is(Foo.class)) { 8880 foo = any.unpack(Foo.class); 8881 } 8882 8883 Example 3: Pack and unpack a message in Python. 8884 8885 foo = Foo(...) 8886 any = Any() 8887 any.Pack(foo) 8888 ... 8889 if any.Is(Foo.DESCRIPTOR): 8890 any.Unpack(foo) 8891 ... 8892 8893 Example 4: Pack and unpack a message in Go 8894 8895 foo := &pb.Foo{...} 8896 any, err := ptypes.MarshalAny(foo) 8897 ... 8898 foo := &pb.Foo{} 8899 if err := ptypes.UnmarshalAny(any, foo); err != nil { 8900 ... 8901 } 8902 8903 The pack methods provided by protobuf library will by 8904 default use 8905 8906 'type.googleapis.com/full.type.name' as the type URL and 8907 the unpack 8908 8909 methods only use the fully qualified type name after the 8910 last '/' 8911 8912 in the type URL, for example "foo.bar.com/x/y.z" will 8913 yield type 8914 8915 name "y.z". 8916 8917 8918 8919 JSON 8920 8921 ==== 8922 8923 The JSON representation of an `Any` value uses the 8924 regular 8925 8926 representation of the deserialized, embedded message, 8927 with an 8928 8929 additional field `@type` which contains the type URL. 8930 Example: 8931 8932 package google.profile; 8933 message Person { 8934 string first_name = 1; 8935 string last_name = 2; 8936 } 8937 8938 { 8939 "@type": "type.googleapis.com/google.profile.Person", 8940 "firstName": <string>, 8941 "lastName": <string> 8942 } 8943 8944 If the embedded message type is well-known and has a 8945 custom JSON 8946 8947 representation, that representation will be embedded 8948 adding a field 8949 8950 `value` which holds the custom JSON in addition to the 8951 `@type` 8952 8953 field. Example (for message 8954 [google.protobuf.Duration][]): 8955 8956 { 8957 "@type": "type.googleapis.com/google.protobuf.Duration", 8958 "value": "1.212s" 8959 } 8960 voting_power: 8961 type: string 8962 format: int64 8963 proposer_priority: 8964 type: string 8965 format: int64 8966 description: Validator is the type for the validator-set. 8967 pagination: 8968 description: pagination defines an pagination for the response. 8969 type: object 8970 properties: 8971 next_key: 8972 type: string 8973 format: byte 8974 title: |- 8975 next_key is the key to be passed to PageRequest.key to 8976 query the next page most efficiently 8977 total: 8978 type: string 8979 format: uint64 8980 title: >- 8981 total is total number of results available if 8982 PageRequest.count_total 8983 8984 was set, its value is undefined otherwise 8985 description: >- 8986 GetLatestValidatorSetResponse is the response type for the 8987 Query/GetValidatorSetByHeight RPC method. 8988 default: 8989 description: An unexpected error response 8990 schema: 8991 type: object 8992 properties: 8993 error: 8994 type: string 8995 code: 8996 type: integer 8997 format: int32 8998 message: 8999 type: string 9000 details: 9001 type: array 9002 items: 9003 type: object 9004 properties: 9005 type_url: 9006 type: string 9007 description: >- 9008 A URL/resource name that uniquely identifies the type of 9009 the serialized 9010 9011 protocol buffer message. This string must contain at 9012 least 9013 9014 one "/" character. The last segment of the URL's path 9015 must represent 9016 9017 the fully qualified name of the type (as in 9018 9019 `path/google.protobuf.Duration`). The name should be in 9020 a canonical form 9021 9022 (e.g., leading "." is not accepted). 9023 9024 9025 In practice, teams usually precompile into the binary 9026 all types that they 9027 9028 expect it to use in the context of Any. However, for 9029 URLs which use the 9030 9031 scheme `http`, `https`, or no scheme, one can optionally 9032 set up a type 9033 9034 server that maps type URLs to message definitions as 9035 follows: 9036 9037 9038 * If no scheme is provided, `https` is assumed. 9039 9040 * An HTTP GET on the URL must yield a 9041 [google.protobuf.Type][] 9042 value in binary format, or produce an error. 9043 * Applications are allowed to cache lookup results based 9044 on the 9045 URL, or have them precompiled into a binary to avoid any 9046 lookup. Therefore, binary compatibility needs to be preserved 9047 on changes to types. (Use versioned type names to manage 9048 breaking changes.) 9049 9050 Note: this functionality is not currently available in 9051 the official 9052 9053 protobuf release, and it is not used for type URLs 9054 beginning with 9055 9056 type.googleapis.com. 9057 9058 9059 Schemes other than `http`, `https` (or the empty scheme) 9060 might be 9061 9062 used with implementation specific semantics. 9063 value: 9064 type: string 9065 format: byte 9066 description: >- 9067 Must be a valid serialized protocol buffer of the above 9068 specified type. 9069 description: >- 9070 `Any` contains an arbitrary serialized protocol buffer 9071 message along with a 9072 9073 URL that describes the type of the serialized message. 9074 9075 9076 Protobuf library provides support to pack/unpack Any values 9077 in the form 9078 9079 of utility functions or additional generated methods of the 9080 Any type. 9081 9082 9083 Example 1: Pack and unpack a message in C++. 9084 9085 Foo foo = ...; 9086 Any any; 9087 any.PackFrom(foo); 9088 ... 9089 if (any.UnpackTo(&foo)) { 9090 ... 9091 } 9092 9093 Example 2: Pack and unpack a message in Java. 9094 9095 Foo foo = ...; 9096 Any any = Any.pack(foo); 9097 ... 9098 if (any.is(Foo.class)) { 9099 foo = any.unpack(Foo.class); 9100 } 9101 9102 Example 3: Pack and unpack a message in Python. 9103 9104 foo = Foo(...) 9105 any = Any() 9106 any.Pack(foo) 9107 ... 9108 if any.Is(Foo.DESCRIPTOR): 9109 any.Unpack(foo) 9110 ... 9111 9112 Example 4: Pack and unpack a message in Go 9113 9114 foo := &pb.Foo{...} 9115 any, err := ptypes.MarshalAny(foo) 9116 ... 9117 foo := &pb.Foo{} 9118 if err := ptypes.UnmarshalAny(any, foo); err != nil { 9119 ... 9120 } 9121 9122 The pack methods provided by protobuf library will by 9123 default use 9124 9125 'type.googleapis.com/full.type.name' as the type URL and the 9126 unpack 9127 9128 methods only use the fully qualified type name after the 9129 last '/' 9130 9131 in the type URL, for example "foo.bar.com/x/y.z" will yield 9132 type 9133 9134 name "y.z". 9135 9136 9137 9138 JSON 9139 9140 ==== 9141 9142 The JSON representation of an `Any` value uses the regular 9143 9144 representation of the deserialized, embedded message, with 9145 an 9146 9147 additional field `@type` which contains the type URL. 9148 Example: 9149 9150 package google.profile; 9151 message Person { 9152 string first_name = 1; 9153 string last_name = 2; 9154 } 9155 9156 { 9157 "@type": "type.googleapis.com/google.profile.Person", 9158 "firstName": <string>, 9159 "lastName": <string> 9160 } 9161 9162 If the embedded message type is well-known and has a custom 9163 JSON 9164 9165 representation, that representation will be embedded adding 9166 a field 9167 9168 `value` which holds the custom JSON in addition to the 9169 `@type` 9170 9171 field. Example (for message [google.protobuf.Duration][]): 9172 9173 { 9174 "@type": "type.googleapis.com/google.protobuf.Duration", 9175 "value": "1.212s" 9176 } 9177 parameters: 9178 - name: pagination.key 9179 description: |- 9180 key is a value returned in PageResponse.next_key to begin 9181 querying the next page most efficiently. Only one of offset or key 9182 should be set. 9183 in: query 9184 required: false 9185 type: string 9186 format: byte 9187 - name: pagination.offset 9188 description: >- 9189 offset is a numeric offset that can be used when key is unavailable. 9190 9191 It is less efficient than using key. Only one of offset or key 9192 should 9193 9194 be set. 9195 in: query 9196 required: false 9197 type: string 9198 format: uint64 9199 - name: pagination.limit 9200 description: >- 9201 limit is the total number of results to be returned in the result 9202 page. 9203 9204 If left empty it will default to a value to be set by each app. 9205 in: query 9206 required: false 9207 type: string 9208 format: uint64 9209 - name: pagination.count_total 9210 description: >- 9211 count_total is set to true to indicate that the result set should 9212 include 9213 9214 a count of the total number of items available for pagination in 9215 UIs. 9216 9217 count_total is only respected when offset is used. It is ignored 9218 when key 9219 9220 is set. 9221 in: query 9222 required: false 9223 type: boolean 9224 format: boolean 9225 - name: pagination.reverse 9226 description: >- 9227 reverse is set to true if results are to be returned in the 9228 descending order. 9229 9230 9231 Since: cosmos-sdk 0.43 9232 in: query 9233 required: false 9234 type: boolean 9235 format: boolean 9236 tags: 9237 - Service 9238 '/cosmos/base/tendermint/v1beta1/validatorsets/{height}': 9239 get: 9240 summary: GetValidatorSetByHeight queries validator-set at a given height. 9241 operationId: GetValidatorSetByHeight 9242 responses: 9243 '200': 9244 description: A successful response. 9245 schema: 9246 type: object 9247 properties: 9248 block_height: 9249 type: string 9250 format: int64 9251 validators: 9252 type: array 9253 items: 9254 type: object 9255 properties: 9256 address: 9257 type: string 9258 pub_key: 9259 type: object 9260 properties: 9261 type_url: 9262 type: string 9263 description: >- 9264 A URL/resource name that uniquely identifies the 9265 type of the serialized 9266 9267 protocol buffer message. This string must contain at 9268 least 9269 9270 one "/" character. The last segment of the URL's 9271 path must represent 9272 9273 the fully qualified name of the type (as in 9274 9275 `path/google.protobuf.Duration`). The name should be 9276 in a canonical form 9277 9278 (e.g., leading "." is not accepted). 9279 9280 9281 In practice, teams usually precompile into the 9282 binary all types that they 9283 9284 expect it to use in the context of Any. However, for 9285 URLs which use the 9286 9287 scheme `http`, `https`, or no scheme, one can 9288 optionally set up a type 9289 9290 server that maps type URLs to message definitions as 9291 follows: 9292 9293 9294 * If no scheme is provided, `https` is assumed. 9295 9296 * An HTTP GET on the URL must yield a 9297 [google.protobuf.Type][] 9298 value in binary format, or produce an error. 9299 * Applications are allowed to cache lookup results 9300 based on the 9301 URL, or have them precompiled into a binary to avoid any 9302 lookup. Therefore, binary compatibility needs to be preserved 9303 on changes to types. (Use versioned type names to manage 9304 breaking changes.) 9305 9306 Note: this functionality is not currently available 9307 in the official 9308 9309 protobuf release, and it is not used for type URLs 9310 beginning with 9311 9312 type.googleapis.com. 9313 9314 9315 Schemes other than `http`, `https` (or the empty 9316 scheme) might be 9317 9318 used with implementation specific semantics. 9319 value: 9320 type: string 9321 format: byte 9322 description: >- 9323 Must be a valid serialized protocol buffer of the 9324 above specified type. 9325 description: >- 9326 `Any` contains an arbitrary serialized protocol buffer 9327 message along with a 9328 9329 URL that describes the type of the serialized message. 9330 9331 9332 Protobuf library provides support to pack/unpack Any 9333 values in the form 9334 9335 of utility functions or additional generated methods of 9336 the Any type. 9337 9338 9339 Example 1: Pack and unpack a message in C++. 9340 9341 Foo foo = ...; 9342 Any any; 9343 any.PackFrom(foo); 9344 ... 9345 if (any.UnpackTo(&foo)) { 9346 ... 9347 } 9348 9349 Example 2: Pack and unpack a message in Java. 9350 9351 Foo foo = ...; 9352 Any any = Any.pack(foo); 9353 ... 9354 if (any.is(Foo.class)) { 9355 foo = any.unpack(Foo.class); 9356 } 9357 9358 Example 3: Pack and unpack a message in Python. 9359 9360 foo = Foo(...) 9361 any = Any() 9362 any.Pack(foo) 9363 ... 9364 if any.Is(Foo.DESCRIPTOR): 9365 any.Unpack(foo) 9366 ... 9367 9368 Example 4: Pack and unpack a message in Go 9369 9370 foo := &pb.Foo{...} 9371 any, err := ptypes.MarshalAny(foo) 9372 ... 9373 foo := &pb.Foo{} 9374 if err := ptypes.UnmarshalAny(any, foo); err != nil { 9375 ... 9376 } 9377 9378 The pack methods provided by protobuf library will by 9379 default use 9380 9381 'type.googleapis.com/full.type.name' as the type URL and 9382 the unpack 9383 9384 methods only use the fully qualified type name after the 9385 last '/' 9386 9387 in the type URL, for example "foo.bar.com/x/y.z" will 9388 yield type 9389 9390 name "y.z". 9391 9392 9393 9394 JSON 9395 9396 ==== 9397 9398 The JSON representation of an `Any` value uses the 9399 regular 9400 9401 representation of the deserialized, embedded message, 9402 with an 9403 9404 additional field `@type` which contains the type URL. 9405 Example: 9406 9407 package google.profile; 9408 message Person { 9409 string first_name = 1; 9410 string last_name = 2; 9411 } 9412 9413 { 9414 "@type": "type.googleapis.com/google.profile.Person", 9415 "firstName": <string>, 9416 "lastName": <string> 9417 } 9418 9419 If the embedded message type is well-known and has a 9420 custom JSON 9421 9422 representation, that representation will be embedded 9423 adding a field 9424 9425 `value` which holds the custom JSON in addition to the 9426 `@type` 9427 9428 field. Example (for message 9429 [google.protobuf.Duration][]): 9430 9431 { 9432 "@type": "type.googleapis.com/google.protobuf.Duration", 9433 "value": "1.212s" 9434 } 9435 voting_power: 9436 type: string 9437 format: int64 9438 proposer_priority: 9439 type: string 9440 format: int64 9441 description: Validator is the type for the validator-set. 9442 pagination: 9443 description: pagination defines an pagination for the response. 9444 type: object 9445 properties: 9446 next_key: 9447 type: string 9448 format: byte 9449 title: |- 9450 next_key is the key to be passed to PageRequest.key to 9451 query the next page most efficiently 9452 total: 9453 type: string 9454 format: uint64 9455 title: >- 9456 total is total number of results available if 9457 PageRequest.count_total 9458 9459 was set, its value is undefined otherwise 9460 description: >- 9461 GetValidatorSetByHeightResponse is the response type for the 9462 Query/GetValidatorSetByHeight RPC method. 9463 default: 9464 description: An unexpected error response 9465 schema: 9466 type: object 9467 properties: 9468 error: 9469 type: string 9470 code: 9471 type: integer 9472 format: int32 9473 message: 9474 type: string 9475 details: 9476 type: array 9477 items: 9478 type: object 9479 properties: 9480 type_url: 9481 type: string 9482 description: >- 9483 A URL/resource name that uniquely identifies the type of 9484 the serialized 9485 9486 protocol buffer message. This string must contain at 9487 least 9488 9489 one "/" character. The last segment of the URL's path 9490 must represent 9491 9492 the fully qualified name of the type (as in 9493 9494 `path/google.protobuf.Duration`). The name should be in 9495 a canonical form 9496 9497 (e.g., leading "." is not accepted). 9498 9499 9500 In practice, teams usually precompile into the binary 9501 all types that they 9502 9503 expect it to use in the context of Any. However, for 9504 URLs which use the 9505 9506 scheme `http`, `https`, or no scheme, one can optionally 9507 set up a type 9508 9509 server that maps type URLs to message definitions as 9510 follows: 9511 9512 9513 * If no scheme is provided, `https` is assumed. 9514 9515 * An HTTP GET on the URL must yield a 9516 [google.protobuf.Type][] 9517 value in binary format, or produce an error. 9518 * Applications are allowed to cache lookup results based 9519 on the 9520 URL, or have them precompiled into a binary to avoid any 9521 lookup. Therefore, binary compatibility needs to be preserved 9522 on changes to types. (Use versioned type names to manage 9523 breaking changes.) 9524 9525 Note: this functionality is not currently available in 9526 the official 9527 9528 protobuf release, and it is not used for type URLs 9529 beginning with 9530 9531 type.googleapis.com. 9532 9533 9534 Schemes other than `http`, `https` (or the empty scheme) 9535 might be 9536 9537 used with implementation specific semantics. 9538 value: 9539 type: string 9540 format: byte 9541 description: >- 9542 Must be a valid serialized protocol buffer of the above 9543 specified type. 9544 description: >- 9545 `Any` contains an arbitrary serialized protocol buffer 9546 message along with a 9547 9548 URL that describes the type of the serialized message. 9549 9550 9551 Protobuf library provides support to pack/unpack Any values 9552 in the form 9553 9554 of utility functions or additional generated methods of the 9555 Any type. 9556 9557 9558 Example 1: Pack and unpack a message in C++. 9559 9560 Foo foo = ...; 9561 Any any; 9562 any.PackFrom(foo); 9563 ... 9564 if (any.UnpackTo(&foo)) { 9565 ... 9566 } 9567 9568 Example 2: Pack and unpack a message in Java. 9569 9570 Foo foo = ...; 9571 Any any = Any.pack(foo); 9572 ... 9573 if (any.is(Foo.class)) { 9574 foo = any.unpack(Foo.class); 9575 } 9576 9577 Example 3: Pack and unpack a message in Python. 9578 9579 foo = Foo(...) 9580 any = Any() 9581 any.Pack(foo) 9582 ... 9583 if any.Is(Foo.DESCRIPTOR): 9584 any.Unpack(foo) 9585 ... 9586 9587 Example 4: Pack and unpack a message in Go 9588 9589 foo := &pb.Foo{...} 9590 any, err := ptypes.MarshalAny(foo) 9591 ... 9592 foo := &pb.Foo{} 9593 if err := ptypes.UnmarshalAny(any, foo); err != nil { 9594 ... 9595 } 9596 9597 The pack methods provided by protobuf library will by 9598 default use 9599 9600 'type.googleapis.com/full.type.name' as the type URL and the 9601 unpack 9602 9603 methods only use the fully qualified type name after the 9604 last '/' 9605 9606 in the type URL, for example "foo.bar.com/x/y.z" will yield 9607 type 9608 9609 name "y.z". 9610 9611 9612 9613 JSON 9614 9615 ==== 9616 9617 The JSON representation of an `Any` value uses the regular 9618 9619 representation of the deserialized, embedded message, with 9620 an 9621 9622 additional field `@type` which contains the type URL. 9623 Example: 9624 9625 package google.profile; 9626 message Person { 9627 string first_name = 1; 9628 string last_name = 2; 9629 } 9630 9631 { 9632 "@type": "type.googleapis.com/google.profile.Person", 9633 "firstName": <string>, 9634 "lastName": <string> 9635 } 9636 9637 If the embedded message type is well-known and has a custom 9638 JSON 9639 9640 representation, that representation will be embedded adding 9641 a field 9642 9643 `value` which holds the custom JSON in addition to the 9644 `@type` 9645 9646 field. Example (for message [google.protobuf.Duration][]): 9647 9648 { 9649 "@type": "type.googleapis.com/google.protobuf.Duration", 9650 "value": "1.212s" 9651 } 9652 parameters: 9653 - name: height 9654 in: path 9655 required: true 9656 type: string 9657 format: int64 9658 - name: pagination.key 9659 description: |- 9660 key is a value returned in PageResponse.next_key to begin 9661 querying the next page most efficiently. Only one of offset or key 9662 should be set. 9663 in: query 9664 required: false 9665 type: string 9666 format: byte 9667 - name: pagination.offset 9668 description: >- 9669 offset is a numeric offset that can be used when key is unavailable. 9670 9671 It is less efficient than using key. Only one of offset or key 9672 should 9673 9674 be set. 9675 in: query 9676 required: false 9677 type: string 9678 format: uint64 9679 - name: pagination.limit 9680 description: >- 9681 limit is the total number of results to be returned in the result 9682 page. 9683 9684 If left empty it will default to a value to be set by each app. 9685 in: query 9686 required: false 9687 type: string 9688 format: uint64 9689 - name: pagination.count_total 9690 description: >- 9691 count_total is set to true to indicate that the result set should 9692 include 9693 9694 a count of the total number of items available for pagination in 9695 UIs. 9696 9697 count_total is only respected when offset is used. It is ignored 9698 when key 9699 9700 is set. 9701 in: query 9702 required: false 9703 type: boolean 9704 format: boolean 9705 - name: pagination.reverse 9706 description: >- 9707 reverse is set to true if results are to be returned in the 9708 descending order. 9709 9710 9711 Since: cosmos-sdk 0.43 9712 in: query 9713 required: false 9714 type: boolean 9715 format: boolean 9716 tags: 9717 - Service 9718 /cosmos/distribution/v1beta1/community_pool: 9719 get: 9720 summary: CommunityPool queries the community pool coins. 9721 operationId: CommunityPool 9722 responses: 9723 '200': 9724 description: A successful response. 9725 schema: 9726 type: object 9727 properties: 9728 pool: 9729 type: array 9730 items: 9731 type: object 9732 properties: 9733 denom: 9734 type: string 9735 amount: 9736 type: string 9737 description: >- 9738 DecCoin defines a token with a denomination and a decimal 9739 amount. 9740 9741 9742 NOTE: The amount field is an Dec which implements the custom 9743 method 9744 9745 signatures required by gogoproto. 9746 description: pool defines community pool's coins. 9747 description: >- 9748 QueryCommunityPoolResponse is the response type for the 9749 Query/CommunityPool 9750 9751 RPC method. 9752 default: 9753 description: An unexpected error response 9754 schema: 9755 type: object 9756 properties: 9757 error: 9758 type: string 9759 code: 9760 type: integer 9761 format: int32 9762 message: 9763 type: string 9764 details: 9765 type: array 9766 items: 9767 type: object 9768 properties: 9769 type_url: 9770 type: string 9771 value: 9772 type: string 9773 format: byte 9774 tags: 9775 - Query 9776 '/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards': 9777 get: 9778 summary: |- 9779 DelegationTotalRewards queries the total rewards accrued by a each 9780 validator. 9781 operationId: DelegationTotalRewards 9782 responses: 9783 '200': 9784 description: A successful response. 9785 schema: 9786 type: object 9787 properties: 9788 rewards: 9789 type: array 9790 items: 9791 type: object 9792 properties: 9793 validator_address: 9794 type: string 9795 reward: 9796 type: array 9797 items: 9798 type: object 9799 properties: 9800 denom: 9801 type: string 9802 amount: 9803 type: string 9804 description: >- 9805 DecCoin defines a token with a denomination and a 9806 decimal amount. 9807 9808 9809 NOTE: The amount field is an Dec which implements the 9810 custom method 9811 9812 signatures required by gogoproto. 9813 description: |- 9814 DelegationDelegatorReward represents the properties 9815 of a delegator's delegation reward. 9816 description: rewards defines all the rewards accrued by a delegator. 9817 total: 9818 type: array 9819 items: 9820 type: object 9821 properties: 9822 denom: 9823 type: string 9824 amount: 9825 type: string 9826 description: >- 9827 DecCoin defines a token with a denomination and a decimal 9828 amount. 9829 9830 9831 NOTE: The amount field is an Dec which implements the custom 9832 method 9833 9834 signatures required by gogoproto. 9835 description: total defines the sum of all the rewards. 9836 description: |- 9837 QueryDelegationTotalRewardsResponse is the response type for the 9838 Query/DelegationTotalRewards RPC method. 9839 default: 9840 description: An unexpected error response 9841 schema: 9842 type: object 9843 properties: 9844 error: 9845 type: string 9846 code: 9847 type: integer 9848 format: int32 9849 message: 9850 type: string 9851 details: 9852 type: array 9853 items: 9854 type: object 9855 properties: 9856 type_url: 9857 type: string 9858 value: 9859 type: string 9860 format: byte 9861 parameters: 9862 - name: delegator_address 9863 description: delegator_address defines the delegator address to query for. 9864 in: path 9865 required: true 9866 type: string 9867 tags: 9868 - Query 9869 '/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}': 9870 get: 9871 summary: DelegationRewards queries the total rewards accrued by a delegation. 9872 operationId: DelegationRewards 9873 responses: 9874 '200': 9875 description: A successful response. 9876 schema: 9877 type: object 9878 properties: 9879 rewards: 9880 type: array 9881 items: 9882 type: object 9883 properties: 9884 denom: 9885 type: string 9886 amount: 9887 type: string 9888 description: >- 9889 DecCoin defines a token with a denomination and a decimal 9890 amount. 9891 9892 9893 NOTE: The amount field is an Dec which implements the custom 9894 method 9895 9896 signatures required by gogoproto. 9897 description: rewards defines the rewards accrued by a delegation. 9898 description: |- 9899 QueryDelegationRewardsResponse is the response type for the 9900 Query/DelegationRewards RPC method. 9901 default: 9902 description: An unexpected error response 9903 schema: 9904 type: object 9905 properties: 9906 error: 9907 type: string 9908 code: 9909 type: integer 9910 format: int32 9911 message: 9912 type: string 9913 details: 9914 type: array 9915 items: 9916 type: object 9917 properties: 9918 type_url: 9919 type: string 9920 value: 9921 type: string 9922 format: byte 9923 parameters: 9924 - name: delegator_address 9925 description: delegator_address defines the delegator address to query for. 9926 in: path 9927 required: true 9928 type: string 9929 - name: validator_address 9930 description: validator_address defines the validator address to query for. 9931 in: path 9932 required: true 9933 type: string 9934 tags: 9935 - Query 9936 '/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators': 9937 get: 9938 summary: DelegatorValidators queries the validators of a delegator. 9939 operationId: DelegatorValidators 9940 responses: 9941 '200': 9942 description: A successful response. 9943 schema: 9944 type: object 9945 properties: 9946 validators: 9947 type: array 9948 items: 9949 type: string 9950 description: >- 9951 validators defines the validators a delegator is delegating 9952 for. 9953 description: |- 9954 QueryDelegatorValidatorsResponse is the response type for the 9955 Query/DelegatorValidators RPC method. 9956 default: 9957 description: An unexpected error response 9958 schema: 9959 type: object 9960 properties: 9961 error: 9962 type: string 9963 code: 9964 type: integer 9965 format: int32 9966 message: 9967 type: string 9968 details: 9969 type: array 9970 items: 9971 type: object 9972 properties: 9973 type_url: 9974 type: string 9975 value: 9976 type: string 9977 format: byte 9978 parameters: 9979 - name: delegator_address 9980 description: delegator_address defines the delegator address to query for. 9981 in: path 9982 required: true 9983 type: string 9984 tags: 9985 - Query 9986 '/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address': 9987 get: 9988 summary: DelegatorWithdrawAddress queries withdraw address of a delegator. 9989 operationId: DelegatorWithdrawAddress 9990 responses: 9991 '200': 9992 description: A successful response. 9993 schema: 9994 type: object 9995 properties: 9996 withdraw_address: 9997 type: string 9998 description: withdraw_address defines the delegator address to query for. 9999 description: |- 10000 QueryDelegatorWithdrawAddressResponse is the response type for the 10001 Query/DelegatorWithdrawAddress RPC method. 10002 default: 10003 description: An unexpected error response 10004 schema: 10005 type: object 10006 properties: 10007 error: 10008 type: string 10009 code: 10010 type: integer 10011 format: int32 10012 message: 10013 type: string 10014 details: 10015 type: array 10016 items: 10017 type: object 10018 properties: 10019 type_url: 10020 type: string 10021 value: 10022 type: string 10023 format: byte 10024 parameters: 10025 - name: delegator_address 10026 description: delegator_address defines the delegator address to query for. 10027 in: path 10028 required: true 10029 type: string 10030 tags: 10031 - Query 10032 /cosmos/distribution/v1beta1/params: 10033 get: 10034 summary: Params queries params of the distribution module. 10035 operationId: DistributionParams 10036 responses: 10037 '200': 10038 description: A successful response. 10039 schema: 10040 type: object 10041 properties: 10042 params: 10043 description: params defines the parameters of the module. 10044 type: object 10045 properties: 10046 community_tax: 10047 type: string 10048 base_proposer_reward: 10049 type: string 10050 bonus_proposer_reward: 10051 type: string 10052 withdraw_addr_enabled: 10053 type: boolean 10054 format: boolean 10055 description: >- 10056 QueryParamsResponse is the response type for the Query/Params RPC 10057 method. 10058 default: 10059 description: An unexpected error response 10060 schema: 10061 type: object 10062 properties: 10063 error: 10064 type: string 10065 code: 10066 type: integer 10067 format: int32 10068 message: 10069 type: string 10070 details: 10071 type: array 10072 items: 10073 type: object 10074 properties: 10075 type_url: 10076 type: string 10077 value: 10078 type: string 10079 format: byte 10080 tags: 10081 - Query 10082 '/cosmos/distribution/v1beta1/validators/{validator_address}/commission': 10083 get: 10084 summary: ValidatorCommission queries accumulated commission for a validator. 10085 operationId: ValidatorCommission 10086 responses: 10087 '200': 10088 description: A successful response. 10089 schema: 10090 type: object 10091 properties: 10092 commission: 10093 description: commission defines the commision the validator received. 10094 type: object 10095 properties: 10096 commission: 10097 type: array 10098 items: 10099 type: object 10100 properties: 10101 denom: 10102 type: string 10103 amount: 10104 type: string 10105 description: >- 10106 DecCoin defines a token with a denomination and a 10107 decimal amount. 10108 10109 10110 NOTE: The amount field is an Dec which implements the 10111 custom method 10112 10113 signatures required by gogoproto. 10114 title: |- 10115 QueryValidatorCommissionResponse is the response type for the 10116 Query/ValidatorCommission RPC method 10117 default: 10118 description: An unexpected error response 10119 schema: 10120 type: object 10121 properties: 10122 error: 10123 type: string 10124 code: 10125 type: integer 10126 format: int32 10127 message: 10128 type: string 10129 details: 10130 type: array 10131 items: 10132 type: object 10133 properties: 10134 type_url: 10135 type: string 10136 value: 10137 type: string 10138 format: byte 10139 parameters: 10140 - name: validator_address 10141 description: validator_address defines the validator address to query for. 10142 in: path 10143 required: true 10144 type: string 10145 tags: 10146 - Query 10147 '/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards': 10148 get: 10149 summary: ValidatorOutstandingRewards queries rewards of a validator address. 10150 operationId: ValidatorOutstandingRewards 10151 responses: 10152 '200': 10153 description: A successful response. 10154 schema: 10155 type: object 10156 properties: 10157 rewards: 10158 type: object 10159 properties: 10160 rewards: 10161 type: array 10162 items: 10163 type: object 10164 properties: 10165 denom: 10166 type: string 10167 amount: 10168 type: string 10169 description: >- 10170 DecCoin defines a token with a denomination and a 10171 decimal amount. 10172 10173 10174 NOTE: The amount field is an Dec which implements the 10175 custom method 10176 10177 signatures required by gogoproto. 10178 description: >- 10179 ValidatorOutstandingRewards represents outstanding 10180 (un-withdrawn) rewards 10181 10182 for a validator inexpensive to track, allows simple sanity 10183 checks. 10184 description: >- 10185 QueryValidatorOutstandingRewardsResponse is the response type for 10186 the 10187 10188 Query/ValidatorOutstandingRewards RPC method. 10189 default: 10190 description: An unexpected error response 10191 schema: 10192 type: object 10193 properties: 10194 error: 10195 type: string 10196 code: 10197 type: integer 10198 format: int32 10199 message: 10200 type: string 10201 details: 10202 type: array 10203 items: 10204 type: object 10205 properties: 10206 type_url: 10207 type: string 10208 value: 10209 type: string 10210 format: byte 10211 parameters: 10212 - name: validator_address 10213 description: validator_address defines the validator address to query for. 10214 in: path 10215 required: true 10216 type: string 10217 tags: 10218 - Query 10219 '/cosmos/distribution/v1beta1/validators/{validator_address}/slashes': 10220 get: 10221 summary: ValidatorSlashes queries slash events of a validator. 10222 operationId: ValidatorSlashes 10223 responses: 10224 '200': 10225 description: A successful response. 10226 schema: 10227 type: object 10228 properties: 10229 slashes: 10230 type: array 10231 items: 10232 type: object 10233 properties: 10234 validator_period: 10235 type: string 10236 format: uint64 10237 fraction: 10238 type: string 10239 description: >- 10240 ValidatorSlashEvent represents a validator slash event. 10241 10242 Height is implicit within the store key. 10243 10244 This is needed to calculate appropriate amount of staking 10245 tokens 10246 10247 for delegations which are withdrawn after a slash has 10248 occurred. 10249 description: slashes defines the slashes the validator received. 10250 pagination: 10251 description: pagination defines the pagination in the response. 10252 type: object 10253 properties: 10254 next_key: 10255 type: string 10256 format: byte 10257 title: |- 10258 next_key is the key to be passed to PageRequest.key to 10259 query the next page most efficiently 10260 total: 10261 type: string 10262 format: uint64 10263 title: >- 10264 total is total number of results available if 10265 PageRequest.count_total 10266 10267 was set, its value is undefined otherwise 10268 description: |- 10269 QueryValidatorSlashesResponse is the response type for the 10270 Query/ValidatorSlashes RPC method. 10271 default: 10272 description: An unexpected error response 10273 schema: 10274 type: object 10275 properties: 10276 error: 10277 type: string 10278 code: 10279 type: integer 10280 format: int32 10281 message: 10282 type: string 10283 details: 10284 type: array 10285 items: 10286 type: object 10287 properties: 10288 type_url: 10289 type: string 10290 value: 10291 type: string 10292 format: byte 10293 parameters: 10294 - name: validator_address 10295 description: validator_address defines the validator address to query for. 10296 in: path 10297 required: true 10298 type: string 10299 - name: starting_height 10300 description: >- 10301 starting_height defines the optional starting height to query the 10302 slashes. 10303 in: query 10304 required: false 10305 type: string 10306 format: uint64 10307 - name: ending_height 10308 description: >- 10309 starting_height defines the optional ending height to query the 10310 slashes. 10311 in: query 10312 required: false 10313 type: string 10314 format: uint64 10315 - name: pagination.key 10316 description: |- 10317 key is a value returned in PageResponse.next_key to begin 10318 querying the next page most efficiently. Only one of offset or key 10319 should be set. 10320 in: query 10321 required: false 10322 type: string 10323 format: byte 10324 - name: pagination.offset 10325 description: >- 10326 offset is a numeric offset that can be used when key is unavailable. 10327 10328 It is less efficient than using key. Only one of offset or key 10329 should 10330 10331 be set. 10332 in: query 10333 required: false 10334 type: string 10335 format: uint64 10336 - name: pagination.limit 10337 description: >- 10338 limit is the total number of results to be returned in the result 10339 page. 10340 10341 If left empty it will default to a value to be set by each app. 10342 in: query 10343 required: false 10344 type: string 10345 format: uint64 10346 - name: pagination.count_total 10347 description: >- 10348 count_total is set to true to indicate that the result set should 10349 include 10350 10351 a count of the total number of items available for pagination in 10352 UIs. 10353 10354 count_total is only respected when offset is used. It is ignored 10355 when key 10356 10357 is set. 10358 in: query 10359 required: false 10360 type: boolean 10361 format: boolean 10362 - name: pagination.reverse 10363 description: >- 10364 reverse is set to true if results are to be returned in the 10365 descending order. 10366 10367 10368 Since: cosmos-sdk 0.43 10369 in: query 10370 required: false 10371 type: boolean 10372 format: boolean 10373 tags: 10374 - Query 10375 /cosmos/evidence/v1beta1/evidence: 10376 get: 10377 summary: AllEvidence queries all evidence. 10378 operationId: AllEvidence 10379 responses: 10380 '200': 10381 description: A successful response. 10382 schema: 10383 type: object 10384 properties: 10385 evidence: 10386 type: array 10387 items: 10388 type: object 10389 properties: 10390 type_url: 10391 type: string 10392 description: >- 10393 A URL/resource name that uniquely identifies the type of 10394 the serialized 10395 10396 protocol buffer message. This string must contain at 10397 least 10398 10399 one "/" character. The last segment of the URL's path 10400 must represent 10401 10402 the fully qualified name of the type (as in 10403 10404 `path/google.protobuf.Duration`). The name should be in 10405 a canonical form 10406 10407 (e.g., leading "." is not accepted). 10408 10409 10410 In practice, teams usually precompile into the binary 10411 all types that they 10412 10413 expect it to use in the context of Any. However, for 10414 URLs which use the 10415 10416 scheme `http`, `https`, or no scheme, one can optionally 10417 set up a type 10418 10419 server that maps type URLs to message definitions as 10420 follows: 10421 10422 10423 * If no scheme is provided, `https` is assumed. 10424 10425 * An HTTP GET on the URL must yield a 10426 [google.protobuf.Type][] 10427 value in binary format, or produce an error. 10428 * Applications are allowed to cache lookup results based 10429 on the 10430 URL, or have them precompiled into a binary to avoid any 10431 lookup. Therefore, binary compatibility needs to be preserved 10432 on changes to types. (Use versioned type names to manage 10433 breaking changes.) 10434 10435 Note: this functionality is not currently available in 10436 the official 10437 10438 protobuf release, and it is not used for type URLs 10439 beginning with 10440 10441 type.googleapis.com. 10442 10443 10444 Schemes other than `http`, `https` (or the empty scheme) 10445 might be 10446 10447 used with implementation specific semantics. 10448 value: 10449 type: string 10450 format: byte 10451 description: >- 10452 Must be a valid serialized protocol buffer of the above 10453 specified type. 10454 description: >- 10455 `Any` contains an arbitrary serialized protocol buffer 10456 message along with a 10457 10458 URL that describes the type of the serialized message. 10459 10460 10461 Protobuf library provides support to pack/unpack Any values 10462 in the form 10463 10464 of utility functions or additional generated methods of the 10465 Any type. 10466 10467 10468 Example 1: Pack and unpack a message in C++. 10469 10470 Foo foo = ...; 10471 Any any; 10472 any.PackFrom(foo); 10473 ... 10474 if (any.UnpackTo(&foo)) { 10475 ... 10476 } 10477 10478 Example 2: Pack and unpack a message in Java. 10479 10480 Foo foo = ...; 10481 Any any = Any.pack(foo); 10482 ... 10483 if (any.is(Foo.class)) { 10484 foo = any.unpack(Foo.class); 10485 } 10486 10487 Example 3: Pack and unpack a message in Python. 10488 10489 foo = Foo(...) 10490 any = Any() 10491 any.Pack(foo) 10492 ... 10493 if any.Is(Foo.DESCRIPTOR): 10494 any.Unpack(foo) 10495 ... 10496 10497 Example 4: Pack and unpack a message in Go 10498 10499 foo := &pb.Foo{...} 10500 any, err := ptypes.MarshalAny(foo) 10501 ... 10502 foo := &pb.Foo{} 10503 if err := ptypes.UnmarshalAny(any, foo); err != nil { 10504 ... 10505 } 10506 10507 The pack methods provided by protobuf library will by 10508 default use 10509 10510 'type.googleapis.com/full.type.name' as the type URL and the 10511 unpack 10512 10513 methods only use the fully qualified type name after the 10514 last '/' 10515 10516 in the type URL, for example "foo.bar.com/x/y.z" will yield 10517 type 10518 10519 name "y.z". 10520 10521 10522 10523 JSON 10524 10525 ==== 10526 10527 The JSON representation of an `Any` value uses the regular 10528 10529 representation of the deserialized, embedded message, with 10530 an 10531 10532 additional field `@type` which contains the type URL. 10533 Example: 10534 10535 package google.profile; 10536 message Person { 10537 string first_name = 1; 10538 string last_name = 2; 10539 } 10540 10541 { 10542 "@type": "type.googleapis.com/google.profile.Person", 10543 "firstName": <string>, 10544 "lastName": <string> 10545 } 10546 10547 If the embedded message type is well-known and has a custom 10548 JSON 10549 10550 representation, that representation will be embedded adding 10551 a field 10552 10553 `value` which holds the custom JSON in addition to the 10554 `@type` 10555 10556 field. Example (for message [google.protobuf.Duration][]): 10557 10558 { 10559 "@type": "type.googleapis.com/google.protobuf.Duration", 10560 "value": "1.212s" 10561 } 10562 description: evidence returns all evidences. 10563 pagination: 10564 description: pagination defines the pagination in the response. 10565 type: object 10566 properties: 10567 next_key: 10568 type: string 10569 format: byte 10570 title: |- 10571 next_key is the key to be passed to PageRequest.key to 10572 query the next page most efficiently 10573 total: 10574 type: string 10575 format: uint64 10576 title: >- 10577 total is total number of results available if 10578 PageRequest.count_total 10579 10580 was set, its value is undefined otherwise 10581 description: >- 10582 QueryAllEvidenceResponse is the response type for the 10583 Query/AllEvidence RPC 10584 10585 method. 10586 default: 10587 description: An unexpected error response 10588 schema: 10589 type: object 10590 properties: 10591 error: 10592 type: string 10593 code: 10594 type: integer 10595 format: int32 10596 message: 10597 type: string 10598 details: 10599 type: array 10600 items: 10601 type: object 10602 properties: 10603 type_url: 10604 type: string 10605 description: >- 10606 A URL/resource name that uniquely identifies the type of 10607 the serialized 10608 10609 protocol buffer message. This string must contain at 10610 least 10611 10612 one "/" character. The last segment of the URL's path 10613 must represent 10614 10615 the fully qualified name of the type (as in 10616 10617 `path/google.protobuf.Duration`). The name should be in 10618 a canonical form 10619 10620 (e.g., leading "." is not accepted). 10621 10622 10623 In practice, teams usually precompile into the binary 10624 all types that they 10625 10626 expect it to use in the context of Any. However, for 10627 URLs which use the 10628 10629 scheme `http`, `https`, or no scheme, one can optionally 10630 set up a type 10631 10632 server that maps type URLs to message definitions as 10633 follows: 10634 10635 10636 * If no scheme is provided, `https` is assumed. 10637 10638 * An HTTP GET on the URL must yield a 10639 [google.protobuf.Type][] 10640 value in binary format, or produce an error. 10641 * Applications are allowed to cache lookup results based 10642 on the 10643 URL, or have them precompiled into a binary to avoid any 10644 lookup. Therefore, binary compatibility needs to be preserved 10645 on changes to types. (Use versioned type names to manage 10646 breaking changes.) 10647 10648 Note: this functionality is not currently available in 10649 the official 10650 10651 protobuf release, and it is not used for type URLs 10652 beginning with 10653 10654 type.googleapis.com. 10655 10656 10657 Schemes other than `http`, `https` (or the empty scheme) 10658 might be 10659 10660 used with implementation specific semantics. 10661 value: 10662 type: string 10663 format: byte 10664 description: >- 10665 Must be a valid serialized protocol buffer of the above 10666 specified type. 10667 description: >- 10668 `Any` contains an arbitrary serialized protocol buffer 10669 message along with a 10670 10671 URL that describes the type of the serialized message. 10672 10673 10674 Protobuf library provides support to pack/unpack Any values 10675 in the form 10676 10677 of utility functions or additional generated methods of the 10678 Any type. 10679 10680 10681 Example 1: Pack and unpack a message in C++. 10682 10683 Foo foo = ...; 10684 Any any; 10685 any.PackFrom(foo); 10686 ... 10687 if (any.UnpackTo(&foo)) { 10688 ... 10689 } 10690 10691 Example 2: Pack and unpack a message in Java. 10692 10693 Foo foo = ...; 10694 Any any = Any.pack(foo); 10695 ... 10696 if (any.is(Foo.class)) { 10697 foo = any.unpack(Foo.class); 10698 } 10699 10700 Example 3: Pack and unpack a message in Python. 10701 10702 foo = Foo(...) 10703 any = Any() 10704 any.Pack(foo) 10705 ... 10706 if any.Is(Foo.DESCRIPTOR): 10707 any.Unpack(foo) 10708 ... 10709 10710 Example 4: Pack and unpack a message in Go 10711 10712 foo := &pb.Foo{...} 10713 any, err := ptypes.MarshalAny(foo) 10714 ... 10715 foo := &pb.Foo{} 10716 if err := ptypes.UnmarshalAny(any, foo); err != nil { 10717 ... 10718 } 10719 10720 The pack methods provided by protobuf library will by 10721 default use 10722 10723 'type.googleapis.com/full.type.name' as the type URL and the 10724 unpack 10725 10726 methods only use the fully qualified type name after the 10727 last '/' 10728 10729 in the type URL, for example "foo.bar.com/x/y.z" will yield 10730 type 10731 10732 name "y.z". 10733 10734 10735 10736 JSON 10737 10738 ==== 10739 10740 The JSON representation of an `Any` value uses the regular 10741 10742 representation of the deserialized, embedded message, with 10743 an 10744 10745 additional field `@type` which contains the type URL. 10746 Example: 10747 10748 package google.profile; 10749 message Person { 10750 string first_name = 1; 10751 string last_name = 2; 10752 } 10753 10754 { 10755 "@type": "type.googleapis.com/google.profile.Person", 10756 "firstName": <string>, 10757 "lastName": <string> 10758 } 10759 10760 If the embedded message type is well-known and has a custom 10761 JSON 10762 10763 representation, that representation will be embedded adding 10764 a field 10765 10766 `value` which holds the custom JSON in addition to the 10767 `@type` 10768 10769 field. Example (for message [google.protobuf.Duration][]): 10770 10771 { 10772 "@type": "type.googleapis.com/google.protobuf.Duration", 10773 "value": "1.212s" 10774 } 10775 parameters: 10776 - name: pagination.key 10777 description: |- 10778 key is a value returned in PageResponse.next_key to begin 10779 querying the next page most efficiently. Only one of offset or key 10780 should be set. 10781 in: query 10782 required: false 10783 type: string 10784 format: byte 10785 - name: pagination.offset 10786 description: >- 10787 offset is a numeric offset that can be used when key is unavailable. 10788 10789 It is less efficient than using key. Only one of offset or key 10790 should 10791 10792 be set. 10793 in: query 10794 required: false 10795 type: string 10796 format: uint64 10797 - name: pagination.limit 10798 description: >- 10799 limit is the total number of results to be returned in the result 10800 page. 10801 10802 If left empty it will default to a value to be set by each app. 10803 in: query 10804 required: false 10805 type: string 10806 format: uint64 10807 - name: pagination.count_total 10808 description: >- 10809 count_total is set to true to indicate that the result set should 10810 include 10811 10812 a count of the total number of items available for pagination in 10813 UIs. 10814 10815 count_total is only respected when offset is used. It is ignored 10816 when key 10817 10818 is set. 10819 in: query 10820 required: false 10821 type: boolean 10822 format: boolean 10823 - name: pagination.reverse 10824 description: >- 10825 reverse is set to true if results are to be returned in the 10826 descending order. 10827 10828 10829 Since: cosmos-sdk 0.43 10830 in: query 10831 required: false 10832 type: boolean 10833 format: boolean 10834 tags: 10835 - Query 10836 '/cosmos/evidence/v1beta1/evidence/{evidence_hash}': 10837 get: 10838 summary: Evidence queries evidence based on evidence hash. 10839 operationId: Evidence 10840 responses: 10841 '200': 10842 description: A successful response. 10843 schema: 10844 type: object 10845 properties: 10846 evidence: 10847 type: object 10848 properties: 10849 type_url: 10850 type: string 10851 description: >- 10852 A URL/resource name that uniquely identifies the type of 10853 the serialized 10854 10855 protocol buffer message. This string must contain at least 10856 10857 one "/" character. The last segment of the URL's path must 10858 represent 10859 10860 the fully qualified name of the type (as in 10861 10862 `path/google.protobuf.Duration`). The name should be in a 10863 canonical form 10864 10865 (e.g., leading "." is not accepted). 10866 10867 10868 In practice, teams usually precompile into the binary all 10869 types that they 10870 10871 expect it to use in the context of Any. However, for URLs 10872 which use the 10873 10874 scheme `http`, `https`, or no scheme, one can optionally 10875 set up a type 10876 10877 server that maps type URLs to message definitions as 10878 follows: 10879 10880 10881 * If no scheme is provided, `https` is assumed. 10882 10883 * An HTTP GET on the URL must yield a 10884 [google.protobuf.Type][] 10885 value in binary format, or produce an error. 10886 * Applications are allowed to cache lookup results based 10887 on the 10888 URL, or have them precompiled into a binary to avoid any 10889 lookup. Therefore, binary compatibility needs to be preserved 10890 on changes to types. (Use versioned type names to manage 10891 breaking changes.) 10892 10893 Note: this functionality is not currently available in the 10894 official 10895 10896 protobuf release, and it is not used for type URLs 10897 beginning with 10898 10899 type.googleapis.com. 10900 10901 10902 Schemes other than `http`, `https` (or the empty scheme) 10903 might be 10904 10905 used with implementation specific semantics. 10906 value: 10907 type: string 10908 format: byte 10909 description: >- 10910 Must be a valid serialized protocol buffer of the above 10911 specified type. 10912 description: >- 10913 `Any` contains an arbitrary serialized protocol buffer message 10914 along with a 10915 10916 URL that describes the type of the serialized message. 10917 10918 10919 Protobuf library provides support to pack/unpack Any values in 10920 the form 10921 10922 of utility functions or additional generated methods of the 10923 Any type. 10924 10925 10926 Example 1: Pack and unpack a message in C++. 10927 10928 Foo foo = ...; 10929 Any any; 10930 any.PackFrom(foo); 10931 ... 10932 if (any.UnpackTo(&foo)) { 10933 ... 10934 } 10935 10936 Example 2: Pack and unpack a message in Java. 10937 10938 Foo foo = ...; 10939 Any any = Any.pack(foo); 10940 ... 10941 if (any.is(Foo.class)) { 10942 foo = any.unpack(Foo.class); 10943 } 10944 10945 Example 3: Pack and unpack a message in Python. 10946 10947 foo = Foo(...) 10948 any = Any() 10949 any.Pack(foo) 10950 ... 10951 if any.Is(Foo.DESCRIPTOR): 10952 any.Unpack(foo) 10953 ... 10954 10955 Example 4: Pack and unpack a message in Go 10956 10957 foo := &pb.Foo{...} 10958 any, err := ptypes.MarshalAny(foo) 10959 ... 10960 foo := &pb.Foo{} 10961 if err := ptypes.UnmarshalAny(any, foo); err != nil { 10962 ... 10963 } 10964 10965 The pack methods provided by protobuf library will by default 10966 use 10967 10968 'type.googleapis.com/full.type.name' as the type URL and the 10969 unpack 10970 10971 methods only use the fully qualified type name after the last 10972 '/' 10973 10974 in the type URL, for example "foo.bar.com/x/y.z" will yield 10975 type 10976 10977 name "y.z". 10978 10979 10980 10981 JSON 10982 10983 ==== 10984 10985 The JSON representation of an `Any` value uses the regular 10986 10987 representation of the deserialized, embedded message, with an 10988 10989 additional field `@type` which contains the type URL. Example: 10990 10991 package google.profile; 10992 message Person { 10993 string first_name = 1; 10994 string last_name = 2; 10995 } 10996 10997 { 10998 "@type": "type.googleapis.com/google.profile.Person", 10999 "firstName": <string>, 11000 "lastName": <string> 11001 } 11002 11003 If the embedded message type is well-known and has a custom 11004 JSON 11005 11006 representation, that representation will be embedded adding a 11007 field 11008 11009 `value` which holds the custom JSON in addition to the `@type` 11010 11011 field. Example (for message [google.protobuf.Duration][]): 11012 11013 { 11014 "@type": "type.googleapis.com/google.protobuf.Duration", 11015 "value": "1.212s" 11016 } 11017 description: >- 11018 QueryEvidenceResponse is the response type for the Query/Evidence 11019 RPC method. 11020 default: 11021 description: An unexpected error response 11022 schema: 11023 type: object 11024 properties: 11025 error: 11026 type: string 11027 code: 11028 type: integer 11029 format: int32 11030 message: 11031 type: string 11032 details: 11033 type: array 11034 items: 11035 type: object 11036 properties: 11037 type_url: 11038 type: string 11039 description: >- 11040 A URL/resource name that uniquely identifies the type of 11041 the serialized 11042 11043 protocol buffer message. This string must contain at 11044 least 11045 11046 one "/" character. The last segment of the URL's path 11047 must represent 11048 11049 the fully qualified name of the type (as in 11050 11051 `path/google.protobuf.Duration`). The name should be in 11052 a canonical form 11053 11054 (e.g., leading "." is not accepted). 11055 11056 11057 In practice, teams usually precompile into the binary 11058 all types that they 11059 11060 expect it to use in the context of Any. However, for 11061 URLs which use the 11062 11063 scheme `http`, `https`, or no scheme, one can optionally 11064 set up a type 11065 11066 server that maps type URLs to message definitions as 11067 follows: 11068 11069 11070 * If no scheme is provided, `https` is assumed. 11071 11072 * An HTTP GET on the URL must yield a 11073 [google.protobuf.Type][] 11074 value in binary format, or produce an error. 11075 * Applications are allowed to cache lookup results based 11076 on the 11077 URL, or have them precompiled into a binary to avoid any 11078 lookup. Therefore, binary compatibility needs to be preserved 11079 on changes to types. (Use versioned type names to manage 11080 breaking changes.) 11081 11082 Note: this functionality is not currently available in 11083 the official 11084 11085 protobuf release, and it is not used for type URLs 11086 beginning with 11087 11088 type.googleapis.com. 11089 11090 11091 Schemes other than `http`, `https` (or the empty scheme) 11092 might be 11093 11094 used with implementation specific semantics. 11095 value: 11096 type: string 11097 format: byte 11098 description: >- 11099 Must be a valid serialized protocol buffer of the above 11100 specified type. 11101 description: >- 11102 `Any` contains an arbitrary serialized protocol buffer 11103 message along with a 11104 11105 URL that describes the type of the serialized message. 11106 11107 11108 Protobuf library provides support to pack/unpack Any values 11109 in the form 11110 11111 of utility functions or additional generated methods of the 11112 Any type. 11113 11114 11115 Example 1: Pack and unpack a message in C++. 11116 11117 Foo foo = ...; 11118 Any any; 11119 any.PackFrom(foo); 11120 ... 11121 if (any.UnpackTo(&foo)) { 11122 ... 11123 } 11124 11125 Example 2: Pack and unpack a message in Java. 11126 11127 Foo foo = ...; 11128 Any any = Any.pack(foo); 11129 ... 11130 if (any.is(Foo.class)) { 11131 foo = any.unpack(Foo.class); 11132 } 11133 11134 Example 3: Pack and unpack a message in Python. 11135 11136 foo = Foo(...) 11137 any = Any() 11138 any.Pack(foo) 11139 ... 11140 if any.Is(Foo.DESCRIPTOR): 11141 any.Unpack(foo) 11142 ... 11143 11144 Example 4: Pack and unpack a message in Go 11145 11146 foo := &pb.Foo{...} 11147 any, err := ptypes.MarshalAny(foo) 11148 ... 11149 foo := &pb.Foo{} 11150 if err := ptypes.UnmarshalAny(any, foo); err != nil { 11151 ... 11152 } 11153 11154 The pack methods provided by protobuf library will by 11155 default use 11156 11157 'type.googleapis.com/full.type.name' as the type URL and the 11158 unpack 11159 11160 methods only use the fully qualified type name after the 11161 last '/' 11162 11163 in the type URL, for example "foo.bar.com/x/y.z" will yield 11164 type 11165 11166 name "y.z". 11167 11168 11169 11170 JSON 11171 11172 ==== 11173 11174 The JSON representation of an `Any` value uses the regular 11175 11176 representation of the deserialized, embedded message, with 11177 an 11178 11179 additional field `@type` which contains the type URL. 11180 Example: 11181 11182 package google.profile; 11183 message Person { 11184 string first_name = 1; 11185 string last_name = 2; 11186 } 11187 11188 { 11189 "@type": "type.googleapis.com/google.profile.Person", 11190 "firstName": <string>, 11191 "lastName": <string> 11192 } 11193 11194 If the embedded message type is well-known and has a custom 11195 JSON 11196 11197 representation, that representation will be embedded adding 11198 a field 11199 11200 `value` which holds the custom JSON in addition to the 11201 `@type` 11202 11203 field. Example (for message [google.protobuf.Duration][]): 11204 11205 { 11206 "@type": "type.googleapis.com/google.protobuf.Duration", 11207 "value": "1.212s" 11208 } 11209 parameters: 11210 - name: evidence_hash 11211 description: evidence_hash defines the hash of the requested evidence. 11212 in: path 11213 required: true 11214 type: string 11215 format: byte 11216 tags: 11217 - Query 11218 '/cosmos/gov/v1beta1/params/{params_type}': 11219 get: 11220 summary: Params queries all parameters of the gov module. 11221 operationId: GovParams 11222 responses: 11223 '200': 11224 description: A successful response. 11225 schema: 11226 type: object 11227 properties: 11228 voting_params: 11229 description: voting_params defines the parameters related to voting. 11230 type: object 11231 properties: 11232 voting_period: 11233 type: string 11234 description: Length of the voting period. 11235 deposit_params: 11236 description: deposit_params defines the parameters related to deposit. 11237 type: object 11238 properties: 11239 min_deposit: 11240 type: array 11241 items: 11242 type: object 11243 properties: 11244 denom: 11245 type: string 11246 amount: 11247 type: string 11248 description: >- 11249 Coin defines a token with a denomination and an amount. 11250 11251 11252 NOTE: The amount field is an Int which implements the 11253 custom method 11254 11255 signatures required by gogoproto. 11256 description: Minimum deposit for a proposal to enter voting period. 11257 max_deposit_period: 11258 type: string 11259 description: >- 11260 Maximum period for Atom holders to deposit on a proposal. 11261 Initial value: 2 11262 months. 11263 tally_params: 11264 description: tally_params defines the parameters related to tally. 11265 type: object 11266 properties: 11267 quorum: 11268 type: string 11269 format: byte 11270 description: >- 11271 Minimum percentage of total stake needed to vote for a 11272 result to be 11273 considered valid. 11274 threshold: 11275 type: string 11276 format: byte 11277 description: >- 11278 Minimum proportion of Yes votes for proposal to pass. 11279 Default value: 0.5. 11280 veto_threshold: 11281 type: string 11282 format: byte 11283 description: >- 11284 Minimum value of Veto votes to Total votes ratio for 11285 proposal to be 11286 vetoed. Default value: 1/3. 11287 description: >- 11288 QueryParamsResponse is the response type for the Query/Params RPC 11289 method. 11290 default: 11291 description: An unexpected error response 11292 schema: 11293 type: object 11294 properties: 11295 error: 11296 type: string 11297 code: 11298 type: integer 11299 format: int32 11300 message: 11301 type: string 11302 details: 11303 type: array 11304 items: 11305 type: object 11306 properties: 11307 type_url: 11308 type: string 11309 description: >- 11310 A URL/resource name that uniquely identifies the type of 11311 the serialized 11312 11313 protocol buffer message. This string must contain at 11314 least 11315 11316 one "/" character. The last segment of the URL's path 11317 must represent 11318 11319 the fully qualified name of the type (as in 11320 11321 `path/google.protobuf.Duration`). The name should be in 11322 a canonical form 11323 11324 (e.g., leading "." is not accepted). 11325 11326 11327 In practice, teams usually precompile into the binary 11328 all types that they 11329 11330 expect it to use in the context of Any. However, for 11331 URLs which use the 11332 11333 scheme `http`, `https`, or no scheme, one can optionally 11334 set up a type 11335 11336 server that maps type URLs to message definitions as 11337 follows: 11338 11339 11340 * If no scheme is provided, `https` is assumed. 11341 11342 * An HTTP GET on the URL must yield a 11343 [google.protobuf.Type][] 11344 value in binary format, or produce an error. 11345 * Applications are allowed to cache lookup results based 11346 on the 11347 URL, or have them precompiled into a binary to avoid any 11348 lookup. Therefore, binary compatibility needs to be preserved 11349 on changes to types. (Use versioned type names to manage 11350 breaking changes.) 11351 11352 Note: this functionality is not currently available in 11353 the official 11354 11355 protobuf release, and it is not used for type URLs 11356 beginning with 11357 11358 type.googleapis.com. 11359 11360 11361 Schemes other than `http`, `https` (or the empty scheme) 11362 might be 11363 11364 used with implementation specific semantics. 11365 value: 11366 type: string 11367 format: byte 11368 description: >- 11369 Must be a valid serialized protocol buffer of the above 11370 specified type. 11371 description: >- 11372 `Any` contains an arbitrary serialized protocol buffer 11373 message along with a 11374 11375 URL that describes the type of the serialized message. 11376 11377 11378 Protobuf library provides support to pack/unpack Any values 11379 in the form 11380 11381 of utility functions or additional generated methods of the 11382 Any type. 11383 11384 11385 Example 1: Pack and unpack a message in C++. 11386 11387 Foo foo = ...; 11388 Any any; 11389 any.PackFrom(foo); 11390 ... 11391 if (any.UnpackTo(&foo)) { 11392 ... 11393 } 11394 11395 Example 2: Pack and unpack a message in Java. 11396 11397 Foo foo = ...; 11398 Any any = Any.pack(foo); 11399 ... 11400 if (any.is(Foo.class)) { 11401 foo = any.unpack(Foo.class); 11402 } 11403 11404 Example 3: Pack and unpack a message in Python. 11405 11406 foo = Foo(...) 11407 any = Any() 11408 any.Pack(foo) 11409 ... 11410 if any.Is(Foo.DESCRIPTOR): 11411 any.Unpack(foo) 11412 ... 11413 11414 Example 4: Pack and unpack a message in Go 11415 11416 foo := &pb.Foo{...} 11417 any, err := ptypes.MarshalAny(foo) 11418 ... 11419 foo := &pb.Foo{} 11420 if err := ptypes.UnmarshalAny(any, foo); err != nil { 11421 ... 11422 } 11423 11424 The pack methods provided by protobuf library will by 11425 default use 11426 11427 'type.googleapis.com/full.type.name' as the type URL and the 11428 unpack 11429 11430 methods only use the fully qualified type name after the 11431 last '/' 11432 11433 in the type URL, for example "foo.bar.com/x/y.z" will yield 11434 type 11435 11436 name "y.z". 11437 11438 11439 11440 JSON 11441 11442 ==== 11443 11444 The JSON representation of an `Any` value uses the regular 11445 11446 representation of the deserialized, embedded message, with 11447 an 11448 11449 additional field `@type` which contains the type URL. 11450 Example: 11451 11452 package google.profile; 11453 message Person { 11454 string first_name = 1; 11455 string last_name = 2; 11456 } 11457 11458 { 11459 "@type": "type.googleapis.com/google.profile.Person", 11460 "firstName": <string>, 11461 "lastName": <string> 11462 } 11463 11464 If the embedded message type is well-known and has a custom 11465 JSON 11466 11467 representation, that representation will be embedded adding 11468 a field 11469 11470 `value` which holds the custom JSON in addition to the 11471 `@type` 11472 11473 field. Example (for message [google.protobuf.Duration][]): 11474 11475 { 11476 "@type": "type.googleapis.com/google.protobuf.Duration", 11477 "value": "1.212s" 11478 } 11479 parameters: 11480 - name: params_type 11481 description: >- 11482 params_type defines which parameters to query for, can be one of 11483 "voting", 11484 11485 "tallying" or "deposit". 11486 in: path 11487 required: true 11488 type: string 11489 tags: 11490 - Query 11491 /cosmos/gov/v1beta1/proposals: 11492 get: 11493 summary: Proposals queries all proposals based on given status. 11494 operationId: Proposals 11495 responses: 11496 '200': 11497 description: A successful response. 11498 schema: 11499 type: object 11500 properties: 11501 proposals: 11502 type: array 11503 items: 11504 type: object 11505 properties: 11506 proposal_id: 11507 type: string 11508 format: uint64 11509 content: 11510 type: object 11511 properties: 11512 type_url: 11513 type: string 11514 description: >- 11515 A URL/resource name that uniquely identifies the 11516 type of the serialized 11517 11518 protocol buffer message. This string must contain at 11519 least 11520 11521 one "/" character. The last segment of the URL's 11522 path must represent 11523 11524 the fully qualified name of the type (as in 11525 11526 `path/google.protobuf.Duration`). The name should be 11527 in a canonical form 11528 11529 (e.g., leading "." is not accepted). 11530 11531 11532 In practice, teams usually precompile into the 11533 binary all types that they 11534 11535 expect it to use in the context of Any. However, for 11536 URLs which use the 11537 11538 scheme `http`, `https`, or no scheme, one can 11539 optionally set up a type 11540 11541 server that maps type URLs to message definitions as 11542 follows: 11543 11544 11545 * If no scheme is provided, `https` is assumed. 11546 11547 * An HTTP GET on the URL must yield a 11548 [google.protobuf.Type][] 11549 value in binary format, or produce an error. 11550 * Applications are allowed to cache lookup results 11551 based on the 11552 URL, or have them precompiled into a binary to avoid any 11553 lookup. Therefore, binary compatibility needs to be preserved 11554 on changes to types. (Use versioned type names to manage 11555 breaking changes.) 11556 11557 Note: this functionality is not currently available 11558 in the official 11559 11560 protobuf release, and it is not used for type URLs 11561 beginning with 11562 11563 type.googleapis.com. 11564 11565 11566 Schemes other than `http`, `https` (or the empty 11567 scheme) might be 11568 11569 used with implementation specific semantics. 11570 value: 11571 type: string 11572 format: byte 11573 description: >- 11574 Must be a valid serialized protocol buffer of the 11575 above specified type. 11576 description: >- 11577 `Any` contains an arbitrary serialized protocol buffer 11578 message along with a 11579 11580 URL that describes the type of the serialized message. 11581 11582 11583 Protobuf library provides support to pack/unpack Any 11584 values in the form 11585 11586 of utility functions or additional generated methods of 11587 the Any type. 11588 11589 11590 Example 1: Pack and unpack a message in C++. 11591 11592 Foo foo = ...; 11593 Any any; 11594 any.PackFrom(foo); 11595 ... 11596 if (any.UnpackTo(&foo)) { 11597 ... 11598 } 11599 11600 Example 2: Pack and unpack a message in Java. 11601 11602 Foo foo = ...; 11603 Any any = Any.pack(foo); 11604 ... 11605 if (any.is(Foo.class)) { 11606 foo = any.unpack(Foo.class); 11607 } 11608 11609 Example 3: Pack and unpack a message in Python. 11610 11611 foo = Foo(...) 11612 any = Any() 11613 any.Pack(foo) 11614 ... 11615 if any.Is(Foo.DESCRIPTOR): 11616 any.Unpack(foo) 11617 ... 11618 11619 Example 4: Pack and unpack a message in Go 11620 11621 foo := &pb.Foo{...} 11622 any, err := ptypes.MarshalAny(foo) 11623 ... 11624 foo := &pb.Foo{} 11625 if err := ptypes.UnmarshalAny(any, foo); err != nil { 11626 ... 11627 } 11628 11629 The pack methods provided by protobuf library will by 11630 default use 11631 11632 'type.googleapis.com/full.type.name' as the type URL and 11633 the unpack 11634 11635 methods only use the fully qualified type name after the 11636 last '/' 11637 11638 in the type URL, for example "foo.bar.com/x/y.z" will 11639 yield type 11640 11641 name "y.z". 11642 11643 11644 11645 JSON 11646 11647 ==== 11648 11649 The JSON representation of an `Any` value uses the 11650 regular 11651 11652 representation of the deserialized, embedded message, 11653 with an 11654 11655 additional field `@type` which contains the type URL. 11656 Example: 11657 11658 package google.profile; 11659 message Person { 11660 string first_name = 1; 11661 string last_name = 2; 11662 } 11663 11664 { 11665 "@type": "type.googleapis.com/google.profile.Person", 11666 "firstName": <string>, 11667 "lastName": <string> 11668 } 11669 11670 If the embedded message type is well-known and has a 11671 custom JSON 11672 11673 representation, that representation will be embedded 11674 adding a field 11675 11676 `value` which holds the custom JSON in addition to the 11677 `@type` 11678 11679 field. Example (for message 11680 [google.protobuf.Duration][]): 11681 11682 { 11683 "@type": "type.googleapis.com/google.protobuf.Duration", 11684 "value": "1.212s" 11685 } 11686 status: 11687 type: string 11688 enum: 11689 - PROPOSAL_STATUS_UNSPECIFIED 11690 - PROPOSAL_STATUS_DEPOSIT_PERIOD 11691 - PROPOSAL_STATUS_VOTING_PERIOD 11692 - PROPOSAL_STATUS_PASSED 11693 - PROPOSAL_STATUS_REJECTED 11694 - PROPOSAL_STATUS_FAILED 11695 default: PROPOSAL_STATUS_UNSPECIFIED 11696 description: >- 11697 ProposalStatus enumerates the valid statuses of a 11698 proposal. 11699 11700 - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. 11701 - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit 11702 period. 11703 - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting 11704 period. 11705 - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has 11706 passed. 11707 - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has 11708 been rejected. 11709 - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has 11710 failed. 11711 final_tally_result: 11712 type: object 11713 properties: 11714 'yes': 11715 type: string 11716 abstain: 11717 type: string 11718 'no': 11719 type: string 11720 no_with_veto: 11721 type: string 11722 description: >- 11723 TallyResult defines a standard tally for a governance 11724 proposal. 11725 submit_time: 11726 type: string 11727 format: date-time 11728 deposit_end_time: 11729 type: string 11730 format: date-time 11731 total_deposit: 11732 type: array 11733 items: 11734 type: object 11735 properties: 11736 denom: 11737 type: string 11738 amount: 11739 type: string 11740 description: >- 11741 Coin defines a token with a denomination and an 11742 amount. 11743 11744 11745 NOTE: The amount field is an Int which implements the 11746 custom method 11747 11748 signatures required by gogoproto. 11749 voting_start_time: 11750 type: string 11751 format: date-time 11752 voting_end_time: 11753 type: string 11754 format: date-time 11755 description: >- 11756 Proposal defines the core field members of a governance 11757 proposal. 11758 pagination: 11759 description: pagination defines the pagination in the response. 11760 type: object 11761 properties: 11762 next_key: 11763 type: string 11764 format: byte 11765 title: |- 11766 next_key is the key to be passed to PageRequest.key to 11767 query the next page most efficiently 11768 total: 11769 type: string 11770 format: uint64 11771 title: >- 11772 total is total number of results available if 11773 PageRequest.count_total 11774 11775 was set, its value is undefined otherwise 11776 description: >- 11777 QueryProposalsResponse is the response type for the 11778 Query/Proposals RPC 11779 11780 method. 11781 default: 11782 description: An unexpected error response 11783 schema: 11784 type: object 11785 properties: 11786 error: 11787 type: string 11788 code: 11789 type: integer 11790 format: int32 11791 message: 11792 type: string 11793 details: 11794 type: array 11795 items: 11796 type: object 11797 properties: 11798 type_url: 11799 type: string 11800 description: >- 11801 A URL/resource name that uniquely identifies the type of 11802 the serialized 11803 11804 protocol buffer message. This string must contain at 11805 least 11806 11807 one "/" character. The last segment of the URL's path 11808 must represent 11809 11810 the fully qualified name of the type (as in 11811 11812 `path/google.protobuf.Duration`). The name should be in 11813 a canonical form 11814 11815 (e.g., leading "." is not accepted). 11816 11817 11818 In practice, teams usually precompile into the binary 11819 all types that they 11820 11821 expect it to use in the context of Any. However, for 11822 URLs which use the 11823 11824 scheme `http`, `https`, or no scheme, one can optionally 11825 set up a type 11826 11827 server that maps type URLs to message definitions as 11828 follows: 11829 11830 11831 * If no scheme is provided, `https` is assumed. 11832 11833 * An HTTP GET on the URL must yield a 11834 [google.protobuf.Type][] 11835 value in binary format, or produce an error. 11836 * Applications are allowed to cache lookup results based 11837 on the 11838 URL, or have them precompiled into a binary to avoid any 11839 lookup. Therefore, binary compatibility needs to be preserved 11840 on changes to types. (Use versioned type names to manage 11841 breaking changes.) 11842 11843 Note: this functionality is not currently available in 11844 the official 11845 11846 protobuf release, and it is not used for type URLs 11847 beginning with 11848 11849 type.googleapis.com. 11850 11851 11852 Schemes other than `http`, `https` (or the empty scheme) 11853 might be 11854 11855 used with implementation specific semantics. 11856 value: 11857 type: string 11858 format: byte 11859 description: >- 11860 Must be a valid serialized protocol buffer of the above 11861 specified type. 11862 description: >- 11863 `Any` contains an arbitrary serialized protocol buffer 11864 message along with a 11865 11866 URL that describes the type of the serialized message. 11867 11868 11869 Protobuf library provides support to pack/unpack Any values 11870 in the form 11871 11872 of utility functions or additional generated methods of the 11873 Any type. 11874 11875 11876 Example 1: Pack and unpack a message in C++. 11877 11878 Foo foo = ...; 11879 Any any; 11880 any.PackFrom(foo); 11881 ... 11882 if (any.UnpackTo(&foo)) { 11883 ... 11884 } 11885 11886 Example 2: Pack and unpack a message in Java. 11887 11888 Foo foo = ...; 11889 Any any = Any.pack(foo); 11890 ... 11891 if (any.is(Foo.class)) { 11892 foo = any.unpack(Foo.class); 11893 } 11894 11895 Example 3: Pack and unpack a message in Python. 11896 11897 foo = Foo(...) 11898 any = Any() 11899 any.Pack(foo) 11900 ... 11901 if any.Is(Foo.DESCRIPTOR): 11902 any.Unpack(foo) 11903 ... 11904 11905 Example 4: Pack and unpack a message in Go 11906 11907 foo := &pb.Foo{...} 11908 any, err := ptypes.MarshalAny(foo) 11909 ... 11910 foo := &pb.Foo{} 11911 if err := ptypes.UnmarshalAny(any, foo); err != nil { 11912 ... 11913 } 11914 11915 The pack methods provided by protobuf library will by 11916 default use 11917 11918 'type.googleapis.com/full.type.name' as the type URL and the 11919 unpack 11920 11921 methods only use the fully qualified type name after the 11922 last '/' 11923 11924 in the type URL, for example "foo.bar.com/x/y.z" will yield 11925 type 11926 11927 name "y.z". 11928 11929 11930 11931 JSON 11932 11933 ==== 11934 11935 The JSON representation of an `Any` value uses the regular 11936 11937 representation of the deserialized, embedded message, with 11938 an 11939 11940 additional field `@type` which contains the type URL. 11941 Example: 11942 11943 package google.profile; 11944 message Person { 11945 string first_name = 1; 11946 string last_name = 2; 11947 } 11948 11949 { 11950 "@type": "type.googleapis.com/google.profile.Person", 11951 "firstName": <string>, 11952 "lastName": <string> 11953 } 11954 11955 If the embedded message type is well-known and has a custom 11956 JSON 11957 11958 representation, that representation will be embedded adding 11959 a field 11960 11961 `value` which holds the custom JSON in addition to the 11962 `@type` 11963 11964 field. Example (for message [google.protobuf.Duration][]): 11965 11966 { 11967 "@type": "type.googleapis.com/google.protobuf.Duration", 11968 "value": "1.212s" 11969 } 11970 parameters: 11971 - name: proposal_status 11972 description: |- 11973 proposal_status defines the status of the proposals. 11974 11975 - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. 11976 - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit 11977 period. 11978 - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting 11979 period. 11980 - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has 11981 passed. 11982 - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has 11983 been rejected. 11984 - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has 11985 failed. 11986 in: query 11987 required: false 11988 type: string 11989 enum: 11990 - PROPOSAL_STATUS_UNSPECIFIED 11991 - PROPOSAL_STATUS_DEPOSIT_PERIOD 11992 - PROPOSAL_STATUS_VOTING_PERIOD 11993 - PROPOSAL_STATUS_PASSED 11994 - PROPOSAL_STATUS_REJECTED 11995 - PROPOSAL_STATUS_FAILED 11996 default: PROPOSAL_STATUS_UNSPECIFIED 11997 - name: voter 11998 description: voter defines the voter address for the proposals. 11999 in: query 12000 required: false 12001 type: string 12002 - name: depositor 12003 description: depositor defines the deposit addresses from the proposals. 12004 in: query 12005 required: false 12006 type: string 12007 - name: pagination.key 12008 description: |- 12009 key is a value returned in PageResponse.next_key to begin 12010 querying the next page most efficiently. Only one of offset or key 12011 should be set. 12012 in: query 12013 required: false 12014 type: string 12015 format: byte 12016 - name: pagination.offset 12017 description: >- 12018 offset is a numeric offset that can be used when key is unavailable. 12019 12020 It is less efficient than using key. Only one of offset or key 12021 should 12022 12023 be set. 12024 in: query 12025 required: false 12026 type: string 12027 format: uint64 12028 - name: pagination.limit 12029 description: >- 12030 limit is the total number of results to be returned in the result 12031 page. 12032 12033 If left empty it will default to a value to be set by each app. 12034 in: query 12035 required: false 12036 type: string 12037 format: uint64 12038 - name: pagination.count_total 12039 description: >- 12040 count_total is set to true to indicate that the result set should 12041 include 12042 12043 a count of the total number of items available for pagination in 12044 UIs. 12045 12046 count_total is only respected when offset is used. It is ignored 12047 when key 12048 12049 is set. 12050 in: query 12051 required: false 12052 type: boolean 12053 format: boolean 12054 - name: pagination.reverse 12055 description: >- 12056 reverse is set to true if results are to be returned in the 12057 descending order. 12058 12059 12060 Since: cosmos-sdk 0.43 12061 in: query 12062 required: false 12063 type: boolean 12064 format: boolean 12065 tags: 12066 - Query 12067 '/cosmos/gov/v1beta1/proposals/{proposal_id}': 12068 get: 12069 summary: Proposal queries proposal details based on ProposalID. 12070 operationId: Proposal 12071 responses: 12072 '200': 12073 description: A successful response. 12074 schema: 12075 type: object 12076 properties: 12077 proposal: 12078 type: object 12079 properties: 12080 proposal_id: 12081 type: string 12082 format: uint64 12083 content: 12084 type: object 12085 properties: 12086 type_url: 12087 type: string 12088 description: >- 12089 A URL/resource name that uniquely identifies the type 12090 of the serialized 12091 12092 protocol buffer message. This string must contain at 12093 least 12094 12095 one "/" character. The last segment of the URL's path 12096 must represent 12097 12098 the fully qualified name of the type (as in 12099 12100 `path/google.protobuf.Duration`). The name should be 12101 in a canonical form 12102 12103 (e.g., leading "." is not accepted). 12104 12105 12106 In practice, teams usually precompile into the binary 12107 all types that they 12108 12109 expect it to use in the context of Any. However, for 12110 URLs which use the 12111 12112 scheme `http`, `https`, or no scheme, one can 12113 optionally set up a type 12114 12115 server that maps type URLs to message definitions as 12116 follows: 12117 12118 12119 * If no scheme is provided, `https` is assumed. 12120 12121 * An HTTP GET on the URL must yield a 12122 [google.protobuf.Type][] 12123 value in binary format, or produce an error. 12124 * Applications are allowed to cache lookup results 12125 based on the 12126 URL, or have them precompiled into a binary to avoid any 12127 lookup. Therefore, binary compatibility needs to be preserved 12128 on changes to types. (Use versioned type names to manage 12129 breaking changes.) 12130 12131 Note: this functionality is not currently available in 12132 the official 12133 12134 protobuf release, and it is not used for type URLs 12135 beginning with 12136 12137 type.googleapis.com. 12138 12139 12140 Schemes other than `http`, `https` (or the empty 12141 scheme) might be 12142 12143 used with implementation specific semantics. 12144 value: 12145 type: string 12146 format: byte 12147 description: >- 12148 Must be a valid serialized protocol buffer of the 12149 above specified type. 12150 description: >- 12151 `Any` contains an arbitrary serialized protocol buffer 12152 message along with a 12153 12154 URL that describes the type of the serialized message. 12155 12156 12157 Protobuf library provides support to pack/unpack Any 12158 values in the form 12159 12160 of utility functions or additional generated methods of 12161 the Any type. 12162 12163 12164 Example 1: Pack and unpack a message in C++. 12165 12166 Foo foo = ...; 12167 Any any; 12168 any.PackFrom(foo); 12169 ... 12170 if (any.UnpackTo(&foo)) { 12171 ... 12172 } 12173 12174 Example 2: Pack and unpack a message in Java. 12175 12176 Foo foo = ...; 12177 Any any = Any.pack(foo); 12178 ... 12179 if (any.is(Foo.class)) { 12180 foo = any.unpack(Foo.class); 12181 } 12182 12183 Example 3: Pack and unpack a message in Python. 12184 12185 foo = Foo(...) 12186 any = Any() 12187 any.Pack(foo) 12188 ... 12189 if any.Is(Foo.DESCRIPTOR): 12190 any.Unpack(foo) 12191 ... 12192 12193 Example 4: Pack and unpack a message in Go 12194 12195 foo := &pb.Foo{...} 12196 any, err := ptypes.MarshalAny(foo) 12197 ... 12198 foo := &pb.Foo{} 12199 if err := ptypes.UnmarshalAny(any, foo); err != nil { 12200 ... 12201 } 12202 12203 The pack methods provided by protobuf library will by 12204 default use 12205 12206 'type.googleapis.com/full.type.name' as the type URL and 12207 the unpack 12208 12209 methods only use the fully qualified type name after the 12210 last '/' 12211 12212 in the type URL, for example "foo.bar.com/x/y.z" will 12213 yield type 12214 12215 name "y.z". 12216 12217 12218 12219 JSON 12220 12221 ==== 12222 12223 The JSON representation of an `Any` value uses the regular 12224 12225 representation of the deserialized, embedded message, with 12226 an 12227 12228 additional field `@type` which contains the type URL. 12229 Example: 12230 12231 package google.profile; 12232 message Person { 12233 string first_name = 1; 12234 string last_name = 2; 12235 } 12236 12237 { 12238 "@type": "type.googleapis.com/google.profile.Person", 12239 "firstName": <string>, 12240 "lastName": <string> 12241 } 12242 12243 If the embedded message type is well-known and has a 12244 custom JSON 12245 12246 representation, that representation will be embedded 12247 adding a field 12248 12249 `value` which holds the custom JSON in addition to the 12250 `@type` 12251 12252 field. Example (for message [google.protobuf.Duration][]): 12253 12254 { 12255 "@type": "type.googleapis.com/google.protobuf.Duration", 12256 "value": "1.212s" 12257 } 12258 status: 12259 type: string 12260 enum: 12261 - PROPOSAL_STATUS_UNSPECIFIED 12262 - PROPOSAL_STATUS_DEPOSIT_PERIOD 12263 - PROPOSAL_STATUS_VOTING_PERIOD 12264 - PROPOSAL_STATUS_PASSED 12265 - PROPOSAL_STATUS_REJECTED 12266 - PROPOSAL_STATUS_FAILED 12267 default: PROPOSAL_STATUS_UNSPECIFIED 12268 description: >- 12269 ProposalStatus enumerates the valid statuses of a 12270 proposal. 12271 12272 - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. 12273 - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit 12274 period. 12275 - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting 12276 period. 12277 - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has 12278 passed. 12279 - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has 12280 been rejected. 12281 - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has 12282 failed. 12283 final_tally_result: 12284 type: object 12285 properties: 12286 'yes': 12287 type: string 12288 abstain: 12289 type: string 12290 'no': 12291 type: string 12292 no_with_veto: 12293 type: string 12294 description: >- 12295 TallyResult defines a standard tally for a governance 12296 proposal. 12297 submit_time: 12298 type: string 12299 format: date-time 12300 deposit_end_time: 12301 type: string 12302 format: date-time 12303 total_deposit: 12304 type: array 12305 items: 12306 type: object 12307 properties: 12308 denom: 12309 type: string 12310 amount: 12311 type: string 12312 description: >- 12313 Coin defines a token with a denomination and an amount. 12314 12315 12316 NOTE: The amount field is an Int which implements the 12317 custom method 12318 12319 signatures required by gogoproto. 12320 voting_start_time: 12321 type: string 12322 format: date-time 12323 voting_end_time: 12324 type: string 12325 format: date-time 12326 description: >- 12327 Proposal defines the core field members of a governance 12328 proposal. 12329 description: >- 12330 QueryProposalResponse is the response type for the Query/Proposal 12331 RPC method. 12332 default: 12333 description: An unexpected error response 12334 schema: 12335 type: object 12336 properties: 12337 error: 12338 type: string 12339 code: 12340 type: integer 12341 format: int32 12342 message: 12343 type: string 12344 details: 12345 type: array 12346 items: 12347 type: object 12348 properties: 12349 type_url: 12350 type: string 12351 description: >- 12352 A URL/resource name that uniquely identifies the type of 12353 the serialized 12354 12355 protocol buffer message. This string must contain at 12356 least 12357 12358 one "/" character. The last segment of the URL's path 12359 must represent 12360 12361 the fully qualified name of the type (as in 12362 12363 `path/google.protobuf.Duration`). The name should be in 12364 a canonical form 12365 12366 (e.g., leading "." is not accepted). 12367 12368 12369 In practice, teams usually precompile into the binary 12370 all types that they 12371 12372 expect it to use in the context of Any. However, for 12373 URLs which use the 12374 12375 scheme `http`, `https`, or no scheme, one can optionally 12376 set up a type 12377 12378 server that maps type URLs to message definitions as 12379 follows: 12380 12381 12382 * If no scheme is provided, `https` is assumed. 12383 12384 * An HTTP GET on the URL must yield a 12385 [google.protobuf.Type][] 12386 value in binary format, or produce an error. 12387 * Applications are allowed to cache lookup results based 12388 on the 12389 URL, or have them precompiled into a binary to avoid any 12390 lookup. Therefore, binary compatibility needs to be preserved 12391 on changes to types. (Use versioned type names to manage 12392 breaking changes.) 12393 12394 Note: this functionality is not currently available in 12395 the official 12396 12397 protobuf release, and it is not used for type URLs 12398 beginning with 12399 12400 type.googleapis.com. 12401 12402 12403 Schemes other than `http`, `https` (or the empty scheme) 12404 might be 12405 12406 used with implementation specific semantics. 12407 value: 12408 type: string 12409 format: byte 12410 description: >- 12411 Must be a valid serialized protocol buffer of the above 12412 specified type. 12413 description: >- 12414 `Any` contains an arbitrary serialized protocol buffer 12415 message along with a 12416 12417 URL that describes the type of the serialized message. 12418 12419 12420 Protobuf library provides support to pack/unpack Any values 12421 in the form 12422 12423 of utility functions or additional generated methods of the 12424 Any type. 12425 12426 12427 Example 1: Pack and unpack a message in C++. 12428 12429 Foo foo = ...; 12430 Any any; 12431 any.PackFrom(foo); 12432 ... 12433 if (any.UnpackTo(&foo)) { 12434 ... 12435 } 12436 12437 Example 2: Pack and unpack a message in Java. 12438 12439 Foo foo = ...; 12440 Any any = Any.pack(foo); 12441 ... 12442 if (any.is(Foo.class)) { 12443 foo = any.unpack(Foo.class); 12444 } 12445 12446 Example 3: Pack and unpack a message in Python. 12447 12448 foo = Foo(...) 12449 any = Any() 12450 any.Pack(foo) 12451 ... 12452 if any.Is(Foo.DESCRIPTOR): 12453 any.Unpack(foo) 12454 ... 12455 12456 Example 4: Pack and unpack a message in Go 12457 12458 foo := &pb.Foo{...} 12459 any, err := ptypes.MarshalAny(foo) 12460 ... 12461 foo := &pb.Foo{} 12462 if err := ptypes.UnmarshalAny(any, foo); err != nil { 12463 ... 12464 } 12465 12466 The pack methods provided by protobuf library will by 12467 default use 12468 12469 'type.googleapis.com/full.type.name' as the type URL and the 12470 unpack 12471 12472 methods only use the fully qualified type name after the 12473 last '/' 12474 12475 in the type URL, for example "foo.bar.com/x/y.z" will yield 12476 type 12477 12478 name "y.z". 12479 12480 12481 12482 JSON 12483 12484 ==== 12485 12486 The JSON representation of an `Any` value uses the regular 12487 12488 representation of the deserialized, embedded message, with 12489 an 12490 12491 additional field `@type` which contains the type URL. 12492 Example: 12493 12494 package google.profile; 12495 message Person { 12496 string first_name = 1; 12497 string last_name = 2; 12498 } 12499 12500 { 12501 "@type": "type.googleapis.com/google.profile.Person", 12502 "firstName": <string>, 12503 "lastName": <string> 12504 } 12505 12506 If the embedded message type is well-known and has a custom 12507 JSON 12508 12509 representation, that representation will be embedded adding 12510 a field 12511 12512 `value` which holds the custom JSON in addition to the 12513 `@type` 12514 12515 field. Example (for message [google.protobuf.Duration][]): 12516 12517 { 12518 "@type": "type.googleapis.com/google.protobuf.Duration", 12519 "value": "1.212s" 12520 } 12521 parameters: 12522 - name: proposal_id 12523 description: proposal_id defines the unique id of the proposal. 12524 in: path 12525 required: true 12526 type: string 12527 format: uint64 12528 tags: 12529 - Query 12530 '/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits': 12531 get: 12532 summary: Deposits queries all deposits of a single proposal. 12533 operationId: Deposits 12534 responses: 12535 '200': 12536 description: A successful response. 12537 schema: 12538 type: object 12539 properties: 12540 deposits: 12541 type: array 12542 items: 12543 type: object 12544 properties: 12545 proposal_id: 12546 type: string 12547 format: uint64 12548 depositor: 12549 type: string 12550 amount: 12551 type: array 12552 items: 12553 type: object 12554 properties: 12555 denom: 12556 type: string 12557 amount: 12558 type: string 12559 description: >- 12560 Coin defines a token with a denomination and an 12561 amount. 12562 12563 12564 NOTE: The amount field is an Int which implements the 12565 custom method 12566 12567 signatures required by gogoproto. 12568 description: >- 12569 Deposit defines an amount deposited by an account address to 12570 an active 12571 12572 proposal. 12573 pagination: 12574 description: pagination defines the pagination in the response. 12575 type: object 12576 properties: 12577 next_key: 12578 type: string 12579 format: byte 12580 title: |- 12581 next_key is the key to be passed to PageRequest.key to 12582 query the next page most efficiently 12583 total: 12584 type: string 12585 format: uint64 12586 title: >- 12587 total is total number of results available if 12588 PageRequest.count_total 12589 12590 was set, its value is undefined otherwise 12591 description: >- 12592 QueryDepositsResponse is the response type for the Query/Deposits 12593 RPC method. 12594 default: 12595 description: An unexpected error response 12596 schema: 12597 type: object 12598 properties: 12599 error: 12600 type: string 12601 code: 12602 type: integer 12603 format: int32 12604 message: 12605 type: string 12606 details: 12607 type: array 12608 items: 12609 type: object 12610 properties: 12611 type_url: 12612 type: string 12613 description: >- 12614 A URL/resource name that uniquely identifies the type of 12615 the serialized 12616 12617 protocol buffer message. This string must contain at 12618 least 12619 12620 one "/" character. The last segment of the URL's path 12621 must represent 12622 12623 the fully qualified name of the type (as in 12624 12625 `path/google.protobuf.Duration`). The name should be in 12626 a canonical form 12627 12628 (e.g., leading "." is not accepted). 12629 12630 12631 In practice, teams usually precompile into the binary 12632 all types that they 12633 12634 expect it to use in the context of Any. However, for 12635 URLs which use the 12636 12637 scheme `http`, `https`, or no scheme, one can optionally 12638 set up a type 12639 12640 server that maps type URLs to message definitions as 12641 follows: 12642 12643 12644 * If no scheme is provided, `https` is assumed. 12645 12646 * An HTTP GET on the URL must yield a 12647 [google.protobuf.Type][] 12648 value in binary format, or produce an error. 12649 * Applications are allowed to cache lookup results based 12650 on the 12651 URL, or have them precompiled into a binary to avoid any 12652 lookup. Therefore, binary compatibility needs to be preserved 12653 on changes to types. (Use versioned type names to manage 12654 breaking changes.) 12655 12656 Note: this functionality is not currently available in 12657 the official 12658 12659 protobuf release, and it is not used for type URLs 12660 beginning with 12661 12662 type.googleapis.com. 12663 12664 12665 Schemes other than `http`, `https` (or the empty scheme) 12666 might be 12667 12668 used with implementation specific semantics. 12669 value: 12670 type: string 12671 format: byte 12672 description: >- 12673 Must be a valid serialized protocol buffer of the above 12674 specified type. 12675 description: >- 12676 `Any` contains an arbitrary serialized protocol buffer 12677 message along with a 12678 12679 URL that describes the type of the serialized message. 12680 12681 12682 Protobuf library provides support to pack/unpack Any values 12683 in the form 12684 12685 of utility functions or additional generated methods of the 12686 Any type. 12687 12688 12689 Example 1: Pack and unpack a message in C++. 12690 12691 Foo foo = ...; 12692 Any any; 12693 any.PackFrom(foo); 12694 ... 12695 if (any.UnpackTo(&foo)) { 12696 ... 12697 } 12698 12699 Example 2: Pack and unpack a message in Java. 12700 12701 Foo foo = ...; 12702 Any any = Any.pack(foo); 12703 ... 12704 if (any.is(Foo.class)) { 12705 foo = any.unpack(Foo.class); 12706 } 12707 12708 Example 3: Pack and unpack a message in Python. 12709 12710 foo = Foo(...) 12711 any = Any() 12712 any.Pack(foo) 12713 ... 12714 if any.Is(Foo.DESCRIPTOR): 12715 any.Unpack(foo) 12716 ... 12717 12718 Example 4: Pack and unpack a message in Go 12719 12720 foo := &pb.Foo{...} 12721 any, err := ptypes.MarshalAny(foo) 12722 ... 12723 foo := &pb.Foo{} 12724 if err := ptypes.UnmarshalAny(any, foo); err != nil { 12725 ... 12726 } 12727 12728 The pack methods provided by protobuf library will by 12729 default use 12730 12731 'type.googleapis.com/full.type.name' as the type URL and the 12732 unpack 12733 12734 methods only use the fully qualified type name after the 12735 last '/' 12736 12737 in the type URL, for example "foo.bar.com/x/y.z" will yield 12738 type 12739 12740 name "y.z". 12741 12742 12743 12744 JSON 12745 12746 ==== 12747 12748 The JSON representation of an `Any` value uses the regular 12749 12750 representation of the deserialized, embedded message, with 12751 an 12752 12753 additional field `@type` which contains the type URL. 12754 Example: 12755 12756 package google.profile; 12757 message Person { 12758 string first_name = 1; 12759 string last_name = 2; 12760 } 12761 12762 { 12763 "@type": "type.googleapis.com/google.profile.Person", 12764 "firstName": <string>, 12765 "lastName": <string> 12766 } 12767 12768 If the embedded message type is well-known and has a custom 12769 JSON 12770 12771 representation, that representation will be embedded adding 12772 a field 12773 12774 `value` which holds the custom JSON in addition to the 12775 `@type` 12776 12777 field. Example (for message [google.protobuf.Duration][]): 12778 12779 { 12780 "@type": "type.googleapis.com/google.protobuf.Duration", 12781 "value": "1.212s" 12782 } 12783 parameters: 12784 - name: proposal_id 12785 description: proposal_id defines the unique id of the proposal. 12786 in: path 12787 required: true 12788 type: string 12789 format: uint64 12790 - name: pagination.key 12791 description: |- 12792 key is a value returned in PageResponse.next_key to begin 12793 querying the next page most efficiently. Only one of offset or key 12794 should be set. 12795 in: query 12796 required: false 12797 type: string 12798 format: byte 12799 - name: pagination.offset 12800 description: >- 12801 offset is a numeric offset that can be used when key is unavailable. 12802 12803 It is less efficient than using key. Only one of offset or key 12804 should 12805 12806 be set. 12807 in: query 12808 required: false 12809 type: string 12810 format: uint64 12811 - name: pagination.limit 12812 description: >- 12813 limit is the total number of results to be returned in the result 12814 page. 12815 12816 If left empty it will default to a value to be set by each app. 12817 in: query 12818 required: false 12819 type: string 12820 format: uint64 12821 - name: pagination.count_total 12822 description: >- 12823 count_total is set to true to indicate that the result set should 12824 include 12825 12826 a count of the total number of items available for pagination in 12827 UIs. 12828 12829 count_total is only respected when offset is used. It is ignored 12830 when key 12831 12832 is set. 12833 in: query 12834 required: false 12835 type: boolean 12836 format: boolean 12837 - name: pagination.reverse 12838 description: >- 12839 reverse is set to true if results are to be returned in the 12840 descending order. 12841 12842 12843 Since: cosmos-sdk 0.43 12844 in: query 12845 required: false 12846 type: boolean 12847 format: boolean 12848 tags: 12849 - Query 12850 '/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}': 12851 get: 12852 summary: >- 12853 Deposit queries single deposit information based proposalID, 12854 depositAddr. 12855 operationId: Deposit 12856 responses: 12857 '200': 12858 description: A successful response. 12859 schema: 12860 type: object 12861 properties: 12862 deposit: 12863 type: object 12864 properties: 12865 proposal_id: 12866 type: string 12867 format: uint64 12868 depositor: 12869 type: string 12870 amount: 12871 type: array 12872 items: 12873 type: object 12874 properties: 12875 denom: 12876 type: string 12877 amount: 12878 type: string 12879 description: >- 12880 Coin defines a token with a denomination and an amount. 12881 12882 12883 NOTE: The amount field is an Int which implements the 12884 custom method 12885 12886 signatures required by gogoproto. 12887 description: >- 12888 Deposit defines an amount deposited by an account address to 12889 an active 12890 12891 proposal. 12892 description: >- 12893 QueryDepositResponse is the response type for the Query/Deposit 12894 RPC method. 12895 default: 12896 description: An unexpected error response 12897 schema: 12898 type: object 12899 properties: 12900 error: 12901 type: string 12902 code: 12903 type: integer 12904 format: int32 12905 message: 12906 type: string 12907 details: 12908 type: array 12909 items: 12910 type: object 12911 properties: 12912 type_url: 12913 type: string 12914 description: >- 12915 A URL/resource name that uniquely identifies the type of 12916 the serialized 12917 12918 protocol buffer message. This string must contain at 12919 least 12920 12921 one "/" character. The last segment of the URL's path 12922 must represent 12923 12924 the fully qualified name of the type (as in 12925 12926 `path/google.protobuf.Duration`). The name should be in 12927 a canonical form 12928 12929 (e.g., leading "." is not accepted). 12930 12931 12932 In practice, teams usually precompile into the binary 12933 all types that they 12934 12935 expect it to use in the context of Any. However, for 12936 URLs which use the 12937 12938 scheme `http`, `https`, or no scheme, one can optionally 12939 set up a type 12940 12941 server that maps type URLs to message definitions as 12942 follows: 12943 12944 12945 * If no scheme is provided, `https` is assumed. 12946 12947 * An HTTP GET on the URL must yield a 12948 [google.protobuf.Type][] 12949 value in binary format, or produce an error. 12950 * Applications are allowed to cache lookup results based 12951 on the 12952 URL, or have them precompiled into a binary to avoid any 12953 lookup. Therefore, binary compatibility needs to be preserved 12954 on changes to types. (Use versioned type names to manage 12955 breaking changes.) 12956 12957 Note: this functionality is not currently available in 12958 the official 12959 12960 protobuf release, and it is not used for type URLs 12961 beginning with 12962 12963 type.googleapis.com. 12964 12965 12966 Schemes other than `http`, `https` (or the empty scheme) 12967 might be 12968 12969 used with implementation specific semantics. 12970 value: 12971 type: string 12972 format: byte 12973 description: >- 12974 Must be a valid serialized protocol buffer of the above 12975 specified type. 12976 description: >- 12977 `Any` contains an arbitrary serialized protocol buffer 12978 message along with a 12979 12980 URL that describes the type of the serialized message. 12981 12982 12983 Protobuf library provides support to pack/unpack Any values 12984 in the form 12985 12986 of utility functions or additional generated methods of the 12987 Any type. 12988 12989 12990 Example 1: Pack and unpack a message in C++. 12991 12992 Foo foo = ...; 12993 Any any; 12994 any.PackFrom(foo); 12995 ... 12996 if (any.UnpackTo(&foo)) { 12997 ... 12998 } 12999 13000 Example 2: Pack and unpack a message in Java. 13001 13002 Foo foo = ...; 13003 Any any = Any.pack(foo); 13004 ... 13005 if (any.is(Foo.class)) { 13006 foo = any.unpack(Foo.class); 13007 } 13008 13009 Example 3: Pack and unpack a message in Python. 13010 13011 foo = Foo(...) 13012 any = Any() 13013 any.Pack(foo) 13014 ... 13015 if any.Is(Foo.DESCRIPTOR): 13016 any.Unpack(foo) 13017 ... 13018 13019 Example 4: Pack and unpack a message in Go 13020 13021 foo := &pb.Foo{...} 13022 any, err := ptypes.MarshalAny(foo) 13023 ... 13024 foo := &pb.Foo{} 13025 if err := ptypes.UnmarshalAny(any, foo); err != nil { 13026 ... 13027 } 13028 13029 The pack methods provided by protobuf library will by 13030 default use 13031 13032 'type.googleapis.com/full.type.name' as the type URL and the 13033 unpack 13034 13035 methods only use the fully qualified type name after the 13036 last '/' 13037 13038 in the type URL, for example "foo.bar.com/x/y.z" will yield 13039 type 13040 13041 name "y.z". 13042 13043 13044 13045 JSON 13046 13047 ==== 13048 13049 The JSON representation of an `Any` value uses the regular 13050 13051 representation of the deserialized, embedded message, with 13052 an 13053 13054 additional field `@type` which contains the type URL. 13055 Example: 13056 13057 package google.profile; 13058 message Person { 13059 string first_name = 1; 13060 string last_name = 2; 13061 } 13062 13063 { 13064 "@type": "type.googleapis.com/google.profile.Person", 13065 "firstName": <string>, 13066 "lastName": <string> 13067 } 13068 13069 If the embedded message type is well-known and has a custom 13070 JSON 13071 13072 representation, that representation will be embedded adding 13073 a field 13074 13075 `value` which holds the custom JSON in addition to the 13076 `@type` 13077 13078 field. Example (for message [google.protobuf.Duration][]): 13079 13080 { 13081 "@type": "type.googleapis.com/google.protobuf.Duration", 13082 "value": "1.212s" 13083 } 13084 parameters: 13085 - name: proposal_id 13086 description: proposal_id defines the unique id of the proposal. 13087 in: path 13088 required: true 13089 type: string 13090 format: uint64 13091 - name: depositor 13092 description: depositor defines the deposit addresses from the proposals. 13093 in: path 13094 required: true 13095 type: string 13096 tags: 13097 - Query 13098 '/cosmos/gov/v1beta1/proposals/{proposal_id}/tally': 13099 get: 13100 summary: TallyResult queries the tally of a proposal vote. 13101 operationId: TallyResult 13102 responses: 13103 '200': 13104 description: A successful response. 13105 schema: 13106 type: object 13107 properties: 13108 tally: 13109 type: object 13110 properties: 13111 'yes': 13112 type: string 13113 abstain: 13114 type: string 13115 'no': 13116 type: string 13117 no_with_veto: 13118 type: string 13119 description: >- 13120 TallyResult defines a standard tally for a governance 13121 proposal. 13122 description: >- 13123 QueryTallyResultResponse is the response type for the Query/Tally 13124 RPC method. 13125 default: 13126 description: An unexpected error response 13127 schema: 13128 type: object 13129 properties: 13130 error: 13131 type: string 13132 code: 13133 type: integer 13134 format: int32 13135 message: 13136 type: string 13137 details: 13138 type: array 13139 items: 13140 type: object 13141 properties: 13142 type_url: 13143 type: string 13144 description: >- 13145 A URL/resource name that uniquely identifies the type of 13146 the serialized 13147 13148 protocol buffer message. This string must contain at 13149 least 13150 13151 one "/" character. The last segment of the URL's path 13152 must represent 13153 13154 the fully qualified name of the type (as in 13155 13156 `path/google.protobuf.Duration`). The name should be in 13157 a canonical form 13158 13159 (e.g., leading "." is not accepted). 13160 13161 13162 In practice, teams usually precompile into the binary 13163 all types that they 13164 13165 expect it to use in the context of Any. However, for 13166 URLs which use the 13167 13168 scheme `http`, `https`, or no scheme, one can optionally 13169 set up a type 13170 13171 server that maps type URLs to message definitions as 13172 follows: 13173 13174 13175 * If no scheme is provided, `https` is assumed. 13176 13177 * An HTTP GET on the URL must yield a 13178 [google.protobuf.Type][] 13179 value in binary format, or produce an error. 13180 * Applications are allowed to cache lookup results based 13181 on the 13182 URL, or have them precompiled into a binary to avoid any 13183 lookup. Therefore, binary compatibility needs to be preserved 13184 on changes to types. (Use versioned type names to manage 13185 breaking changes.) 13186 13187 Note: this functionality is not currently available in 13188 the official 13189 13190 protobuf release, and it is not used for type URLs 13191 beginning with 13192 13193 type.googleapis.com. 13194 13195 13196 Schemes other than `http`, `https` (or the empty scheme) 13197 might be 13198 13199 used with implementation specific semantics. 13200 value: 13201 type: string 13202 format: byte 13203 description: >- 13204 Must be a valid serialized protocol buffer of the above 13205 specified type. 13206 description: >- 13207 `Any` contains an arbitrary serialized protocol buffer 13208 message along with a 13209 13210 URL that describes the type of the serialized message. 13211 13212 13213 Protobuf library provides support to pack/unpack Any values 13214 in the form 13215 13216 of utility functions or additional generated methods of the 13217 Any type. 13218 13219 13220 Example 1: Pack and unpack a message in C++. 13221 13222 Foo foo = ...; 13223 Any any; 13224 any.PackFrom(foo); 13225 ... 13226 if (any.UnpackTo(&foo)) { 13227 ... 13228 } 13229 13230 Example 2: Pack and unpack a message in Java. 13231 13232 Foo foo = ...; 13233 Any any = Any.pack(foo); 13234 ... 13235 if (any.is(Foo.class)) { 13236 foo = any.unpack(Foo.class); 13237 } 13238 13239 Example 3: Pack and unpack a message in Python. 13240 13241 foo = Foo(...) 13242 any = Any() 13243 any.Pack(foo) 13244 ... 13245 if any.Is(Foo.DESCRIPTOR): 13246 any.Unpack(foo) 13247 ... 13248 13249 Example 4: Pack and unpack a message in Go 13250 13251 foo := &pb.Foo{...} 13252 any, err := ptypes.MarshalAny(foo) 13253 ... 13254 foo := &pb.Foo{} 13255 if err := ptypes.UnmarshalAny(any, foo); err != nil { 13256 ... 13257 } 13258 13259 The pack methods provided by protobuf library will by 13260 default use 13261 13262 'type.googleapis.com/full.type.name' as the type URL and the 13263 unpack 13264 13265 methods only use the fully qualified type name after the 13266 last '/' 13267 13268 in the type URL, for example "foo.bar.com/x/y.z" will yield 13269 type 13270 13271 name "y.z". 13272 13273 13274 13275 JSON 13276 13277 ==== 13278 13279 The JSON representation of an `Any` value uses the regular 13280 13281 representation of the deserialized, embedded message, with 13282 an 13283 13284 additional field `@type` which contains the type URL. 13285 Example: 13286 13287 package google.profile; 13288 message Person { 13289 string first_name = 1; 13290 string last_name = 2; 13291 } 13292 13293 { 13294 "@type": "type.googleapis.com/google.profile.Person", 13295 "firstName": <string>, 13296 "lastName": <string> 13297 } 13298 13299 If the embedded message type is well-known and has a custom 13300 JSON 13301 13302 representation, that representation will be embedded adding 13303 a field 13304 13305 `value` which holds the custom JSON in addition to the 13306 `@type` 13307 13308 field. Example (for message [google.protobuf.Duration][]): 13309 13310 { 13311 "@type": "type.googleapis.com/google.protobuf.Duration", 13312 "value": "1.212s" 13313 } 13314 parameters: 13315 - name: proposal_id 13316 description: proposal_id defines the unique id of the proposal. 13317 in: path 13318 required: true 13319 type: string 13320 format: uint64 13321 tags: 13322 - Query 13323 '/cosmos/gov/v1beta1/proposals/{proposal_id}/votes': 13324 get: 13325 summary: Votes queries votes of a given proposal. 13326 operationId: Votes 13327 responses: 13328 '200': 13329 description: A successful response. 13330 schema: 13331 type: object 13332 properties: 13333 votes: 13334 type: array 13335 items: 13336 type: object 13337 properties: 13338 proposal_id: 13339 type: string 13340 format: uint64 13341 voter: 13342 type: string 13343 option: 13344 description: >- 13345 Deprecated: Prefer to use `options` instead. This field 13346 is set in queries 13347 13348 if and only if `len(options) == 1` and that option has 13349 weight 1. In all 13350 13351 other cases, this field will default to 13352 VOTE_OPTION_UNSPECIFIED. 13353 type: string 13354 enum: 13355 - VOTE_OPTION_UNSPECIFIED 13356 - VOTE_OPTION_YES 13357 - VOTE_OPTION_ABSTAIN 13358 - VOTE_OPTION_NO 13359 - VOTE_OPTION_NO_WITH_VETO 13360 default: VOTE_OPTION_UNSPECIFIED 13361 options: 13362 type: array 13363 items: 13364 type: object 13365 properties: 13366 option: 13367 type: string 13368 enum: 13369 - VOTE_OPTION_UNSPECIFIED 13370 - VOTE_OPTION_YES 13371 - VOTE_OPTION_ABSTAIN 13372 - VOTE_OPTION_NO 13373 - VOTE_OPTION_NO_WITH_VETO 13374 default: VOTE_OPTION_UNSPECIFIED 13375 description: >- 13376 VoteOption enumerates the valid vote options for a 13377 given governance proposal. 13378 13379 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 13380 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 13381 - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. 13382 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 13383 - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. 13384 weight: 13385 type: string 13386 description: >- 13387 WeightedVoteOption defines a unit of vote for vote 13388 split. 13389 13390 13391 Since: cosmos-sdk 0.43 13392 title: 'Since: cosmos-sdk 0.43' 13393 description: >- 13394 Vote defines a vote on a governance proposal. 13395 13396 A Vote consists of a proposal ID, the voter, and the vote 13397 option. 13398 description: votes defined the queried votes. 13399 pagination: 13400 description: pagination defines the pagination in the response. 13401 type: object 13402 properties: 13403 next_key: 13404 type: string 13405 format: byte 13406 title: |- 13407 next_key is the key to be passed to PageRequest.key to 13408 query the next page most efficiently 13409 total: 13410 type: string 13411 format: uint64 13412 title: >- 13413 total is total number of results available if 13414 PageRequest.count_total 13415 13416 was set, its value is undefined otherwise 13417 description: >- 13418 QueryVotesResponse is the response type for the Query/Votes RPC 13419 method. 13420 default: 13421 description: An unexpected error response 13422 schema: 13423 type: object 13424 properties: 13425 error: 13426 type: string 13427 code: 13428 type: integer 13429 format: int32 13430 message: 13431 type: string 13432 details: 13433 type: array 13434 items: 13435 type: object 13436 properties: 13437 type_url: 13438 type: string 13439 description: >- 13440 A URL/resource name that uniquely identifies the type of 13441 the serialized 13442 13443 protocol buffer message. This string must contain at 13444 least 13445 13446 one "/" character. The last segment of the URL's path 13447 must represent 13448 13449 the fully qualified name of the type (as in 13450 13451 `path/google.protobuf.Duration`). The name should be in 13452 a canonical form 13453 13454 (e.g., leading "." is not accepted). 13455 13456 13457 In practice, teams usually precompile into the binary 13458 all types that they 13459 13460 expect it to use in the context of Any. However, for 13461 URLs which use the 13462 13463 scheme `http`, `https`, or no scheme, one can optionally 13464 set up a type 13465 13466 server that maps type URLs to message definitions as 13467 follows: 13468 13469 13470 * If no scheme is provided, `https` is assumed. 13471 13472 * An HTTP GET on the URL must yield a 13473 [google.protobuf.Type][] 13474 value in binary format, or produce an error. 13475 * Applications are allowed to cache lookup results based 13476 on the 13477 URL, or have them precompiled into a binary to avoid any 13478 lookup. Therefore, binary compatibility needs to be preserved 13479 on changes to types. (Use versioned type names to manage 13480 breaking changes.) 13481 13482 Note: this functionality is not currently available in 13483 the official 13484 13485 protobuf release, and it is not used for type URLs 13486 beginning with 13487 13488 type.googleapis.com. 13489 13490 13491 Schemes other than `http`, `https` (or the empty scheme) 13492 might be 13493 13494 used with implementation specific semantics. 13495 value: 13496 type: string 13497 format: byte 13498 description: >- 13499 Must be a valid serialized protocol buffer of the above 13500 specified type. 13501 description: >- 13502 `Any` contains an arbitrary serialized protocol buffer 13503 message along with a 13504 13505 URL that describes the type of the serialized message. 13506 13507 13508 Protobuf library provides support to pack/unpack Any values 13509 in the form 13510 13511 of utility functions or additional generated methods of the 13512 Any type. 13513 13514 13515 Example 1: Pack and unpack a message in C++. 13516 13517 Foo foo = ...; 13518 Any any; 13519 any.PackFrom(foo); 13520 ... 13521 if (any.UnpackTo(&foo)) { 13522 ... 13523 } 13524 13525 Example 2: Pack and unpack a message in Java. 13526 13527 Foo foo = ...; 13528 Any any = Any.pack(foo); 13529 ... 13530 if (any.is(Foo.class)) { 13531 foo = any.unpack(Foo.class); 13532 } 13533 13534 Example 3: Pack and unpack a message in Python. 13535 13536 foo = Foo(...) 13537 any = Any() 13538 any.Pack(foo) 13539 ... 13540 if any.Is(Foo.DESCRIPTOR): 13541 any.Unpack(foo) 13542 ... 13543 13544 Example 4: Pack and unpack a message in Go 13545 13546 foo := &pb.Foo{...} 13547 any, err := ptypes.MarshalAny(foo) 13548 ... 13549 foo := &pb.Foo{} 13550 if err := ptypes.UnmarshalAny(any, foo); err != nil { 13551 ... 13552 } 13553 13554 The pack methods provided by protobuf library will by 13555 default use 13556 13557 'type.googleapis.com/full.type.name' as the type URL and the 13558 unpack 13559 13560 methods only use the fully qualified type name after the 13561 last '/' 13562 13563 in the type URL, for example "foo.bar.com/x/y.z" will yield 13564 type 13565 13566 name "y.z". 13567 13568 13569 13570 JSON 13571 13572 ==== 13573 13574 The JSON representation of an `Any` value uses the regular 13575 13576 representation of the deserialized, embedded message, with 13577 an 13578 13579 additional field `@type` which contains the type URL. 13580 Example: 13581 13582 package google.profile; 13583 message Person { 13584 string first_name = 1; 13585 string last_name = 2; 13586 } 13587 13588 { 13589 "@type": "type.googleapis.com/google.profile.Person", 13590 "firstName": <string>, 13591 "lastName": <string> 13592 } 13593 13594 If the embedded message type is well-known and has a custom 13595 JSON 13596 13597 representation, that representation will be embedded adding 13598 a field 13599 13600 `value` which holds the custom JSON in addition to the 13601 `@type` 13602 13603 field. Example (for message [google.protobuf.Duration][]): 13604 13605 { 13606 "@type": "type.googleapis.com/google.protobuf.Duration", 13607 "value": "1.212s" 13608 } 13609 parameters: 13610 - name: proposal_id 13611 description: proposal_id defines the unique id of the proposal. 13612 in: path 13613 required: true 13614 type: string 13615 format: uint64 13616 - name: pagination.key 13617 description: |- 13618 key is a value returned in PageResponse.next_key to begin 13619 querying the next page most efficiently. Only one of offset or key 13620 should be set. 13621 in: query 13622 required: false 13623 type: string 13624 format: byte 13625 - name: pagination.offset 13626 description: >- 13627 offset is a numeric offset that can be used when key is unavailable. 13628 13629 It is less efficient than using key. Only one of offset or key 13630 should 13631 13632 be set. 13633 in: query 13634 required: false 13635 type: string 13636 format: uint64 13637 - name: pagination.limit 13638 description: >- 13639 limit is the total number of results to be returned in the result 13640 page. 13641 13642 If left empty it will default to a value to be set by each app. 13643 in: query 13644 required: false 13645 type: string 13646 format: uint64 13647 - name: pagination.count_total 13648 description: >- 13649 count_total is set to true to indicate that the result set should 13650 include 13651 13652 a count of the total number of items available for pagination in 13653 UIs. 13654 13655 count_total is only respected when offset is used. It is ignored 13656 when key 13657 13658 is set. 13659 in: query 13660 required: false 13661 type: boolean 13662 format: boolean 13663 - name: pagination.reverse 13664 description: >- 13665 reverse is set to true if results are to be returned in the 13666 descending order. 13667 13668 13669 Since: cosmos-sdk 0.43 13670 in: query 13671 required: false 13672 type: boolean 13673 format: boolean 13674 tags: 13675 - Query 13676 '/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}': 13677 get: 13678 summary: 'Vote queries voted information based on proposalID, voterAddr.' 13679 operationId: Vote 13680 responses: 13681 '200': 13682 description: A successful response. 13683 schema: 13684 type: object 13685 properties: 13686 vote: 13687 type: object 13688 properties: 13689 proposal_id: 13690 type: string 13691 format: uint64 13692 voter: 13693 type: string 13694 option: 13695 description: >- 13696 Deprecated: Prefer to use `options` instead. This field is 13697 set in queries 13698 13699 if and only if `len(options) == 1` and that option has 13700 weight 1. In all 13701 13702 other cases, this field will default to 13703 VOTE_OPTION_UNSPECIFIED. 13704 type: string 13705 enum: 13706 - VOTE_OPTION_UNSPECIFIED 13707 - VOTE_OPTION_YES 13708 - VOTE_OPTION_ABSTAIN 13709 - VOTE_OPTION_NO 13710 - VOTE_OPTION_NO_WITH_VETO 13711 default: VOTE_OPTION_UNSPECIFIED 13712 options: 13713 type: array 13714 items: 13715 type: object 13716 properties: 13717 option: 13718 type: string 13719 enum: 13720 - VOTE_OPTION_UNSPECIFIED 13721 - VOTE_OPTION_YES 13722 - VOTE_OPTION_ABSTAIN 13723 - VOTE_OPTION_NO 13724 - VOTE_OPTION_NO_WITH_VETO 13725 default: VOTE_OPTION_UNSPECIFIED 13726 description: >- 13727 VoteOption enumerates the valid vote options for a 13728 given governance proposal. 13729 13730 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 13731 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 13732 - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. 13733 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 13734 - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. 13735 weight: 13736 type: string 13737 description: >- 13738 WeightedVoteOption defines a unit of vote for vote 13739 split. 13740 13741 13742 Since: cosmos-sdk 0.43 13743 title: 'Since: cosmos-sdk 0.43' 13744 description: >- 13745 Vote defines a vote on a governance proposal. 13746 13747 A Vote consists of a proposal ID, the voter, and the vote 13748 option. 13749 description: >- 13750 QueryVoteResponse is the response type for the Query/Vote RPC 13751 method. 13752 default: 13753 description: An unexpected error response 13754 schema: 13755 type: object 13756 properties: 13757 error: 13758 type: string 13759 code: 13760 type: integer 13761 format: int32 13762 message: 13763 type: string 13764 details: 13765 type: array 13766 items: 13767 type: object 13768 properties: 13769 type_url: 13770 type: string 13771 description: >- 13772 A URL/resource name that uniquely identifies the type of 13773 the serialized 13774 13775 protocol buffer message. This string must contain at 13776 least 13777 13778 one "/" character. The last segment of the URL's path 13779 must represent 13780 13781 the fully qualified name of the type (as in 13782 13783 `path/google.protobuf.Duration`). The name should be in 13784 a canonical form 13785 13786 (e.g., leading "." is not accepted). 13787 13788 13789 In practice, teams usually precompile into the binary 13790 all types that they 13791 13792 expect it to use in the context of Any. However, for 13793 URLs which use the 13794 13795 scheme `http`, `https`, or no scheme, one can optionally 13796 set up a type 13797 13798 server that maps type URLs to message definitions as 13799 follows: 13800 13801 13802 * If no scheme is provided, `https` is assumed. 13803 13804 * An HTTP GET on the URL must yield a 13805 [google.protobuf.Type][] 13806 value in binary format, or produce an error. 13807 * Applications are allowed to cache lookup results based 13808 on the 13809 URL, or have them precompiled into a binary to avoid any 13810 lookup. Therefore, binary compatibility needs to be preserved 13811 on changes to types. (Use versioned type names to manage 13812 breaking changes.) 13813 13814 Note: this functionality is not currently available in 13815 the official 13816 13817 protobuf release, and it is not used for type URLs 13818 beginning with 13819 13820 type.googleapis.com. 13821 13822 13823 Schemes other than `http`, `https` (or the empty scheme) 13824 might be 13825 13826 used with implementation specific semantics. 13827 value: 13828 type: string 13829 format: byte 13830 description: >- 13831 Must be a valid serialized protocol buffer of the above 13832 specified type. 13833 description: >- 13834 `Any` contains an arbitrary serialized protocol buffer 13835 message along with a 13836 13837 URL that describes the type of the serialized message. 13838 13839 13840 Protobuf library provides support to pack/unpack Any values 13841 in the form 13842 13843 of utility functions or additional generated methods of the 13844 Any type. 13845 13846 13847 Example 1: Pack and unpack a message in C++. 13848 13849 Foo foo = ...; 13850 Any any; 13851 any.PackFrom(foo); 13852 ... 13853 if (any.UnpackTo(&foo)) { 13854 ... 13855 } 13856 13857 Example 2: Pack and unpack a message in Java. 13858 13859 Foo foo = ...; 13860 Any any = Any.pack(foo); 13861 ... 13862 if (any.is(Foo.class)) { 13863 foo = any.unpack(Foo.class); 13864 } 13865 13866 Example 3: Pack and unpack a message in Python. 13867 13868 foo = Foo(...) 13869 any = Any() 13870 any.Pack(foo) 13871 ... 13872 if any.Is(Foo.DESCRIPTOR): 13873 any.Unpack(foo) 13874 ... 13875 13876 Example 4: Pack and unpack a message in Go 13877 13878 foo := &pb.Foo{...} 13879 any, err := ptypes.MarshalAny(foo) 13880 ... 13881 foo := &pb.Foo{} 13882 if err := ptypes.UnmarshalAny(any, foo); err != nil { 13883 ... 13884 } 13885 13886 The pack methods provided by protobuf library will by 13887 default use 13888 13889 'type.googleapis.com/full.type.name' as the type URL and the 13890 unpack 13891 13892 methods only use the fully qualified type name after the 13893 last '/' 13894 13895 in the type URL, for example "foo.bar.com/x/y.z" will yield 13896 type 13897 13898 name "y.z". 13899 13900 13901 13902 JSON 13903 13904 ==== 13905 13906 The JSON representation of an `Any` value uses the regular 13907 13908 representation of the deserialized, embedded message, with 13909 an 13910 13911 additional field `@type` which contains the type URL. 13912 Example: 13913 13914 package google.profile; 13915 message Person { 13916 string first_name = 1; 13917 string last_name = 2; 13918 } 13919 13920 { 13921 "@type": "type.googleapis.com/google.profile.Person", 13922 "firstName": <string>, 13923 "lastName": <string> 13924 } 13925 13926 If the embedded message type is well-known and has a custom 13927 JSON 13928 13929 representation, that representation will be embedded adding 13930 a field 13931 13932 `value` which holds the custom JSON in addition to the 13933 `@type` 13934 13935 field. Example (for message [google.protobuf.Duration][]): 13936 13937 { 13938 "@type": "type.googleapis.com/google.protobuf.Duration", 13939 "value": "1.212s" 13940 } 13941 parameters: 13942 - name: proposal_id 13943 description: proposal_id defines the unique id of the proposal. 13944 in: path 13945 required: true 13946 type: string 13947 format: uint64 13948 - name: voter 13949 description: voter defines the oter address for the proposals. 13950 in: path 13951 required: true 13952 type: string 13953 tags: 13954 - Query 13955 /cosmos/mint/v1beta1/annual_provisions: 13956 get: 13957 summary: AnnualProvisions current minting annual provisions value. 13958 operationId: AnnualProvisions 13959 responses: 13960 '200': 13961 description: A successful response. 13962 schema: 13963 type: object 13964 properties: 13965 annual_provisions: 13966 type: string 13967 format: byte 13968 description: >- 13969 annual_provisions is the current minting annual provisions 13970 value. 13971 description: |- 13972 QueryAnnualProvisionsResponse is the response type for the 13973 Query/AnnualProvisions RPC method. 13974 default: 13975 description: An unexpected error response 13976 schema: 13977 type: object 13978 properties: 13979 error: 13980 type: string 13981 code: 13982 type: integer 13983 format: int32 13984 message: 13985 type: string 13986 details: 13987 type: array 13988 items: 13989 type: object 13990 properties: 13991 type_url: 13992 type: string 13993 value: 13994 type: string 13995 format: byte 13996 tags: 13997 - Query 13998 /cosmos/mint/v1beta1/inflation: 13999 get: 14000 summary: Inflation returns the current minting inflation value. 14001 operationId: Inflation 14002 responses: 14003 '200': 14004 description: A successful response. 14005 schema: 14006 type: object 14007 properties: 14008 inflation: 14009 type: string 14010 format: byte 14011 description: inflation is the current minting inflation value. 14012 description: >- 14013 QueryInflationResponse is the response type for the 14014 Query/Inflation RPC 14015 14016 method. 14017 default: 14018 description: An unexpected error response 14019 schema: 14020 type: object 14021 properties: 14022 error: 14023 type: string 14024 code: 14025 type: integer 14026 format: int32 14027 message: 14028 type: string 14029 details: 14030 type: array 14031 items: 14032 type: object 14033 properties: 14034 type_url: 14035 type: string 14036 value: 14037 type: string 14038 format: byte 14039 tags: 14040 - Query 14041 /cosmos/mint/v1beta1/params: 14042 get: 14043 summary: Params returns the total set of minting parameters. 14044 operationId: MintParams 14045 responses: 14046 '200': 14047 description: A successful response. 14048 schema: 14049 type: object 14050 properties: 14051 params: 14052 description: params defines the parameters of the module. 14053 type: object 14054 properties: 14055 mint_denom: 14056 type: string 14057 title: type of coin to mint 14058 inflation_rate_change: 14059 type: string 14060 title: maximum annual change in inflation rate 14061 inflation_max: 14062 type: string 14063 title: maximum inflation rate 14064 inflation_min: 14065 type: string 14066 title: minimum inflation rate 14067 goal_bonded: 14068 type: string 14069 title: goal of percent bonded atoms 14070 blocks_per_year: 14071 type: string 14072 format: uint64 14073 title: expected blocks per year 14074 description: >- 14075 QueryParamsResponse is the response type for the Query/Params RPC 14076 method. 14077 default: 14078 description: An unexpected error response 14079 schema: 14080 type: object 14081 properties: 14082 error: 14083 type: string 14084 code: 14085 type: integer 14086 format: int32 14087 message: 14088 type: string 14089 details: 14090 type: array 14091 items: 14092 type: object 14093 properties: 14094 type_url: 14095 type: string 14096 value: 14097 type: string 14098 format: byte 14099 tags: 14100 - Query 14101 /cosmos/params/v1beta1/params: 14102 get: 14103 summary: |- 14104 Params queries a specific parameter of a module, given its subspace and 14105 key. 14106 operationId: Params 14107 responses: 14108 '200': 14109 description: A successful response. 14110 schema: 14111 type: object 14112 properties: 14113 param: 14114 description: param defines the queried parameter. 14115 type: object 14116 properties: 14117 subspace: 14118 type: string 14119 key: 14120 type: string 14121 value: 14122 type: string 14123 description: >- 14124 QueryParamsResponse is response type for the Query/Params RPC 14125 method. 14126 default: 14127 description: An unexpected error response 14128 schema: 14129 type: object 14130 properties: 14131 error: 14132 type: string 14133 code: 14134 type: integer 14135 format: int32 14136 message: 14137 type: string 14138 details: 14139 type: array 14140 items: 14141 type: object 14142 properties: 14143 type_url: 14144 type: string 14145 value: 14146 type: string 14147 format: byte 14148 parameters: 14149 - name: subspace 14150 description: subspace defines the module to query the parameter for. 14151 in: query 14152 required: false 14153 type: string 14154 - name: key 14155 description: key defines the key of the parameter in the subspace. 14156 in: query 14157 required: false 14158 type: string 14159 tags: 14160 - Query 14161 /cosmos/slashing/v1beta1/params: 14162 get: 14163 summary: Params queries the parameters of slashing module 14164 operationId: SlashingParams 14165 responses: 14166 '200': 14167 description: A successful response. 14168 schema: 14169 type: object 14170 properties: 14171 params: 14172 type: object 14173 properties: 14174 signed_blocks_window: 14175 type: string 14176 format: int64 14177 min_signed_per_window: 14178 type: string 14179 format: byte 14180 downtime_jail_duration: 14181 type: string 14182 slash_fraction_double_sign: 14183 type: string 14184 format: byte 14185 slash_fraction_downtime: 14186 type: string 14187 format: byte 14188 description: >- 14189 Params represents the parameters used for by the slashing 14190 module. 14191 title: >- 14192 QueryParamsResponse is the response type for the Query/Params RPC 14193 method 14194 default: 14195 description: An unexpected error response 14196 schema: 14197 type: object 14198 properties: 14199 error: 14200 type: string 14201 code: 14202 type: integer 14203 format: int32 14204 message: 14205 type: string 14206 details: 14207 type: array 14208 items: 14209 type: object 14210 properties: 14211 type_url: 14212 type: string 14213 value: 14214 type: string 14215 format: byte 14216 tags: 14217 - Query 14218 /cosmos/slashing/v1beta1/signing_infos: 14219 get: 14220 summary: SigningInfos queries signing info of all validators 14221 operationId: SigningInfos 14222 responses: 14223 '200': 14224 description: A successful response. 14225 schema: 14226 type: object 14227 properties: 14228 info: 14229 type: array 14230 items: 14231 type: object 14232 properties: 14233 address: 14234 type: string 14235 start_height: 14236 type: string 14237 format: int64 14238 title: >- 14239 Height at which validator was first a candidate OR was 14240 unjailed 14241 index_offset: 14242 type: string 14243 format: int64 14244 description: >- 14245 Index which is incremented each time the validator was a 14246 bonded 14247 14248 in a block and may have signed a precommit or not. This 14249 in conjunction with the 14250 14251 `SignedBlocksWindow` param determines the index in the 14252 `MissedBlocksBitArray`. 14253 jailed_until: 14254 type: string 14255 format: date-time 14256 description: >- 14257 Timestamp until which the validator is jailed due to 14258 liveness downtime. 14259 tombstoned: 14260 type: boolean 14261 format: boolean 14262 description: >- 14263 Whether or not a validator has been tombstoned (killed 14264 out of validator set). It is set 14265 14266 once the validator commits an equivocation or for any 14267 other configured misbehiavor. 14268 missed_blocks_counter: 14269 type: string 14270 format: int64 14271 description: >- 14272 A counter kept to avoid unnecessary array reads. 14273 14274 Note that `Sum(MissedBlocksBitArray)` always equals 14275 `MissedBlocksCounter`. 14276 description: >- 14277 ValidatorSigningInfo defines a validator's signing info for 14278 monitoring their 14279 14280 liveness activity. 14281 title: info is the signing info of all validators 14282 pagination: 14283 type: object 14284 properties: 14285 next_key: 14286 type: string 14287 format: byte 14288 title: |- 14289 next_key is the key to be passed to PageRequest.key to 14290 query the next page most efficiently 14291 total: 14292 type: string 14293 format: uint64 14294 title: >- 14295 total is total number of results available if 14296 PageRequest.count_total 14297 14298 was set, its value is undefined otherwise 14299 description: >- 14300 PageResponse is to be embedded in gRPC response messages where 14301 the 14302 14303 corresponding request message has used PageRequest. 14304 14305 message SomeResponse { 14306 repeated Bar results = 1; 14307 PageResponse page = 2; 14308 } 14309 title: >- 14310 QuerySigningInfosResponse is the response type for the 14311 Query/SigningInfos RPC 14312 14313 method 14314 default: 14315 description: An unexpected error response 14316 schema: 14317 type: object 14318 properties: 14319 error: 14320 type: string 14321 code: 14322 type: integer 14323 format: int32 14324 message: 14325 type: string 14326 details: 14327 type: array 14328 items: 14329 type: object 14330 properties: 14331 type_url: 14332 type: string 14333 value: 14334 type: string 14335 format: byte 14336 parameters: 14337 - name: pagination.key 14338 description: |- 14339 key is a value returned in PageResponse.next_key to begin 14340 querying the next page most efficiently. Only one of offset or key 14341 should be set. 14342 in: query 14343 required: false 14344 type: string 14345 format: byte 14346 - name: pagination.offset 14347 description: >- 14348 offset is a numeric offset that can be used when key is unavailable. 14349 14350 It is less efficient than using key. Only one of offset or key 14351 should 14352 14353 be set. 14354 in: query 14355 required: false 14356 type: string 14357 format: uint64 14358 - name: pagination.limit 14359 description: >- 14360 limit is the total number of results to be returned in the result 14361 page. 14362 14363 If left empty it will default to a value to be set by each app. 14364 in: query 14365 required: false 14366 type: string 14367 format: uint64 14368 - name: pagination.count_total 14369 description: >- 14370 count_total is set to true to indicate that the result set should 14371 include 14372 14373 a count of the total number of items available for pagination in 14374 UIs. 14375 14376 count_total is only respected when offset is used. It is ignored 14377 when key 14378 14379 is set. 14380 in: query 14381 required: false 14382 type: boolean 14383 format: boolean 14384 - name: pagination.reverse 14385 description: >- 14386 reverse is set to true if results are to be returned in the 14387 descending order. 14388 14389 14390 Since: cosmos-sdk 0.43 14391 in: query 14392 required: false 14393 type: boolean 14394 format: boolean 14395 tags: 14396 - Query 14397 '/cosmos/slashing/v1beta1/signing_infos/{cons_address}': 14398 get: 14399 summary: SigningInfo queries the signing info of given cons address 14400 operationId: SigningInfo 14401 responses: 14402 '200': 14403 description: A successful response. 14404 schema: 14405 type: object 14406 properties: 14407 val_signing_info: 14408 type: object 14409 properties: 14410 address: 14411 type: string 14412 start_height: 14413 type: string 14414 format: int64 14415 title: >- 14416 Height at which validator was first a candidate OR was 14417 unjailed 14418 index_offset: 14419 type: string 14420 format: int64 14421 description: >- 14422 Index which is incremented each time the validator was a 14423 bonded 14424 14425 in a block and may have signed a precommit or not. This in 14426 conjunction with the 14427 14428 `SignedBlocksWindow` param determines the index in the 14429 `MissedBlocksBitArray`. 14430 jailed_until: 14431 type: string 14432 format: date-time 14433 description: >- 14434 Timestamp until which the validator is jailed due to 14435 liveness downtime. 14436 tombstoned: 14437 type: boolean 14438 format: boolean 14439 description: >- 14440 Whether or not a validator has been tombstoned (killed out 14441 of validator set). It is set 14442 14443 once the validator commits an equivocation or for any 14444 other configured misbehiavor. 14445 missed_blocks_counter: 14446 type: string 14447 format: int64 14448 description: >- 14449 A counter kept to avoid unnecessary array reads. 14450 14451 Note that `Sum(MissedBlocksBitArray)` always equals 14452 `MissedBlocksCounter`. 14453 description: >- 14454 ValidatorSigningInfo defines a validator's signing info for 14455 monitoring their 14456 14457 liveness activity. 14458 title: >- 14459 val_signing_info is the signing info of requested val cons 14460 address 14461 title: >- 14462 QuerySigningInfoResponse is the response type for the 14463 Query/SigningInfo RPC 14464 14465 method 14466 default: 14467 description: An unexpected error response 14468 schema: 14469 type: object 14470 properties: 14471 error: 14472 type: string 14473 code: 14474 type: integer 14475 format: int32 14476 message: 14477 type: string 14478 details: 14479 type: array 14480 items: 14481 type: object 14482 properties: 14483 type_url: 14484 type: string 14485 value: 14486 type: string 14487 format: byte 14488 parameters: 14489 - name: cons_address 14490 description: cons_address is the address to query signing info of 14491 in: path 14492 required: true 14493 type: string 14494 tags: 14495 - Query 14496 '/cosmos/staking/v1beta1/delegations/{delegator_addr}': 14497 get: 14498 summary: >- 14499 DelegatorDelegations queries all delegations of a given delegator 14500 address. 14501 operationId: DelegatorDelegations 14502 responses: 14503 '200': 14504 description: A successful response. 14505 schema: 14506 type: object 14507 properties: 14508 delegation_responses: 14509 type: array 14510 items: 14511 type: object 14512 properties: 14513 delegation: 14514 type: object 14515 properties: 14516 delegator_address: 14517 type: string 14518 description: >- 14519 delegator_address is the bech32-encoded address of 14520 the delegator. 14521 validator_address: 14522 type: string 14523 description: >- 14524 validator_address is the bech32-encoded address of 14525 the validator. 14526 shares: 14527 type: string 14528 description: shares define the delegation shares received. 14529 description: >- 14530 Delegation represents the bond with tokens held by an 14531 account. It is 14532 14533 owned by one delegator, and is associated with the 14534 voting power of one 14535 14536 validator. 14537 balance: 14538 type: object 14539 properties: 14540 denom: 14541 type: string 14542 amount: 14543 type: string 14544 description: >- 14545 Coin defines a token with a denomination and an amount. 14546 14547 14548 NOTE: The amount field is an Int which implements the 14549 custom method 14550 14551 signatures required by gogoproto. 14552 description: >- 14553 DelegationResponse is equivalent to Delegation except that 14554 it contains a 14555 14556 balance in addition to shares which is more suitable for 14557 client responses. 14558 description: >- 14559 delegation_responses defines all the delegations' info of a 14560 delegator. 14561 pagination: 14562 description: pagination defines the pagination in the response. 14563 type: object 14564 properties: 14565 next_key: 14566 type: string 14567 format: byte 14568 title: |- 14569 next_key is the key to be passed to PageRequest.key to 14570 query the next page most efficiently 14571 total: 14572 type: string 14573 format: uint64 14574 title: >- 14575 total is total number of results available if 14576 PageRequest.count_total 14577 14578 was set, its value is undefined otherwise 14579 description: |- 14580 QueryDelegatorDelegationsResponse is response type for the 14581 Query/DelegatorDelegations RPC method. 14582 default: 14583 description: An unexpected error response 14584 schema: 14585 type: object 14586 properties: 14587 error: 14588 type: string 14589 code: 14590 type: integer 14591 format: int32 14592 message: 14593 type: string 14594 details: 14595 type: array 14596 items: 14597 type: object 14598 properties: 14599 type_url: 14600 type: string 14601 description: >- 14602 A URL/resource name that uniquely identifies the type of 14603 the serialized 14604 14605 protocol buffer message. This string must contain at 14606 least 14607 14608 one "/" character. The last segment of the URL's path 14609 must represent 14610 14611 the fully qualified name of the type (as in 14612 14613 `path/google.protobuf.Duration`). The name should be in 14614 a canonical form 14615 14616 (e.g., leading "." is not accepted). 14617 14618 14619 In practice, teams usually precompile into the binary 14620 all types that they 14621 14622 expect it to use in the context of Any. However, for 14623 URLs which use the 14624 14625 scheme `http`, `https`, or no scheme, one can optionally 14626 set up a type 14627 14628 server that maps type URLs to message definitions as 14629 follows: 14630 14631 14632 * If no scheme is provided, `https` is assumed. 14633 14634 * An HTTP GET on the URL must yield a 14635 [google.protobuf.Type][] 14636 value in binary format, or produce an error. 14637 * Applications are allowed to cache lookup results based 14638 on the 14639 URL, or have them precompiled into a binary to avoid any 14640 lookup. Therefore, binary compatibility needs to be preserved 14641 on changes to types. (Use versioned type names to manage 14642 breaking changes.) 14643 14644 Note: this functionality is not currently available in 14645 the official 14646 14647 protobuf release, and it is not used for type URLs 14648 beginning with 14649 14650 type.googleapis.com. 14651 14652 14653 Schemes other than `http`, `https` (or the empty scheme) 14654 might be 14655 14656 used with implementation specific semantics. 14657 value: 14658 type: string 14659 format: byte 14660 description: >- 14661 Must be a valid serialized protocol buffer of the above 14662 specified type. 14663 description: >- 14664 `Any` contains an arbitrary serialized protocol buffer 14665 message along with a 14666 14667 URL that describes the type of the serialized message. 14668 14669 14670 Protobuf library provides support to pack/unpack Any values 14671 in the form 14672 14673 of utility functions or additional generated methods of the 14674 Any type. 14675 14676 14677 Example 1: Pack and unpack a message in C++. 14678 14679 Foo foo = ...; 14680 Any any; 14681 any.PackFrom(foo); 14682 ... 14683 if (any.UnpackTo(&foo)) { 14684 ... 14685 } 14686 14687 Example 2: Pack and unpack a message in Java. 14688 14689 Foo foo = ...; 14690 Any any = Any.pack(foo); 14691 ... 14692 if (any.is(Foo.class)) { 14693 foo = any.unpack(Foo.class); 14694 } 14695 14696 Example 3: Pack and unpack a message in Python. 14697 14698 foo = Foo(...) 14699 any = Any() 14700 any.Pack(foo) 14701 ... 14702 if any.Is(Foo.DESCRIPTOR): 14703 any.Unpack(foo) 14704 ... 14705 14706 Example 4: Pack and unpack a message in Go 14707 14708 foo := &pb.Foo{...} 14709 any, err := ptypes.MarshalAny(foo) 14710 ... 14711 foo := &pb.Foo{} 14712 if err := ptypes.UnmarshalAny(any, foo); err != nil { 14713 ... 14714 } 14715 14716 The pack methods provided by protobuf library will by 14717 default use 14718 14719 'type.googleapis.com/full.type.name' as the type URL and the 14720 unpack 14721 14722 methods only use the fully qualified type name after the 14723 last '/' 14724 14725 in the type URL, for example "foo.bar.com/x/y.z" will yield 14726 type 14727 14728 name "y.z". 14729 14730 14731 14732 JSON 14733 14734 ==== 14735 14736 The JSON representation of an `Any` value uses the regular 14737 14738 representation of the deserialized, embedded message, with 14739 an 14740 14741 additional field `@type` which contains the type URL. 14742 Example: 14743 14744 package google.profile; 14745 message Person { 14746 string first_name = 1; 14747 string last_name = 2; 14748 } 14749 14750 { 14751 "@type": "type.googleapis.com/google.profile.Person", 14752 "firstName": <string>, 14753 "lastName": <string> 14754 } 14755 14756 If the embedded message type is well-known and has a custom 14757 JSON 14758 14759 representation, that representation will be embedded adding 14760 a field 14761 14762 `value` which holds the custom JSON in addition to the 14763 `@type` 14764 14765 field. Example (for message [google.protobuf.Duration][]): 14766 14767 { 14768 "@type": "type.googleapis.com/google.protobuf.Duration", 14769 "value": "1.212s" 14770 } 14771 parameters: 14772 - name: delegator_addr 14773 description: delegator_addr defines the delegator address to query for. 14774 in: path 14775 required: true 14776 type: string 14777 - name: pagination.key 14778 description: |- 14779 key is a value returned in PageResponse.next_key to begin 14780 querying the next page most efficiently. Only one of offset or key 14781 should be set. 14782 in: query 14783 required: false 14784 type: string 14785 format: byte 14786 - name: pagination.offset 14787 description: >- 14788 offset is a numeric offset that can be used when key is unavailable. 14789 14790 It is less efficient than using key. Only one of offset or key 14791 should 14792 14793 be set. 14794 in: query 14795 required: false 14796 type: string 14797 format: uint64 14798 - name: pagination.limit 14799 description: >- 14800 limit is the total number of results to be returned in the result 14801 page. 14802 14803 If left empty it will default to a value to be set by each app. 14804 in: query 14805 required: false 14806 type: string 14807 format: uint64 14808 - name: pagination.count_total 14809 description: >- 14810 count_total is set to true to indicate that the result set should 14811 include 14812 14813 a count of the total number of items available for pagination in 14814 UIs. 14815 14816 count_total is only respected when offset is used. It is ignored 14817 when key 14818 14819 is set. 14820 in: query 14821 required: false 14822 type: boolean 14823 format: boolean 14824 - name: pagination.reverse 14825 description: >- 14826 reverse is set to true if results are to be returned in the 14827 descending order. 14828 14829 14830 Since: cosmos-sdk 0.43 14831 in: query 14832 required: false 14833 type: boolean 14834 format: boolean 14835 tags: 14836 - Query 14837 '/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations': 14838 get: 14839 summary: Redelegations queries redelegations of given address. 14840 operationId: Redelegations 14841 responses: 14842 '200': 14843 description: A successful response. 14844 schema: 14845 type: object 14846 properties: 14847 redelegation_responses: 14848 type: array 14849 items: 14850 type: object 14851 properties: 14852 redelegation: 14853 type: object 14854 properties: 14855 delegator_address: 14856 type: string 14857 description: >- 14858 delegator_address is the bech32-encoded address of 14859 the delegator. 14860 validator_src_address: 14861 type: string 14862 description: >- 14863 validator_src_address is the validator redelegation 14864 source operator address. 14865 validator_dst_address: 14866 type: string 14867 description: >- 14868 validator_dst_address is the validator redelegation 14869 destination operator address. 14870 entries: 14871 type: array 14872 items: 14873 type: object 14874 properties: 14875 creation_height: 14876 type: string 14877 format: int64 14878 description: >- 14879 creation_height defines the height which the 14880 redelegation took place. 14881 completion_time: 14882 type: string 14883 format: date-time 14884 description: >- 14885 completion_time defines the unix time for 14886 redelegation completion. 14887 initial_balance: 14888 type: string 14889 description: >- 14890 initial_balance defines the initial balance 14891 when redelegation started. 14892 shares_dst: 14893 type: string 14894 description: >- 14895 shares_dst is the amount of 14896 destination-validator shares created by 14897 redelegation. 14898 description: >- 14899 RedelegationEntry defines a redelegation object 14900 with relevant metadata. 14901 description: entries are the redelegation entries. 14902 description: >- 14903 Redelegation contains the list of a particular 14904 delegator's redelegating bonds 14905 14906 from a particular source validator to a particular 14907 destination validator. 14908 entries: 14909 type: array 14910 items: 14911 type: object 14912 properties: 14913 redelegation_entry: 14914 type: object 14915 properties: 14916 creation_height: 14917 type: string 14918 format: int64 14919 description: >- 14920 creation_height defines the height which the 14921 redelegation took place. 14922 completion_time: 14923 type: string 14924 format: date-time 14925 description: >- 14926 completion_time defines the unix time for 14927 redelegation completion. 14928 initial_balance: 14929 type: string 14930 description: >- 14931 initial_balance defines the initial balance 14932 when redelegation started. 14933 shares_dst: 14934 type: string 14935 description: >- 14936 shares_dst is the amount of 14937 destination-validator shares created by 14938 redelegation. 14939 description: >- 14940 RedelegationEntry defines a redelegation object 14941 with relevant metadata. 14942 balance: 14943 type: string 14944 description: >- 14945 RedelegationEntryResponse is equivalent to a 14946 RedelegationEntry except that it 14947 14948 contains a balance in addition to shares which is more 14949 suitable for client 14950 14951 responses. 14952 description: >- 14953 RedelegationResponse is equivalent to a Redelegation except 14954 that its entries 14955 14956 contain a balance in addition to shares which is more 14957 suitable for client 14958 14959 responses. 14960 pagination: 14961 description: pagination defines the pagination in the response. 14962 type: object 14963 properties: 14964 next_key: 14965 type: string 14966 format: byte 14967 title: |- 14968 next_key is the key to be passed to PageRequest.key to 14969 query the next page most efficiently 14970 total: 14971 type: string 14972 format: uint64 14973 title: >- 14974 total is total number of results available if 14975 PageRequest.count_total 14976 14977 was set, its value is undefined otherwise 14978 description: >- 14979 QueryRedelegationsResponse is response type for the 14980 Query/Redelegations RPC 14981 14982 method. 14983 default: 14984 description: An unexpected error response 14985 schema: 14986 type: object 14987 properties: 14988 error: 14989 type: string 14990 code: 14991 type: integer 14992 format: int32 14993 message: 14994 type: string 14995 details: 14996 type: array 14997 items: 14998 type: object 14999 properties: 15000 type_url: 15001 type: string 15002 description: >- 15003 A URL/resource name that uniquely identifies the type of 15004 the serialized 15005 15006 protocol buffer message. This string must contain at 15007 least 15008 15009 one "/" character. The last segment of the URL's path 15010 must represent 15011 15012 the fully qualified name of the type (as in 15013 15014 `path/google.protobuf.Duration`). The name should be in 15015 a canonical form 15016 15017 (e.g., leading "." is not accepted). 15018 15019 15020 In practice, teams usually precompile into the binary 15021 all types that they 15022 15023 expect it to use in the context of Any. However, for 15024 URLs which use the 15025 15026 scheme `http`, `https`, or no scheme, one can optionally 15027 set up a type 15028 15029 server that maps type URLs to message definitions as 15030 follows: 15031 15032 15033 * If no scheme is provided, `https` is assumed. 15034 15035 * An HTTP GET on the URL must yield a 15036 [google.protobuf.Type][] 15037 value in binary format, or produce an error. 15038 * Applications are allowed to cache lookup results based 15039 on the 15040 URL, or have them precompiled into a binary to avoid any 15041 lookup. Therefore, binary compatibility needs to be preserved 15042 on changes to types. (Use versioned type names to manage 15043 breaking changes.) 15044 15045 Note: this functionality is not currently available in 15046 the official 15047 15048 protobuf release, and it is not used for type URLs 15049 beginning with 15050 15051 type.googleapis.com. 15052 15053 15054 Schemes other than `http`, `https` (or the empty scheme) 15055 might be 15056 15057 used with implementation specific semantics. 15058 value: 15059 type: string 15060 format: byte 15061 description: >- 15062 Must be a valid serialized protocol buffer of the above 15063 specified type. 15064 description: >- 15065 `Any` contains an arbitrary serialized protocol buffer 15066 message along with a 15067 15068 URL that describes the type of the serialized message. 15069 15070 15071 Protobuf library provides support to pack/unpack Any values 15072 in the form 15073 15074 of utility functions or additional generated methods of the 15075 Any type. 15076 15077 15078 Example 1: Pack and unpack a message in C++. 15079 15080 Foo foo = ...; 15081 Any any; 15082 any.PackFrom(foo); 15083 ... 15084 if (any.UnpackTo(&foo)) { 15085 ... 15086 } 15087 15088 Example 2: Pack and unpack a message in Java. 15089 15090 Foo foo = ...; 15091 Any any = Any.pack(foo); 15092 ... 15093 if (any.is(Foo.class)) { 15094 foo = any.unpack(Foo.class); 15095 } 15096 15097 Example 3: Pack and unpack a message in Python. 15098 15099 foo = Foo(...) 15100 any = Any() 15101 any.Pack(foo) 15102 ... 15103 if any.Is(Foo.DESCRIPTOR): 15104 any.Unpack(foo) 15105 ... 15106 15107 Example 4: Pack and unpack a message in Go 15108 15109 foo := &pb.Foo{...} 15110 any, err := ptypes.MarshalAny(foo) 15111 ... 15112 foo := &pb.Foo{} 15113 if err := ptypes.UnmarshalAny(any, foo); err != nil { 15114 ... 15115 } 15116 15117 The pack methods provided by protobuf library will by 15118 default use 15119 15120 'type.googleapis.com/full.type.name' as the type URL and the 15121 unpack 15122 15123 methods only use the fully qualified type name after the 15124 last '/' 15125 15126 in the type URL, for example "foo.bar.com/x/y.z" will yield 15127 type 15128 15129 name "y.z". 15130 15131 15132 15133 JSON 15134 15135 ==== 15136 15137 The JSON representation of an `Any` value uses the regular 15138 15139 representation of the deserialized, embedded message, with 15140 an 15141 15142 additional field `@type` which contains the type URL. 15143 Example: 15144 15145 package google.profile; 15146 message Person { 15147 string first_name = 1; 15148 string last_name = 2; 15149 } 15150 15151 { 15152 "@type": "type.googleapis.com/google.profile.Person", 15153 "firstName": <string>, 15154 "lastName": <string> 15155 } 15156 15157 If the embedded message type is well-known and has a custom 15158 JSON 15159 15160 representation, that representation will be embedded adding 15161 a field 15162 15163 `value` which holds the custom JSON in addition to the 15164 `@type` 15165 15166 field. Example (for message [google.protobuf.Duration][]): 15167 15168 { 15169 "@type": "type.googleapis.com/google.protobuf.Duration", 15170 "value": "1.212s" 15171 } 15172 parameters: 15173 - name: delegator_addr 15174 description: delegator_addr defines the delegator address to query for. 15175 in: path 15176 required: true 15177 type: string 15178 - name: src_validator_addr 15179 description: src_validator_addr defines the validator address to redelegate from. 15180 in: query 15181 required: false 15182 type: string 15183 - name: dst_validator_addr 15184 description: dst_validator_addr defines the validator address to redelegate to. 15185 in: query 15186 required: false 15187 type: string 15188 - name: pagination.key 15189 description: |- 15190 key is a value returned in PageResponse.next_key to begin 15191 querying the next page most efficiently. Only one of offset or key 15192 should be set. 15193 in: query 15194 required: false 15195 type: string 15196 format: byte 15197 - name: pagination.offset 15198 description: >- 15199 offset is a numeric offset that can be used when key is unavailable. 15200 15201 It is less efficient than using key. Only one of offset or key 15202 should 15203 15204 be set. 15205 in: query 15206 required: false 15207 type: string 15208 format: uint64 15209 - name: pagination.limit 15210 description: >- 15211 limit is the total number of results to be returned in the result 15212 page. 15213 15214 If left empty it will default to a value to be set by each app. 15215 in: query 15216 required: false 15217 type: string 15218 format: uint64 15219 - name: pagination.count_total 15220 description: >- 15221 count_total is set to true to indicate that the result set should 15222 include 15223 15224 a count of the total number of items available for pagination in 15225 UIs. 15226 15227 count_total is only respected when offset is used. It is ignored 15228 when key 15229 15230 is set. 15231 in: query 15232 required: false 15233 type: boolean 15234 format: boolean 15235 - name: pagination.reverse 15236 description: >- 15237 reverse is set to true if results are to be returned in the 15238 descending order. 15239 15240 15241 Since: cosmos-sdk 0.43 15242 in: query 15243 required: false 15244 type: boolean 15245 format: boolean 15246 tags: 15247 - Query 15248 '/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations': 15249 get: 15250 summary: >- 15251 DelegatorUnbondingDelegations queries all unbonding delegations of a 15252 given 15253 15254 delegator address. 15255 operationId: DelegatorUnbondingDelegations 15256 responses: 15257 '200': 15258 description: A successful response. 15259 schema: 15260 type: object 15261 properties: 15262 unbonding_responses: 15263 type: array 15264 items: 15265 type: object 15266 properties: 15267 delegator_address: 15268 type: string 15269 description: >- 15270 delegator_address is the bech32-encoded address of the 15271 delegator. 15272 validator_address: 15273 type: string 15274 description: >- 15275 validator_address is the bech32-encoded address of the 15276 validator. 15277 entries: 15278 type: array 15279 items: 15280 type: object 15281 properties: 15282 creation_height: 15283 type: string 15284 format: int64 15285 description: >- 15286 creation_height is the height which the unbonding 15287 took place. 15288 completion_time: 15289 type: string 15290 format: date-time 15291 description: >- 15292 completion_time is the unix time for unbonding 15293 completion. 15294 initial_balance: 15295 type: string 15296 description: >- 15297 initial_balance defines the tokens initially 15298 scheduled to receive at completion. 15299 balance: 15300 type: string 15301 description: >- 15302 balance defines the tokens to receive at 15303 completion. 15304 description: >- 15305 UnbondingDelegationEntry defines an unbonding object 15306 with relevant metadata. 15307 description: entries are the unbonding delegation entries. 15308 description: >- 15309 UnbondingDelegation stores all of a single delegator's 15310 unbonding bonds 15311 15312 for a single validator in an time-ordered list. 15313 pagination: 15314 description: pagination defines the pagination in the response. 15315 type: object 15316 properties: 15317 next_key: 15318 type: string 15319 format: byte 15320 title: |- 15321 next_key is the key to be passed to PageRequest.key to 15322 query the next page most efficiently 15323 total: 15324 type: string 15325 format: uint64 15326 title: >- 15327 total is total number of results available if 15328 PageRequest.count_total 15329 15330 was set, its value is undefined otherwise 15331 description: >- 15332 QueryUnbondingDelegatorDelegationsResponse is response type for 15333 the 15334 15335 Query/UnbondingDelegatorDelegations RPC method. 15336 default: 15337 description: An unexpected error response 15338 schema: 15339 type: object 15340 properties: 15341 error: 15342 type: string 15343 code: 15344 type: integer 15345 format: int32 15346 message: 15347 type: string 15348 details: 15349 type: array 15350 items: 15351 type: object 15352 properties: 15353 type_url: 15354 type: string 15355 description: >- 15356 A URL/resource name that uniquely identifies the type of 15357 the serialized 15358 15359 protocol buffer message. This string must contain at 15360 least 15361 15362 one "/" character. The last segment of the URL's path 15363 must represent 15364 15365 the fully qualified name of the type (as in 15366 15367 `path/google.protobuf.Duration`). The name should be in 15368 a canonical form 15369 15370 (e.g., leading "." is not accepted). 15371 15372 15373 In practice, teams usually precompile into the binary 15374 all types that they 15375 15376 expect it to use in the context of Any. However, for 15377 URLs which use the 15378 15379 scheme `http`, `https`, or no scheme, one can optionally 15380 set up a type 15381 15382 server that maps type URLs to message definitions as 15383 follows: 15384 15385 15386 * If no scheme is provided, `https` is assumed. 15387 15388 * An HTTP GET on the URL must yield a 15389 [google.protobuf.Type][] 15390 value in binary format, or produce an error. 15391 * Applications are allowed to cache lookup results based 15392 on the 15393 URL, or have them precompiled into a binary to avoid any 15394 lookup. Therefore, binary compatibility needs to be preserved 15395 on changes to types. (Use versioned type names to manage 15396 breaking changes.) 15397 15398 Note: this functionality is not currently available in 15399 the official 15400 15401 protobuf release, and it is not used for type URLs 15402 beginning with 15403 15404 type.googleapis.com. 15405 15406 15407 Schemes other than `http`, `https` (or the empty scheme) 15408 might be 15409 15410 used with implementation specific semantics. 15411 value: 15412 type: string 15413 format: byte 15414 description: >- 15415 Must be a valid serialized protocol buffer of the above 15416 specified type. 15417 description: >- 15418 `Any` contains an arbitrary serialized protocol buffer 15419 message along with a 15420 15421 URL that describes the type of the serialized message. 15422 15423 15424 Protobuf library provides support to pack/unpack Any values 15425 in the form 15426 15427 of utility functions or additional generated methods of the 15428 Any type. 15429 15430 15431 Example 1: Pack and unpack a message in C++. 15432 15433 Foo foo = ...; 15434 Any any; 15435 any.PackFrom(foo); 15436 ... 15437 if (any.UnpackTo(&foo)) { 15438 ... 15439 } 15440 15441 Example 2: Pack and unpack a message in Java. 15442 15443 Foo foo = ...; 15444 Any any = Any.pack(foo); 15445 ... 15446 if (any.is(Foo.class)) { 15447 foo = any.unpack(Foo.class); 15448 } 15449 15450 Example 3: Pack and unpack a message in Python. 15451 15452 foo = Foo(...) 15453 any = Any() 15454 any.Pack(foo) 15455 ... 15456 if any.Is(Foo.DESCRIPTOR): 15457 any.Unpack(foo) 15458 ... 15459 15460 Example 4: Pack and unpack a message in Go 15461 15462 foo := &pb.Foo{...} 15463 any, err := ptypes.MarshalAny(foo) 15464 ... 15465 foo := &pb.Foo{} 15466 if err := ptypes.UnmarshalAny(any, foo); err != nil { 15467 ... 15468 } 15469 15470 The pack methods provided by protobuf library will by 15471 default use 15472 15473 'type.googleapis.com/full.type.name' as the type URL and the 15474 unpack 15475 15476 methods only use the fully qualified type name after the 15477 last '/' 15478 15479 in the type URL, for example "foo.bar.com/x/y.z" will yield 15480 type 15481 15482 name "y.z". 15483 15484 15485 15486 JSON 15487 15488 ==== 15489 15490 The JSON representation of an `Any` value uses the regular 15491 15492 representation of the deserialized, embedded message, with 15493 an 15494 15495 additional field `@type` which contains the type URL. 15496 Example: 15497 15498 package google.profile; 15499 message Person { 15500 string first_name = 1; 15501 string last_name = 2; 15502 } 15503 15504 { 15505 "@type": "type.googleapis.com/google.profile.Person", 15506 "firstName": <string>, 15507 "lastName": <string> 15508 } 15509 15510 If the embedded message type is well-known and has a custom 15511 JSON 15512 15513 representation, that representation will be embedded adding 15514 a field 15515 15516 `value` which holds the custom JSON in addition to the 15517 `@type` 15518 15519 field. Example (for message [google.protobuf.Duration][]): 15520 15521 { 15522 "@type": "type.googleapis.com/google.protobuf.Duration", 15523 "value": "1.212s" 15524 } 15525 parameters: 15526 - name: delegator_addr 15527 description: delegator_addr defines the delegator address to query for. 15528 in: path 15529 required: true 15530 type: string 15531 - name: pagination.key 15532 description: |- 15533 key is a value returned in PageResponse.next_key to begin 15534 querying the next page most efficiently. Only one of offset or key 15535 should be set. 15536 in: query 15537 required: false 15538 type: string 15539 format: byte 15540 - name: pagination.offset 15541 description: >- 15542 offset is a numeric offset that can be used when key is unavailable. 15543 15544 It is less efficient than using key. Only one of offset or key 15545 should 15546 15547 be set. 15548 in: query 15549 required: false 15550 type: string 15551 format: uint64 15552 - name: pagination.limit 15553 description: >- 15554 limit is the total number of results to be returned in the result 15555 page. 15556 15557 If left empty it will default to a value to be set by each app. 15558 in: query 15559 required: false 15560 type: string 15561 format: uint64 15562 - name: pagination.count_total 15563 description: >- 15564 count_total is set to true to indicate that the result set should 15565 include 15566 15567 a count of the total number of items available for pagination in 15568 UIs. 15569 15570 count_total is only respected when offset is used. It is ignored 15571 when key 15572 15573 is set. 15574 in: query 15575 required: false 15576 type: boolean 15577 format: boolean 15578 - name: pagination.reverse 15579 description: >- 15580 reverse is set to true if results are to be returned in the 15581 descending order. 15582 15583 15584 Since: cosmos-sdk 0.43 15585 in: query 15586 required: false 15587 type: boolean 15588 format: boolean 15589 tags: 15590 - Query 15591 '/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators': 15592 get: 15593 summary: |- 15594 DelegatorValidators queries all validators info for given delegator 15595 address. 15596 operationId: StakingDelegatorValidators 15597 responses: 15598 '200': 15599 description: A successful response. 15600 schema: 15601 type: object 15602 properties: 15603 validators: 15604 type: array 15605 items: 15606 type: object 15607 properties: 15608 operator_address: 15609 type: string 15610 description: >- 15611 operator_address defines the address of the validator's 15612 operator; bech encoded in JSON. 15613 consensus_pubkey: 15614 type: object 15615 properties: 15616 type_url: 15617 type: string 15618 description: >- 15619 A URL/resource name that uniquely identifies the 15620 type of the serialized 15621 15622 protocol buffer message. This string must contain at 15623 least 15624 15625 one "/" character. The last segment of the URL's 15626 path must represent 15627 15628 the fully qualified name of the type (as in 15629 15630 `path/google.protobuf.Duration`). The name should be 15631 in a canonical form 15632 15633 (e.g., leading "." is not accepted). 15634 15635 15636 In practice, teams usually precompile into the 15637 binary all types that they 15638 15639 expect it to use in the context of Any. However, for 15640 URLs which use the 15641 15642 scheme `http`, `https`, or no scheme, one can 15643 optionally set up a type 15644 15645 server that maps type URLs to message definitions as 15646 follows: 15647 15648 15649 * If no scheme is provided, `https` is assumed. 15650 15651 * An HTTP GET on the URL must yield a 15652 [google.protobuf.Type][] 15653 value in binary format, or produce an error. 15654 * Applications are allowed to cache lookup results 15655 based on the 15656 URL, or have them precompiled into a binary to avoid any 15657 lookup. Therefore, binary compatibility needs to be preserved 15658 on changes to types. (Use versioned type names to manage 15659 breaking changes.) 15660 15661 Note: this functionality is not currently available 15662 in the official 15663 15664 protobuf release, and it is not used for type URLs 15665 beginning with 15666 15667 type.googleapis.com. 15668 15669 15670 Schemes other than `http`, `https` (or the empty 15671 scheme) might be 15672 15673 used with implementation specific semantics. 15674 value: 15675 type: string 15676 format: byte 15677 description: >- 15678 Must be a valid serialized protocol buffer of the 15679 above specified type. 15680 description: >- 15681 `Any` contains an arbitrary serialized protocol buffer 15682 message along with a 15683 15684 URL that describes the type of the serialized message. 15685 15686 15687 Protobuf library provides support to pack/unpack Any 15688 values in the form 15689 15690 of utility functions or additional generated methods of 15691 the Any type. 15692 15693 15694 Example 1: Pack and unpack a message in C++. 15695 15696 Foo foo = ...; 15697 Any any; 15698 any.PackFrom(foo); 15699 ... 15700 if (any.UnpackTo(&foo)) { 15701 ... 15702 } 15703 15704 Example 2: Pack and unpack a message in Java. 15705 15706 Foo foo = ...; 15707 Any any = Any.pack(foo); 15708 ... 15709 if (any.is(Foo.class)) { 15710 foo = any.unpack(Foo.class); 15711 } 15712 15713 Example 3: Pack and unpack a message in Python. 15714 15715 foo = Foo(...) 15716 any = Any() 15717 any.Pack(foo) 15718 ... 15719 if any.Is(Foo.DESCRIPTOR): 15720 any.Unpack(foo) 15721 ... 15722 15723 Example 4: Pack and unpack a message in Go 15724 15725 foo := &pb.Foo{...} 15726 any, err := ptypes.MarshalAny(foo) 15727 ... 15728 foo := &pb.Foo{} 15729 if err := ptypes.UnmarshalAny(any, foo); err != nil { 15730 ... 15731 } 15732 15733 The pack methods provided by protobuf library will by 15734 default use 15735 15736 'type.googleapis.com/full.type.name' as the type URL and 15737 the unpack 15738 15739 methods only use the fully qualified type name after the 15740 last '/' 15741 15742 in the type URL, for example "foo.bar.com/x/y.z" will 15743 yield type 15744 15745 name "y.z". 15746 15747 15748 15749 JSON 15750 15751 ==== 15752 15753 The JSON representation of an `Any` value uses the 15754 regular 15755 15756 representation of the deserialized, embedded message, 15757 with an 15758 15759 additional field `@type` which contains the type URL. 15760 Example: 15761 15762 package google.profile; 15763 message Person { 15764 string first_name = 1; 15765 string last_name = 2; 15766 } 15767 15768 { 15769 "@type": "type.googleapis.com/google.profile.Person", 15770 "firstName": <string>, 15771 "lastName": <string> 15772 } 15773 15774 If the embedded message type is well-known and has a 15775 custom JSON 15776 15777 representation, that representation will be embedded 15778 adding a field 15779 15780 `value` which holds the custom JSON in addition to the 15781 `@type` 15782 15783 field. Example (for message 15784 [google.protobuf.Duration][]): 15785 15786 { 15787 "@type": "type.googleapis.com/google.protobuf.Duration", 15788 "value": "1.212s" 15789 } 15790 jailed: 15791 type: boolean 15792 format: boolean 15793 description: >- 15794 jailed defined whether the validator has been jailed 15795 from bonded status or not. 15796 status: 15797 description: >- 15798 status is the validator status 15799 (bonded/unbonding/unbonded). 15800 type: string 15801 enum: 15802 - BOND_STATUS_UNSPECIFIED 15803 - BOND_STATUS_UNBONDED 15804 - BOND_STATUS_UNBONDING 15805 - BOND_STATUS_BONDED 15806 default: BOND_STATUS_UNSPECIFIED 15807 tokens: 15808 type: string 15809 description: >- 15810 tokens define the delegated tokens (incl. 15811 self-delegation). 15812 delegator_shares: 15813 type: string 15814 description: >- 15815 delegator_shares defines total shares issued to a 15816 validator's delegators. 15817 description: 15818 description: >- 15819 description defines the description terms for the 15820 validator. 15821 type: object 15822 properties: 15823 moniker: 15824 type: string 15825 description: >- 15826 moniker defines a human-readable name for the 15827 validator. 15828 identity: 15829 type: string 15830 description: >- 15831 identity defines an optional identity signature (ex. 15832 UPort or Keybase). 15833 website: 15834 type: string 15835 description: website defines an optional website link. 15836 security_contact: 15837 type: string 15838 description: >- 15839 security_contact defines an optional email for 15840 security contact. 15841 details: 15842 type: string 15843 description: details define other optional details. 15844 unbonding_height: 15845 type: string 15846 format: int64 15847 description: >- 15848 unbonding_height defines, if unbonding, the height at 15849 which this validator has begun unbonding. 15850 unbonding_time: 15851 type: string 15852 format: date-time 15853 description: >- 15854 unbonding_time defines, if unbonding, the min time for 15855 the validator to complete unbonding. 15856 commission: 15857 description: commission defines the commission parameters. 15858 type: object 15859 properties: 15860 commission_rates: 15861 description: >- 15862 commission_rates defines the initial commission 15863 rates to be used for creating a validator. 15864 type: object 15865 properties: 15866 rate: 15867 type: string 15868 description: >- 15869 rate is the commission rate charged to 15870 delegators, as a fraction. 15871 max_rate: 15872 type: string 15873 description: >- 15874 max_rate defines the maximum commission rate 15875 which validator can ever charge, as a fraction. 15876 max_change_rate: 15877 type: string 15878 description: >- 15879 max_change_rate defines the maximum daily 15880 increase of the validator commission, as a 15881 fraction. 15882 update_time: 15883 type: string 15884 format: date-time 15885 description: >- 15886 update_time is the last time the commission rate was 15887 changed. 15888 min_self_delegation: 15889 type: string 15890 description: >- 15891 min_self_delegation is the validator's self declared 15892 minimum self delegation. 15893 description: >- 15894 Validator defines a validator, together with the total 15895 amount of the 15896 15897 Validator's bond shares and their exchange rate to coins. 15898 Slashing results in 15899 15900 a decrease in the exchange rate, allowing correct 15901 calculation of future 15902 15903 undelegations without iterating over delegators. When coins 15904 are delegated to 15905 15906 this validator, the validator is credited with a delegation 15907 whose number of 15908 15909 bond shares is based on the amount of coins delegated 15910 divided by the current 15911 15912 exchange rate. Voting power can be calculated as total 15913 bonded shares 15914 15915 multiplied by exchange rate. 15916 description: validators defines the the validators' info of a delegator. 15917 pagination: 15918 description: pagination defines the pagination in the response. 15919 type: object 15920 properties: 15921 next_key: 15922 type: string 15923 format: byte 15924 title: |- 15925 next_key is the key to be passed to PageRequest.key to 15926 query the next page most efficiently 15927 total: 15928 type: string 15929 format: uint64 15930 title: >- 15931 total is total number of results available if 15932 PageRequest.count_total 15933 15934 was set, its value is undefined otherwise 15935 description: |- 15936 QueryDelegatorValidatorsResponse is response type for the 15937 Query/DelegatorValidators RPC method. 15938 default: 15939 description: An unexpected error response 15940 schema: 15941 type: object 15942 properties: 15943 error: 15944 type: string 15945 code: 15946 type: integer 15947 format: int32 15948 message: 15949 type: string 15950 details: 15951 type: array 15952 items: 15953 type: object 15954 properties: 15955 type_url: 15956 type: string 15957 description: >- 15958 A URL/resource name that uniquely identifies the type of 15959 the serialized 15960 15961 protocol buffer message. This string must contain at 15962 least 15963 15964 one "/" character. The last segment of the URL's path 15965 must represent 15966 15967 the fully qualified name of the type (as in 15968 15969 `path/google.protobuf.Duration`). The name should be in 15970 a canonical form 15971 15972 (e.g., leading "." is not accepted). 15973 15974 15975 In practice, teams usually precompile into the binary 15976 all types that they 15977 15978 expect it to use in the context of Any. However, for 15979 URLs which use the 15980 15981 scheme `http`, `https`, or no scheme, one can optionally 15982 set up a type 15983 15984 server that maps type URLs to message definitions as 15985 follows: 15986 15987 15988 * If no scheme is provided, `https` is assumed. 15989 15990 * An HTTP GET on the URL must yield a 15991 [google.protobuf.Type][] 15992 value in binary format, or produce an error. 15993 * Applications are allowed to cache lookup results based 15994 on the 15995 URL, or have them precompiled into a binary to avoid any 15996 lookup. Therefore, binary compatibility needs to be preserved 15997 on changes to types. (Use versioned type names to manage 15998 breaking changes.) 15999 16000 Note: this functionality is not currently available in 16001 the official 16002 16003 protobuf release, and it is not used for type URLs 16004 beginning with 16005 16006 type.googleapis.com. 16007 16008 16009 Schemes other than `http`, `https` (or the empty scheme) 16010 might be 16011 16012 used with implementation specific semantics. 16013 value: 16014 type: string 16015 format: byte 16016 description: >- 16017 Must be a valid serialized protocol buffer of the above 16018 specified type. 16019 description: >- 16020 `Any` contains an arbitrary serialized protocol buffer 16021 message along with a 16022 16023 URL that describes the type of the serialized message. 16024 16025 16026 Protobuf library provides support to pack/unpack Any values 16027 in the form 16028 16029 of utility functions or additional generated methods of the 16030 Any type. 16031 16032 16033 Example 1: Pack and unpack a message in C++. 16034 16035 Foo foo = ...; 16036 Any any; 16037 any.PackFrom(foo); 16038 ... 16039 if (any.UnpackTo(&foo)) { 16040 ... 16041 } 16042 16043 Example 2: Pack and unpack a message in Java. 16044 16045 Foo foo = ...; 16046 Any any = Any.pack(foo); 16047 ... 16048 if (any.is(Foo.class)) { 16049 foo = any.unpack(Foo.class); 16050 } 16051 16052 Example 3: Pack and unpack a message in Python. 16053 16054 foo = Foo(...) 16055 any = Any() 16056 any.Pack(foo) 16057 ... 16058 if any.Is(Foo.DESCRIPTOR): 16059 any.Unpack(foo) 16060 ... 16061 16062 Example 4: Pack and unpack a message in Go 16063 16064 foo := &pb.Foo{...} 16065 any, err := ptypes.MarshalAny(foo) 16066 ... 16067 foo := &pb.Foo{} 16068 if err := ptypes.UnmarshalAny(any, foo); err != nil { 16069 ... 16070 } 16071 16072 The pack methods provided by protobuf library will by 16073 default use 16074 16075 'type.googleapis.com/full.type.name' as the type URL and the 16076 unpack 16077 16078 methods only use the fully qualified type name after the 16079 last '/' 16080 16081 in the type URL, for example "foo.bar.com/x/y.z" will yield 16082 type 16083 16084 name "y.z". 16085 16086 16087 16088 JSON 16089 16090 ==== 16091 16092 The JSON representation of an `Any` value uses the regular 16093 16094 representation of the deserialized, embedded message, with 16095 an 16096 16097 additional field `@type` which contains the type URL. 16098 Example: 16099 16100 package google.profile; 16101 message Person { 16102 string first_name = 1; 16103 string last_name = 2; 16104 } 16105 16106 { 16107 "@type": "type.googleapis.com/google.profile.Person", 16108 "firstName": <string>, 16109 "lastName": <string> 16110 } 16111 16112 If the embedded message type is well-known and has a custom 16113 JSON 16114 16115 representation, that representation will be embedded adding 16116 a field 16117 16118 `value` which holds the custom JSON in addition to the 16119 `@type` 16120 16121 field. Example (for message [google.protobuf.Duration][]): 16122 16123 { 16124 "@type": "type.googleapis.com/google.protobuf.Duration", 16125 "value": "1.212s" 16126 } 16127 parameters: 16128 - name: delegator_addr 16129 description: delegator_addr defines the delegator address to query for. 16130 in: path 16131 required: true 16132 type: string 16133 - name: pagination.key 16134 description: |- 16135 key is a value returned in PageResponse.next_key to begin 16136 querying the next page most efficiently. Only one of offset or key 16137 should be set. 16138 in: query 16139 required: false 16140 type: string 16141 format: byte 16142 - name: pagination.offset 16143 description: >- 16144 offset is a numeric offset that can be used when key is unavailable. 16145 16146 It is less efficient than using key. Only one of offset or key 16147 should 16148 16149 be set. 16150 in: query 16151 required: false 16152 type: string 16153 format: uint64 16154 - name: pagination.limit 16155 description: >- 16156 limit is the total number of results to be returned in the result 16157 page. 16158 16159 If left empty it will default to a value to be set by each app. 16160 in: query 16161 required: false 16162 type: string 16163 format: uint64 16164 - name: pagination.count_total 16165 description: >- 16166 count_total is set to true to indicate that the result set should 16167 include 16168 16169 a count of the total number of items available for pagination in 16170 UIs. 16171 16172 count_total is only respected when offset is used. It is ignored 16173 when key 16174 16175 is set. 16176 in: query 16177 required: false 16178 type: boolean 16179 format: boolean 16180 - name: pagination.reverse 16181 description: >- 16182 reverse is set to true if results are to be returned in the 16183 descending order. 16184 16185 16186 Since: cosmos-sdk 0.43 16187 in: query 16188 required: false 16189 type: boolean 16190 format: boolean 16191 tags: 16192 - Query 16193 '/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}': 16194 get: 16195 summary: |- 16196 DelegatorValidator queries validator info for given delegator validator 16197 pair. 16198 operationId: DelegatorValidator 16199 responses: 16200 '200': 16201 description: A successful response. 16202 schema: 16203 type: object 16204 properties: 16205 validator: 16206 type: object 16207 properties: 16208 operator_address: 16209 type: string 16210 description: >- 16211 operator_address defines the address of the validator's 16212 operator; bech encoded in JSON. 16213 consensus_pubkey: 16214 type: object 16215 properties: 16216 type_url: 16217 type: string 16218 description: >- 16219 A URL/resource name that uniquely identifies the type 16220 of the serialized 16221 16222 protocol buffer message. This string must contain at 16223 least 16224 16225 one "/" character. The last segment of the URL's path 16226 must represent 16227 16228 the fully qualified name of the type (as in 16229 16230 `path/google.protobuf.Duration`). The name should be 16231 in a canonical form 16232 16233 (e.g., leading "." is not accepted). 16234 16235 16236 In practice, teams usually precompile into the binary 16237 all types that they 16238 16239 expect it to use in the context of Any. However, for 16240 URLs which use the 16241 16242 scheme `http`, `https`, or no scheme, one can 16243 optionally set up a type 16244 16245 server that maps type URLs to message definitions as 16246 follows: 16247 16248 16249 * If no scheme is provided, `https` is assumed. 16250 16251 * An HTTP GET on the URL must yield a 16252 [google.protobuf.Type][] 16253 value in binary format, or produce an error. 16254 * Applications are allowed to cache lookup results 16255 based on the 16256 URL, or have them precompiled into a binary to avoid any 16257 lookup. Therefore, binary compatibility needs to be preserved 16258 on changes to types. (Use versioned type names to manage 16259 breaking changes.) 16260 16261 Note: this functionality is not currently available in 16262 the official 16263 16264 protobuf release, and it is not used for type URLs 16265 beginning with 16266 16267 type.googleapis.com. 16268 16269 16270 Schemes other than `http`, `https` (or the empty 16271 scheme) might be 16272 16273 used with implementation specific semantics. 16274 value: 16275 type: string 16276 format: byte 16277 description: >- 16278 Must be a valid serialized protocol buffer of the 16279 above specified type. 16280 description: >- 16281 `Any` contains an arbitrary serialized protocol buffer 16282 message along with a 16283 16284 URL that describes the type of the serialized message. 16285 16286 16287 Protobuf library provides support to pack/unpack Any 16288 values in the form 16289 16290 of utility functions or additional generated methods of 16291 the Any type. 16292 16293 16294 Example 1: Pack and unpack a message in C++. 16295 16296 Foo foo = ...; 16297 Any any; 16298 any.PackFrom(foo); 16299 ... 16300 if (any.UnpackTo(&foo)) { 16301 ... 16302 } 16303 16304 Example 2: Pack and unpack a message in Java. 16305 16306 Foo foo = ...; 16307 Any any = Any.pack(foo); 16308 ... 16309 if (any.is(Foo.class)) { 16310 foo = any.unpack(Foo.class); 16311 } 16312 16313 Example 3: Pack and unpack a message in Python. 16314 16315 foo = Foo(...) 16316 any = Any() 16317 any.Pack(foo) 16318 ... 16319 if any.Is(Foo.DESCRIPTOR): 16320 any.Unpack(foo) 16321 ... 16322 16323 Example 4: Pack and unpack a message in Go 16324 16325 foo := &pb.Foo{...} 16326 any, err := ptypes.MarshalAny(foo) 16327 ... 16328 foo := &pb.Foo{} 16329 if err := ptypes.UnmarshalAny(any, foo); err != nil { 16330 ... 16331 } 16332 16333 The pack methods provided by protobuf library will by 16334 default use 16335 16336 'type.googleapis.com/full.type.name' as the type URL and 16337 the unpack 16338 16339 methods only use the fully qualified type name after the 16340 last '/' 16341 16342 in the type URL, for example "foo.bar.com/x/y.z" will 16343 yield type 16344 16345 name "y.z". 16346 16347 16348 16349 JSON 16350 16351 ==== 16352 16353 The JSON representation of an `Any` value uses the regular 16354 16355 representation of the deserialized, embedded message, with 16356 an 16357 16358 additional field `@type` which contains the type URL. 16359 Example: 16360 16361 package google.profile; 16362 message Person { 16363 string first_name = 1; 16364 string last_name = 2; 16365 } 16366 16367 { 16368 "@type": "type.googleapis.com/google.profile.Person", 16369 "firstName": <string>, 16370 "lastName": <string> 16371 } 16372 16373 If the embedded message type is well-known and has a 16374 custom JSON 16375 16376 representation, that representation will be embedded 16377 adding a field 16378 16379 `value` which holds the custom JSON in addition to the 16380 `@type` 16381 16382 field. Example (for message [google.protobuf.Duration][]): 16383 16384 { 16385 "@type": "type.googleapis.com/google.protobuf.Duration", 16386 "value": "1.212s" 16387 } 16388 jailed: 16389 type: boolean 16390 format: boolean 16391 description: >- 16392 jailed defined whether the validator has been jailed from 16393 bonded status or not. 16394 status: 16395 description: >- 16396 status is the validator status 16397 (bonded/unbonding/unbonded). 16398 type: string 16399 enum: 16400 - BOND_STATUS_UNSPECIFIED 16401 - BOND_STATUS_UNBONDED 16402 - BOND_STATUS_UNBONDING 16403 - BOND_STATUS_BONDED 16404 default: BOND_STATUS_UNSPECIFIED 16405 tokens: 16406 type: string 16407 description: >- 16408 tokens define the delegated tokens (incl. 16409 self-delegation). 16410 delegator_shares: 16411 type: string 16412 description: >- 16413 delegator_shares defines total shares issued to a 16414 validator's delegators. 16415 description: 16416 description: >- 16417 description defines the description terms for the 16418 validator. 16419 type: object 16420 properties: 16421 moniker: 16422 type: string 16423 description: >- 16424 moniker defines a human-readable name for the 16425 validator. 16426 identity: 16427 type: string 16428 description: >- 16429 identity defines an optional identity signature (ex. 16430 UPort or Keybase). 16431 website: 16432 type: string 16433 description: website defines an optional website link. 16434 security_contact: 16435 type: string 16436 description: >- 16437 security_contact defines an optional email for 16438 security contact. 16439 details: 16440 type: string 16441 description: details define other optional details. 16442 unbonding_height: 16443 type: string 16444 format: int64 16445 description: >- 16446 unbonding_height defines, if unbonding, the height at 16447 which this validator has begun unbonding. 16448 unbonding_time: 16449 type: string 16450 format: date-time 16451 description: >- 16452 unbonding_time defines, if unbonding, the min time for the 16453 validator to complete unbonding. 16454 commission: 16455 description: commission defines the commission parameters. 16456 type: object 16457 properties: 16458 commission_rates: 16459 description: >- 16460 commission_rates defines the initial commission rates 16461 to be used for creating a validator. 16462 type: object 16463 properties: 16464 rate: 16465 type: string 16466 description: >- 16467 rate is the commission rate charged to delegators, 16468 as a fraction. 16469 max_rate: 16470 type: string 16471 description: >- 16472 max_rate defines the maximum commission rate which 16473 validator can ever charge, as a fraction. 16474 max_change_rate: 16475 type: string 16476 description: >- 16477 max_change_rate defines the maximum daily increase 16478 of the validator commission, as a fraction. 16479 update_time: 16480 type: string 16481 format: date-time 16482 description: >- 16483 update_time is the last time the commission rate was 16484 changed. 16485 min_self_delegation: 16486 type: string 16487 description: >- 16488 min_self_delegation is the validator's self declared 16489 minimum self delegation. 16490 description: >- 16491 Validator defines a validator, together with the total amount 16492 of the 16493 16494 Validator's bond shares and their exchange rate to coins. 16495 Slashing results in 16496 16497 a decrease in the exchange rate, allowing correct calculation 16498 of future 16499 16500 undelegations without iterating over delegators. When coins 16501 are delegated to 16502 16503 this validator, the validator is credited with a delegation 16504 whose number of 16505 16506 bond shares is based on the amount of coins delegated divided 16507 by the current 16508 16509 exchange rate. Voting power can be calculated as total bonded 16510 shares 16511 16512 multiplied by exchange rate. 16513 description: |- 16514 QueryDelegatorValidatorResponse response type for the 16515 Query/DelegatorValidator RPC method. 16516 default: 16517 description: An unexpected error response 16518 schema: 16519 type: object 16520 properties: 16521 error: 16522 type: string 16523 code: 16524 type: integer 16525 format: int32 16526 message: 16527 type: string 16528 details: 16529 type: array 16530 items: 16531 type: object 16532 properties: 16533 type_url: 16534 type: string 16535 description: >- 16536 A URL/resource name that uniquely identifies the type of 16537 the serialized 16538 16539 protocol buffer message. This string must contain at 16540 least 16541 16542 one "/" character. The last segment of the URL's path 16543 must represent 16544 16545 the fully qualified name of the type (as in 16546 16547 `path/google.protobuf.Duration`). The name should be in 16548 a canonical form 16549 16550 (e.g., leading "." is not accepted). 16551 16552 16553 In practice, teams usually precompile into the binary 16554 all types that they 16555 16556 expect it to use in the context of Any. However, for 16557 URLs which use the 16558 16559 scheme `http`, `https`, or no scheme, one can optionally 16560 set up a type 16561 16562 server that maps type URLs to message definitions as 16563 follows: 16564 16565 16566 * If no scheme is provided, `https` is assumed. 16567 16568 * An HTTP GET on the URL must yield a 16569 [google.protobuf.Type][] 16570 value in binary format, or produce an error. 16571 * Applications are allowed to cache lookup results based 16572 on the 16573 URL, or have them precompiled into a binary to avoid any 16574 lookup. Therefore, binary compatibility needs to be preserved 16575 on changes to types. (Use versioned type names to manage 16576 breaking changes.) 16577 16578 Note: this functionality is not currently available in 16579 the official 16580 16581 protobuf release, and it is not used for type URLs 16582 beginning with 16583 16584 type.googleapis.com. 16585 16586 16587 Schemes other than `http`, `https` (or the empty scheme) 16588 might be 16589 16590 used with implementation specific semantics. 16591 value: 16592 type: string 16593 format: byte 16594 description: >- 16595 Must be a valid serialized protocol buffer of the above 16596 specified type. 16597 description: >- 16598 `Any` contains an arbitrary serialized protocol buffer 16599 message along with a 16600 16601 URL that describes the type of the serialized message. 16602 16603 16604 Protobuf library provides support to pack/unpack Any values 16605 in the form 16606 16607 of utility functions or additional generated methods of the 16608 Any type. 16609 16610 16611 Example 1: Pack and unpack a message in C++. 16612 16613 Foo foo = ...; 16614 Any any; 16615 any.PackFrom(foo); 16616 ... 16617 if (any.UnpackTo(&foo)) { 16618 ... 16619 } 16620 16621 Example 2: Pack and unpack a message in Java. 16622 16623 Foo foo = ...; 16624 Any any = Any.pack(foo); 16625 ... 16626 if (any.is(Foo.class)) { 16627 foo = any.unpack(Foo.class); 16628 } 16629 16630 Example 3: Pack and unpack a message in Python. 16631 16632 foo = Foo(...) 16633 any = Any() 16634 any.Pack(foo) 16635 ... 16636 if any.Is(Foo.DESCRIPTOR): 16637 any.Unpack(foo) 16638 ... 16639 16640 Example 4: Pack and unpack a message in Go 16641 16642 foo := &pb.Foo{...} 16643 any, err := ptypes.MarshalAny(foo) 16644 ... 16645 foo := &pb.Foo{} 16646 if err := ptypes.UnmarshalAny(any, foo); err != nil { 16647 ... 16648 } 16649 16650 The pack methods provided by protobuf library will by 16651 default use 16652 16653 'type.googleapis.com/full.type.name' as the type URL and the 16654 unpack 16655 16656 methods only use the fully qualified type name after the 16657 last '/' 16658 16659 in the type URL, for example "foo.bar.com/x/y.z" will yield 16660 type 16661 16662 name "y.z". 16663 16664 16665 16666 JSON 16667 16668 ==== 16669 16670 The JSON representation of an `Any` value uses the regular 16671 16672 representation of the deserialized, embedded message, with 16673 an 16674 16675 additional field `@type` which contains the type URL. 16676 Example: 16677 16678 package google.profile; 16679 message Person { 16680 string first_name = 1; 16681 string last_name = 2; 16682 } 16683 16684 { 16685 "@type": "type.googleapis.com/google.profile.Person", 16686 "firstName": <string>, 16687 "lastName": <string> 16688 } 16689 16690 If the embedded message type is well-known and has a custom 16691 JSON 16692 16693 representation, that representation will be embedded adding 16694 a field 16695 16696 `value` which holds the custom JSON in addition to the 16697 `@type` 16698 16699 field. Example (for message [google.protobuf.Duration][]): 16700 16701 { 16702 "@type": "type.googleapis.com/google.protobuf.Duration", 16703 "value": "1.212s" 16704 } 16705 parameters: 16706 - name: delegator_addr 16707 description: delegator_addr defines the delegator address to query for. 16708 in: path 16709 required: true 16710 type: string 16711 - name: validator_addr 16712 description: validator_addr defines the validator address to query for. 16713 in: path 16714 required: true 16715 type: string 16716 tags: 16717 - Query 16718 '/cosmos/staking/v1beta1/historical_info/{height}': 16719 get: 16720 summary: HistoricalInfo queries the historical info for given height. 16721 operationId: HistoricalInfo 16722 responses: 16723 '200': 16724 description: A successful response. 16725 schema: 16726 type: object 16727 properties: 16728 hist: 16729 description: hist defines the historical info at the given height. 16730 type: object 16731 properties: 16732 header: 16733 type: object 16734 properties: 16735 version: 16736 title: basic block info 16737 type: object 16738 properties: 16739 block: 16740 type: string 16741 format: uint64 16742 app: 16743 type: string 16744 format: uint64 16745 description: >- 16746 Consensus captures the consensus rules for processing 16747 a block in the blockchain, 16748 16749 including all blockchain data structures and the rules 16750 of the application's 16751 16752 state transition machine. 16753 chain_id: 16754 type: string 16755 height: 16756 type: string 16757 format: int64 16758 time: 16759 type: string 16760 format: date-time 16761 last_block_id: 16762 title: prev block info 16763 type: object 16764 properties: 16765 hash: 16766 type: string 16767 format: byte 16768 part_set_header: 16769 type: object 16770 properties: 16771 total: 16772 type: integer 16773 format: int64 16774 hash: 16775 type: string 16776 format: byte 16777 title: PartsetHeader 16778 last_commit_hash: 16779 type: string 16780 format: byte 16781 title: hashes of block data 16782 data_hash: 16783 type: string 16784 format: byte 16785 validators_hash: 16786 type: string 16787 format: byte 16788 title: hashes from the app output from the prev block 16789 next_validators_hash: 16790 type: string 16791 format: byte 16792 consensus_hash: 16793 type: string 16794 format: byte 16795 app_hash: 16796 type: string 16797 format: byte 16798 last_results_hash: 16799 type: string 16800 format: byte 16801 evidence_hash: 16802 type: string 16803 format: byte 16804 title: consensus info 16805 proposer_address: 16806 type: string 16807 format: byte 16808 description: Header defines the structure of a Tendermint block header. 16809 valset: 16810 type: array 16811 items: 16812 type: object 16813 properties: 16814 operator_address: 16815 type: string 16816 description: >- 16817 operator_address defines the address of the 16818 validator's operator; bech encoded in JSON. 16819 consensus_pubkey: 16820 type: object 16821 properties: 16822 type_url: 16823 type: string 16824 description: >- 16825 A URL/resource name that uniquely identifies the 16826 type of the serialized 16827 16828 protocol buffer message. This string must 16829 contain at least 16830 16831 one "/" character. The last segment of the URL's 16832 path must represent 16833 16834 the fully qualified name of the type (as in 16835 16836 `path/google.protobuf.Duration`). The name 16837 should be in a canonical form 16838 16839 (e.g., leading "." is not accepted). 16840 16841 16842 In practice, teams usually precompile into the 16843 binary all types that they 16844 16845 expect it to use in the context of Any. However, 16846 for URLs which use the 16847 16848 scheme `http`, `https`, or no scheme, one can 16849 optionally set up a type 16850 16851 server that maps type URLs to message 16852 definitions as follows: 16853 16854 16855 * If no scheme is provided, `https` is assumed. 16856 16857 * An HTTP GET on the URL must yield a 16858 [google.protobuf.Type][] 16859 value in binary format, or produce an error. 16860 * Applications are allowed to cache lookup 16861 results based on the 16862 URL, or have them precompiled into a binary to avoid any 16863 lookup. Therefore, binary compatibility needs to be preserved 16864 on changes to types. (Use versioned type names to manage 16865 breaking changes.) 16866 16867 Note: this functionality is not currently 16868 available in the official 16869 16870 protobuf release, and it is not used for type 16871 URLs beginning with 16872 16873 type.googleapis.com. 16874 16875 16876 Schemes other than `http`, `https` (or the empty 16877 scheme) might be 16878 16879 used with implementation specific semantics. 16880 value: 16881 type: string 16882 format: byte 16883 description: >- 16884 Must be a valid serialized protocol buffer of 16885 the above specified type. 16886 description: >- 16887 `Any` contains an arbitrary serialized protocol 16888 buffer message along with a 16889 16890 URL that describes the type of the serialized 16891 message. 16892 16893 16894 Protobuf library provides support to pack/unpack Any 16895 values in the form 16896 16897 of utility functions or additional generated methods 16898 of the Any type. 16899 16900 16901 Example 1: Pack and unpack a message in C++. 16902 16903 Foo foo = ...; 16904 Any any; 16905 any.PackFrom(foo); 16906 ... 16907 if (any.UnpackTo(&foo)) { 16908 ... 16909 } 16910 16911 Example 2: Pack and unpack a message in Java. 16912 16913 Foo foo = ...; 16914 Any any = Any.pack(foo); 16915 ... 16916 if (any.is(Foo.class)) { 16917 foo = any.unpack(Foo.class); 16918 } 16919 16920 Example 3: Pack and unpack a message in Python. 16921 16922 foo = Foo(...) 16923 any = Any() 16924 any.Pack(foo) 16925 ... 16926 if any.Is(Foo.DESCRIPTOR): 16927 any.Unpack(foo) 16928 ... 16929 16930 Example 4: Pack and unpack a message in Go 16931 16932 foo := &pb.Foo{...} 16933 any, err := ptypes.MarshalAny(foo) 16934 ... 16935 foo := &pb.Foo{} 16936 if err := ptypes.UnmarshalAny(any, foo); err != nil { 16937 ... 16938 } 16939 16940 The pack methods provided by protobuf library will 16941 by default use 16942 16943 'type.googleapis.com/full.type.name' as the type URL 16944 and the unpack 16945 16946 methods only use the fully qualified type name after 16947 the last '/' 16948 16949 in the type URL, for example "foo.bar.com/x/y.z" 16950 will yield type 16951 16952 name "y.z". 16953 16954 16955 16956 JSON 16957 16958 ==== 16959 16960 The JSON representation of an `Any` value uses the 16961 regular 16962 16963 representation of the deserialized, embedded 16964 message, with an 16965 16966 additional field `@type` which contains the type 16967 URL. Example: 16968 16969 package google.profile; 16970 message Person { 16971 string first_name = 1; 16972 string last_name = 2; 16973 } 16974 16975 { 16976 "@type": "type.googleapis.com/google.profile.Person", 16977 "firstName": <string>, 16978 "lastName": <string> 16979 } 16980 16981 If the embedded message type is well-known and has a 16982 custom JSON 16983 16984 representation, that representation will be embedded 16985 adding a field 16986 16987 `value` which holds the custom JSON in addition to 16988 the `@type` 16989 16990 field. Example (for message 16991 [google.protobuf.Duration][]): 16992 16993 { 16994 "@type": "type.googleapis.com/google.protobuf.Duration", 16995 "value": "1.212s" 16996 } 16997 jailed: 16998 type: boolean 16999 format: boolean 17000 description: >- 17001 jailed defined whether the validator has been jailed 17002 from bonded status or not. 17003 status: 17004 description: >- 17005 status is the validator status 17006 (bonded/unbonding/unbonded). 17007 type: string 17008 enum: 17009 - BOND_STATUS_UNSPECIFIED 17010 - BOND_STATUS_UNBONDED 17011 - BOND_STATUS_UNBONDING 17012 - BOND_STATUS_BONDED 17013 default: BOND_STATUS_UNSPECIFIED 17014 tokens: 17015 type: string 17016 description: >- 17017 tokens define the delegated tokens (incl. 17018 self-delegation). 17019 delegator_shares: 17020 type: string 17021 description: >- 17022 delegator_shares defines total shares issued to a 17023 validator's delegators. 17024 description: 17025 description: >- 17026 description defines the description terms for the 17027 validator. 17028 type: object 17029 properties: 17030 moniker: 17031 type: string 17032 description: >- 17033 moniker defines a human-readable name for the 17034 validator. 17035 identity: 17036 type: string 17037 description: >- 17038 identity defines an optional identity signature 17039 (ex. UPort or Keybase). 17040 website: 17041 type: string 17042 description: website defines an optional website link. 17043 security_contact: 17044 type: string 17045 description: >- 17046 security_contact defines an optional email for 17047 security contact. 17048 details: 17049 type: string 17050 description: details define other optional details. 17051 unbonding_height: 17052 type: string 17053 format: int64 17054 description: >- 17055 unbonding_height defines, if unbonding, the height 17056 at which this validator has begun unbonding. 17057 unbonding_time: 17058 type: string 17059 format: date-time 17060 description: >- 17061 unbonding_time defines, if unbonding, the min time 17062 for the validator to complete unbonding. 17063 commission: 17064 description: commission defines the commission parameters. 17065 type: object 17066 properties: 17067 commission_rates: 17068 description: >- 17069 commission_rates defines the initial commission 17070 rates to be used for creating a validator. 17071 type: object 17072 properties: 17073 rate: 17074 type: string 17075 description: >- 17076 rate is the commission rate charged to 17077 delegators, as a fraction. 17078 max_rate: 17079 type: string 17080 description: >- 17081 max_rate defines the maximum commission rate 17082 which validator can ever charge, as a 17083 fraction. 17084 max_change_rate: 17085 type: string 17086 description: >- 17087 max_change_rate defines the maximum daily 17088 increase of the validator commission, as a 17089 fraction. 17090 update_time: 17091 type: string 17092 format: date-time 17093 description: >- 17094 update_time is the last time the commission rate 17095 was changed. 17096 min_self_delegation: 17097 type: string 17098 description: >- 17099 min_self_delegation is the validator's self declared 17100 minimum self delegation. 17101 description: >- 17102 Validator defines a validator, together with the total 17103 amount of the 17104 17105 Validator's bond shares and their exchange rate to 17106 coins. Slashing results in 17107 17108 a decrease in the exchange rate, allowing correct 17109 calculation of future 17110 17111 undelegations without iterating over delegators. When 17112 coins are delegated to 17113 17114 this validator, the validator is credited with a 17115 delegation whose number of 17116 17117 bond shares is based on the amount of coins delegated 17118 divided by the current 17119 17120 exchange rate. Voting power can be calculated as total 17121 bonded shares 17122 17123 multiplied by exchange rate. 17124 description: >- 17125 QueryHistoricalInfoResponse is response type for the 17126 Query/HistoricalInfo RPC 17127 17128 method. 17129 default: 17130 description: An unexpected error response 17131 schema: 17132 type: object 17133 properties: 17134 error: 17135 type: string 17136 code: 17137 type: integer 17138 format: int32 17139 message: 17140 type: string 17141 details: 17142 type: array 17143 items: 17144 type: object 17145 properties: 17146 type_url: 17147 type: string 17148 description: >- 17149 A URL/resource name that uniquely identifies the type of 17150 the serialized 17151 17152 protocol buffer message. This string must contain at 17153 least 17154 17155 one "/" character. The last segment of the URL's path 17156 must represent 17157 17158 the fully qualified name of the type (as in 17159 17160 `path/google.protobuf.Duration`). The name should be in 17161 a canonical form 17162 17163 (e.g., leading "." is not accepted). 17164 17165 17166 In practice, teams usually precompile into the binary 17167 all types that they 17168 17169 expect it to use in the context of Any. However, for 17170 URLs which use the 17171 17172 scheme `http`, `https`, or no scheme, one can optionally 17173 set up a type 17174 17175 server that maps type URLs to message definitions as 17176 follows: 17177 17178 17179 * If no scheme is provided, `https` is assumed. 17180 17181 * An HTTP GET on the URL must yield a 17182 [google.protobuf.Type][] 17183 value in binary format, or produce an error. 17184 * Applications are allowed to cache lookup results based 17185 on the 17186 URL, or have them precompiled into a binary to avoid any 17187 lookup. Therefore, binary compatibility needs to be preserved 17188 on changes to types. (Use versioned type names to manage 17189 breaking changes.) 17190 17191 Note: this functionality is not currently available in 17192 the official 17193 17194 protobuf release, and it is not used for type URLs 17195 beginning with 17196 17197 type.googleapis.com. 17198 17199 17200 Schemes other than `http`, `https` (or the empty scheme) 17201 might be 17202 17203 used with implementation specific semantics. 17204 value: 17205 type: string 17206 format: byte 17207 description: >- 17208 Must be a valid serialized protocol buffer of the above 17209 specified type. 17210 description: >- 17211 `Any` contains an arbitrary serialized protocol buffer 17212 message along with a 17213 17214 URL that describes the type of the serialized message. 17215 17216 17217 Protobuf library provides support to pack/unpack Any values 17218 in the form 17219 17220 of utility functions or additional generated methods of the 17221 Any type. 17222 17223 17224 Example 1: Pack and unpack a message in C++. 17225 17226 Foo foo = ...; 17227 Any any; 17228 any.PackFrom(foo); 17229 ... 17230 if (any.UnpackTo(&foo)) { 17231 ... 17232 } 17233 17234 Example 2: Pack and unpack a message in Java. 17235 17236 Foo foo = ...; 17237 Any any = Any.pack(foo); 17238 ... 17239 if (any.is(Foo.class)) { 17240 foo = any.unpack(Foo.class); 17241 } 17242 17243 Example 3: Pack and unpack a message in Python. 17244 17245 foo = Foo(...) 17246 any = Any() 17247 any.Pack(foo) 17248 ... 17249 if any.Is(Foo.DESCRIPTOR): 17250 any.Unpack(foo) 17251 ... 17252 17253 Example 4: Pack and unpack a message in Go 17254 17255 foo := &pb.Foo{...} 17256 any, err := ptypes.MarshalAny(foo) 17257 ... 17258 foo := &pb.Foo{} 17259 if err := ptypes.UnmarshalAny(any, foo); err != nil { 17260 ... 17261 } 17262 17263 The pack methods provided by protobuf library will by 17264 default use 17265 17266 'type.googleapis.com/full.type.name' as the type URL and the 17267 unpack 17268 17269 methods only use the fully qualified type name after the 17270 last '/' 17271 17272 in the type URL, for example "foo.bar.com/x/y.z" will yield 17273 type 17274 17275 name "y.z". 17276 17277 17278 17279 JSON 17280 17281 ==== 17282 17283 The JSON representation of an `Any` value uses the regular 17284 17285 representation of the deserialized, embedded message, with 17286 an 17287 17288 additional field `@type` which contains the type URL. 17289 Example: 17290 17291 package google.profile; 17292 message Person { 17293 string first_name = 1; 17294 string last_name = 2; 17295 } 17296 17297 { 17298 "@type": "type.googleapis.com/google.profile.Person", 17299 "firstName": <string>, 17300 "lastName": <string> 17301 } 17302 17303 If the embedded message type is well-known and has a custom 17304 JSON 17305 17306 representation, that representation will be embedded adding 17307 a field 17308 17309 `value` which holds the custom JSON in addition to the 17310 `@type` 17311 17312 field. Example (for message [google.protobuf.Duration][]): 17313 17314 { 17315 "@type": "type.googleapis.com/google.protobuf.Duration", 17316 "value": "1.212s" 17317 } 17318 parameters: 17319 - name: height 17320 description: height defines at which height to query the historical info. 17321 in: path 17322 required: true 17323 type: string 17324 format: int64 17325 tags: 17326 - Query 17327 /cosmos/staking/v1beta1/params: 17328 get: 17329 summary: Parameters queries the staking parameters. 17330 operationId: StakingParams 17331 responses: 17332 '200': 17333 description: A successful response. 17334 schema: 17335 type: object 17336 properties: 17337 params: 17338 description: params holds all the parameters of this module. 17339 type: object 17340 properties: 17341 unbonding_time: 17342 type: string 17343 description: unbonding_time is the time duration of unbonding. 17344 max_validators: 17345 type: integer 17346 format: int64 17347 description: max_validators is the maximum number of validators. 17348 max_entries: 17349 type: integer 17350 format: int64 17351 description: >- 17352 max_entries is the max entries for either unbonding 17353 delegation or redelegation (per pair/trio). 17354 historical_entries: 17355 type: integer 17356 format: int64 17357 description: >- 17358 historical_entries is the number of historical entries to 17359 persist. 17360 bond_denom: 17361 type: string 17362 description: bond_denom defines the bondable coin denomination. 17363 description: >- 17364 QueryParamsResponse is response type for the Query/Params RPC 17365 method. 17366 default: 17367 description: An unexpected error response 17368 schema: 17369 type: object 17370 properties: 17371 error: 17372 type: string 17373 code: 17374 type: integer 17375 format: int32 17376 message: 17377 type: string 17378 details: 17379 type: array 17380 items: 17381 type: object 17382 properties: 17383 type_url: 17384 type: string 17385 description: >- 17386 A URL/resource name that uniquely identifies the type of 17387 the serialized 17388 17389 protocol buffer message. This string must contain at 17390 least 17391 17392 one "/" character. The last segment of the URL's path 17393 must represent 17394 17395 the fully qualified name of the type (as in 17396 17397 `path/google.protobuf.Duration`). The name should be in 17398 a canonical form 17399 17400 (e.g., leading "." is not accepted). 17401 17402 17403 In practice, teams usually precompile into the binary 17404 all types that they 17405 17406 expect it to use in the context of Any. However, for 17407 URLs which use the 17408 17409 scheme `http`, `https`, or no scheme, one can optionally 17410 set up a type 17411 17412 server that maps type URLs to message definitions as 17413 follows: 17414 17415 17416 * If no scheme is provided, `https` is assumed. 17417 17418 * An HTTP GET on the URL must yield a 17419 [google.protobuf.Type][] 17420 value in binary format, or produce an error. 17421 * Applications are allowed to cache lookup results based 17422 on the 17423 URL, or have them precompiled into a binary to avoid any 17424 lookup. Therefore, binary compatibility needs to be preserved 17425 on changes to types. (Use versioned type names to manage 17426 breaking changes.) 17427 17428 Note: this functionality is not currently available in 17429 the official 17430 17431 protobuf release, and it is not used for type URLs 17432 beginning with 17433 17434 type.googleapis.com. 17435 17436 17437 Schemes other than `http`, `https` (or the empty scheme) 17438 might be 17439 17440 used with implementation specific semantics. 17441 value: 17442 type: string 17443 format: byte 17444 description: >- 17445 Must be a valid serialized protocol buffer of the above 17446 specified type. 17447 description: >- 17448 `Any` contains an arbitrary serialized protocol buffer 17449 message along with a 17450 17451 URL that describes the type of the serialized message. 17452 17453 17454 Protobuf library provides support to pack/unpack Any values 17455 in the form 17456 17457 of utility functions or additional generated methods of the 17458 Any type. 17459 17460 17461 Example 1: Pack and unpack a message in C++. 17462 17463 Foo foo = ...; 17464 Any any; 17465 any.PackFrom(foo); 17466 ... 17467 if (any.UnpackTo(&foo)) { 17468 ... 17469 } 17470 17471 Example 2: Pack and unpack a message in Java. 17472 17473 Foo foo = ...; 17474 Any any = Any.pack(foo); 17475 ... 17476 if (any.is(Foo.class)) { 17477 foo = any.unpack(Foo.class); 17478 } 17479 17480 Example 3: Pack and unpack a message in Python. 17481 17482 foo = Foo(...) 17483 any = Any() 17484 any.Pack(foo) 17485 ... 17486 if any.Is(Foo.DESCRIPTOR): 17487 any.Unpack(foo) 17488 ... 17489 17490 Example 4: Pack and unpack a message in Go 17491 17492 foo := &pb.Foo{...} 17493 any, err := ptypes.MarshalAny(foo) 17494 ... 17495 foo := &pb.Foo{} 17496 if err := ptypes.UnmarshalAny(any, foo); err != nil { 17497 ... 17498 } 17499 17500 The pack methods provided by protobuf library will by 17501 default use 17502 17503 'type.googleapis.com/full.type.name' as the type URL and the 17504 unpack 17505 17506 methods only use the fully qualified type name after the 17507 last '/' 17508 17509 in the type URL, for example "foo.bar.com/x/y.z" will yield 17510 type 17511 17512 name "y.z". 17513 17514 17515 17516 JSON 17517 17518 ==== 17519 17520 The JSON representation of an `Any` value uses the regular 17521 17522 representation of the deserialized, embedded message, with 17523 an 17524 17525 additional field `@type` which contains the type URL. 17526 Example: 17527 17528 package google.profile; 17529 message Person { 17530 string first_name = 1; 17531 string last_name = 2; 17532 } 17533 17534 { 17535 "@type": "type.googleapis.com/google.profile.Person", 17536 "firstName": <string>, 17537 "lastName": <string> 17538 } 17539 17540 If the embedded message type is well-known and has a custom 17541 JSON 17542 17543 representation, that representation will be embedded adding 17544 a field 17545 17546 `value` which holds the custom JSON in addition to the 17547 `@type` 17548 17549 field. Example (for message [google.protobuf.Duration][]): 17550 17551 { 17552 "@type": "type.googleapis.com/google.protobuf.Duration", 17553 "value": "1.212s" 17554 } 17555 tags: 17556 - Query 17557 /cosmos/staking/v1beta1/pool: 17558 get: 17559 summary: Pool queries the pool info. 17560 operationId: Pool 17561 responses: 17562 '200': 17563 description: A successful response. 17564 schema: 17565 type: object 17566 properties: 17567 pool: 17568 description: pool defines the pool info. 17569 type: object 17570 properties: 17571 not_bonded_tokens: 17572 type: string 17573 bonded_tokens: 17574 type: string 17575 description: QueryPoolResponse is response type for the Query/Pool RPC method. 17576 default: 17577 description: An unexpected error response 17578 schema: 17579 type: object 17580 properties: 17581 error: 17582 type: string 17583 code: 17584 type: integer 17585 format: int32 17586 message: 17587 type: string 17588 details: 17589 type: array 17590 items: 17591 type: object 17592 properties: 17593 type_url: 17594 type: string 17595 description: >- 17596 A URL/resource name that uniquely identifies the type of 17597 the serialized 17598 17599 protocol buffer message. This string must contain at 17600 least 17601 17602 one "/" character. The last segment of the URL's path 17603 must represent 17604 17605 the fully qualified name of the type (as in 17606 17607 `path/google.protobuf.Duration`). The name should be in 17608 a canonical form 17609 17610 (e.g., leading "." is not accepted). 17611 17612 17613 In practice, teams usually precompile into the binary 17614 all types that they 17615 17616 expect it to use in the context of Any. However, for 17617 URLs which use the 17618 17619 scheme `http`, `https`, or no scheme, one can optionally 17620 set up a type 17621 17622 server that maps type URLs to message definitions as 17623 follows: 17624 17625 17626 * If no scheme is provided, `https` is assumed. 17627 17628 * An HTTP GET on the URL must yield a 17629 [google.protobuf.Type][] 17630 value in binary format, or produce an error. 17631 * Applications are allowed to cache lookup results based 17632 on the 17633 URL, or have them precompiled into a binary to avoid any 17634 lookup. Therefore, binary compatibility needs to be preserved 17635 on changes to types. (Use versioned type names to manage 17636 breaking changes.) 17637 17638 Note: this functionality is not currently available in 17639 the official 17640 17641 protobuf release, and it is not used for type URLs 17642 beginning with 17643 17644 type.googleapis.com. 17645 17646 17647 Schemes other than `http`, `https` (or the empty scheme) 17648 might be 17649 17650 used with implementation specific semantics. 17651 value: 17652 type: string 17653 format: byte 17654 description: >- 17655 Must be a valid serialized protocol buffer of the above 17656 specified type. 17657 description: >- 17658 `Any` contains an arbitrary serialized protocol buffer 17659 message along with a 17660 17661 URL that describes the type of the serialized message. 17662 17663 17664 Protobuf library provides support to pack/unpack Any values 17665 in the form 17666 17667 of utility functions or additional generated methods of the 17668 Any type. 17669 17670 17671 Example 1: Pack and unpack a message in C++. 17672 17673 Foo foo = ...; 17674 Any any; 17675 any.PackFrom(foo); 17676 ... 17677 if (any.UnpackTo(&foo)) { 17678 ... 17679 } 17680 17681 Example 2: Pack and unpack a message in Java. 17682 17683 Foo foo = ...; 17684 Any any = Any.pack(foo); 17685 ... 17686 if (any.is(Foo.class)) { 17687 foo = any.unpack(Foo.class); 17688 } 17689 17690 Example 3: Pack and unpack a message in Python. 17691 17692 foo = Foo(...) 17693 any = Any() 17694 any.Pack(foo) 17695 ... 17696 if any.Is(Foo.DESCRIPTOR): 17697 any.Unpack(foo) 17698 ... 17699 17700 Example 4: Pack and unpack a message in Go 17701 17702 foo := &pb.Foo{...} 17703 any, err := ptypes.MarshalAny(foo) 17704 ... 17705 foo := &pb.Foo{} 17706 if err := ptypes.UnmarshalAny(any, foo); err != nil { 17707 ... 17708 } 17709 17710 The pack methods provided by protobuf library will by 17711 default use 17712 17713 'type.googleapis.com/full.type.name' as the type URL and the 17714 unpack 17715 17716 methods only use the fully qualified type name after the 17717 last '/' 17718 17719 in the type URL, for example "foo.bar.com/x/y.z" will yield 17720 type 17721 17722 name "y.z". 17723 17724 17725 17726 JSON 17727 17728 ==== 17729 17730 The JSON representation of an `Any` value uses the regular 17731 17732 representation of the deserialized, embedded message, with 17733 an 17734 17735 additional field `@type` which contains the type URL. 17736 Example: 17737 17738 package google.profile; 17739 message Person { 17740 string first_name = 1; 17741 string last_name = 2; 17742 } 17743 17744 { 17745 "@type": "type.googleapis.com/google.profile.Person", 17746 "firstName": <string>, 17747 "lastName": <string> 17748 } 17749 17750 If the embedded message type is well-known and has a custom 17751 JSON 17752 17753 representation, that representation will be embedded adding 17754 a field 17755 17756 `value` which holds the custom JSON in addition to the 17757 `@type` 17758 17759 field. Example (for message [google.protobuf.Duration][]): 17760 17761 { 17762 "@type": "type.googleapis.com/google.protobuf.Duration", 17763 "value": "1.212s" 17764 } 17765 tags: 17766 - Query 17767 /cosmos/staking/v1beta1/validators: 17768 get: 17769 summary: Validators queries all validators that match the given status. 17770 operationId: Validators 17771 responses: 17772 '200': 17773 description: A successful response. 17774 schema: 17775 type: object 17776 properties: 17777 validators: 17778 type: array 17779 items: 17780 type: object 17781 properties: 17782 operator_address: 17783 type: string 17784 description: >- 17785 operator_address defines the address of the validator's 17786 operator; bech encoded in JSON. 17787 consensus_pubkey: 17788 type: object 17789 properties: 17790 type_url: 17791 type: string 17792 description: >- 17793 A URL/resource name that uniquely identifies the 17794 type of the serialized 17795 17796 protocol buffer message. This string must contain at 17797 least 17798 17799 one "/" character. The last segment of the URL's 17800 path must represent 17801 17802 the fully qualified name of the type (as in 17803 17804 `path/google.protobuf.Duration`). The name should be 17805 in a canonical form 17806 17807 (e.g., leading "." is not accepted). 17808 17809 17810 In practice, teams usually precompile into the 17811 binary all types that they 17812 17813 expect it to use in the context of Any. However, for 17814 URLs which use the 17815 17816 scheme `http`, `https`, or no scheme, one can 17817 optionally set up a type 17818 17819 server that maps type URLs to message definitions as 17820 follows: 17821 17822 17823 * If no scheme is provided, `https` is assumed. 17824 17825 * An HTTP GET on the URL must yield a 17826 [google.protobuf.Type][] 17827 value in binary format, or produce an error. 17828 * Applications are allowed to cache lookup results 17829 based on the 17830 URL, or have them precompiled into a binary to avoid any 17831 lookup. Therefore, binary compatibility needs to be preserved 17832 on changes to types. (Use versioned type names to manage 17833 breaking changes.) 17834 17835 Note: this functionality is not currently available 17836 in the official 17837 17838 protobuf release, and it is not used for type URLs 17839 beginning with 17840 17841 type.googleapis.com. 17842 17843 17844 Schemes other than `http`, `https` (or the empty 17845 scheme) might be 17846 17847 used with implementation specific semantics. 17848 value: 17849 type: string 17850 format: byte 17851 description: >- 17852 Must be a valid serialized protocol buffer of the 17853 above specified type. 17854 description: >- 17855 `Any` contains an arbitrary serialized protocol buffer 17856 message along with a 17857 17858 URL that describes the type of the serialized message. 17859 17860 17861 Protobuf library provides support to pack/unpack Any 17862 values in the form 17863 17864 of utility functions or additional generated methods of 17865 the Any type. 17866 17867 17868 Example 1: Pack and unpack a message in C++. 17869 17870 Foo foo = ...; 17871 Any any; 17872 any.PackFrom(foo); 17873 ... 17874 if (any.UnpackTo(&foo)) { 17875 ... 17876 } 17877 17878 Example 2: Pack and unpack a message in Java. 17879 17880 Foo foo = ...; 17881 Any any = Any.pack(foo); 17882 ... 17883 if (any.is(Foo.class)) { 17884 foo = any.unpack(Foo.class); 17885 } 17886 17887 Example 3: Pack and unpack a message in Python. 17888 17889 foo = Foo(...) 17890 any = Any() 17891 any.Pack(foo) 17892 ... 17893 if any.Is(Foo.DESCRIPTOR): 17894 any.Unpack(foo) 17895 ... 17896 17897 Example 4: Pack and unpack a message in Go 17898 17899 foo := &pb.Foo{...} 17900 any, err := ptypes.MarshalAny(foo) 17901 ... 17902 foo := &pb.Foo{} 17903 if err := ptypes.UnmarshalAny(any, foo); err != nil { 17904 ... 17905 } 17906 17907 The pack methods provided by protobuf library will by 17908 default use 17909 17910 'type.googleapis.com/full.type.name' as the type URL and 17911 the unpack 17912 17913 methods only use the fully qualified type name after the 17914 last '/' 17915 17916 in the type URL, for example "foo.bar.com/x/y.z" will 17917 yield type 17918 17919 name "y.z". 17920 17921 17922 17923 JSON 17924 17925 ==== 17926 17927 The JSON representation of an `Any` value uses the 17928 regular 17929 17930 representation of the deserialized, embedded message, 17931 with an 17932 17933 additional field `@type` which contains the type URL. 17934 Example: 17935 17936 package google.profile; 17937 message Person { 17938 string first_name = 1; 17939 string last_name = 2; 17940 } 17941 17942 { 17943 "@type": "type.googleapis.com/google.profile.Person", 17944 "firstName": <string>, 17945 "lastName": <string> 17946 } 17947 17948 If the embedded message type is well-known and has a 17949 custom JSON 17950 17951 representation, that representation will be embedded 17952 adding a field 17953 17954 `value` which holds the custom JSON in addition to the 17955 `@type` 17956 17957 field. Example (for message 17958 [google.protobuf.Duration][]): 17959 17960 { 17961 "@type": "type.googleapis.com/google.protobuf.Duration", 17962 "value": "1.212s" 17963 } 17964 jailed: 17965 type: boolean 17966 format: boolean 17967 description: >- 17968 jailed defined whether the validator has been jailed 17969 from bonded status or not. 17970 status: 17971 description: >- 17972 status is the validator status 17973 (bonded/unbonding/unbonded). 17974 type: string 17975 enum: 17976 - BOND_STATUS_UNSPECIFIED 17977 - BOND_STATUS_UNBONDED 17978 - BOND_STATUS_UNBONDING 17979 - BOND_STATUS_BONDED 17980 default: BOND_STATUS_UNSPECIFIED 17981 tokens: 17982 type: string 17983 description: >- 17984 tokens define the delegated tokens (incl. 17985 self-delegation). 17986 delegator_shares: 17987 type: string 17988 description: >- 17989 delegator_shares defines total shares issued to a 17990 validator's delegators. 17991 description: 17992 description: >- 17993 description defines the description terms for the 17994 validator. 17995 type: object 17996 properties: 17997 moniker: 17998 type: string 17999 description: >- 18000 moniker defines a human-readable name for the 18001 validator. 18002 identity: 18003 type: string 18004 description: >- 18005 identity defines an optional identity signature (ex. 18006 UPort or Keybase). 18007 website: 18008 type: string 18009 description: website defines an optional website link. 18010 security_contact: 18011 type: string 18012 description: >- 18013 security_contact defines an optional email for 18014 security contact. 18015 details: 18016 type: string 18017 description: details define other optional details. 18018 unbonding_height: 18019 type: string 18020 format: int64 18021 description: >- 18022 unbonding_height defines, if unbonding, the height at 18023 which this validator has begun unbonding. 18024 unbonding_time: 18025 type: string 18026 format: date-time 18027 description: >- 18028 unbonding_time defines, if unbonding, the min time for 18029 the validator to complete unbonding. 18030 commission: 18031 description: commission defines the commission parameters. 18032 type: object 18033 properties: 18034 commission_rates: 18035 description: >- 18036 commission_rates defines the initial commission 18037 rates to be used for creating a validator. 18038 type: object 18039 properties: 18040 rate: 18041 type: string 18042 description: >- 18043 rate is the commission rate charged to 18044 delegators, as a fraction. 18045 max_rate: 18046 type: string 18047 description: >- 18048 max_rate defines the maximum commission rate 18049 which validator can ever charge, as a fraction. 18050 max_change_rate: 18051 type: string 18052 description: >- 18053 max_change_rate defines the maximum daily 18054 increase of the validator commission, as a 18055 fraction. 18056 update_time: 18057 type: string 18058 format: date-time 18059 description: >- 18060 update_time is the last time the commission rate was 18061 changed. 18062 min_self_delegation: 18063 type: string 18064 description: >- 18065 min_self_delegation is the validator's self declared 18066 minimum self delegation. 18067 description: >- 18068 Validator defines a validator, together with the total 18069 amount of the 18070 18071 Validator's bond shares and their exchange rate to coins. 18072 Slashing results in 18073 18074 a decrease in the exchange rate, allowing correct 18075 calculation of future 18076 18077 undelegations without iterating over delegators. When coins 18078 are delegated to 18079 18080 this validator, the validator is credited with a delegation 18081 whose number of 18082 18083 bond shares is based on the amount of coins delegated 18084 divided by the current 18085 18086 exchange rate. Voting power can be calculated as total 18087 bonded shares 18088 18089 multiplied by exchange rate. 18090 description: validators contains all the queried validators. 18091 pagination: 18092 description: pagination defines the pagination in the response. 18093 type: object 18094 properties: 18095 next_key: 18096 type: string 18097 format: byte 18098 title: |- 18099 next_key is the key to be passed to PageRequest.key to 18100 query the next page most efficiently 18101 total: 18102 type: string 18103 format: uint64 18104 title: >- 18105 total is total number of results available if 18106 PageRequest.count_total 18107 18108 was set, its value is undefined otherwise 18109 title: >- 18110 QueryValidatorsResponse is response type for the Query/Validators 18111 RPC method 18112 default: 18113 description: An unexpected error response 18114 schema: 18115 type: object 18116 properties: 18117 error: 18118 type: string 18119 code: 18120 type: integer 18121 format: int32 18122 message: 18123 type: string 18124 details: 18125 type: array 18126 items: 18127 type: object 18128 properties: 18129 type_url: 18130 type: string 18131 description: >- 18132 A URL/resource name that uniquely identifies the type of 18133 the serialized 18134 18135 protocol buffer message. This string must contain at 18136 least 18137 18138 one "/" character. The last segment of the URL's path 18139 must represent 18140 18141 the fully qualified name of the type (as in 18142 18143 `path/google.protobuf.Duration`). The name should be in 18144 a canonical form 18145 18146 (e.g., leading "." is not accepted). 18147 18148 18149 In practice, teams usually precompile into the binary 18150 all types that they 18151 18152 expect it to use in the context of Any. However, for 18153 URLs which use the 18154 18155 scheme `http`, `https`, or no scheme, one can optionally 18156 set up a type 18157 18158 server that maps type URLs to message definitions as 18159 follows: 18160 18161 18162 * If no scheme is provided, `https` is assumed. 18163 18164 * An HTTP GET on the URL must yield a 18165 [google.protobuf.Type][] 18166 value in binary format, or produce an error. 18167 * Applications are allowed to cache lookup results based 18168 on the 18169 URL, or have them precompiled into a binary to avoid any 18170 lookup. Therefore, binary compatibility needs to be preserved 18171 on changes to types. (Use versioned type names to manage 18172 breaking changes.) 18173 18174 Note: this functionality is not currently available in 18175 the official 18176 18177 protobuf release, and it is not used for type URLs 18178 beginning with 18179 18180 type.googleapis.com. 18181 18182 18183 Schemes other than `http`, `https` (or the empty scheme) 18184 might be 18185 18186 used with implementation specific semantics. 18187 value: 18188 type: string 18189 format: byte 18190 description: >- 18191 Must be a valid serialized protocol buffer of the above 18192 specified type. 18193 description: >- 18194 `Any` contains an arbitrary serialized protocol buffer 18195 message along with a 18196 18197 URL that describes the type of the serialized message. 18198 18199 18200 Protobuf library provides support to pack/unpack Any values 18201 in the form 18202 18203 of utility functions or additional generated methods of the 18204 Any type. 18205 18206 18207 Example 1: Pack and unpack a message in C++. 18208 18209 Foo foo = ...; 18210 Any any; 18211 any.PackFrom(foo); 18212 ... 18213 if (any.UnpackTo(&foo)) { 18214 ... 18215 } 18216 18217 Example 2: Pack and unpack a message in Java. 18218 18219 Foo foo = ...; 18220 Any any = Any.pack(foo); 18221 ... 18222 if (any.is(Foo.class)) { 18223 foo = any.unpack(Foo.class); 18224 } 18225 18226 Example 3: Pack and unpack a message in Python. 18227 18228 foo = Foo(...) 18229 any = Any() 18230 any.Pack(foo) 18231 ... 18232 if any.Is(Foo.DESCRIPTOR): 18233 any.Unpack(foo) 18234 ... 18235 18236 Example 4: Pack and unpack a message in Go 18237 18238 foo := &pb.Foo{...} 18239 any, err := ptypes.MarshalAny(foo) 18240 ... 18241 foo := &pb.Foo{} 18242 if err := ptypes.UnmarshalAny(any, foo); err != nil { 18243 ... 18244 } 18245 18246 The pack methods provided by protobuf library will by 18247 default use 18248 18249 'type.googleapis.com/full.type.name' as the type URL and the 18250 unpack 18251 18252 methods only use the fully qualified type name after the 18253 last '/' 18254 18255 in the type URL, for example "foo.bar.com/x/y.z" will yield 18256 type 18257 18258 name "y.z". 18259 18260 18261 18262 JSON 18263 18264 ==== 18265 18266 The JSON representation of an `Any` value uses the regular 18267 18268 representation of the deserialized, embedded message, with 18269 an 18270 18271 additional field `@type` which contains the type URL. 18272 Example: 18273 18274 package google.profile; 18275 message Person { 18276 string first_name = 1; 18277 string last_name = 2; 18278 } 18279 18280 { 18281 "@type": "type.googleapis.com/google.profile.Person", 18282 "firstName": <string>, 18283 "lastName": <string> 18284 } 18285 18286 If the embedded message type is well-known and has a custom 18287 JSON 18288 18289 representation, that representation will be embedded adding 18290 a field 18291 18292 `value` which holds the custom JSON in addition to the 18293 `@type` 18294 18295 field. Example (for message [google.protobuf.Duration][]): 18296 18297 { 18298 "@type": "type.googleapis.com/google.protobuf.Duration", 18299 "value": "1.212s" 18300 } 18301 parameters: 18302 - name: status 18303 description: status enables to query for validators matching a given status. 18304 in: query 18305 required: false 18306 type: string 18307 - name: pagination.key 18308 description: |- 18309 key is a value returned in PageResponse.next_key to begin 18310 querying the next page most efficiently. Only one of offset or key 18311 should be set. 18312 in: query 18313 required: false 18314 type: string 18315 format: byte 18316 - name: pagination.offset 18317 description: >- 18318 offset is a numeric offset that can be used when key is unavailable. 18319 18320 It is less efficient than using key. Only one of offset or key 18321 should 18322 18323 be set. 18324 in: query 18325 required: false 18326 type: string 18327 format: uint64 18328 - name: pagination.limit 18329 description: >- 18330 limit is the total number of results to be returned in the result 18331 page. 18332 18333 If left empty it will default to a value to be set by each app. 18334 in: query 18335 required: false 18336 type: string 18337 format: uint64 18338 - name: pagination.count_total 18339 description: >- 18340 count_total is set to true to indicate that the result set should 18341 include 18342 18343 a count of the total number of items available for pagination in 18344 UIs. 18345 18346 count_total is only respected when offset is used. It is ignored 18347 when key 18348 18349 is set. 18350 in: query 18351 required: false 18352 type: boolean 18353 format: boolean 18354 - name: pagination.reverse 18355 description: >- 18356 reverse is set to true if results are to be returned in the 18357 descending order. 18358 18359 18360 Since: cosmos-sdk 0.43 18361 in: query 18362 required: false 18363 type: boolean 18364 format: boolean 18365 tags: 18366 - Query 18367 '/cosmos/staking/v1beta1/validators/{validator_addr}': 18368 get: 18369 summary: Validator queries validator info for given validator address. 18370 operationId: Validator 18371 responses: 18372 '200': 18373 description: A successful response. 18374 schema: 18375 type: object 18376 properties: 18377 validator: 18378 type: object 18379 properties: 18380 operator_address: 18381 type: string 18382 description: >- 18383 operator_address defines the address of the validator's 18384 operator; bech encoded in JSON. 18385 consensus_pubkey: 18386 type: object 18387 properties: 18388 type_url: 18389 type: string 18390 description: >- 18391 A URL/resource name that uniquely identifies the type 18392 of the serialized 18393 18394 protocol buffer message. This string must contain at 18395 least 18396 18397 one "/" character. The last segment of the URL's path 18398 must represent 18399 18400 the fully qualified name of the type (as in 18401 18402 `path/google.protobuf.Duration`). The name should be 18403 in a canonical form 18404 18405 (e.g., leading "." is not accepted). 18406 18407 18408 In practice, teams usually precompile into the binary 18409 all types that they 18410 18411 expect it to use in the context of Any. However, for 18412 URLs which use the 18413 18414 scheme `http`, `https`, or no scheme, one can 18415 optionally set up a type 18416 18417 server that maps type URLs to message definitions as 18418 follows: 18419 18420 18421 * If no scheme is provided, `https` is assumed. 18422 18423 * An HTTP GET on the URL must yield a 18424 [google.protobuf.Type][] 18425 value in binary format, or produce an error. 18426 * Applications are allowed to cache lookup results 18427 based on the 18428 URL, or have them precompiled into a binary to avoid any 18429 lookup. Therefore, binary compatibility needs to be preserved 18430 on changes to types. (Use versioned type names to manage 18431 breaking changes.) 18432 18433 Note: this functionality is not currently available in 18434 the official 18435 18436 protobuf release, and it is not used for type URLs 18437 beginning with 18438 18439 type.googleapis.com. 18440 18441 18442 Schemes other than `http`, `https` (or the empty 18443 scheme) might be 18444 18445 used with implementation specific semantics. 18446 value: 18447 type: string 18448 format: byte 18449 description: >- 18450 Must be a valid serialized protocol buffer of the 18451 above specified type. 18452 description: >- 18453 `Any` contains an arbitrary serialized protocol buffer 18454 message along with a 18455 18456 URL that describes the type of the serialized message. 18457 18458 18459 Protobuf library provides support to pack/unpack Any 18460 values in the form 18461 18462 of utility functions or additional generated methods of 18463 the Any type. 18464 18465 18466 Example 1: Pack and unpack a message in C++. 18467 18468 Foo foo = ...; 18469 Any any; 18470 any.PackFrom(foo); 18471 ... 18472 if (any.UnpackTo(&foo)) { 18473 ... 18474 } 18475 18476 Example 2: Pack and unpack a message in Java. 18477 18478 Foo foo = ...; 18479 Any any = Any.pack(foo); 18480 ... 18481 if (any.is(Foo.class)) { 18482 foo = any.unpack(Foo.class); 18483 } 18484 18485 Example 3: Pack and unpack a message in Python. 18486 18487 foo = Foo(...) 18488 any = Any() 18489 any.Pack(foo) 18490 ... 18491 if any.Is(Foo.DESCRIPTOR): 18492 any.Unpack(foo) 18493 ... 18494 18495 Example 4: Pack and unpack a message in Go 18496 18497 foo := &pb.Foo{...} 18498 any, err := ptypes.MarshalAny(foo) 18499 ... 18500 foo := &pb.Foo{} 18501 if err := ptypes.UnmarshalAny(any, foo); err != nil { 18502 ... 18503 } 18504 18505 The pack methods provided by protobuf library will by 18506 default use 18507 18508 'type.googleapis.com/full.type.name' as the type URL and 18509 the unpack 18510 18511 methods only use the fully qualified type name after the 18512 last '/' 18513 18514 in the type URL, for example "foo.bar.com/x/y.z" will 18515 yield type 18516 18517 name "y.z". 18518 18519 18520 18521 JSON 18522 18523 ==== 18524 18525 The JSON representation of an `Any` value uses the regular 18526 18527 representation of the deserialized, embedded message, with 18528 an 18529 18530 additional field `@type` which contains the type URL. 18531 Example: 18532 18533 package google.profile; 18534 message Person { 18535 string first_name = 1; 18536 string last_name = 2; 18537 } 18538 18539 { 18540 "@type": "type.googleapis.com/google.profile.Person", 18541 "firstName": <string>, 18542 "lastName": <string> 18543 } 18544 18545 If the embedded message type is well-known and has a 18546 custom JSON 18547 18548 representation, that representation will be embedded 18549 adding a field 18550 18551 `value` which holds the custom JSON in addition to the 18552 `@type` 18553 18554 field. Example (for message [google.protobuf.Duration][]): 18555 18556 { 18557 "@type": "type.googleapis.com/google.protobuf.Duration", 18558 "value": "1.212s" 18559 } 18560 jailed: 18561 type: boolean 18562 format: boolean 18563 description: >- 18564 jailed defined whether the validator has been jailed from 18565 bonded status or not. 18566 status: 18567 description: >- 18568 status is the validator status 18569 (bonded/unbonding/unbonded). 18570 type: string 18571 enum: 18572 - BOND_STATUS_UNSPECIFIED 18573 - BOND_STATUS_UNBONDED 18574 - BOND_STATUS_UNBONDING 18575 - BOND_STATUS_BONDED 18576 default: BOND_STATUS_UNSPECIFIED 18577 tokens: 18578 type: string 18579 description: >- 18580 tokens define the delegated tokens (incl. 18581 self-delegation). 18582 delegator_shares: 18583 type: string 18584 description: >- 18585 delegator_shares defines total shares issued to a 18586 validator's delegators. 18587 description: 18588 description: >- 18589 description defines the description terms for the 18590 validator. 18591 type: object 18592 properties: 18593 moniker: 18594 type: string 18595 description: >- 18596 moniker defines a human-readable name for the 18597 validator. 18598 identity: 18599 type: string 18600 description: >- 18601 identity defines an optional identity signature (ex. 18602 UPort or Keybase). 18603 website: 18604 type: string 18605 description: website defines an optional website link. 18606 security_contact: 18607 type: string 18608 description: >- 18609 security_contact defines an optional email for 18610 security contact. 18611 details: 18612 type: string 18613 description: details define other optional details. 18614 unbonding_height: 18615 type: string 18616 format: int64 18617 description: >- 18618 unbonding_height defines, if unbonding, the height at 18619 which this validator has begun unbonding. 18620 unbonding_time: 18621 type: string 18622 format: date-time 18623 description: >- 18624 unbonding_time defines, if unbonding, the min time for the 18625 validator to complete unbonding. 18626 commission: 18627 description: commission defines the commission parameters. 18628 type: object 18629 properties: 18630 commission_rates: 18631 description: >- 18632 commission_rates defines the initial commission rates 18633 to be used for creating a validator. 18634 type: object 18635 properties: 18636 rate: 18637 type: string 18638 description: >- 18639 rate is the commission rate charged to delegators, 18640 as a fraction. 18641 max_rate: 18642 type: string 18643 description: >- 18644 max_rate defines the maximum commission rate which 18645 validator can ever charge, as a fraction. 18646 max_change_rate: 18647 type: string 18648 description: >- 18649 max_change_rate defines the maximum daily increase 18650 of the validator commission, as a fraction. 18651 update_time: 18652 type: string 18653 format: date-time 18654 description: >- 18655 update_time is the last time the commission rate was 18656 changed. 18657 min_self_delegation: 18658 type: string 18659 description: >- 18660 min_self_delegation is the validator's self declared 18661 minimum self delegation. 18662 description: >- 18663 Validator defines a validator, together with the total amount 18664 of the 18665 18666 Validator's bond shares and their exchange rate to coins. 18667 Slashing results in 18668 18669 a decrease in the exchange rate, allowing correct calculation 18670 of future 18671 18672 undelegations without iterating over delegators. When coins 18673 are delegated to 18674 18675 this validator, the validator is credited with a delegation 18676 whose number of 18677 18678 bond shares is based on the amount of coins delegated divided 18679 by the current 18680 18681 exchange rate. Voting power can be calculated as total bonded 18682 shares 18683 18684 multiplied by exchange rate. 18685 title: >- 18686 QueryValidatorResponse is response type for the Query/Validator 18687 RPC method 18688 default: 18689 description: An unexpected error response 18690 schema: 18691 type: object 18692 properties: 18693 error: 18694 type: string 18695 code: 18696 type: integer 18697 format: int32 18698 message: 18699 type: string 18700 details: 18701 type: array 18702 items: 18703 type: object 18704 properties: 18705 type_url: 18706 type: string 18707 description: >- 18708 A URL/resource name that uniquely identifies the type of 18709 the serialized 18710 18711 protocol buffer message. This string must contain at 18712 least 18713 18714 one "/" character. The last segment of the URL's path 18715 must represent 18716 18717 the fully qualified name of the type (as in 18718 18719 `path/google.protobuf.Duration`). The name should be in 18720 a canonical form 18721 18722 (e.g., leading "." is not accepted). 18723 18724 18725 In practice, teams usually precompile into the binary 18726 all types that they 18727 18728 expect it to use in the context of Any. However, for 18729 URLs which use the 18730 18731 scheme `http`, `https`, or no scheme, one can optionally 18732 set up a type 18733 18734 server that maps type URLs to message definitions as 18735 follows: 18736 18737 18738 * If no scheme is provided, `https` is assumed. 18739 18740 * An HTTP GET on the URL must yield a 18741 [google.protobuf.Type][] 18742 value in binary format, or produce an error. 18743 * Applications are allowed to cache lookup results based 18744 on the 18745 URL, or have them precompiled into a binary to avoid any 18746 lookup. Therefore, binary compatibility needs to be preserved 18747 on changes to types. (Use versioned type names to manage 18748 breaking changes.) 18749 18750 Note: this functionality is not currently available in 18751 the official 18752 18753 protobuf release, and it is not used for type URLs 18754 beginning with 18755 18756 type.googleapis.com. 18757 18758 18759 Schemes other than `http`, `https` (or the empty scheme) 18760 might be 18761 18762 used with implementation specific semantics. 18763 value: 18764 type: string 18765 format: byte 18766 description: >- 18767 Must be a valid serialized protocol buffer of the above 18768 specified type. 18769 description: >- 18770 `Any` contains an arbitrary serialized protocol buffer 18771 message along with a 18772 18773 URL that describes the type of the serialized message. 18774 18775 18776 Protobuf library provides support to pack/unpack Any values 18777 in the form 18778 18779 of utility functions or additional generated methods of the 18780 Any type. 18781 18782 18783 Example 1: Pack and unpack a message in C++. 18784 18785 Foo foo = ...; 18786 Any any; 18787 any.PackFrom(foo); 18788 ... 18789 if (any.UnpackTo(&foo)) { 18790 ... 18791 } 18792 18793 Example 2: Pack and unpack a message in Java. 18794 18795 Foo foo = ...; 18796 Any any = Any.pack(foo); 18797 ... 18798 if (any.is(Foo.class)) { 18799 foo = any.unpack(Foo.class); 18800 } 18801 18802 Example 3: Pack and unpack a message in Python. 18803 18804 foo = Foo(...) 18805 any = Any() 18806 any.Pack(foo) 18807 ... 18808 if any.Is(Foo.DESCRIPTOR): 18809 any.Unpack(foo) 18810 ... 18811 18812 Example 4: Pack and unpack a message in Go 18813 18814 foo := &pb.Foo{...} 18815 any, err := ptypes.MarshalAny(foo) 18816 ... 18817 foo := &pb.Foo{} 18818 if err := ptypes.UnmarshalAny(any, foo); err != nil { 18819 ... 18820 } 18821 18822 The pack methods provided by protobuf library will by 18823 default use 18824 18825 'type.googleapis.com/full.type.name' as the type URL and the 18826 unpack 18827 18828 methods only use the fully qualified type name after the 18829 last '/' 18830 18831 in the type URL, for example "foo.bar.com/x/y.z" will yield 18832 type 18833 18834 name "y.z". 18835 18836 18837 18838 JSON 18839 18840 ==== 18841 18842 The JSON representation of an `Any` value uses the regular 18843 18844 representation of the deserialized, embedded message, with 18845 an 18846 18847 additional field `@type` which contains the type URL. 18848 Example: 18849 18850 package google.profile; 18851 message Person { 18852 string first_name = 1; 18853 string last_name = 2; 18854 } 18855 18856 { 18857 "@type": "type.googleapis.com/google.profile.Person", 18858 "firstName": <string>, 18859 "lastName": <string> 18860 } 18861 18862 If the embedded message type is well-known and has a custom 18863 JSON 18864 18865 representation, that representation will be embedded adding 18866 a field 18867 18868 `value` which holds the custom JSON in addition to the 18869 `@type` 18870 18871 field. Example (for message [google.protobuf.Duration][]): 18872 18873 { 18874 "@type": "type.googleapis.com/google.protobuf.Duration", 18875 "value": "1.212s" 18876 } 18877 parameters: 18878 - name: validator_addr 18879 description: validator_addr defines the validator address to query for. 18880 in: path 18881 required: true 18882 type: string 18883 tags: 18884 - Query 18885 '/cosmos/staking/v1beta1/validators/{validator_addr}/delegations': 18886 get: 18887 summary: ValidatorDelegations queries delegate info for given validator. 18888 operationId: ValidatorDelegations 18889 responses: 18890 '200': 18891 description: A successful response. 18892 schema: 18893 type: object 18894 properties: 18895 delegation_responses: 18896 type: array 18897 items: 18898 type: object 18899 properties: 18900 delegation: 18901 type: object 18902 properties: 18903 delegator_address: 18904 type: string 18905 description: >- 18906 delegator_address is the bech32-encoded address of 18907 the delegator. 18908 validator_address: 18909 type: string 18910 description: >- 18911 validator_address is the bech32-encoded address of 18912 the validator. 18913 shares: 18914 type: string 18915 description: shares define the delegation shares received. 18916 description: >- 18917 Delegation represents the bond with tokens held by an 18918 account. It is 18919 18920 owned by one delegator, and is associated with the 18921 voting power of one 18922 18923 validator. 18924 balance: 18925 type: object 18926 properties: 18927 denom: 18928 type: string 18929 amount: 18930 type: string 18931 description: >- 18932 Coin defines a token with a denomination and an amount. 18933 18934 18935 NOTE: The amount field is an Int which implements the 18936 custom method 18937 18938 signatures required by gogoproto. 18939 description: >- 18940 DelegationResponse is equivalent to Delegation except that 18941 it contains a 18942 18943 balance in addition to shares which is more suitable for 18944 client responses. 18945 pagination: 18946 description: pagination defines the pagination in the response. 18947 type: object 18948 properties: 18949 next_key: 18950 type: string 18951 format: byte 18952 title: |- 18953 next_key is the key to be passed to PageRequest.key to 18954 query the next page most efficiently 18955 total: 18956 type: string 18957 format: uint64 18958 title: >- 18959 total is total number of results available if 18960 PageRequest.count_total 18961 18962 was set, its value is undefined otherwise 18963 title: |- 18964 QueryValidatorDelegationsResponse is response type for the 18965 Query/ValidatorDelegations RPC method 18966 default: 18967 description: An unexpected error response 18968 schema: 18969 type: object 18970 properties: 18971 error: 18972 type: string 18973 code: 18974 type: integer 18975 format: int32 18976 message: 18977 type: string 18978 details: 18979 type: array 18980 items: 18981 type: object 18982 properties: 18983 type_url: 18984 type: string 18985 description: >- 18986 A URL/resource name that uniquely identifies the type of 18987 the serialized 18988 18989 protocol buffer message. This string must contain at 18990 least 18991 18992 one "/" character. The last segment of the URL's path 18993 must represent 18994 18995 the fully qualified name of the type (as in 18996 18997 `path/google.protobuf.Duration`). The name should be in 18998 a canonical form 18999 19000 (e.g., leading "." is not accepted). 19001 19002 19003 In practice, teams usually precompile into the binary 19004 all types that they 19005 19006 expect it to use in the context of Any. However, for 19007 URLs which use the 19008 19009 scheme `http`, `https`, or no scheme, one can optionally 19010 set up a type 19011 19012 server that maps type URLs to message definitions as 19013 follows: 19014 19015 19016 * If no scheme is provided, `https` is assumed. 19017 19018 * An HTTP GET on the URL must yield a 19019 [google.protobuf.Type][] 19020 value in binary format, or produce an error. 19021 * Applications are allowed to cache lookup results based 19022 on the 19023 URL, or have them precompiled into a binary to avoid any 19024 lookup. Therefore, binary compatibility needs to be preserved 19025 on changes to types. (Use versioned type names to manage 19026 breaking changes.) 19027 19028 Note: this functionality is not currently available in 19029 the official 19030 19031 protobuf release, and it is not used for type URLs 19032 beginning with 19033 19034 type.googleapis.com. 19035 19036 19037 Schemes other than `http`, `https` (or the empty scheme) 19038 might be 19039 19040 used with implementation specific semantics. 19041 value: 19042 type: string 19043 format: byte 19044 description: >- 19045 Must be a valid serialized protocol buffer of the above 19046 specified type. 19047 description: >- 19048 `Any` contains an arbitrary serialized protocol buffer 19049 message along with a 19050 19051 URL that describes the type of the serialized message. 19052 19053 19054 Protobuf library provides support to pack/unpack Any values 19055 in the form 19056 19057 of utility functions or additional generated methods of the 19058 Any type. 19059 19060 19061 Example 1: Pack and unpack a message in C++. 19062 19063 Foo foo = ...; 19064 Any any; 19065 any.PackFrom(foo); 19066 ... 19067 if (any.UnpackTo(&foo)) { 19068 ... 19069 } 19070 19071 Example 2: Pack and unpack a message in Java. 19072 19073 Foo foo = ...; 19074 Any any = Any.pack(foo); 19075 ... 19076 if (any.is(Foo.class)) { 19077 foo = any.unpack(Foo.class); 19078 } 19079 19080 Example 3: Pack and unpack a message in Python. 19081 19082 foo = Foo(...) 19083 any = Any() 19084 any.Pack(foo) 19085 ... 19086 if any.Is(Foo.DESCRIPTOR): 19087 any.Unpack(foo) 19088 ... 19089 19090 Example 4: Pack and unpack a message in Go 19091 19092 foo := &pb.Foo{...} 19093 any, err := ptypes.MarshalAny(foo) 19094 ... 19095 foo := &pb.Foo{} 19096 if err := ptypes.UnmarshalAny(any, foo); err != nil { 19097 ... 19098 } 19099 19100 The pack methods provided by protobuf library will by 19101 default use 19102 19103 'type.googleapis.com/full.type.name' as the type URL and the 19104 unpack 19105 19106 methods only use the fully qualified type name after the 19107 last '/' 19108 19109 in the type URL, for example "foo.bar.com/x/y.z" will yield 19110 type 19111 19112 name "y.z". 19113 19114 19115 19116 JSON 19117 19118 ==== 19119 19120 The JSON representation of an `Any` value uses the regular 19121 19122 representation of the deserialized, embedded message, with 19123 an 19124 19125 additional field `@type` which contains the type URL. 19126 Example: 19127 19128 package google.profile; 19129 message Person { 19130 string first_name = 1; 19131 string last_name = 2; 19132 } 19133 19134 { 19135 "@type": "type.googleapis.com/google.profile.Person", 19136 "firstName": <string>, 19137 "lastName": <string> 19138 } 19139 19140 If the embedded message type is well-known and has a custom 19141 JSON 19142 19143 representation, that representation will be embedded adding 19144 a field 19145 19146 `value` which holds the custom JSON in addition to the 19147 `@type` 19148 19149 field. Example (for message [google.protobuf.Duration][]): 19150 19151 { 19152 "@type": "type.googleapis.com/google.protobuf.Duration", 19153 "value": "1.212s" 19154 } 19155 parameters: 19156 - name: validator_addr 19157 description: validator_addr defines the validator address to query for. 19158 in: path 19159 required: true 19160 type: string 19161 - name: pagination.key 19162 description: |- 19163 key is a value returned in PageResponse.next_key to begin 19164 querying the next page most efficiently. Only one of offset or key 19165 should be set. 19166 in: query 19167 required: false 19168 type: string 19169 format: byte 19170 - name: pagination.offset 19171 description: >- 19172 offset is a numeric offset that can be used when key is unavailable. 19173 19174 It is less efficient than using key. Only one of offset or key 19175 should 19176 19177 be set. 19178 in: query 19179 required: false 19180 type: string 19181 format: uint64 19182 - name: pagination.limit 19183 description: >- 19184 limit is the total number of results to be returned in the result 19185 page. 19186 19187 If left empty it will default to a value to be set by each app. 19188 in: query 19189 required: false 19190 type: string 19191 format: uint64 19192 - name: pagination.count_total 19193 description: >- 19194 count_total is set to true to indicate that the result set should 19195 include 19196 19197 a count of the total number of items available for pagination in 19198 UIs. 19199 19200 count_total is only respected when offset is used. It is ignored 19201 when key 19202 19203 is set. 19204 in: query 19205 required: false 19206 type: boolean 19207 format: boolean 19208 - name: pagination.reverse 19209 description: >- 19210 reverse is set to true if results are to be returned in the 19211 descending order. 19212 19213 19214 Since: cosmos-sdk 0.43 19215 in: query 19216 required: false 19217 type: boolean 19218 format: boolean 19219 tags: 19220 - Query 19221 '/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}': 19222 get: 19223 summary: Delegation queries delegate info for given validator delegator pair. 19224 operationId: Delegation 19225 responses: 19226 '200': 19227 description: A successful response. 19228 schema: 19229 type: object 19230 properties: 19231 delegation_response: 19232 type: object 19233 properties: 19234 delegation: 19235 type: object 19236 properties: 19237 delegator_address: 19238 type: string 19239 description: >- 19240 delegator_address is the bech32-encoded address of the 19241 delegator. 19242 validator_address: 19243 type: string 19244 description: >- 19245 validator_address is the bech32-encoded address of the 19246 validator. 19247 shares: 19248 type: string 19249 description: shares define the delegation shares received. 19250 description: >- 19251 Delegation represents the bond with tokens held by an 19252 account. It is 19253 19254 owned by one delegator, and is associated with the voting 19255 power of one 19256 19257 validator. 19258 balance: 19259 type: object 19260 properties: 19261 denom: 19262 type: string 19263 amount: 19264 type: string 19265 description: >- 19266 Coin defines a token with a denomination and an amount. 19267 19268 19269 NOTE: The amount field is an Int which implements the 19270 custom method 19271 19272 signatures required by gogoproto. 19273 description: >- 19274 DelegationResponse is equivalent to Delegation except that it 19275 contains a 19276 19277 balance in addition to shares which is more suitable for 19278 client responses. 19279 description: >- 19280 QueryDelegationResponse is response type for the Query/Delegation 19281 RPC method. 19282 default: 19283 description: An unexpected error response 19284 schema: 19285 type: object 19286 properties: 19287 error: 19288 type: string 19289 code: 19290 type: integer 19291 format: int32 19292 message: 19293 type: string 19294 details: 19295 type: array 19296 items: 19297 type: object 19298 properties: 19299 type_url: 19300 type: string 19301 description: >- 19302 A URL/resource name that uniquely identifies the type of 19303 the serialized 19304 19305 protocol buffer message. This string must contain at 19306 least 19307 19308 one "/" character. The last segment of the URL's path 19309 must represent 19310 19311 the fully qualified name of the type (as in 19312 19313 `path/google.protobuf.Duration`). The name should be in 19314 a canonical form 19315 19316 (e.g., leading "." is not accepted). 19317 19318 19319 In practice, teams usually precompile into the binary 19320 all types that they 19321 19322 expect it to use in the context of Any. However, for 19323 URLs which use the 19324 19325 scheme `http`, `https`, or no scheme, one can optionally 19326 set up a type 19327 19328 server that maps type URLs to message definitions as 19329 follows: 19330 19331 19332 * If no scheme is provided, `https` is assumed. 19333 19334 * An HTTP GET on the URL must yield a 19335 [google.protobuf.Type][] 19336 value in binary format, or produce an error. 19337 * Applications are allowed to cache lookup results based 19338 on the 19339 URL, or have them precompiled into a binary to avoid any 19340 lookup. Therefore, binary compatibility needs to be preserved 19341 on changes to types. (Use versioned type names to manage 19342 breaking changes.) 19343 19344 Note: this functionality is not currently available in 19345 the official 19346 19347 protobuf release, and it is not used for type URLs 19348 beginning with 19349 19350 type.googleapis.com. 19351 19352 19353 Schemes other than `http`, `https` (or the empty scheme) 19354 might be 19355 19356 used with implementation specific semantics. 19357 value: 19358 type: string 19359 format: byte 19360 description: >- 19361 Must be a valid serialized protocol buffer of the above 19362 specified type. 19363 description: >- 19364 `Any` contains an arbitrary serialized protocol buffer 19365 message along with a 19366 19367 URL that describes the type of the serialized message. 19368 19369 19370 Protobuf library provides support to pack/unpack Any values 19371 in the form 19372 19373 of utility functions or additional generated methods of the 19374 Any type. 19375 19376 19377 Example 1: Pack and unpack a message in C++. 19378 19379 Foo foo = ...; 19380 Any any; 19381 any.PackFrom(foo); 19382 ... 19383 if (any.UnpackTo(&foo)) { 19384 ... 19385 } 19386 19387 Example 2: Pack and unpack a message in Java. 19388 19389 Foo foo = ...; 19390 Any any = Any.pack(foo); 19391 ... 19392 if (any.is(Foo.class)) { 19393 foo = any.unpack(Foo.class); 19394 } 19395 19396 Example 3: Pack and unpack a message in Python. 19397 19398 foo = Foo(...) 19399 any = Any() 19400 any.Pack(foo) 19401 ... 19402 if any.Is(Foo.DESCRIPTOR): 19403 any.Unpack(foo) 19404 ... 19405 19406 Example 4: Pack and unpack a message in Go 19407 19408 foo := &pb.Foo{...} 19409 any, err := ptypes.MarshalAny(foo) 19410 ... 19411 foo := &pb.Foo{} 19412 if err := ptypes.UnmarshalAny(any, foo); err != nil { 19413 ... 19414 } 19415 19416 The pack methods provided by protobuf library will by 19417 default use 19418 19419 'type.googleapis.com/full.type.name' as the type URL and the 19420 unpack 19421 19422 methods only use the fully qualified type name after the 19423 last '/' 19424 19425 in the type URL, for example "foo.bar.com/x/y.z" will yield 19426 type 19427 19428 name "y.z". 19429 19430 19431 19432 JSON 19433 19434 ==== 19435 19436 The JSON representation of an `Any` value uses the regular 19437 19438 representation of the deserialized, embedded message, with 19439 an 19440 19441 additional field `@type` which contains the type URL. 19442 Example: 19443 19444 package google.profile; 19445 message Person { 19446 string first_name = 1; 19447 string last_name = 2; 19448 } 19449 19450 { 19451 "@type": "type.googleapis.com/google.profile.Person", 19452 "firstName": <string>, 19453 "lastName": <string> 19454 } 19455 19456 If the embedded message type is well-known and has a custom 19457 JSON 19458 19459 representation, that representation will be embedded adding 19460 a field 19461 19462 `value` which holds the custom JSON in addition to the 19463 `@type` 19464 19465 field. Example (for message [google.protobuf.Duration][]): 19466 19467 { 19468 "@type": "type.googleapis.com/google.protobuf.Duration", 19469 "value": "1.212s" 19470 } 19471 parameters: 19472 - name: validator_addr 19473 description: validator_addr defines the validator address to query for. 19474 in: path 19475 required: true 19476 type: string 19477 - name: delegator_addr 19478 description: delegator_addr defines the delegator address to query for. 19479 in: path 19480 required: true 19481 type: string 19482 tags: 19483 - Query 19484 '/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation': 19485 get: 19486 summary: |- 19487 UnbondingDelegation queries unbonding info for given validator delegator 19488 pair. 19489 operationId: UnbondingDelegation 19490 responses: 19491 '200': 19492 description: A successful response. 19493 schema: 19494 type: object 19495 properties: 19496 unbond: 19497 type: object 19498 properties: 19499 delegator_address: 19500 type: string 19501 description: >- 19502 delegator_address is the bech32-encoded address of the 19503 delegator. 19504 validator_address: 19505 type: string 19506 description: >- 19507 validator_address is the bech32-encoded address of the 19508 validator. 19509 entries: 19510 type: array 19511 items: 19512 type: object 19513 properties: 19514 creation_height: 19515 type: string 19516 format: int64 19517 description: >- 19518 creation_height is the height which the unbonding 19519 took place. 19520 completion_time: 19521 type: string 19522 format: date-time 19523 description: >- 19524 completion_time is the unix time for unbonding 19525 completion. 19526 initial_balance: 19527 type: string 19528 description: >- 19529 initial_balance defines the tokens initially 19530 scheduled to receive at completion. 19531 balance: 19532 type: string 19533 description: balance defines the tokens to receive at completion. 19534 description: >- 19535 UnbondingDelegationEntry defines an unbonding object 19536 with relevant metadata. 19537 description: entries are the unbonding delegation entries. 19538 description: >- 19539 UnbondingDelegation stores all of a single delegator's 19540 unbonding bonds 19541 19542 for a single validator in an time-ordered list. 19543 description: >- 19544 QueryDelegationResponse is response type for the 19545 Query/UnbondingDelegation 19546 19547 RPC method. 19548 default: 19549 description: An unexpected error response 19550 schema: 19551 type: object 19552 properties: 19553 error: 19554 type: string 19555 code: 19556 type: integer 19557 format: int32 19558 message: 19559 type: string 19560 details: 19561 type: array 19562 items: 19563 type: object 19564 properties: 19565 type_url: 19566 type: string 19567 description: >- 19568 A URL/resource name that uniquely identifies the type of 19569 the serialized 19570 19571 protocol buffer message. This string must contain at 19572 least 19573 19574 one "/" character. The last segment of the URL's path 19575 must represent 19576 19577 the fully qualified name of the type (as in 19578 19579 `path/google.protobuf.Duration`). The name should be in 19580 a canonical form 19581 19582 (e.g., leading "." is not accepted). 19583 19584 19585 In practice, teams usually precompile into the binary 19586 all types that they 19587 19588 expect it to use in the context of Any. However, for 19589 URLs which use the 19590 19591 scheme `http`, `https`, or no scheme, one can optionally 19592 set up a type 19593 19594 server that maps type URLs to message definitions as 19595 follows: 19596 19597 19598 * If no scheme is provided, `https` is assumed. 19599 19600 * An HTTP GET on the URL must yield a 19601 [google.protobuf.Type][] 19602 value in binary format, or produce an error. 19603 * Applications are allowed to cache lookup results based 19604 on the 19605 URL, or have them precompiled into a binary to avoid any 19606 lookup. Therefore, binary compatibility needs to be preserved 19607 on changes to types. (Use versioned type names to manage 19608 breaking changes.) 19609 19610 Note: this functionality is not currently available in 19611 the official 19612 19613 protobuf release, and it is not used for type URLs 19614 beginning with 19615 19616 type.googleapis.com. 19617 19618 19619 Schemes other than `http`, `https` (or the empty scheme) 19620 might be 19621 19622 used with implementation specific semantics. 19623 value: 19624 type: string 19625 format: byte 19626 description: >- 19627 Must be a valid serialized protocol buffer of the above 19628 specified type. 19629 description: >- 19630 `Any` contains an arbitrary serialized protocol buffer 19631 message along with a 19632 19633 URL that describes the type of the serialized message. 19634 19635 19636 Protobuf library provides support to pack/unpack Any values 19637 in the form 19638 19639 of utility functions or additional generated methods of the 19640 Any type. 19641 19642 19643 Example 1: Pack and unpack a message in C++. 19644 19645 Foo foo = ...; 19646 Any any; 19647 any.PackFrom(foo); 19648 ... 19649 if (any.UnpackTo(&foo)) { 19650 ... 19651 } 19652 19653 Example 2: Pack and unpack a message in Java. 19654 19655 Foo foo = ...; 19656 Any any = Any.pack(foo); 19657 ... 19658 if (any.is(Foo.class)) { 19659 foo = any.unpack(Foo.class); 19660 } 19661 19662 Example 3: Pack and unpack a message in Python. 19663 19664 foo = Foo(...) 19665 any = Any() 19666 any.Pack(foo) 19667 ... 19668 if any.Is(Foo.DESCRIPTOR): 19669 any.Unpack(foo) 19670 ... 19671 19672 Example 4: Pack and unpack a message in Go 19673 19674 foo := &pb.Foo{...} 19675 any, err := ptypes.MarshalAny(foo) 19676 ... 19677 foo := &pb.Foo{} 19678 if err := ptypes.UnmarshalAny(any, foo); err != nil { 19679 ... 19680 } 19681 19682 The pack methods provided by protobuf library will by 19683 default use 19684 19685 'type.googleapis.com/full.type.name' as the type URL and the 19686 unpack 19687 19688 methods only use the fully qualified type name after the 19689 last '/' 19690 19691 in the type URL, for example "foo.bar.com/x/y.z" will yield 19692 type 19693 19694 name "y.z". 19695 19696 19697 19698 JSON 19699 19700 ==== 19701 19702 The JSON representation of an `Any` value uses the regular 19703 19704 representation of the deserialized, embedded message, with 19705 an 19706 19707 additional field `@type` which contains the type URL. 19708 Example: 19709 19710 package google.profile; 19711 message Person { 19712 string first_name = 1; 19713 string last_name = 2; 19714 } 19715 19716 { 19717 "@type": "type.googleapis.com/google.profile.Person", 19718 "firstName": <string>, 19719 "lastName": <string> 19720 } 19721 19722 If the embedded message type is well-known and has a custom 19723 JSON 19724 19725 representation, that representation will be embedded adding 19726 a field 19727 19728 `value` which holds the custom JSON in addition to the 19729 `@type` 19730 19731 field. Example (for message [google.protobuf.Duration][]): 19732 19733 { 19734 "@type": "type.googleapis.com/google.protobuf.Duration", 19735 "value": "1.212s" 19736 } 19737 parameters: 19738 - name: validator_addr 19739 description: validator_addr defines the validator address to query for. 19740 in: path 19741 required: true 19742 type: string 19743 - name: delegator_addr 19744 description: delegator_addr defines the delegator address to query for. 19745 in: path 19746 required: true 19747 type: string 19748 tags: 19749 - Query 19750 '/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations': 19751 get: 19752 summary: >- 19753 ValidatorUnbondingDelegations queries unbonding delegations of a 19754 validator. 19755 operationId: ValidatorUnbondingDelegations 19756 responses: 19757 '200': 19758 description: A successful response. 19759 schema: 19760 type: object 19761 properties: 19762 unbonding_responses: 19763 type: array 19764 items: 19765 type: object 19766 properties: 19767 delegator_address: 19768 type: string 19769 description: >- 19770 delegator_address is the bech32-encoded address of the 19771 delegator. 19772 validator_address: 19773 type: string 19774 description: >- 19775 validator_address is the bech32-encoded address of the 19776 validator. 19777 entries: 19778 type: array 19779 items: 19780 type: object 19781 properties: 19782 creation_height: 19783 type: string 19784 format: int64 19785 description: >- 19786 creation_height is the height which the unbonding 19787 took place. 19788 completion_time: 19789 type: string 19790 format: date-time 19791 description: >- 19792 completion_time is the unix time for unbonding 19793 completion. 19794 initial_balance: 19795 type: string 19796 description: >- 19797 initial_balance defines the tokens initially 19798 scheduled to receive at completion. 19799 balance: 19800 type: string 19801 description: >- 19802 balance defines the tokens to receive at 19803 completion. 19804 description: >- 19805 UnbondingDelegationEntry defines an unbonding object 19806 with relevant metadata. 19807 description: entries are the unbonding delegation entries. 19808 description: >- 19809 UnbondingDelegation stores all of a single delegator's 19810 unbonding bonds 19811 19812 for a single validator in an time-ordered list. 19813 pagination: 19814 description: pagination defines the pagination in the response. 19815 type: object 19816 properties: 19817 next_key: 19818 type: string 19819 format: byte 19820 title: |- 19821 next_key is the key to be passed to PageRequest.key to 19822 query the next page most efficiently 19823 total: 19824 type: string 19825 format: uint64 19826 title: >- 19827 total is total number of results available if 19828 PageRequest.count_total 19829 19830 was set, its value is undefined otherwise 19831 description: >- 19832 QueryValidatorUnbondingDelegationsResponse is response type for 19833 the 19834 19835 Query/ValidatorUnbondingDelegations RPC method. 19836 default: 19837 description: An unexpected error response 19838 schema: 19839 type: object 19840 properties: 19841 error: 19842 type: string 19843 code: 19844 type: integer 19845 format: int32 19846 message: 19847 type: string 19848 details: 19849 type: array 19850 items: 19851 type: object 19852 properties: 19853 type_url: 19854 type: string 19855 description: >- 19856 A URL/resource name that uniquely identifies the type of 19857 the serialized 19858 19859 protocol buffer message. This string must contain at 19860 least 19861 19862 one "/" character. The last segment of the URL's path 19863 must represent 19864 19865 the fully qualified name of the type (as in 19866 19867 `path/google.protobuf.Duration`). The name should be in 19868 a canonical form 19869 19870 (e.g., leading "." is not accepted). 19871 19872 19873 In practice, teams usually precompile into the binary 19874 all types that they 19875 19876 expect it to use in the context of Any. However, for 19877 URLs which use the 19878 19879 scheme `http`, `https`, or no scheme, one can optionally 19880 set up a type 19881 19882 server that maps type URLs to message definitions as 19883 follows: 19884 19885 19886 * If no scheme is provided, `https` is assumed. 19887 19888 * An HTTP GET on the URL must yield a 19889 [google.protobuf.Type][] 19890 value in binary format, or produce an error. 19891 * Applications are allowed to cache lookup results based 19892 on the 19893 URL, or have them precompiled into a binary to avoid any 19894 lookup. Therefore, binary compatibility needs to be preserved 19895 on changes to types. (Use versioned type names to manage 19896 breaking changes.) 19897 19898 Note: this functionality is not currently available in 19899 the official 19900 19901 protobuf release, and it is not used for type URLs 19902 beginning with 19903 19904 type.googleapis.com. 19905 19906 19907 Schemes other than `http`, `https` (or the empty scheme) 19908 might be 19909 19910 used with implementation specific semantics. 19911 value: 19912 type: string 19913 format: byte 19914 description: >- 19915 Must be a valid serialized protocol buffer of the above 19916 specified type. 19917 description: >- 19918 `Any` contains an arbitrary serialized protocol buffer 19919 message along with a 19920 19921 URL that describes the type of the serialized message. 19922 19923 19924 Protobuf library provides support to pack/unpack Any values 19925 in the form 19926 19927 of utility functions or additional generated methods of the 19928 Any type. 19929 19930 19931 Example 1: Pack and unpack a message in C++. 19932 19933 Foo foo = ...; 19934 Any any; 19935 any.PackFrom(foo); 19936 ... 19937 if (any.UnpackTo(&foo)) { 19938 ... 19939 } 19940 19941 Example 2: Pack and unpack a message in Java. 19942 19943 Foo foo = ...; 19944 Any any = Any.pack(foo); 19945 ... 19946 if (any.is(Foo.class)) { 19947 foo = any.unpack(Foo.class); 19948 } 19949 19950 Example 3: Pack and unpack a message in Python. 19951 19952 foo = Foo(...) 19953 any = Any() 19954 any.Pack(foo) 19955 ... 19956 if any.Is(Foo.DESCRIPTOR): 19957 any.Unpack(foo) 19958 ... 19959 19960 Example 4: Pack and unpack a message in Go 19961 19962 foo := &pb.Foo{...} 19963 any, err := ptypes.MarshalAny(foo) 19964 ... 19965 foo := &pb.Foo{} 19966 if err := ptypes.UnmarshalAny(any, foo); err != nil { 19967 ... 19968 } 19969 19970 The pack methods provided by protobuf library will by 19971 default use 19972 19973 'type.googleapis.com/full.type.name' as the type URL and the 19974 unpack 19975 19976 methods only use the fully qualified type name after the 19977 last '/' 19978 19979 in the type URL, for example "foo.bar.com/x/y.z" will yield 19980 type 19981 19982 name "y.z". 19983 19984 19985 19986 JSON 19987 19988 ==== 19989 19990 The JSON representation of an `Any` value uses the regular 19991 19992 representation of the deserialized, embedded message, with 19993 an 19994 19995 additional field `@type` which contains the type URL. 19996 Example: 19997 19998 package google.profile; 19999 message Person { 20000 string first_name = 1; 20001 string last_name = 2; 20002 } 20003 20004 { 20005 "@type": "type.googleapis.com/google.profile.Person", 20006 "firstName": <string>, 20007 "lastName": <string> 20008 } 20009 20010 If the embedded message type is well-known and has a custom 20011 JSON 20012 20013 representation, that representation will be embedded adding 20014 a field 20015 20016 `value` which holds the custom JSON in addition to the 20017 `@type` 20018 20019 field. Example (for message [google.protobuf.Duration][]): 20020 20021 { 20022 "@type": "type.googleapis.com/google.protobuf.Duration", 20023 "value": "1.212s" 20024 } 20025 parameters: 20026 - name: validator_addr 20027 description: validator_addr defines the validator address to query for. 20028 in: path 20029 required: true 20030 type: string 20031 - name: pagination.key 20032 description: |- 20033 key is a value returned in PageResponse.next_key to begin 20034 querying the next page most efficiently. Only one of offset or key 20035 should be set. 20036 in: query 20037 required: false 20038 type: string 20039 format: byte 20040 - name: pagination.offset 20041 description: >- 20042 offset is a numeric offset that can be used when key is unavailable. 20043 20044 It is less efficient than using key. Only one of offset or key 20045 should 20046 20047 be set. 20048 in: query 20049 required: false 20050 type: string 20051 format: uint64 20052 - name: pagination.limit 20053 description: >- 20054 limit is the total number of results to be returned in the result 20055 page. 20056 20057 If left empty it will default to a value to be set by each app. 20058 in: query 20059 required: false 20060 type: string 20061 format: uint64 20062 - name: pagination.count_total 20063 description: >- 20064 count_total is set to true to indicate that the result set should 20065 include 20066 20067 a count of the total number of items available for pagination in 20068 UIs. 20069 20070 count_total is only respected when offset is used. It is ignored 20071 when key 20072 20073 is set. 20074 in: query 20075 required: false 20076 type: boolean 20077 format: boolean 20078 - name: pagination.reverse 20079 description: >- 20080 reverse is set to true if results are to be returned in the 20081 descending order. 20082 20083 20084 Since: cosmos-sdk 0.43 20085 in: query 20086 required: false 20087 type: boolean 20088 format: boolean 20089 tags: 20090 - Query 20091 /cosmos/tx/v1beta1/simulate: 20092 post: 20093 summary: Simulate simulates executing a transaction for estimating gas usage. 20094 operationId: Simulate 20095 responses: 20096 '200': 20097 description: A successful response. 20098 schema: 20099 type: object 20100 properties: 20101 gas_info: 20102 description: gas_info is the information about gas used in the simulation. 20103 type: object 20104 properties: 20105 gas_wanted: 20106 type: string 20107 format: uint64 20108 description: >- 20109 GasWanted is the maximum units of work we allow this tx to 20110 perform. 20111 gas_used: 20112 type: string 20113 format: uint64 20114 description: GasUsed is the amount of gas actually consumed. 20115 result: 20116 description: result is the result of the simulation. 20117 type: object 20118 properties: 20119 data: 20120 type: string 20121 format: byte 20122 description: >- 20123 Data is any data returned from message or handler 20124 execution. It MUST be 20125 20126 length prefixed in order to separate data from multiple 20127 message executions. 20128 log: 20129 type: string 20130 description: >- 20131 Log contains the log information from message or handler 20132 execution. 20133 events: 20134 type: array 20135 items: 20136 type: object 20137 properties: 20138 type: 20139 type: string 20140 attributes: 20141 type: array 20142 items: 20143 type: object 20144 properties: 20145 key: 20146 type: string 20147 format: byte 20148 value: 20149 type: string 20150 format: byte 20151 index: 20152 type: boolean 20153 format: boolean 20154 description: >- 20155 EventAttribute is a single key-value pair, 20156 associated with an event. 20157 description: >- 20158 Event allows application developers to attach additional 20159 information to 20160 20161 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx 20162 and ResponseDeliverTx. 20163 20164 Later, transactions may be queried using these events. 20165 description: >- 20166 Events contains a slice of Event objects that were emitted 20167 during message 20168 20169 or handler execution. 20170 description: |- 20171 SimulateResponse is the response type for the 20172 Service.SimulateRPC method. 20173 default: 20174 description: An unexpected error response 20175 schema: 20176 type: object 20177 properties: 20178 error: 20179 type: string 20180 code: 20181 type: integer 20182 format: int32 20183 message: 20184 type: string 20185 details: 20186 type: array 20187 items: 20188 type: object 20189 properties: 20190 type_url: 20191 type: string 20192 description: >- 20193 A URL/resource name that uniquely identifies the type of 20194 the serialized 20195 20196 protocol buffer message. This string must contain at 20197 least 20198 20199 one "/" character. The last segment of the URL's path 20200 must represent 20201 20202 the fully qualified name of the type (as in 20203 20204 `path/google.protobuf.Duration`). The name should be in 20205 a canonical form 20206 20207 (e.g., leading "." is not accepted). 20208 20209 20210 In practice, teams usually precompile into the binary 20211 all types that they 20212 20213 expect it to use in the context of Any. However, for 20214 URLs which use the 20215 20216 scheme `http`, `https`, or no scheme, one can optionally 20217 set up a type 20218 20219 server that maps type URLs to message definitions as 20220 follows: 20221 20222 20223 * If no scheme is provided, `https` is assumed. 20224 20225 * An HTTP GET on the URL must yield a 20226 [google.protobuf.Type][] 20227 value in binary format, or produce an error. 20228 * Applications are allowed to cache lookup results based 20229 on the 20230 URL, or have them precompiled into a binary to avoid any 20231 lookup. Therefore, binary compatibility needs to be preserved 20232 on changes to types. (Use versioned type names to manage 20233 breaking changes.) 20234 20235 Note: this functionality is not currently available in 20236 the official 20237 20238 protobuf release, and it is not used for type URLs 20239 beginning with 20240 20241 type.googleapis.com. 20242 20243 20244 Schemes other than `http`, `https` (or the empty scheme) 20245 might be 20246 20247 used with implementation specific semantics. 20248 value: 20249 type: string 20250 format: byte 20251 description: >- 20252 Must be a valid serialized protocol buffer of the above 20253 specified type. 20254 description: >- 20255 `Any` contains an arbitrary serialized protocol buffer 20256 message along with a 20257 20258 URL that describes the type of the serialized message. 20259 20260 20261 Protobuf library provides support to pack/unpack Any values 20262 in the form 20263 20264 of utility functions or additional generated methods of the 20265 Any type. 20266 20267 20268 Example 1: Pack and unpack a message in C++. 20269 20270 Foo foo = ...; 20271 Any any; 20272 any.PackFrom(foo); 20273 ... 20274 if (any.UnpackTo(&foo)) { 20275 ... 20276 } 20277 20278 Example 2: Pack and unpack a message in Java. 20279 20280 Foo foo = ...; 20281 Any any = Any.pack(foo); 20282 ... 20283 if (any.is(Foo.class)) { 20284 foo = any.unpack(Foo.class); 20285 } 20286 20287 Example 3: Pack and unpack a message in Python. 20288 20289 foo = Foo(...) 20290 any = Any() 20291 any.Pack(foo) 20292 ... 20293 if any.Is(Foo.DESCRIPTOR): 20294 any.Unpack(foo) 20295 ... 20296 20297 Example 4: Pack and unpack a message in Go 20298 20299 foo := &pb.Foo{...} 20300 any, err := ptypes.MarshalAny(foo) 20301 ... 20302 foo := &pb.Foo{} 20303 if err := ptypes.UnmarshalAny(any, foo); err != nil { 20304 ... 20305 } 20306 20307 The pack methods provided by protobuf library will by 20308 default use 20309 20310 'type.googleapis.com/full.type.name' as the type URL and the 20311 unpack 20312 20313 methods only use the fully qualified type name after the 20314 last '/' 20315 20316 in the type URL, for example "foo.bar.com/x/y.z" will yield 20317 type 20318 20319 name "y.z". 20320 20321 20322 20323 JSON 20324 20325 ==== 20326 20327 The JSON representation of an `Any` value uses the regular 20328 20329 representation of the deserialized, embedded message, with 20330 an 20331 20332 additional field `@type` which contains the type URL. 20333 Example: 20334 20335 package google.profile; 20336 message Person { 20337 string first_name = 1; 20338 string last_name = 2; 20339 } 20340 20341 { 20342 "@type": "type.googleapis.com/google.profile.Person", 20343 "firstName": <string>, 20344 "lastName": <string> 20345 } 20346 20347 If the embedded message type is well-known and has a custom 20348 JSON 20349 20350 representation, that representation will be embedded adding 20351 a field 20352 20353 `value` which holds the custom JSON in addition to the 20354 `@type` 20355 20356 field. Example (for message [google.protobuf.Duration][]): 20357 20358 { 20359 "@type": "type.googleapis.com/google.protobuf.Duration", 20360 "value": "1.212s" 20361 } 20362 parameters: 20363 - name: body 20364 in: body 20365 required: true 20366 schema: 20367 $ref: '#/definitions/cosmos.tx.v1beta1.SimulateRequest' 20368 tags: 20369 - Service 20370 /cosmos/tx/v1beta1/txs: 20371 get: 20372 summary: GetTxsEvent fetches txs by event. 20373 operationId: GetTxsEvent 20374 responses: 20375 '200': 20376 description: A successful response. 20377 schema: 20378 $ref: '#/definitions/cosmos.tx.v1beta1.GetTxsEventResponse' 20379 default: 20380 description: An unexpected error response 20381 schema: 20382 type: object 20383 properties: 20384 error: 20385 type: string 20386 code: 20387 type: integer 20388 format: int32 20389 message: 20390 type: string 20391 details: 20392 type: array 20393 items: 20394 type: object 20395 properties: 20396 type_url: 20397 type: string 20398 description: >- 20399 A URL/resource name that uniquely identifies the type of 20400 the serialized 20401 20402 protocol buffer message. This string must contain at 20403 least 20404 20405 one "/" character. The last segment of the URL's path 20406 must represent 20407 20408 the fully qualified name of the type (as in 20409 20410 `path/google.protobuf.Duration`). The name should be in 20411 a canonical form 20412 20413 (e.g., leading "." is not accepted). 20414 20415 20416 In practice, teams usually precompile into the binary 20417 all types that they 20418 20419 expect it to use in the context of Any. However, for 20420 URLs which use the 20421 20422 scheme `http`, `https`, or no scheme, one can optionally 20423 set up a type 20424 20425 server that maps type URLs to message definitions as 20426 follows: 20427 20428 20429 * If no scheme is provided, `https` is assumed. 20430 20431 * An HTTP GET on the URL must yield a 20432 [google.protobuf.Type][] 20433 value in binary format, or produce an error. 20434 * Applications are allowed to cache lookup results based 20435 on the 20436 URL, or have them precompiled into a binary to avoid any 20437 lookup. Therefore, binary compatibility needs to be preserved 20438 on changes to types. (Use versioned type names to manage 20439 breaking changes.) 20440 20441 Note: this functionality is not currently available in 20442 the official 20443 20444 protobuf release, and it is not used for type URLs 20445 beginning with 20446 20447 type.googleapis.com. 20448 20449 20450 Schemes other than `http`, `https` (or the empty scheme) 20451 might be 20452 20453 used with implementation specific semantics. 20454 value: 20455 type: string 20456 format: byte 20457 description: >- 20458 Must be a valid serialized protocol buffer of the above 20459 specified type. 20460 description: >- 20461 `Any` contains an arbitrary serialized protocol buffer 20462 message along with a 20463 20464 URL that describes the type of the serialized message. 20465 20466 20467 Protobuf library provides support to pack/unpack Any values 20468 in the form 20469 20470 of utility functions or additional generated methods of the 20471 Any type. 20472 20473 20474 Example 1: Pack and unpack a message in C++. 20475 20476 Foo foo = ...; 20477 Any any; 20478 any.PackFrom(foo); 20479 ... 20480 if (any.UnpackTo(&foo)) { 20481 ... 20482 } 20483 20484 Example 2: Pack and unpack a message in Java. 20485 20486 Foo foo = ...; 20487 Any any = Any.pack(foo); 20488 ... 20489 if (any.is(Foo.class)) { 20490 foo = any.unpack(Foo.class); 20491 } 20492 20493 Example 3: Pack and unpack a message in Python. 20494 20495 foo = Foo(...) 20496 any = Any() 20497 any.Pack(foo) 20498 ... 20499 if any.Is(Foo.DESCRIPTOR): 20500 any.Unpack(foo) 20501 ... 20502 20503 Example 4: Pack and unpack a message in Go 20504 20505 foo := &pb.Foo{...} 20506 any, err := ptypes.MarshalAny(foo) 20507 ... 20508 foo := &pb.Foo{} 20509 if err := ptypes.UnmarshalAny(any, foo); err != nil { 20510 ... 20511 } 20512 20513 The pack methods provided by protobuf library will by 20514 default use 20515 20516 'type.googleapis.com/full.type.name' as the type URL and the 20517 unpack 20518 20519 methods only use the fully qualified type name after the 20520 last '/' 20521 20522 in the type URL, for example "foo.bar.com/x/y.z" will yield 20523 type 20524 20525 name "y.z". 20526 20527 20528 20529 JSON 20530 20531 ==== 20532 20533 The JSON representation of an `Any` value uses the regular 20534 20535 representation of the deserialized, embedded message, with 20536 an 20537 20538 additional field `@type` which contains the type URL. 20539 Example: 20540 20541 package google.profile; 20542 message Person { 20543 string first_name = 1; 20544 string last_name = 2; 20545 } 20546 20547 { 20548 "@type": "type.googleapis.com/google.profile.Person", 20549 "firstName": <string>, 20550 "lastName": <string> 20551 } 20552 20553 If the embedded message type is well-known and has a custom 20554 JSON 20555 20556 representation, that representation will be embedded adding 20557 a field 20558 20559 `value` which holds the custom JSON in addition to the 20560 `@type` 20561 20562 field. Example (for message [google.protobuf.Duration][]): 20563 20564 { 20565 "@type": "type.googleapis.com/google.protobuf.Duration", 20566 "value": "1.212s" 20567 } 20568 parameters: 20569 - name: events 20570 description: events is the list of transaction event type. 20571 in: query 20572 required: false 20573 type: array 20574 items: 20575 type: string 20576 collectionFormat: multi 20577 - name: pagination.key 20578 description: |- 20579 key is a value returned in PageResponse.next_key to begin 20580 querying the next page most efficiently. Only one of offset or key 20581 should be set. 20582 in: query 20583 required: false 20584 type: string 20585 format: byte 20586 - name: pagination.offset 20587 description: >- 20588 offset is a numeric offset that can be used when key is unavailable. 20589 20590 It is less efficient than using key. Only one of offset or key 20591 should 20592 20593 be set. 20594 in: query 20595 required: false 20596 type: string 20597 format: uint64 20598 - name: pagination.limit 20599 description: >- 20600 limit is the total number of results to be returned in the result 20601 page. 20602 20603 If left empty it will default to a value to be set by each app. 20604 in: query 20605 required: false 20606 type: string 20607 format: uint64 20608 - name: pagination.count_total 20609 description: >- 20610 count_total is set to true to indicate that the result set should 20611 include 20612 20613 a count of the total number of items available for pagination in 20614 UIs. 20615 20616 count_total is only respected when offset is used. It is ignored 20617 when key 20618 20619 is set. 20620 in: query 20621 required: false 20622 type: boolean 20623 format: boolean 20624 - name: pagination.reverse 20625 description: >- 20626 reverse is set to true if results are to be returned in the 20627 descending order. 20628 20629 20630 Since: cosmos-sdk 0.43 20631 in: query 20632 required: false 20633 type: boolean 20634 format: boolean 20635 - name: order_by 20636 description: |2- 20637 - ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. 20638 - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order 20639 - ORDER_BY_DESC: ORDER_BY_DESC defines descending order 20640 in: query 20641 required: false 20642 type: string 20643 enum: 20644 - ORDER_BY_UNSPECIFIED 20645 - ORDER_BY_ASC 20646 - ORDER_BY_DESC 20647 default: ORDER_BY_UNSPECIFIED 20648 tags: 20649 - Service 20650 post: 20651 summary: BroadcastTx broadcast transaction. 20652 operationId: BroadcastTx 20653 responses: 20654 '200': 20655 description: A successful response. 20656 schema: 20657 type: object 20658 properties: 20659 tx_response: 20660 type: object 20661 properties: 20662 height: 20663 type: string 20664 format: int64 20665 title: The block height 20666 txhash: 20667 type: string 20668 description: The transaction hash. 20669 codespace: 20670 type: string 20671 title: Namespace for the Code 20672 code: 20673 type: integer 20674 format: int64 20675 description: Response code. 20676 data: 20677 type: string 20678 description: 'Result bytes, if any.' 20679 raw_log: 20680 type: string 20681 description: >- 20682 The output of the application's logger (raw string). May 20683 be 20684 20685 non-deterministic. 20686 logs: 20687 type: array 20688 items: 20689 type: object 20690 properties: 20691 msg_index: 20692 type: integer 20693 format: int64 20694 log: 20695 type: string 20696 events: 20697 type: array 20698 items: 20699 type: object 20700 properties: 20701 type: 20702 type: string 20703 attributes: 20704 type: array 20705 items: 20706 type: object 20707 properties: 20708 key: 20709 type: string 20710 value: 20711 type: string 20712 description: >- 20713 Attribute defines an attribute wrapper where 20714 the key and value are 20715 20716 strings instead of raw bytes. 20717 description: >- 20718 StringEvent defines en Event object wrapper where 20719 all the attributes 20720 20721 contain key/value pairs that are strings instead 20722 of raw bytes. 20723 description: >- 20724 Events contains a slice of Event objects that were 20725 emitted during some 20726 20727 execution. 20728 description: >- 20729 ABCIMessageLog defines a structure containing an indexed 20730 tx ABCI message log. 20731 description: >- 20732 The output of the application's logger (typed). May be 20733 non-deterministic. 20734 info: 20735 type: string 20736 description: Additional information. May be non-deterministic. 20737 gas_wanted: 20738 type: string 20739 format: int64 20740 description: Amount of gas requested for transaction. 20741 gas_used: 20742 type: string 20743 format: int64 20744 description: Amount of gas consumed by transaction. 20745 tx: 20746 type: object 20747 properties: 20748 type_url: 20749 type: string 20750 description: >- 20751 A URL/resource name that uniquely identifies the type 20752 of the serialized 20753 20754 protocol buffer message. This string must contain at 20755 least 20756 20757 one "/" character. The last segment of the URL's path 20758 must represent 20759 20760 the fully qualified name of the type (as in 20761 20762 `path/google.protobuf.Duration`). The name should be 20763 in a canonical form 20764 20765 (e.g., leading "." is not accepted). 20766 20767 20768 In practice, teams usually precompile into the binary 20769 all types that they 20770 20771 expect it to use in the context of Any. However, for 20772 URLs which use the 20773 20774 scheme `http`, `https`, or no scheme, one can 20775 optionally set up a type 20776 20777 server that maps type URLs to message definitions as 20778 follows: 20779 20780 20781 * If no scheme is provided, `https` is assumed. 20782 20783 * An HTTP GET on the URL must yield a 20784 [google.protobuf.Type][] 20785 value in binary format, or produce an error. 20786 * Applications are allowed to cache lookup results 20787 based on the 20788 URL, or have them precompiled into a binary to avoid any 20789 lookup. Therefore, binary compatibility needs to be preserved 20790 on changes to types. (Use versioned type names to manage 20791 breaking changes.) 20792 20793 Note: this functionality is not currently available in 20794 the official 20795 20796 protobuf release, and it is not used for type URLs 20797 beginning with 20798 20799 type.googleapis.com. 20800 20801 20802 Schemes other than `http`, `https` (or the empty 20803 scheme) might be 20804 20805 used with implementation specific semantics. 20806 value: 20807 type: string 20808 format: byte 20809 description: >- 20810 Must be a valid serialized protocol buffer of the 20811 above specified type. 20812 description: >- 20813 `Any` contains an arbitrary serialized protocol buffer 20814 message along with a 20815 20816 URL that describes the type of the serialized message. 20817 20818 20819 Protobuf library provides support to pack/unpack Any 20820 values in the form 20821 20822 of utility functions or additional generated methods of 20823 the Any type. 20824 20825 20826 Example 1: Pack and unpack a message in C++. 20827 20828 Foo foo = ...; 20829 Any any; 20830 any.PackFrom(foo); 20831 ... 20832 if (any.UnpackTo(&foo)) { 20833 ... 20834 } 20835 20836 Example 2: Pack and unpack a message in Java. 20837 20838 Foo foo = ...; 20839 Any any = Any.pack(foo); 20840 ... 20841 if (any.is(Foo.class)) { 20842 foo = any.unpack(Foo.class); 20843 } 20844 20845 Example 3: Pack and unpack a message in Python. 20846 20847 foo = Foo(...) 20848 any = Any() 20849 any.Pack(foo) 20850 ... 20851 if any.Is(Foo.DESCRIPTOR): 20852 any.Unpack(foo) 20853 ... 20854 20855 Example 4: Pack and unpack a message in Go 20856 20857 foo := &pb.Foo{...} 20858 any, err := ptypes.MarshalAny(foo) 20859 ... 20860 foo := &pb.Foo{} 20861 if err := ptypes.UnmarshalAny(any, foo); err != nil { 20862 ... 20863 } 20864 20865 The pack methods provided by protobuf library will by 20866 default use 20867 20868 'type.googleapis.com/full.type.name' as the type URL and 20869 the unpack 20870 20871 methods only use the fully qualified type name after the 20872 last '/' 20873 20874 in the type URL, for example "foo.bar.com/x/y.z" will 20875 yield type 20876 20877 name "y.z". 20878 20879 20880 20881 JSON 20882 20883 ==== 20884 20885 The JSON representation of an `Any` value uses the regular 20886 20887 representation of the deserialized, embedded message, with 20888 an 20889 20890 additional field `@type` which contains the type URL. 20891 Example: 20892 20893 package google.profile; 20894 message Person { 20895 string first_name = 1; 20896 string last_name = 2; 20897 } 20898 20899 { 20900 "@type": "type.googleapis.com/google.profile.Person", 20901 "firstName": <string>, 20902 "lastName": <string> 20903 } 20904 20905 If the embedded message type is well-known and has a 20906 custom JSON 20907 20908 representation, that representation will be embedded 20909 adding a field 20910 20911 `value` which holds the custom JSON in addition to the 20912 `@type` 20913 20914 field. Example (for message [google.protobuf.Duration][]): 20915 20916 { 20917 "@type": "type.googleapis.com/google.protobuf.Duration", 20918 "value": "1.212s" 20919 } 20920 timestamp: 20921 type: string 20922 description: >- 20923 Time of the previous block. For heights > 1, it's the 20924 weighted median of 20925 20926 the timestamps of the valid votes in the block.LastCommit. 20927 For height == 1, 20928 20929 it's genesis time. 20930 events: 20931 type: array 20932 items: 20933 type: object 20934 properties: 20935 type: 20936 type: string 20937 attributes: 20938 type: array 20939 items: 20940 type: object 20941 properties: 20942 key: 20943 type: string 20944 format: byte 20945 value: 20946 type: string 20947 format: byte 20948 index: 20949 type: boolean 20950 format: boolean 20951 description: >- 20952 EventAttribute is a single key-value pair, 20953 associated with an event. 20954 description: >- 20955 Event allows application developers to attach additional 20956 information to 20957 20958 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx 20959 and ResponseDeliverTx. 20960 20961 Later, transactions may be queried using these events. 20962 description: >- 20963 Events defines all the events emitted by processing a 20964 transaction. Note, 20965 20966 these events include those emitted by processing all the 20967 messages and those 20968 20969 emitted from the ante handler. Whereas Logs contains the 20970 events, with 20971 20972 additional metadata, emitted only by processing the 20973 messages. 20974 20975 20976 Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 20977 description: >- 20978 TxResponse defines a structure containing relevant tx data and 20979 metadata. The 20980 20981 tags are stringified and the log is JSON decoded. 20982 description: |- 20983 BroadcastTxResponse is the response type for the 20984 Service.BroadcastTx method. 20985 default: 20986 description: An unexpected error response 20987 schema: 20988 type: object 20989 properties: 20990 error: 20991 type: string 20992 code: 20993 type: integer 20994 format: int32 20995 message: 20996 type: string 20997 details: 20998 type: array 20999 items: 21000 type: object 21001 properties: 21002 type_url: 21003 type: string 21004 description: >- 21005 A URL/resource name that uniquely identifies the type of 21006 the serialized 21007 21008 protocol buffer message. This string must contain at 21009 least 21010 21011 one "/" character. The last segment of the URL's path 21012 must represent 21013 21014 the fully qualified name of the type (as in 21015 21016 `path/google.protobuf.Duration`). The name should be in 21017 a canonical form 21018 21019 (e.g., leading "." is not accepted). 21020 21021 21022 In practice, teams usually precompile into the binary 21023 all types that they 21024 21025 expect it to use in the context of Any. However, for 21026 URLs which use the 21027 21028 scheme `http`, `https`, or no scheme, one can optionally 21029 set up a type 21030 21031 server that maps type URLs to message definitions as 21032 follows: 21033 21034 21035 * If no scheme is provided, `https` is assumed. 21036 21037 * An HTTP GET on the URL must yield a 21038 [google.protobuf.Type][] 21039 value in binary format, or produce an error. 21040 * Applications are allowed to cache lookup results based 21041 on the 21042 URL, or have them precompiled into a binary to avoid any 21043 lookup. Therefore, binary compatibility needs to be preserved 21044 on changes to types. (Use versioned type names to manage 21045 breaking changes.) 21046 21047 Note: this functionality is not currently available in 21048 the official 21049 21050 protobuf release, and it is not used for type URLs 21051 beginning with 21052 21053 type.googleapis.com. 21054 21055 21056 Schemes other than `http`, `https` (or the empty scheme) 21057 might be 21058 21059 used with implementation specific semantics. 21060 value: 21061 type: string 21062 format: byte 21063 description: >- 21064 Must be a valid serialized protocol buffer of the above 21065 specified type. 21066 description: >- 21067 `Any` contains an arbitrary serialized protocol buffer 21068 message along with a 21069 21070 URL that describes the type of the serialized message. 21071 21072 21073 Protobuf library provides support to pack/unpack Any values 21074 in the form 21075 21076 of utility functions or additional generated methods of the 21077 Any type. 21078 21079 21080 Example 1: Pack and unpack a message in C++. 21081 21082 Foo foo = ...; 21083 Any any; 21084 any.PackFrom(foo); 21085 ... 21086 if (any.UnpackTo(&foo)) { 21087 ... 21088 } 21089 21090 Example 2: Pack and unpack a message in Java. 21091 21092 Foo foo = ...; 21093 Any any = Any.pack(foo); 21094 ... 21095 if (any.is(Foo.class)) { 21096 foo = any.unpack(Foo.class); 21097 } 21098 21099 Example 3: Pack and unpack a message in Python. 21100 21101 foo = Foo(...) 21102 any = Any() 21103 any.Pack(foo) 21104 ... 21105 if any.Is(Foo.DESCRIPTOR): 21106 any.Unpack(foo) 21107 ... 21108 21109 Example 4: Pack and unpack a message in Go 21110 21111 foo := &pb.Foo{...} 21112 any, err := ptypes.MarshalAny(foo) 21113 ... 21114 foo := &pb.Foo{} 21115 if err := ptypes.UnmarshalAny(any, foo); err != nil { 21116 ... 21117 } 21118 21119 The pack methods provided by protobuf library will by 21120 default use 21121 21122 'type.googleapis.com/full.type.name' as the type URL and the 21123 unpack 21124 21125 methods only use the fully qualified type name after the 21126 last '/' 21127 21128 in the type URL, for example "foo.bar.com/x/y.z" will yield 21129 type 21130 21131 name "y.z". 21132 21133 21134 21135 JSON 21136 21137 ==== 21138 21139 The JSON representation of an `Any` value uses the regular 21140 21141 representation of the deserialized, embedded message, with 21142 an 21143 21144 additional field `@type` which contains the type URL. 21145 Example: 21146 21147 package google.profile; 21148 message Person { 21149 string first_name = 1; 21150 string last_name = 2; 21151 } 21152 21153 { 21154 "@type": "type.googleapis.com/google.profile.Person", 21155 "firstName": <string>, 21156 "lastName": <string> 21157 } 21158 21159 If the embedded message type is well-known and has a custom 21160 JSON 21161 21162 representation, that representation will be embedded adding 21163 a field 21164 21165 `value` which holds the custom JSON in addition to the 21166 `@type` 21167 21168 field. Example (for message [google.protobuf.Duration][]): 21169 21170 { 21171 "@type": "type.googleapis.com/google.protobuf.Duration", 21172 "value": "1.212s" 21173 } 21174 parameters: 21175 - name: body 21176 in: body 21177 required: true 21178 schema: 21179 type: object 21180 properties: 21181 tx_bytes: 21182 type: string 21183 format: byte 21184 description: tx_bytes is the raw transaction. 21185 mode: 21186 type: string 21187 enum: 21188 - BROADCAST_MODE_UNSPECIFIED 21189 - BROADCAST_MODE_BLOCK 21190 - BROADCAST_MODE_SYNC 21191 - BROADCAST_MODE_ASYNC 21192 default: BROADCAST_MODE_UNSPECIFIED 21193 description: >- 21194 BroadcastMode specifies the broadcast mode for the 21195 TxService.Broadcast RPC method. 21196 21197 - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering 21198 - BROADCAST_MODE_BLOCK: DEPRECATED: use BROADCAST_MODE_SYNC instead, 21199 - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for 21200 a CheckTx execution response only. 21201 - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns 21202 immediately. 21203 description: >- 21204 BroadcastTxRequest is the request type for the 21205 Service.BroadcastTxRequest 21206 21207 RPC method. 21208 tags: 21209 - Service 21210 '/cosmos/tx/v1beta1/txs/block/{height}': 21211 get: 21212 summary: GetBlockWithTxs fetches a block with decoded txs. 21213 description: >- 21214 Since: cosmos-sdk 0.45.2 21215 21216 WARNING: In `GetBlockWithTxs` for compatibility with cosmos-sdk API, the 21217 result converted from Ostracon block type 21218 21219 to tendermint block type without `entropy` is returned. 21220 21221 Therefore, verification fails with the tendermint block validation 21222 method. 21223 21224 For original information, please check `GetBlockWithTxs` in 21225 `lbm/tx/v1beta1/service.proto`. 21226 operationId: GetBlockWithTxs 21227 responses: 21228 '200': 21229 description: A successful response. 21230 schema: 21231 $ref: '#/definitions/cosmos.tx.v1beta1.GetBlockWithTxsResponse' 21232 default: 21233 description: An unexpected error response 21234 schema: 21235 type: object 21236 properties: 21237 error: 21238 type: string 21239 code: 21240 type: integer 21241 format: int32 21242 message: 21243 type: string 21244 details: 21245 type: array 21246 items: 21247 type: object 21248 properties: 21249 type_url: 21250 type: string 21251 description: >- 21252 A URL/resource name that uniquely identifies the type of 21253 the serialized 21254 21255 protocol buffer message. This string must contain at 21256 least 21257 21258 one "/" character. The last segment of the URL's path 21259 must represent 21260 21261 the fully qualified name of the type (as in 21262 21263 `path/google.protobuf.Duration`). The name should be in 21264 a canonical form 21265 21266 (e.g., leading "." is not accepted). 21267 21268 21269 In practice, teams usually precompile into the binary 21270 all types that they 21271 21272 expect it to use in the context of Any. However, for 21273 URLs which use the 21274 21275 scheme `http`, `https`, or no scheme, one can optionally 21276 set up a type 21277 21278 server that maps type URLs to message definitions as 21279 follows: 21280 21281 21282 * If no scheme is provided, `https` is assumed. 21283 21284 * An HTTP GET on the URL must yield a 21285 [google.protobuf.Type][] 21286 value in binary format, or produce an error. 21287 * Applications are allowed to cache lookup results based 21288 on the 21289 URL, or have them precompiled into a binary to avoid any 21290 lookup. Therefore, binary compatibility needs to be preserved 21291 on changes to types. (Use versioned type names to manage 21292 breaking changes.) 21293 21294 Note: this functionality is not currently available in 21295 the official 21296 21297 protobuf release, and it is not used for type URLs 21298 beginning with 21299 21300 type.googleapis.com. 21301 21302 21303 Schemes other than `http`, `https` (or the empty scheme) 21304 might be 21305 21306 used with implementation specific semantics. 21307 value: 21308 type: string 21309 format: byte 21310 description: >- 21311 Must be a valid serialized protocol buffer of the above 21312 specified type. 21313 description: >- 21314 `Any` contains an arbitrary serialized protocol buffer 21315 message along with a 21316 21317 URL that describes the type of the serialized message. 21318 21319 21320 Protobuf library provides support to pack/unpack Any values 21321 in the form 21322 21323 of utility functions or additional generated methods of the 21324 Any type. 21325 21326 21327 Example 1: Pack and unpack a message in C++. 21328 21329 Foo foo = ...; 21330 Any any; 21331 any.PackFrom(foo); 21332 ... 21333 if (any.UnpackTo(&foo)) { 21334 ... 21335 } 21336 21337 Example 2: Pack and unpack a message in Java. 21338 21339 Foo foo = ...; 21340 Any any = Any.pack(foo); 21341 ... 21342 if (any.is(Foo.class)) { 21343 foo = any.unpack(Foo.class); 21344 } 21345 21346 Example 3: Pack and unpack a message in Python. 21347 21348 foo = Foo(...) 21349 any = Any() 21350 any.Pack(foo) 21351 ... 21352 if any.Is(Foo.DESCRIPTOR): 21353 any.Unpack(foo) 21354 ... 21355 21356 Example 4: Pack and unpack a message in Go 21357 21358 foo := &pb.Foo{...} 21359 any, err := ptypes.MarshalAny(foo) 21360 ... 21361 foo := &pb.Foo{} 21362 if err := ptypes.UnmarshalAny(any, foo); err != nil { 21363 ... 21364 } 21365 21366 The pack methods provided by protobuf library will by 21367 default use 21368 21369 'type.googleapis.com/full.type.name' as the type URL and the 21370 unpack 21371 21372 methods only use the fully qualified type name after the 21373 last '/' 21374 21375 in the type URL, for example "foo.bar.com/x/y.z" will yield 21376 type 21377 21378 name "y.z". 21379 21380 21381 21382 JSON 21383 21384 ==== 21385 21386 The JSON representation of an `Any` value uses the regular 21387 21388 representation of the deserialized, embedded message, with 21389 an 21390 21391 additional field `@type` which contains the type URL. 21392 Example: 21393 21394 package google.profile; 21395 message Person { 21396 string first_name = 1; 21397 string last_name = 2; 21398 } 21399 21400 { 21401 "@type": "type.googleapis.com/google.profile.Person", 21402 "firstName": <string>, 21403 "lastName": <string> 21404 } 21405 21406 If the embedded message type is well-known and has a custom 21407 JSON 21408 21409 representation, that representation will be embedded adding 21410 a field 21411 21412 `value` which holds the custom JSON in addition to the 21413 `@type` 21414 21415 field. Example (for message [google.protobuf.Duration][]): 21416 21417 { 21418 "@type": "type.googleapis.com/google.protobuf.Duration", 21419 "value": "1.212s" 21420 } 21421 parameters: 21422 - name: height 21423 description: height is the height of the block to query. 21424 in: path 21425 required: true 21426 type: string 21427 format: int64 21428 - name: pagination.key 21429 description: |- 21430 key is a value returned in PageResponse.next_key to begin 21431 querying the next page most efficiently. Only one of offset or key 21432 should be set. 21433 in: query 21434 required: false 21435 type: string 21436 format: byte 21437 - name: pagination.offset 21438 description: >- 21439 offset is a numeric offset that can be used when key is unavailable. 21440 21441 It is less efficient than using key. Only one of offset or key 21442 should 21443 21444 be set. 21445 in: query 21446 required: false 21447 type: string 21448 format: uint64 21449 - name: pagination.limit 21450 description: >- 21451 limit is the total number of results to be returned in the result 21452 page. 21453 21454 If left empty it will default to a value to be set by each app. 21455 in: query 21456 required: false 21457 type: string 21458 format: uint64 21459 - name: pagination.count_total 21460 description: >- 21461 count_total is set to true to indicate that the result set should 21462 include 21463 21464 a count of the total number of items available for pagination in 21465 UIs. 21466 21467 count_total is only respected when offset is used. It is ignored 21468 when key 21469 21470 is set. 21471 in: query 21472 required: false 21473 type: boolean 21474 format: boolean 21475 - name: pagination.reverse 21476 description: >- 21477 reverse is set to true if results are to be returned in the 21478 descending order. 21479 21480 21481 Since: cosmos-sdk 0.43 21482 in: query 21483 required: false 21484 type: boolean 21485 format: boolean 21486 tags: 21487 - Service 21488 '/cosmos/tx/v1beta1/txs/{hash}': 21489 get: 21490 summary: GetTx fetches a tx by hash. 21491 operationId: GetTx 21492 responses: 21493 '200': 21494 description: A successful response. 21495 schema: 21496 $ref: '#/definitions/cosmos.tx.v1beta1.GetTxResponse' 21497 default: 21498 description: An unexpected error response 21499 schema: 21500 type: object 21501 properties: 21502 error: 21503 type: string 21504 code: 21505 type: integer 21506 format: int32 21507 message: 21508 type: string 21509 details: 21510 type: array 21511 items: 21512 type: object 21513 properties: 21514 type_url: 21515 type: string 21516 description: >- 21517 A URL/resource name that uniquely identifies the type of 21518 the serialized 21519 21520 protocol buffer message. This string must contain at 21521 least 21522 21523 one "/" character. The last segment of the URL's path 21524 must represent 21525 21526 the fully qualified name of the type (as in 21527 21528 `path/google.protobuf.Duration`). The name should be in 21529 a canonical form 21530 21531 (e.g., leading "." is not accepted). 21532 21533 21534 In practice, teams usually precompile into the binary 21535 all types that they 21536 21537 expect it to use in the context of Any. However, for 21538 URLs which use the 21539 21540 scheme `http`, `https`, or no scheme, one can optionally 21541 set up a type 21542 21543 server that maps type URLs to message definitions as 21544 follows: 21545 21546 21547 * If no scheme is provided, `https` is assumed. 21548 21549 * An HTTP GET on the URL must yield a 21550 [google.protobuf.Type][] 21551 value in binary format, or produce an error. 21552 * Applications are allowed to cache lookup results based 21553 on the 21554 URL, or have them precompiled into a binary to avoid any 21555 lookup. Therefore, binary compatibility needs to be preserved 21556 on changes to types. (Use versioned type names to manage 21557 breaking changes.) 21558 21559 Note: this functionality is not currently available in 21560 the official 21561 21562 protobuf release, and it is not used for type URLs 21563 beginning with 21564 21565 type.googleapis.com. 21566 21567 21568 Schemes other than `http`, `https` (or the empty scheme) 21569 might be 21570 21571 used with implementation specific semantics. 21572 value: 21573 type: string 21574 format: byte 21575 description: >- 21576 Must be a valid serialized protocol buffer of the above 21577 specified type. 21578 description: >- 21579 `Any` contains an arbitrary serialized protocol buffer 21580 message along with a 21581 21582 URL that describes the type of the serialized message. 21583 21584 21585 Protobuf library provides support to pack/unpack Any values 21586 in the form 21587 21588 of utility functions or additional generated methods of the 21589 Any type. 21590 21591 21592 Example 1: Pack and unpack a message in C++. 21593 21594 Foo foo = ...; 21595 Any any; 21596 any.PackFrom(foo); 21597 ... 21598 if (any.UnpackTo(&foo)) { 21599 ... 21600 } 21601 21602 Example 2: Pack and unpack a message in Java. 21603 21604 Foo foo = ...; 21605 Any any = Any.pack(foo); 21606 ... 21607 if (any.is(Foo.class)) { 21608 foo = any.unpack(Foo.class); 21609 } 21610 21611 Example 3: Pack and unpack a message in Python. 21612 21613 foo = Foo(...) 21614 any = Any() 21615 any.Pack(foo) 21616 ... 21617 if any.Is(Foo.DESCRIPTOR): 21618 any.Unpack(foo) 21619 ... 21620 21621 Example 4: Pack and unpack a message in Go 21622 21623 foo := &pb.Foo{...} 21624 any, err := ptypes.MarshalAny(foo) 21625 ... 21626 foo := &pb.Foo{} 21627 if err := ptypes.UnmarshalAny(any, foo); err != nil { 21628 ... 21629 } 21630 21631 The pack methods provided by protobuf library will by 21632 default use 21633 21634 'type.googleapis.com/full.type.name' as the type URL and the 21635 unpack 21636 21637 methods only use the fully qualified type name after the 21638 last '/' 21639 21640 in the type URL, for example "foo.bar.com/x/y.z" will yield 21641 type 21642 21643 name "y.z". 21644 21645 21646 21647 JSON 21648 21649 ==== 21650 21651 The JSON representation of an `Any` value uses the regular 21652 21653 representation of the deserialized, embedded message, with 21654 an 21655 21656 additional field `@type` which contains the type URL. 21657 Example: 21658 21659 package google.profile; 21660 message Person { 21661 string first_name = 1; 21662 string last_name = 2; 21663 } 21664 21665 { 21666 "@type": "type.googleapis.com/google.profile.Person", 21667 "firstName": <string>, 21668 "lastName": <string> 21669 } 21670 21671 If the embedded message type is well-known and has a custom 21672 JSON 21673 21674 representation, that representation will be embedded adding 21675 a field 21676 21677 `value` which holds the custom JSON in addition to the 21678 `@type` 21679 21680 field. Example (for message [google.protobuf.Duration][]): 21681 21682 { 21683 "@type": "type.googleapis.com/google.protobuf.Duration", 21684 "value": "1.212s" 21685 } 21686 parameters: 21687 - name: hash 21688 description: 'hash is the tx hash to query, encoded as a hex string.' 21689 in: path 21690 required: true 21691 type: string 21692 tags: 21693 - Service 21694 '/cosmos/upgrade/v1beta1/applied_plan/{name}': 21695 get: 21696 summary: AppliedPlan queries a previously applied upgrade plan by its name. 21697 operationId: AppliedPlan 21698 responses: 21699 '200': 21700 description: A successful response. 21701 schema: 21702 type: object 21703 properties: 21704 height: 21705 type: string 21706 format: int64 21707 description: height is the block height at which the plan was applied. 21708 description: >- 21709 QueryAppliedPlanResponse is the response type for the 21710 Query/AppliedPlan RPC 21711 21712 method. 21713 default: 21714 description: An unexpected error response 21715 schema: 21716 type: object 21717 properties: 21718 error: 21719 type: string 21720 code: 21721 type: integer 21722 format: int32 21723 message: 21724 type: string 21725 details: 21726 type: array 21727 items: 21728 type: object 21729 properties: 21730 type_url: 21731 type: string 21732 description: >- 21733 A URL/resource name that uniquely identifies the type of 21734 the serialized 21735 21736 protocol buffer message. This string must contain at 21737 least 21738 21739 one "/" character. The last segment of the URL's path 21740 must represent 21741 21742 the fully qualified name of the type (as in 21743 21744 `path/google.protobuf.Duration`). The name should be in 21745 a canonical form 21746 21747 (e.g., leading "." is not accepted). 21748 21749 21750 In practice, teams usually precompile into the binary 21751 all types that they 21752 21753 expect it to use in the context of Any. However, for 21754 URLs which use the 21755 21756 scheme `http`, `https`, or no scheme, one can optionally 21757 set up a type 21758 21759 server that maps type URLs to message definitions as 21760 follows: 21761 21762 21763 * If no scheme is provided, `https` is assumed. 21764 21765 * An HTTP GET on the URL must yield a 21766 [google.protobuf.Type][] 21767 value in binary format, or produce an error. 21768 * Applications are allowed to cache lookup results based 21769 on the 21770 URL, or have them precompiled into a binary to avoid any 21771 lookup. Therefore, binary compatibility needs to be preserved 21772 on changes to types. (Use versioned type names to manage 21773 breaking changes.) 21774 21775 Note: this functionality is not currently available in 21776 the official 21777 21778 protobuf release, and it is not used for type URLs 21779 beginning with 21780 21781 type.googleapis.com. 21782 21783 21784 Schemes other than `http`, `https` (or the empty scheme) 21785 might be 21786 21787 used with implementation specific semantics. 21788 value: 21789 type: string 21790 format: byte 21791 description: >- 21792 Must be a valid serialized protocol buffer of the above 21793 specified type. 21794 description: >- 21795 `Any` contains an arbitrary serialized protocol buffer 21796 message along with a 21797 21798 URL that describes the type of the serialized message. 21799 21800 21801 Protobuf library provides support to pack/unpack Any values 21802 in the form 21803 21804 of utility functions or additional generated methods of the 21805 Any type. 21806 21807 21808 Example 1: Pack and unpack a message in C++. 21809 21810 Foo foo = ...; 21811 Any any; 21812 any.PackFrom(foo); 21813 ... 21814 if (any.UnpackTo(&foo)) { 21815 ... 21816 } 21817 21818 Example 2: Pack and unpack a message in Java. 21819 21820 Foo foo = ...; 21821 Any any = Any.pack(foo); 21822 ... 21823 if (any.is(Foo.class)) { 21824 foo = any.unpack(Foo.class); 21825 } 21826 21827 Example 3: Pack and unpack a message in Python. 21828 21829 foo = Foo(...) 21830 any = Any() 21831 any.Pack(foo) 21832 ... 21833 if any.Is(Foo.DESCRIPTOR): 21834 any.Unpack(foo) 21835 ... 21836 21837 Example 4: Pack and unpack a message in Go 21838 21839 foo := &pb.Foo{...} 21840 any, err := ptypes.MarshalAny(foo) 21841 ... 21842 foo := &pb.Foo{} 21843 if err := ptypes.UnmarshalAny(any, foo); err != nil { 21844 ... 21845 } 21846 21847 The pack methods provided by protobuf library will by 21848 default use 21849 21850 'type.googleapis.com/full.type.name' as the type URL and the 21851 unpack 21852 21853 methods only use the fully qualified type name after the 21854 last '/' 21855 21856 in the type URL, for example "foo.bar.com/x/y.z" will yield 21857 type 21858 21859 name "y.z". 21860 21861 21862 21863 JSON 21864 21865 ==== 21866 21867 The JSON representation of an `Any` value uses the regular 21868 21869 representation of the deserialized, embedded message, with 21870 an 21871 21872 additional field `@type` which contains the type URL. 21873 Example: 21874 21875 package google.profile; 21876 message Person { 21877 string first_name = 1; 21878 string last_name = 2; 21879 } 21880 21881 { 21882 "@type": "type.googleapis.com/google.profile.Person", 21883 "firstName": <string>, 21884 "lastName": <string> 21885 } 21886 21887 If the embedded message type is well-known and has a custom 21888 JSON 21889 21890 representation, that representation will be embedded adding 21891 a field 21892 21893 `value` which holds the custom JSON in addition to the 21894 `@type` 21895 21896 field. Example (for message [google.protobuf.Duration][]): 21897 21898 { 21899 "@type": "type.googleapis.com/google.protobuf.Duration", 21900 "value": "1.212s" 21901 } 21902 parameters: 21903 - name: name 21904 description: name is the name of the applied plan to query for. 21905 in: path 21906 required: true 21907 type: string 21908 tags: 21909 - Query 21910 /cosmos/upgrade/v1beta1/current_plan: 21911 get: 21912 summary: CurrentPlan queries the current upgrade plan. 21913 operationId: CurrentPlan 21914 responses: 21915 '200': 21916 description: A successful response. 21917 schema: 21918 type: object 21919 properties: 21920 plan: 21921 description: plan is the current upgrade plan. 21922 type: object 21923 properties: 21924 name: 21925 type: string 21926 description: >- 21927 Sets the name for the upgrade. This name will be used by 21928 the upgraded 21929 21930 version of the software to apply any special "on-upgrade" 21931 commands during 21932 21933 the first BeginBlock method after the upgrade is applied. 21934 It is also used 21935 21936 to detect whether a software version can handle a given 21937 upgrade. If no 21938 21939 upgrade handler with this name has been set in the 21940 software, it will be 21941 21942 assumed that the software is out-of-date when the upgrade 21943 Time or Height is 21944 21945 reached and the software will exit. 21946 time: 21947 type: string 21948 format: date-time 21949 description: >- 21950 Deprecated: Time based upgrades have been deprecated. Time 21951 based upgrade logic 21952 21953 has been removed from the SDK. 21954 21955 If this field is not empty, an error will be thrown. 21956 height: 21957 type: string 21958 format: int64 21959 description: |- 21960 The height at which the upgrade must be performed. 21961 Only used if Time is not set. 21962 info: 21963 type: string 21964 title: >- 21965 Any application specific upgrade info to be included 21966 on-chain 21967 21968 such as a git commit that validators could automatically 21969 upgrade to 21970 upgraded_client_state: 21971 type: object 21972 properties: 21973 type_url: 21974 type: string 21975 description: >- 21976 A URL/resource name that uniquely identifies the type 21977 of the serialized 21978 21979 protocol buffer message. This string must contain at 21980 least 21981 21982 one "/" character. The last segment of the URL's path 21983 must represent 21984 21985 the fully qualified name of the type (as in 21986 21987 `path/google.protobuf.Duration`). The name should be 21988 in a canonical form 21989 21990 (e.g., leading "." is not accepted). 21991 21992 21993 In practice, teams usually precompile into the binary 21994 all types that they 21995 21996 expect it to use in the context of Any. However, for 21997 URLs which use the 21998 21999 scheme `http`, `https`, or no scheme, one can 22000 optionally set up a type 22001 22002 server that maps type URLs to message definitions as 22003 follows: 22004 22005 22006 * If no scheme is provided, `https` is assumed. 22007 22008 * An HTTP GET on the URL must yield a 22009 [google.protobuf.Type][] 22010 value in binary format, or produce an error. 22011 * Applications are allowed to cache lookup results 22012 based on the 22013 URL, or have them precompiled into a binary to avoid any 22014 lookup. Therefore, binary compatibility needs to be preserved 22015 on changes to types. (Use versioned type names to manage 22016 breaking changes.) 22017 22018 Note: this functionality is not currently available in 22019 the official 22020 22021 protobuf release, and it is not used for type URLs 22022 beginning with 22023 22024 type.googleapis.com. 22025 22026 22027 Schemes other than `http`, `https` (or the empty 22028 scheme) might be 22029 22030 used with implementation specific semantics. 22031 value: 22032 type: string 22033 format: byte 22034 description: >- 22035 Must be a valid serialized protocol buffer of the 22036 above specified type. 22037 description: >- 22038 `Any` contains an arbitrary serialized protocol buffer 22039 message along with a 22040 22041 URL that describes the type of the serialized message. 22042 22043 22044 Protobuf library provides support to pack/unpack Any 22045 values in the form 22046 22047 of utility functions or additional generated methods of 22048 the Any type. 22049 22050 22051 Example 1: Pack and unpack a message in C++. 22052 22053 Foo foo = ...; 22054 Any any; 22055 any.PackFrom(foo); 22056 ... 22057 if (any.UnpackTo(&foo)) { 22058 ... 22059 } 22060 22061 Example 2: Pack and unpack a message in Java. 22062 22063 Foo foo = ...; 22064 Any any = Any.pack(foo); 22065 ... 22066 if (any.is(Foo.class)) { 22067 foo = any.unpack(Foo.class); 22068 } 22069 22070 Example 3: Pack and unpack a message in Python. 22071 22072 foo = Foo(...) 22073 any = Any() 22074 any.Pack(foo) 22075 ... 22076 if any.Is(Foo.DESCRIPTOR): 22077 any.Unpack(foo) 22078 ... 22079 22080 Example 4: Pack and unpack a message in Go 22081 22082 foo := &pb.Foo{...} 22083 any, err := ptypes.MarshalAny(foo) 22084 ... 22085 foo := &pb.Foo{} 22086 if err := ptypes.UnmarshalAny(any, foo); err != nil { 22087 ... 22088 } 22089 22090 The pack methods provided by protobuf library will by 22091 default use 22092 22093 'type.googleapis.com/full.type.name' as the type URL and 22094 the unpack 22095 22096 methods only use the fully qualified type name after the 22097 last '/' 22098 22099 in the type URL, for example "foo.bar.com/x/y.z" will 22100 yield type 22101 22102 name "y.z". 22103 22104 22105 22106 JSON 22107 22108 ==== 22109 22110 The JSON representation of an `Any` value uses the regular 22111 22112 representation of the deserialized, embedded message, with 22113 an 22114 22115 additional field `@type` which contains the type URL. 22116 Example: 22117 22118 package google.profile; 22119 message Person { 22120 string first_name = 1; 22121 string last_name = 2; 22122 } 22123 22124 { 22125 "@type": "type.googleapis.com/google.profile.Person", 22126 "firstName": <string>, 22127 "lastName": <string> 22128 } 22129 22130 If the embedded message type is well-known and has a 22131 custom JSON 22132 22133 representation, that representation will be embedded 22134 adding a field 22135 22136 `value` which holds the custom JSON in addition to the 22137 `@type` 22138 22139 field. Example (for message [google.protobuf.Duration][]): 22140 22141 { 22142 "@type": "type.googleapis.com/google.protobuf.Duration", 22143 "value": "1.212s" 22144 } 22145 description: >- 22146 QueryCurrentPlanResponse is the response type for the 22147 Query/CurrentPlan RPC 22148 22149 method. 22150 default: 22151 description: An unexpected error response 22152 schema: 22153 type: object 22154 properties: 22155 error: 22156 type: string 22157 code: 22158 type: integer 22159 format: int32 22160 message: 22161 type: string 22162 details: 22163 type: array 22164 items: 22165 type: object 22166 properties: 22167 type_url: 22168 type: string 22169 description: >- 22170 A URL/resource name that uniquely identifies the type of 22171 the serialized 22172 22173 protocol buffer message. This string must contain at 22174 least 22175 22176 one "/" character. The last segment of the URL's path 22177 must represent 22178 22179 the fully qualified name of the type (as in 22180 22181 `path/google.protobuf.Duration`). The name should be in 22182 a canonical form 22183 22184 (e.g., leading "." is not accepted). 22185 22186 22187 In practice, teams usually precompile into the binary 22188 all types that they 22189 22190 expect it to use in the context of Any. However, for 22191 URLs which use the 22192 22193 scheme `http`, `https`, or no scheme, one can optionally 22194 set up a type 22195 22196 server that maps type URLs to message definitions as 22197 follows: 22198 22199 22200 * If no scheme is provided, `https` is assumed. 22201 22202 * An HTTP GET on the URL must yield a 22203 [google.protobuf.Type][] 22204 value in binary format, or produce an error. 22205 * Applications are allowed to cache lookup results based 22206 on the 22207 URL, or have them precompiled into a binary to avoid any 22208 lookup. Therefore, binary compatibility needs to be preserved 22209 on changes to types. (Use versioned type names to manage 22210 breaking changes.) 22211 22212 Note: this functionality is not currently available in 22213 the official 22214 22215 protobuf release, and it is not used for type URLs 22216 beginning with 22217 22218 type.googleapis.com. 22219 22220 22221 Schemes other than `http`, `https` (or the empty scheme) 22222 might be 22223 22224 used with implementation specific semantics. 22225 value: 22226 type: string 22227 format: byte 22228 description: >- 22229 Must be a valid serialized protocol buffer of the above 22230 specified type. 22231 description: >- 22232 `Any` contains an arbitrary serialized protocol buffer 22233 message along with a 22234 22235 URL that describes the type of the serialized message. 22236 22237 22238 Protobuf library provides support to pack/unpack Any values 22239 in the form 22240 22241 of utility functions or additional generated methods of the 22242 Any type. 22243 22244 22245 Example 1: Pack and unpack a message in C++. 22246 22247 Foo foo = ...; 22248 Any any; 22249 any.PackFrom(foo); 22250 ... 22251 if (any.UnpackTo(&foo)) { 22252 ... 22253 } 22254 22255 Example 2: Pack and unpack a message in Java. 22256 22257 Foo foo = ...; 22258 Any any = Any.pack(foo); 22259 ... 22260 if (any.is(Foo.class)) { 22261 foo = any.unpack(Foo.class); 22262 } 22263 22264 Example 3: Pack and unpack a message in Python. 22265 22266 foo = Foo(...) 22267 any = Any() 22268 any.Pack(foo) 22269 ... 22270 if any.Is(Foo.DESCRIPTOR): 22271 any.Unpack(foo) 22272 ... 22273 22274 Example 4: Pack and unpack a message in Go 22275 22276 foo := &pb.Foo{...} 22277 any, err := ptypes.MarshalAny(foo) 22278 ... 22279 foo := &pb.Foo{} 22280 if err := ptypes.UnmarshalAny(any, foo); err != nil { 22281 ... 22282 } 22283 22284 The pack methods provided by protobuf library will by 22285 default use 22286 22287 'type.googleapis.com/full.type.name' as the type URL and the 22288 unpack 22289 22290 methods only use the fully qualified type name after the 22291 last '/' 22292 22293 in the type URL, for example "foo.bar.com/x/y.z" will yield 22294 type 22295 22296 name "y.z". 22297 22298 22299 22300 JSON 22301 22302 ==== 22303 22304 The JSON representation of an `Any` value uses the regular 22305 22306 representation of the deserialized, embedded message, with 22307 an 22308 22309 additional field `@type` which contains the type URL. 22310 Example: 22311 22312 package google.profile; 22313 message Person { 22314 string first_name = 1; 22315 string last_name = 2; 22316 } 22317 22318 { 22319 "@type": "type.googleapis.com/google.profile.Person", 22320 "firstName": <string>, 22321 "lastName": <string> 22322 } 22323 22324 If the embedded message type is well-known and has a custom 22325 JSON 22326 22327 representation, that representation will be embedded adding 22328 a field 22329 22330 `value` which holds the custom JSON in addition to the 22331 `@type` 22332 22333 field. Example (for message [google.protobuf.Duration][]): 22334 22335 { 22336 "@type": "type.googleapis.com/google.protobuf.Duration", 22337 "value": "1.212s" 22338 } 22339 tags: 22340 - Query 22341 /cosmos/upgrade/v1beta1/module_versions: 22342 get: 22343 summary: ModuleVersions queries the list of module versions from state. 22344 description: 'Since: cosmos-sdk 0.43' 22345 operationId: ModuleVersions 22346 responses: 22347 '200': 22348 description: A successful response. 22349 schema: 22350 type: object 22351 properties: 22352 module_versions: 22353 type: array 22354 items: 22355 type: object 22356 properties: 22357 name: 22358 type: string 22359 title: name of the app module 22360 version: 22361 type: string 22362 format: uint64 22363 title: consensus version of the app module 22364 description: |- 22365 ModuleVersion specifies a module and its consensus version. 22366 22367 Since: cosmos-sdk 0.43 22368 description: >- 22369 module_versions is a list of module names with their consensus 22370 versions. 22371 description: >- 22372 QueryModuleVersionsResponse is the response type for the 22373 Query/ModuleVersions 22374 22375 RPC method. 22376 22377 22378 Since: cosmos-sdk 0.43 22379 default: 22380 description: An unexpected error response 22381 schema: 22382 type: object 22383 properties: 22384 error: 22385 type: string 22386 code: 22387 type: integer 22388 format: int32 22389 message: 22390 type: string 22391 details: 22392 type: array 22393 items: 22394 type: object 22395 properties: 22396 type_url: 22397 type: string 22398 description: >- 22399 A URL/resource name that uniquely identifies the type of 22400 the serialized 22401 22402 protocol buffer message. This string must contain at 22403 least 22404 22405 one "/" character. The last segment of the URL's path 22406 must represent 22407 22408 the fully qualified name of the type (as in 22409 22410 `path/google.protobuf.Duration`). The name should be in 22411 a canonical form 22412 22413 (e.g., leading "." is not accepted). 22414 22415 22416 In practice, teams usually precompile into the binary 22417 all types that they 22418 22419 expect it to use in the context of Any. However, for 22420 URLs which use the 22421 22422 scheme `http`, `https`, or no scheme, one can optionally 22423 set up a type 22424 22425 server that maps type URLs to message definitions as 22426 follows: 22427 22428 22429 * If no scheme is provided, `https` is assumed. 22430 22431 * An HTTP GET on the URL must yield a 22432 [google.protobuf.Type][] 22433 value in binary format, or produce an error. 22434 * Applications are allowed to cache lookup results based 22435 on the 22436 URL, or have them precompiled into a binary to avoid any 22437 lookup. Therefore, binary compatibility needs to be preserved 22438 on changes to types. (Use versioned type names to manage 22439 breaking changes.) 22440 22441 Note: this functionality is not currently available in 22442 the official 22443 22444 protobuf release, and it is not used for type URLs 22445 beginning with 22446 22447 type.googleapis.com. 22448 22449 22450 Schemes other than `http`, `https` (or the empty scheme) 22451 might be 22452 22453 used with implementation specific semantics. 22454 value: 22455 type: string 22456 format: byte 22457 description: >- 22458 Must be a valid serialized protocol buffer of the above 22459 specified type. 22460 description: >- 22461 `Any` contains an arbitrary serialized protocol buffer 22462 message along with a 22463 22464 URL that describes the type of the serialized message. 22465 22466 22467 Protobuf library provides support to pack/unpack Any values 22468 in the form 22469 22470 of utility functions or additional generated methods of the 22471 Any type. 22472 22473 22474 Example 1: Pack and unpack a message in C++. 22475 22476 Foo foo = ...; 22477 Any any; 22478 any.PackFrom(foo); 22479 ... 22480 if (any.UnpackTo(&foo)) { 22481 ... 22482 } 22483 22484 Example 2: Pack and unpack a message in Java. 22485 22486 Foo foo = ...; 22487 Any any = Any.pack(foo); 22488 ... 22489 if (any.is(Foo.class)) { 22490 foo = any.unpack(Foo.class); 22491 } 22492 22493 Example 3: Pack and unpack a message in Python. 22494 22495 foo = Foo(...) 22496 any = Any() 22497 any.Pack(foo) 22498 ... 22499 if any.Is(Foo.DESCRIPTOR): 22500 any.Unpack(foo) 22501 ... 22502 22503 Example 4: Pack and unpack a message in Go 22504 22505 foo := &pb.Foo{...} 22506 any, err := ptypes.MarshalAny(foo) 22507 ... 22508 foo := &pb.Foo{} 22509 if err := ptypes.UnmarshalAny(any, foo); err != nil { 22510 ... 22511 } 22512 22513 The pack methods provided by protobuf library will by 22514 default use 22515 22516 'type.googleapis.com/full.type.name' as the type URL and the 22517 unpack 22518 22519 methods only use the fully qualified type name after the 22520 last '/' 22521 22522 in the type URL, for example "foo.bar.com/x/y.z" will yield 22523 type 22524 22525 name "y.z". 22526 22527 22528 22529 JSON 22530 22531 ==== 22532 22533 The JSON representation of an `Any` value uses the regular 22534 22535 representation of the deserialized, embedded message, with 22536 an 22537 22538 additional field `@type` which contains the type URL. 22539 Example: 22540 22541 package google.profile; 22542 message Person { 22543 string first_name = 1; 22544 string last_name = 2; 22545 } 22546 22547 { 22548 "@type": "type.googleapis.com/google.profile.Person", 22549 "firstName": <string>, 22550 "lastName": <string> 22551 } 22552 22553 If the embedded message type is well-known and has a custom 22554 JSON 22555 22556 representation, that representation will be embedded adding 22557 a field 22558 22559 `value` which holds the custom JSON in addition to the 22560 `@type` 22561 22562 field. Example (for message [google.protobuf.Duration][]): 22563 22564 { 22565 "@type": "type.googleapis.com/google.protobuf.Duration", 22566 "value": "1.212s" 22567 } 22568 parameters: 22569 - name: module_name 22570 description: |- 22571 module_name is a field to query a specific module 22572 consensus version from state. Leaving this empty will 22573 fetch the full list of module versions from state. 22574 in: query 22575 required: false 22576 type: string 22577 tags: 22578 - Query 22579 '/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}': 22580 get: 22581 summary: >- 22582 UpgradedConsensusState queries the consensus state that will serve 22583 22584 as a trusted kernel for the next version of this chain. It will only be 22585 22586 stored at the last height of this chain. 22587 22588 UpgradedConsensusState RPC not supported with legacy querier 22589 22590 This rpc is deprecated now that IBC has its own replacement 22591 22592 (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) 22593 operationId: UpgradedConsensusState 22594 responses: 22595 '200': 22596 description: A successful response. 22597 schema: 22598 type: object 22599 properties: 22600 upgraded_consensus_state: 22601 type: string 22602 format: byte 22603 title: 'Since: cosmos-sdk 0.43' 22604 description: >- 22605 QueryUpgradedConsensusStateResponse is the response type for the 22606 Query/UpgradedConsensusState 22607 22608 RPC method. 22609 default: 22610 description: An unexpected error response 22611 schema: 22612 type: object 22613 properties: 22614 error: 22615 type: string 22616 code: 22617 type: integer 22618 format: int32 22619 message: 22620 type: string 22621 details: 22622 type: array 22623 items: 22624 type: object 22625 properties: 22626 type_url: 22627 type: string 22628 description: >- 22629 A URL/resource name that uniquely identifies the type of 22630 the serialized 22631 22632 protocol buffer message. This string must contain at 22633 least 22634 22635 one "/" character. The last segment of the URL's path 22636 must represent 22637 22638 the fully qualified name of the type (as in 22639 22640 `path/google.protobuf.Duration`). The name should be in 22641 a canonical form 22642 22643 (e.g., leading "." is not accepted). 22644 22645 22646 In practice, teams usually precompile into the binary 22647 all types that they 22648 22649 expect it to use in the context of Any. However, for 22650 URLs which use the 22651 22652 scheme `http`, `https`, or no scheme, one can optionally 22653 set up a type 22654 22655 server that maps type URLs to message definitions as 22656 follows: 22657 22658 22659 * If no scheme is provided, `https` is assumed. 22660 22661 * An HTTP GET on the URL must yield a 22662 [google.protobuf.Type][] 22663 value in binary format, or produce an error. 22664 * Applications are allowed to cache lookup results based 22665 on the 22666 URL, or have them precompiled into a binary to avoid any 22667 lookup. Therefore, binary compatibility needs to be preserved 22668 on changes to types. (Use versioned type names to manage 22669 breaking changes.) 22670 22671 Note: this functionality is not currently available in 22672 the official 22673 22674 protobuf release, and it is not used for type URLs 22675 beginning with 22676 22677 type.googleapis.com. 22678 22679 22680 Schemes other than `http`, `https` (or the empty scheme) 22681 might be 22682 22683 used with implementation specific semantics. 22684 value: 22685 type: string 22686 format: byte 22687 description: >- 22688 Must be a valid serialized protocol buffer of the above 22689 specified type. 22690 description: >- 22691 `Any` contains an arbitrary serialized protocol buffer 22692 message along with a 22693 22694 URL that describes the type of the serialized message. 22695 22696 22697 Protobuf library provides support to pack/unpack Any values 22698 in the form 22699 22700 of utility functions or additional generated methods of the 22701 Any type. 22702 22703 22704 Example 1: Pack and unpack a message in C++. 22705 22706 Foo foo = ...; 22707 Any any; 22708 any.PackFrom(foo); 22709 ... 22710 if (any.UnpackTo(&foo)) { 22711 ... 22712 } 22713 22714 Example 2: Pack and unpack a message in Java. 22715 22716 Foo foo = ...; 22717 Any any = Any.pack(foo); 22718 ... 22719 if (any.is(Foo.class)) { 22720 foo = any.unpack(Foo.class); 22721 } 22722 22723 Example 3: Pack and unpack a message in Python. 22724 22725 foo = Foo(...) 22726 any = Any() 22727 any.Pack(foo) 22728 ... 22729 if any.Is(Foo.DESCRIPTOR): 22730 any.Unpack(foo) 22731 ... 22732 22733 Example 4: Pack and unpack a message in Go 22734 22735 foo := &pb.Foo{...} 22736 any, err := ptypes.MarshalAny(foo) 22737 ... 22738 foo := &pb.Foo{} 22739 if err := ptypes.UnmarshalAny(any, foo); err != nil { 22740 ... 22741 } 22742 22743 The pack methods provided by protobuf library will by 22744 default use 22745 22746 'type.googleapis.com/full.type.name' as the type URL and the 22747 unpack 22748 22749 methods only use the fully qualified type name after the 22750 last '/' 22751 22752 in the type URL, for example "foo.bar.com/x/y.z" will yield 22753 type 22754 22755 name "y.z". 22756 22757 22758 22759 JSON 22760 22761 ==== 22762 22763 The JSON representation of an `Any` value uses the regular 22764 22765 representation of the deserialized, embedded message, with 22766 an 22767 22768 additional field `@type` which contains the type URL. 22769 Example: 22770 22771 package google.profile; 22772 message Person { 22773 string first_name = 1; 22774 string last_name = 2; 22775 } 22776 22777 { 22778 "@type": "type.googleapis.com/google.profile.Person", 22779 "firstName": <string>, 22780 "lastName": <string> 22781 } 22782 22783 If the embedded message type is well-known and has a custom 22784 JSON 22785 22786 representation, that representation will be embedded adding 22787 a field 22788 22789 `value` which holds the custom JSON in addition to the 22790 `@type` 22791 22792 field. Example (for message [google.protobuf.Duration][]): 22793 22794 { 22795 "@type": "type.googleapis.com/google.protobuf.Duration", 22796 "value": "1.212s" 22797 } 22798 parameters: 22799 - name: last_height 22800 description: |- 22801 last height of the current chain must be sent in request 22802 as this is the height under which next consensus state is stored 22803 in: path 22804 required: true 22805 type: string 22806 format: int64 22807 tags: 22808 - Query 22809 /cosmos/authz/v1beta1/grants: 22810 get: 22811 summary: 'Returns list of `Authorization`, granted to the grantee by the granter.' 22812 operationId: Grants 22813 responses: 22814 '200': 22815 description: A successful response. 22816 schema: 22817 type: object 22818 properties: 22819 grants: 22820 type: array 22821 items: 22822 type: object 22823 properties: 22824 authorization: 22825 type: object 22826 properties: 22827 type_url: 22828 type: string 22829 description: >- 22830 A URL/resource name that uniquely identifies the 22831 type of the serialized 22832 22833 protocol buffer message. This string must contain at 22834 least 22835 22836 one "/" character. The last segment of the URL's 22837 path must represent 22838 22839 the fully qualified name of the type (as in 22840 22841 `path/google.protobuf.Duration`). The name should be 22842 in a canonical form 22843 22844 (e.g., leading "." is not accepted). 22845 22846 22847 In practice, teams usually precompile into the 22848 binary all types that they 22849 22850 expect it to use in the context of Any. However, for 22851 URLs which use the 22852 22853 scheme `http`, `https`, or no scheme, one can 22854 optionally set up a type 22855 22856 server that maps type URLs to message definitions as 22857 follows: 22858 22859 22860 * If no scheme is provided, `https` is assumed. 22861 22862 * An HTTP GET on the URL must yield a 22863 [google.protobuf.Type][] 22864 value in binary format, or produce an error. 22865 * Applications are allowed to cache lookup results 22866 based on the 22867 URL, or have them precompiled into a binary to avoid any 22868 lookup. Therefore, binary compatibility needs to be preserved 22869 on changes to types. (Use versioned type names to manage 22870 breaking changes.) 22871 22872 Note: this functionality is not currently available 22873 in the official 22874 22875 protobuf release, and it is not used for type URLs 22876 beginning with 22877 22878 type.googleapis.com. 22879 22880 22881 Schemes other than `http`, `https` (or the empty 22882 scheme) might be 22883 22884 used with implementation specific semantics. 22885 value: 22886 type: string 22887 format: byte 22888 description: >- 22889 Must be a valid serialized protocol buffer of the 22890 above specified type. 22891 description: >- 22892 `Any` contains an arbitrary serialized protocol buffer 22893 message along with a 22894 22895 URL that describes the type of the serialized message. 22896 22897 22898 Protobuf library provides support to pack/unpack Any 22899 values in the form 22900 22901 of utility functions or additional generated methods of 22902 the Any type. 22903 22904 22905 Example 1: Pack and unpack a message in C++. 22906 22907 Foo foo = ...; 22908 Any any; 22909 any.PackFrom(foo); 22910 ... 22911 if (any.UnpackTo(&foo)) { 22912 ... 22913 } 22914 22915 Example 2: Pack and unpack a message in Java. 22916 22917 Foo foo = ...; 22918 Any any = Any.pack(foo); 22919 ... 22920 if (any.is(Foo.class)) { 22921 foo = any.unpack(Foo.class); 22922 } 22923 22924 Example 3: Pack and unpack a message in Python. 22925 22926 foo = Foo(...) 22927 any = Any() 22928 any.Pack(foo) 22929 ... 22930 if any.Is(Foo.DESCRIPTOR): 22931 any.Unpack(foo) 22932 ... 22933 22934 Example 4: Pack and unpack a message in Go 22935 22936 foo := &pb.Foo{...} 22937 any, err := ptypes.MarshalAny(foo) 22938 ... 22939 foo := &pb.Foo{} 22940 if err := ptypes.UnmarshalAny(any, foo); err != nil { 22941 ... 22942 } 22943 22944 The pack methods provided by protobuf library will by 22945 default use 22946 22947 'type.googleapis.com/full.type.name' as the type URL and 22948 the unpack 22949 22950 methods only use the fully qualified type name after the 22951 last '/' 22952 22953 in the type URL, for example "foo.bar.com/x/y.z" will 22954 yield type 22955 22956 name "y.z". 22957 22958 22959 22960 JSON 22961 22962 ==== 22963 22964 The JSON representation of an `Any` value uses the 22965 regular 22966 22967 representation of the deserialized, embedded message, 22968 with an 22969 22970 additional field `@type` which contains the type URL. 22971 Example: 22972 22973 package google.profile; 22974 message Person { 22975 string first_name = 1; 22976 string last_name = 2; 22977 } 22978 22979 { 22980 "@type": "type.googleapis.com/google.profile.Person", 22981 "firstName": <string>, 22982 "lastName": <string> 22983 } 22984 22985 If the embedded message type is well-known and has a 22986 custom JSON 22987 22988 representation, that representation will be embedded 22989 adding a field 22990 22991 `value` which holds the custom JSON in addition to the 22992 `@type` 22993 22994 field. Example (for message 22995 [google.protobuf.Duration][]): 22996 22997 { 22998 "@type": "type.googleapis.com/google.protobuf.Duration", 22999 "value": "1.212s" 23000 } 23001 expiration: 23002 type: string 23003 format: date-time 23004 description: |- 23005 Grant gives permissions to execute 23006 the provide method with expiration time. 23007 description: >- 23008 authorizations is a list of grants granted for grantee by 23009 granter. 23010 pagination: 23011 description: pagination defines an pagination for the response. 23012 type: object 23013 properties: 23014 next_key: 23015 type: string 23016 format: byte 23017 title: |- 23018 next_key is the key to be passed to PageRequest.key to 23019 query the next page most efficiently 23020 total: 23021 type: string 23022 format: uint64 23023 title: >- 23024 total is total number of results available if 23025 PageRequest.count_total 23026 23027 was set, its value is undefined otherwise 23028 description: >- 23029 QueryGrantsResponse is the response type for the 23030 Query/Authorizations RPC method. 23031 default: 23032 description: An unexpected error response 23033 schema: 23034 type: object 23035 properties: 23036 error: 23037 type: string 23038 code: 23039 type: integer 23040 format: int32 23041 message: 23042 type: string 23043 details: 23044 type: array 23045 items: 23046 type: object 23047 properties: 23048 type_url: 23049 type: string 23050 description: >- 23051 A URL/resource name that uniquely identifies the type of 23052 the serialized 23053 23054 protocol buffer message. This string must contain at 23055 least 23056 23057 one "/" character. The last segment of the URL's path 23058 must represent 23059 23060 the fully qualified name of the type (as in 23061 23062 `path/google.protobuf.Duration`). The name should be in 23063 a canonical form 23064 23065 (e.g., leading "." is not accepted). 23066 23067 23068 In practice, teams usually precompile into the binary 23069 all types that they 23070 23071 expect it to use in the context of Any. However, for 23072 URLs which use the 23073 23074 scheme `http`, `https`, or no scheme, one can optionally 23075 set up a type 23076 23077 server that maps type URLs to message definitions as 23078 follows: 23079 23080 23081 * If no scheme is provided, `https` is assumed. 23082 23083 * An HTTP GET on the URL must yield a 23084 [google.protobuf.Type][] 23085 value in binary format, or produce an error. 23086 * Applications are allowed to cache lookup results based 23087 on the 23088 URL, or have them precompiled into a binary to avoid any 23089 lookup. Therefore, binary compatibility needs to be preserved 23090 on changes to types. (Use versioned type names to manage 23091 breaking changes.) 23092 23093 Note: this functionality is not currently available in 23094 the official 23095 23096 protobuf release, and it is not used for type URLs 23097 beginning with 23098 23099 type.googleapis.com. 23100 23101 23102 Schemes other than `http`, `https` (or the empty scheme) 23103 might be 23104 23105 used with implementation specific semantics. 23106 value: 23107 type: string 23108 format: byte 23109 description: >- 23110 Must be a valid serialized protocol buffer of the above 23111 specified type. 23112 description: >- 23113 `Any` contains an arbitrary serialized protocol buffer 23114 message along with a 23115 23116 URL that describes the type of the serialized message. 23117 23118 23119 Protobuf library provides support to pack/unpack Any values 23120 in the form 23121 23122 of utility functions or additional generated methods of the 23123 Any type. 23124 23125 23126 Example 1: Pack and unpack a message in C++. 23127 23128 Foo foo = ...; 23129 Any any; 23130 any.PackFrom(foo); 23131 ... 23132 if (any.UnpackTo(&foo)) { 23133 ... 23134 } 23135 23136 Example 2: Pack and unpack a message in Java. 23137 23138 Foo foo = ...; 23139 Any any = Any.pack(foo); 23140 ... 23141 if (any.is(Foo.class)) { 23142 foo = any.unpack(Foo.class); 23143 } 23144 23145 Example 3: Pack and unpack a message in Python. 23146 23147 foo = Foo(...) 23148 any = Any() 23149 any.Pack(foo) 23150 ... 23151 if any.Is(Foo.DESCRIPTOR): 23152 any.Unpack(foo) 23153 ... 23154 23155 Example 4: Pack and unpack a message in Go 23156 23157 foo := &pb.Foo{...} 23158 any, err := ptypes.MarshalAny(foo) 23159 ... 23160 foo := &pb.Foo{} 23161 if err := ptypes.UnmarshalAny(any, foo); err != nil { 23162 ... 23163 } 23164 23165 The pack methods provided by protobuf library will by 23166 default use 23167 23168 'type.googleapis.com/full.type.name' as the type URL and the 23169 unpack 23170 23171 methods only use the fully qualified type name after the 23172 last '/' 23173 23174 in the type URL, for example "foo.bar.com/x/y.z" will yield 23175 type 23176 23177 name "y.z". 23178 23179 23180 23181 JSON 23182 23183 ==== 23184 23185 The JSON representation of an `Any` value uses the regular 23186 23187 representation of the deserialized, embedded message, with 23188 an 23189 23190 additional field `@type` which contains the type URL. 23191 Example: 23192 23193 package google.profile; 23194 message Person { 23195 string first_name = 1; 23196 string last_name = 2; 23197 } 23198 23199 { 23200 "@type": "type.googleapis.com/google.profile.Person", 23201 "firstName": <string>, 23202 "lastName": <string> 23203 } 23204 23205 If the embedded message type is well-known and has a custom 23206 JSON 23207 23208 representation, that representation will be embedded adding 23209 a field 23210 23211 `value` which holds the custom JSON in addition to the 23212 `@type` 23213 23214 field. Example (for message [google.protobuf.Duration][]): 23215 23216 { 23217 "@type": "type.googleapis.com/google.protobuf.Duration", 23218 "value": "1.212s" 23219 } 23220 parameters: 23221 - name: granter 23222 in: query 23223 required: false 23224 type: string 23225 - name: grantee 23226 in: query 23227 required: false 23228 type: string 23229 - name: msg_type_url 23230 description: >- 23231 Optional, msg_type_url, when set, will query only grants matching 23232 given msg type. 23233 in: query 23234 required: false 23235 type: string 23236 - name: pagination.key 23237 description: |- 23238 key is a value returned in PageResponse.next_key to begin 23239 querying the next page most efficiently. Only one of offset or key 23240 should be set. 23241 in: query 23242 required: false 23243 type: string 23244 format: byte 23245 - name: pagination.offset 23246 description: >- 23247 offset is a numeric offset that can be used when key is unavailable. 23248 23249 It is less efficient than using key. Only one of offset or key 23250 should 23251 23252 be set. 23253 in: query 23254 required: false 23255 type: string 23256 format: uint64 23257 - name: pagination.limit 23258 description: >- 23259 limit is the total number of results to be returned in the result 23260 page. 23261 23262 If left empty it will default to a value to be set by each app. 23263 in: query 23264 required: false 23265 type: string 23266 format: uint64 23267 - name: pagination.count_total 23268 description: >- 23269 count_total is set to true to indicate that the result set should 23270 include 23271 23272 a count of the total number of items available for pagination in 23273 UIs. 23274 23275 count_total is only respected when offset is used. It is ignored 23276 when key 23277 23278 is set. 23279 in: query 23280 required: false 23281 type: boolean 23282 format: boolean 23283 - name: pagination.reverse 23284 description: >- 23285 reverse is set to true if results are to be returned in the 23286 descending order. 23287 23288 23289 Since: cosmos-sdk 0.43 23290 in: query 23291 required: false 23292 type: boolean 23293 format: boolean 23294 tags: 23295 - Query 23296 '/cosmos/authz/v1beta1/grants/grantee/{grantee}': 23297 get: 23298 summary: GranteeGrants returns a list of `GrantAuthorization` by grantee. 23299 description: 'Since: cosmos-sdk 0.45.2' 23300 operationId: GranteeGrants 23301 responses: 23302 '200': 23303 description: A successful response. 23304 schema: 23305 type: object 23306 properties: 23307 grants: 23308 type: array 23309 items: 23310 type: object 23311 properties: 23312 granter: 23313 type: string 23314 grantee: 23315 type: string 23316 authorization: 23317 type: object 23318 properties: 23319 type_url: 23320 type: string 23321 description: >- 23322 A URL/resource name that uniquely identifies the 23323 type of the serialized 23324 23325 protocol buffer message. This string must contain at 23326 least 23327 23328 one "/" character. The last segment of the URL's 23329 path must represent 23330 23331 the fully qualified name of the type (as in 23332 23333 `path/google.protobuf.Duration`). The name should be 23334 in a canonical form 23335 23336 (e.g., leading "." is not accepted). 23337 23338 23339 In practice, teams usually precompile into the 23340 binary all types that they 23341 23342 expect it to use in the context of Any. However, for 23343 URLs which use the 23344 23345 scheme `http`, `https`, or no scheme, one can 23346 optionally set up a type 23347 23348 server that maps type URLs to message definitions as 23349 follows: 23350 23351 23352 * If no scheme is provided, `https` is assumed. 23353 23354 * An HTTP GET on the URL must yield a 23355 [google.protobuf.Type][] 23356 value in binary format, or produce an error. 23357 * Applications are allowed to cache lookup results 23358 based on the 23359 URL, or have them precompiled into a binary to avoid any 23360 lookup. Therefore, binary compatibility needs to be preserved 23361 on changes to types. (Use versioned type names to manage 23362 breaking changes.) 23363 23364 Note: this functionality is not currently available 23365 in the official 23366 23367 protobuf release, and it is not used for type URLs 23368 beginning with 23369 23370 type.googleapis.com. 23371 23372 23373 Schemes other than `http`, `https` (or the empty 23374 scheme) might be 23375 23376 used with implementation specific semantics. 23377 value: 23378 type: string 23379 format: byte 23380 description: >- 23381 Must be a valid serialized protocol buffer of the 23382 above specified type. 23383 description: >- 23384 `Any` contains an arbitrary serialized protocol buffer 23385 message along with a 23386 23387 URL that describes the type of the serialized message. 23388 23389 23390 Protobuf library provides support to pack/unpack Any 23391 values in the form 23392 23393 of utility functions or additional generated methods of 23394 the Any type. 23395 23396 23397 Example 1: Pack and unpack a message in C++. 23398 23399 Foo foo = ...; 23400 Any any; 23401 any.PackFrom(foo); 23402 ... 23403 if (any.UnpackTo(&foo)) { 23404 ... 23405 } 23406 23407 Example 2: Pack and unpack a message in Java. 23408 23409 Foo foo = ...; 23410 Any any = Any.pack(foo); 23411 ... 23412 if (any.is(Foo.class)) { 23413 foo = any.unpack(Foo.class); 23414 } 23415 23416 Example 3: Pack and unpack a message in Python. 23417 23418 foo = Foo(...) 23419 any = Any() 23420 any.Pack(foo) 23421 ... 23422 if any.Is(Foo.DESCRIPTOR): 23423 any.Unpack(foo) 23424 ... 23425 23426 Example 4: Pack and unpack a message in Go 23427 23428 foo := &pb.Foo{...} 23429 any, err := ptypes.MarshalAny(foo) 23430 ... 23431 foo := &pb.Foo{} 23432 if err := ptypes.UnmarshalAny(any, foo); err != nil { 23433 ... 23434 } 23435 23436 The pack methods provided by protobuf library will by 23437 default use 23438 23439 'type.googleapis.com/full.type.name' as the type URL and 23440 the unpack 23441 23442 methods only use the fully qualified type name after the 23443 last '/' 23444 23445 in the type URL, for example "foo.bar.com/x/y.z" will 23446 yield type 23447 23448 name "y.z". 23449 23450 23451 23452 JSON 23453 23454 ==== 23455 23456 The JSON representation of an `Any` value uses the 23457 regular 23458 23459 representation of the deserialized, embedded message, 23460 with an 23461 23462 additional field `@type` which contains the type URL. 23463 Example: 23464 23465 package google.profile; 23466 message Person { 23467 string first_name = 1; 23468 string last_name = 2; 23469 } 23470 23471 { 23472 "@type": "type.googleapis.com/google.profile.Person", 23473 "firstName": <string>, 23474 "lastName": <string> 23475 } 23476 23477 If the embedded message type is well-known and has a 23478 custom JSON 23479 23480 representation, that representation will be embedded 23481 adding a field 23482 23483 `value` which holds the custom JSON in addition to the 23484 `@type` 23485 23486 field. Example (for message 23487 [google.protobuf.Duration][]): 23488 23489 { 23490 "@type": "type.googleapis.com/google.protobuf.Duration", 23491 "value": "1.212s" 23492 } 23493 expiration: 23494 type: string 23495 format: date-time 23496 description: 'Since: cosmos-sdk 0.45.2' 23497 title: >- 23498 GrantAuthorization extends a grant with both the addresses 23499 of the grantee and granter. 23500 23501 It is used in genesis.proto and query.proto 23502 description: grants is a list of grants granted to the grantee. 23503 pagination: 23504 description: pagination defines an pagination for the response. 23505 type: object 23506 properties: 23507 next_key: 23508 type: string 23509 format: byte 23510 title: |- 23511 next_key is the key to be passed to PageRequest.key to 23512 query the next page most efficiently 23513 total: 23514 type: string 23515 format: uint64 23516 title: >- 23517 total is total number of results available if 23518 PageRequest.count_total 23519 23520 was set, its value is undefined otherwise 23521 description: >- 23522 QueryGranteeGrantsResponse is the response type for the 23523 Query/GranteeGrants RPC method. 23524 default: 23525 description: An unexpected error response 23526 schema: 23527 type: object 23528 properties: 23529 error: 23530 type: string 23531 code: 23532 type: integer 23533 format: int32 23534 message: 23535 type: string 23536 details: 23537 type: array 23538 items: 23539 type: object 23540 properties: 23541 type_url: 23542 type: string 23543 description: >- 23544 A URL/resource name that uniquely identifies the type of 23545 the serialized 23546 23547 protocol buffer message. This string must contain at 23548 least 23549 23550 one "/" character. The last segment of the URL's path 23551 must represent 23552 23553 the fully qualified name of the type (as in 23554 23555 `path/google.protobuf.Duration`). The name should be in 23556 a canonical form 23557 23558 (e.g., leading "." is not accepted). 23559 23560 23561 In practice, teams usually precompile into the binary 23562 all types that they 23563 23564 expect it to use in the context of Any. However, for 23565 URLs which use the 23566 23567 scheme `http`, `https`, or no scheme, one can optionally 23568 set up a type 23569 23570 server that maps type URLs to message definitions as 23571 follows: 23572 23573 23574 * If no scheme is provided, `https` is assumed. 23575 23576 * An HTTP GET on the URL must yield a 23577 [google.protobuf.Type][] 23578 value in binary format, or produce an error. 23579 * Applications are allowed to cache lookup results based 23580 on the 23581 URL, or have them precompiled into a binary to avoid any 23582 lookup. Therefore, binary compatibility needs to be preserved 23583 on changes to types. (Use versioned type names to manage 23584 breaking changes.) 23585 23586 Note: this functionality is not currently available in 23587 the official 23588 23589 protobuf release, and it is not used for type URLs 23590 beginning with 23591 23592 type.googleapis.com. 23593 23594 23595 Schemes other than `http`, `https` (or the empty scheme) 23596 might be 23597 23598 used with implementation specific semantics. 23599 value: 23600 type: string 23601 format: byte 23602 description: >- 23603 Must be a valid serialized protocol buffer of the above 23604 specified type. 23605 description: >- 23606 `Any` contains an arbitrary serialized protocol buffer 23607 message along with a 23608 23609 URL that describes the type of the serialized message. 23610 23611 23612 Protobuf library provides support to pack/unpack Any values 23613 in the form 23614 23615 of utility functions or additional generated methods of the 23616 Any type. 23617 23618 23619 Example 1: Pack and unpack a message in C++. 23620 23621 Foo foo = ...; 23622 Any any; 23623 any.PackFrom(foo); 23624 ... 23625 if (any.UnpackTo(&foo)) { 23626 ... 23627 } 23628 23629 Example 2: Pack and unpack a message in Java. 23630 23631 Foo foo = ...; 23632 Any any = Any.pack(foo); 23633 ... 23634 if (any.is(Foo.class)) { 23635 foo = any.unpack(Foo.class); 23636 } 23637 23638 Example 3: Pack and unpack a message in Python. 23639 23640 foo = Foo(...) 23641 any = Any() 23642 any.Pack(foo) 23643 ... 23644 if any.Is(Foo.DESCRIPTOR): 23645 any.Unpack(foo) 23646 ... 23647 23648 Example 4: Pack and unpack a message in Go 23649 23650 foo := &pb.Foo{...} 23651 any, err := ptypes.MarshalAny(foo) 23652 ... 23653 foo := &pb.Foo{} 23654 if err := ptypes.UnmarshalAny(any, foo); err != nil { 23655 ... 23656 } 23657 23658 The pack methods provided by protobuf library will by 23659 default use 23660 23661 'type.googleapis.com/full.type.name' as the type URL and the 23662 unpack 23663 23664 methods only use the fully qualified type name after the 23665 last '/' 23666 23667 in the type URL, for example "foo.bar.com/x/y.z" will yield 23668 type 23669 23670 name "y.z". 23671 23672 23673 23674 JSON 23675 23676 ==== 23677 23678 The JSON representation of an `Any` value uses the regular 23679 23680 representation of the deserialized, embedded message, with 23681 an 23682 23683 additional field `@type` which contains the type URL. 23684 Example: 23685 23686 package google.profile; 23687 message Person { 23688 string first_name = 1; 23689 string last_name = 2; 23690 } 23691 23692 { 23693 "@type": "type.googleapis.com/google.profile.Person", 23694 "firstName": <string>, 23695 "lastName": <string> 23696 } 23697 23698 If the embedded message type is well-known and has a custom 23699 JSON 23700 23701 representation, that representation will be embedded adding 23702 a field 23703 23704 `value` which holds the custom JSON in addition to the 23705 `@type` 23706 23707 field. Example (for message [google.protobuf.Duration][]): 23708 23709 { 23710 "@type": "type.googleapis.com/google.protobuf.Duration", 23711 "value": "1.212s" 23712 } 23713 parameters: 23714 - name: grantee 23715 in: path 23716 required: true 23717 type: string 23718 - name: pagination.key 23719 description: |- 23720 key is a value returned in PageResponse.next_key to begin 23721 querying the next page most efficiently. Only one of offset or key 23722 should be set. 23723 in: query 23724 required: false 23725 type: string 23726 format: byte 23727 - name: pagination.offset 23728 description: >- 23729 offset is a numeric offset that can be used when key is unavailable. 23730 23731 It is less efficient than using key. Only one of offset or key 23732 should 23733 23734 be set. 23735 in: query 23736 required: false 23737 type: string 23738 format: uint64 23739 - name: pagination.limit 23740 description: >- 23741 limit is the total number of results to be returned in the result 23742 page. 23743 23744 If left empty it will default to a value to be set by each app. 23745 in: query 23746 required: false 23747 type: string 23748 format: uint64 23749 - name: pagination.count_total 23750 description: >- 23751 count_total is set to true to indicate that the result set should 23752 include 23753 23754 a count of the total number of items available for pagination in 23755 UIs. 23756 23757 count_total is only respected when offset is used. It is ignored 23758 when key 23759 23760 is set. 23761 in: query 23762 required: false 23763 type: boolean 23764 format: boolean 23765 - name: pagination.reverse 23766 description: >- 23767 reverse is set to true if results are to be returned in the 23768 descending order. 23769 23770 23771 Since: cosmos-sdk 0.43 23772 in: query 23773 required: false 23774 type: boolean 23775 format: boolean 23776 tags: 23777 - Query 23778 '/cosmos/authz/v1beta1/grants/granter/{granter}': 23779 get: 23780 summary: 'GranterGrants returns list of `GrantAuthorization`, granted by granter.' 23781 description: 'Since: cosmos-sdk 0.45.2' 23782 operationId: GranterGrants 23783 responses: 23784 '200': 23785 description: A successful response. 23786 schema: 23787 type: object 23788 properties: 23789 grants: 23790 type: array 23791 items: 23792 type: object 23793 properties: 23794 granter: 23795 type: string 23796 grantee: 23797 type: string 23798 authorization: 23799 type: object 23800 properties: 23801 type_url: 23802 type: string 23803 description: >- 23804 A URL/resource name that uniquely identifies the 23805 type of the serialized 23806 23807 protocol buffer message. This string must contain at 23808 least 23809 23810 one "/" character. The last segment of the URL's 23811 path must represent 23812 23813 the fully qualified name of the type (as in 23814 23815 `path/google.protobuf.Duration`). The name should be 23816 in a canonical form 23817 23818 (e.g., leading "." is not accepted). 23819 23820 23821 In practice, teams usually precompile into the 23822 binary all types that they 23823 23824 expect it to use in the context of Any. However, for 23825 URLs which use the 23826 23827 scheme `http`, `https`, or no scheme, one can 23828 optionally set up a type 23829 23830 server that maps type URLs to message definitions as 23831 follows: 23832 23833 23834 * If no scheme is provided, `https` is assumed. 23835 23836 * An HTTP GET on the URL must yield a 23837 [google.protobuf.Type][] 23838 value in binary format, or produce an error. 23839 * Applications are allowed to cache lookup results 23840 based on the 23841 URL, or have them precompiled into a binary to avoid any 23842 lookup. Therefore, binary compatibility needs to be preserved 23843 on changes to types. (Use versioned type names to manage 23844 breaking changes.) 23845 23846 Note: this functionality is not currently available 23847 in the official 23848 23849 protobuf release, and it is not used for type URLs 23850 beginning with 23851 23852 type.googleapis.com. 23853 23854 23855 Schemes other than `http`, `https` (or the empty 23856 scheme) might be 23857 23858 used with implementation specific semantics. 23859 value: 23860 type: string 23861 format: byte 23862 description: >- 23863 Must be a valid serialized protocol buffer of the 23864 above specified type. 23865 description: >- 23866 `Any` contains an arbitrary serialized protocol buffer 23867 message along with a 23868 23869 URL that describes the type of the serialized message. 23870 23871 23872 Protobuf library provides support to pack/unpack Any 23873 values in the form 23874 23875 of utility functions or additional generated methods of 23876 the Any type. 23877 23878 23879 Example 1: Pack and unpack a message in C++. 23880 23881 Foo foo = ...; 23882 Any any; 23883 any.PackFrom(foo); 23884 ... 23885 if (any.UnpackTo(&foo)) { 23886 ... 23887 } 23888 23889 Example 2: Pack and unpack a message in Java. 23890 23891 Foo foo = ...; 23892 Any any = Any.pack(foo); 23893 ... 23894 if (any.is(Foo.class)) { 23895 foo = any.unpack(Foo.class); 23896 } 23897 23898 Example 3: Pack and unpack a message in Python. 23899 23900 foo = Foo(...) 23901 any = Any() 23902 any.Pack(foo) 23903 ... 23904 if any.Is(Foo.DESCRIPTOR): 23905 any.Unpack(foo) 23906 ... 23907 23908 Example 4: Pack and unpack a message in Go 23909 23910 foo := &pb.Foo{...} 23911 any, err := ptypes.MarshalAny(foo) 23912 ... 23913 foo := &pb.Foo{} 23914 if err := ptypes.UnmarshalAny(any, foo); err != nil { 23915 ... 23916 } 23917 23918 The pack methods provided by protobuf library will by 23919 default use 23920 23921 'type.googleapis.com/full.type.name' as the type URL and 23922 the unpack 23923 23924 methods only use the fully qualified type name after the 23925 last '/' 23926 23927 in the type URL, for example "foo.bar.com/x/y.z" will 23928 yield type 23929 23930 name "y.z". 23931 23932 23933 23934 JSON 23935 23936 ==== 23937 23938 The JSON representation of an `Any` value uses the 23939 regular 23940 23941 representation of the deserialized, embedded message, 23942 with an 23943 23944 additional field `@type` which contains the type URL. 23945 Example: 23946 23947 package google.profile; 23948 message Person { 23949 string first_name = 1; 23950 string last_name = 2; 23951 } 23952 23953 { 23954 "@type": "type.googleapis.com/google.profile.Person", 23955 "firstName": <string>, 23956 "lastName": <string> 23957 } 23958 23959 If the embedded message type is well-known and has a 23960 custom JSON 23961 23962 representation, that representation will be embedded 23963 adding a field 23964 23965 `value` which holds the custom JSON in addition to the 23966 `@type` 23967 23968 field. Example (for message 23969 [google.protobuf.Duration][]): 23970 23971 { 23972 "@type": "type.googleapis.com/google.protobuf.Duration", 23973 "value": "1.212s" 23974 } 23975 expiration: 23976 type: string 23977 format: date-time 23978 description: 'Since: cosmos-sdk 0.45.2' 23979 title: >- 23980 GrantAuthorization extends a grant with both the addresses 23981 of the grantee and granter. 23982 23983 It is used in genesis.proto and query.proto 23984 description: grants is a list of grants granted by the granter. 23985 pagination: 23986 description: pagination defines an pagination for the response. 23987 type: object 23988 properties: 23989 next_key: 23990 type: string 23991 format: byte 23992 title: |- 23993 next_key is the key to be passed to PageRequest.key to 23994 query the next page most efficiently 23995 total: 23996 type: string 23997 format: uint64 23998 title: >- 23999 total is total number of results available if 24000 PageRequest.count_total 24001 24002 was set, its value is undefined otherwise 24003 description: >- 24004 QueryGranterGrantsResponse is the response type for the 24005 Query/GranterGrants RPC method. 24006 default: 24007 description: An unexpected error response 24008 schema: 24009 type: object 24010 properties: 24011 error: 24012 type: string 24013 code: 24014 type: integer 24015 format: int32 24016 message: 24017 type: string 24018 details: 24019 type: array 24020 items: 24021 type: object 24022 properties: 24023 type_url: 24024 type: string 24025 description: >- 24026 A URL/resource name that uniquely identifies the type of 24027 the serialized 24028 24029 protocol buffer message. This string must contain at 24030 least 24031 24032 one "/" character. The last segment of the URL's path 24033 must represent 24034 24035 the fully qualified name of the type (as in 24036 24037 `path/google.protobuf.Duration`). The name should be in 24038 a canonical form 24039 24040 (e.g., leading "." is not accepted). 24041 24042 24043 In practice, teams usually precompile into the binary 24044 all types that they 24045 24046 expect it to use in the context of Any. However, for 24047 URLs which use the 24048 24049 scheme `http`, `https`, or no scheme, one can optionally 24050 set up a type 24051 24052 server that maps type URLs to message definitions as 24053 follows: 24054 24055 24056 * If no scheme is provided, `https` is assumed. 24057 24058 * An HTTP GET on the URL must yield a 24059 [google.protobuf.Type][] 24060 value in binary format, or produce an error. 24061 * Applications are allowed to cache lookup results based 24062 on the 24063 URL, or have them precompiled into a binary to avoid any 24064 lookup. Therefore, binary compatibility needs to be preserved 24065 on changes to types. (Use versioned type names to manage 24066 breaking changes.) 24067 24068 Note: this functionality is not currently available in 24069 the official 24070 24071 protobuf release, and it is not used for type URLs 24072 beginning with 24073 24074 type.googleapis.com. 24075 24076 24077 Schemes other than `http`, `https` (or the empty scheme) 24078 might be 24079 24080 used with implementation specific semantics. 24081 value: 24082 type: string 24083 format: byte 24084 description: >- 24085 Must be a valid serialized protocol buffer of the above 24086 specified type. 24087 description: >- 24088 `Any` contains an arbitrary serialized protocol buffer 24089 message along with a 24090 24091 URL that describes the type of the serialized message. 24092 24093 24094 Protobuf library provides support to pack/unpack Any values 24095 in the form 24096 24097 of utility functions or additional generated methods of the 24098 Any type. 24099 24100 24101 Example 1: Pack and unpack a message in C++. 24102 24103 Foo foo = ...; 24104 Any any; 24105 any.PackFrom(foo); 24106 ... 24107 if (any.UnpackTo(&foo)) { 24108 ... 24109 } 24110 24111 Example 2: Pack and unpack a message in Java. 24112 24113 Foo foo = ...; 24114 Any any = Any.pack(foo); 24115 ... 24116 if (any.is(Foo.class)) { 24117 foo = any.unpack(Foo.class); 24118 } 24119 24120 Example 3: Pack and unpack a message in Python. 24121 24122 foo = Foo(...) 24123 any = Any() 24124 any.Pack(foo) 24125 ... 24126 if any.Is(Foo.DESCRIPTOR): 24127 any.Unpack(foo) 24128 ... 24129 24130 Example 4: Pack and unpack a message in Go 24131 24132 foo := &pb.Foo{...} 24133 any, err := ptypes.MarshalAny(foo) 24134 ... 24135 foo := &pb.Foo{} 24136 if err := ptypes.UnmarshalAny(any, foo); err != nil { 24137 ... 24138 } 24139 24140 The pack methods provided by protobuf library will by 24141 default use 24142 24143 'type.googleapis.com/full.type.name' as the type URL and the 24144 unpack 24145 24146 methods only use the fully qualified type name after the 24147 last '/' 24148 24149 in the type URL, for example "foo.bar.com/x/y.z" will yield 24150 type 24151 24152 name "y.z". 24153 24154 24155 24156 JSON 24157 24158 ==== 24159 24160 The JSON representation of an `Any` value uses the regular 24161 24162 representation of the deserialized, embedded message, with 24163 an 24164 24165 additional field `@type` which contains the type URL. 24166 Example: 24167 24168 package google.profile; 24169 message Person { 24170 string first_name = 1; 24171 string last_name = 2; 24172 } 24173 24174 { 24175 "@type": "type.googleapis.com/google.profile.Person", 24176 "firstName": <string>, 24177 "lastName": <string> 24178 } 24179 24180 If the embedded message type is well-known and has a custom 24181 JSON 24182 24183 representation, that representation will be embedded adding 24184 a field 24185 24186 `value` which holds the custom JSON in addition to the 24187 `@type` 24188 24189 field. Example (for message [google.protobuf.Duration][]): 24190 24191 { 24192 "@type": "type.googleapis.com/google.protobuf.Duration", 24193 "value": "1.212s" 24194 } 24195 parameters: 24196 - name: granter 24197 in: path 24198 required: true 24199 type: string 24200 - name: pagination.key 24201 description: |- 24202 key is a value returned in PageResponse.next_key to begin 24203 querying the next page most efficiently. Only one of offset or key 24204 should be set. 24205 in: query 24206 required: false 24207 type: string 24208 format: byte 24209 - name: pagination.offset 24210 description: >- 24211 offset is a numeric offset that can be used when key is unavailable. 24212 24213 It is less efficient than using key. Only one of offset or key 24214 should 24215 24216 be set. 24217 in: query 24218 required: false 24219 type: string 24220 format: uint64 24221 - name: pagination.limit 24222 description: >- 24223 limit is the total number of results to be returned in the result 24224 page. 24225 24226 If left empty it will default to a value to be set by each app. 24227 in: query 24228 required: false 24229 type: string 24230 format: uint64 24231 - name: pagination.count_total 24232 description: >- 24233 count_total is set to true to indicate that the result set should 24234 include 24235 24236 a count of the total number of items available for pagination in 24237 UIs. 24238 24239 count_total is only respected when offset is used. It is ignored 24240 when key 24241 24242 is set. 24243 in: query 24244 required: false 24245 type: boolean 24246 format: boolean 24247 - name: pagination.reverse 24248 description: >- 24249 reverse is set to true if results are to be returned in the 24250 descending order. 24251 24252 24253 Since: cosmos-sdk 0.43 24254 in: query 24255 required: false 24256 type: boolean 24257 format: boolean 24258 tags: 24259 - Query 24260 /lbm/foundation/v1/censorships: 24261 get: 24262 summary: Censorships queries the censorship informations. 24263 operationId: Censorships 24264 responses: 24265 '200': 24266 description: A successful response. 24267 schema: 24268 type: object 24269 properties: 24270 censorships: 24271 type: array 24272 items: 24273 type: object 24274 properties: 24275 msg_type_url: 24276 type: string 24277 authority: 24278 type: string 24279 enum: 24280 - CENSORSHIP_AUTHORITY_UNSPECIFIED 24281 - CENSORSHIP_AUTHORITY_GOVERNANCE 24282 - CENSORSHIP_AUTHORITY_FOUNDATION 24283 default: CENSORSHIP_AUTHORITY_UNSPECIFIED 24284 description: |2- 24285 - CENSORSHIP_AUTHORITY_UNSPECIFIED: CENSORSHIP_AUTHORITY_UNSPECIFIED defines an invalid authority. 24286 - CENSORSHIP_AUTHORITY_GOVERNANCE: CENSORSHIP_AUTHORITY_GOVERNANCE defines x/gov authority. 24287 - CENSORSHIP_AUTHORITY_FOUNDATION: CENSORSHIP_AUTHORITY_FOUNDATION defines x/foundation authority. 24288 description: authorizations is a list of grants granted for grantee. 24289 pagination: 24290 description: pagination defines the pagination in the response. 24291 type: object 24292 properties: 24293 next_key: 24294 type: string 24295 format: byte 24296 title: |- 24297 next_key is the key to be passed to PageRequest.key to 24298 query the next page most efficiently 24299 total: 24300 type: string 24301 format: uint64 24302 title: >- 24303 total is total number of results available if 24304 PageRequest.count_total 24305 24306 was set, its value is undefined otherwise 24307 description: >- 24308 QueryCensorshipsResponse is the response type for the 24309 Query/Censorships RPC method. 24310 default: 24311 description: An unexpected error response 24312 schema: 24313 type: object 24314 properties: 24315 error: 24316 type: string 24317 code: 24318 type: integer 24319 format: int32 24320 message: 24321 type: string 24322 details: 24323 type: array 24324 items: 24325 type: object 24326 properties: 24327 type_url: 24328 type: string 24329 description: >- 24330 A URL/resource name that uniquely identifies the type of 24331 the serialized 24332 24333 protocol buffer message. This string must contain at 24334 least 24335 24336 one "/" character. The last segment of the URL's path 24337 must represent 24338 24339 the fully qualified name of the type (as in 24340 24341 `path/google.protobuf.Duration`). The name should be in 24342 a canonical form 24343 24344 (e.g., leading "." is not accepted). 24345 24346 24347 In practice, teams usually precompile into the binary 24348 all types that they 24349 24350 expect it to use in the context of Any. However, for 24351 URLs which use the 24352 24353 scheme `http`, `https`, or no scheme, one can optionally 24354 set up a type 24355 24356 server that maps type URLs to message definitions as 24357 follows: 24358 24359 24360 * If no scheme is provided, `https` is assumed. 24361 24362 * An HTTP GET on the URL must yield a 24363 [google.protobuf.Type][] 24364 value in binary format, or produce an error. 24365 * Applications are allowed to cache lookup results based 24366 on the 24367 URL, or have them precompiled into a binary to avoid any 24368 lookup. Therefore, binary compatibility needs to be preserved 24369 on changes to types. (Use versioned type names to manage 24370 breaking changes.) 24371 24372 Note: this functionality is not currently available in 24373 the official 24374 24375 protobuf release, and it is not used for type URLs 24376 beginning with 24377 24378 type.googleapis.com. 24379 24380 24381 Schemes other than `http`, `https` (or the empty scheme) 24382 might be 24383 24384 used with implementation specific semantics. 24385 value: 24386 type: string 24387 format: byte 24388 description: >- 24389 Must be a valid serialized protocol buffer of the above 24390 specified type. 24391 description: >- 24392 `Any` contains an arbitrary serialized protocol buffer 24393 message along with a 24394 24395 URL that describes the type of the serialized message. 24396 24397 24398 Protobuf library provides support to pack/unpack Any values 24399 in the form 24400 24401 of utility functions or additional generated methods of the 24402 Any type. 24403 24404 24405 Example 1: Pack and unpack a message in C++. 24406 24407 Foo foo = ...; 24408 Any any; 24409 any.PackFrom(foo); 24410 ... 24411 if (any.UnpackTo(&foo)) { 24412 ... 24413 } 24414 24415 Example 2: Pack and unpack a message in Java. 24416 24417 Foo foo = ...; 24418 Any any = Any.pack(foo); 24419 ... 24420 if (any.is(Foo.class)) { 24421 foo = any.unpack(Foo.class); 24422 } 24423 24424 Example 3: Pack and unpack a message in Python. 24425 24426 foo = Foo(...) 24427 any = Any() 24428 any.Pack(foo) 24429 ... 24430 if any.Is(Foo.DESCRIPTOR): 24431 any.Unpack(foo) 24432 ... 24433 24434 Example 4: Pack and unpack a message in Go 24435 24436 foo := &pb.Foo{...} 24437 any, err := ptypes.MarshalAny(foo) 24438 ... 24439 foo := &pb.Foo{} 24440 if err := ptypes.UnmarshalAny(any, foo); err != nil { 24441 ... 24442 } 24443 24444 The pack methods provided by protobuf library will by 24445 default use 24446 24447 'type.googleapis.com/full.type.name' as the type URL and the 24448 unpack 24449 24450 methods only use the fully qualified type name after the 24451 last '/' 24452 24453 in the type URL, for example "foo.bar.com/x/y.z" will yield 24454 type 24455 24456 name "y.z". 24457 24458 24459 24460 JSON 24461 24462 ==== 24463 24464 The JSON representation of an `Any` value uses the regular 24465 24466 representation of the deserialized, embedded message, with 24467 an 24468 24469 additional field `@type` which contains the type URL. 24470 Example: 24471 24472 package google.profile; 24473 message Person { 24474 string first_name = 1; 24475 string last_name = 2; 24476 } 24477 24478 { 24479 "@type": "type.googleapis.com/google.profile.Person", 24480 "firstName": <string>, 24481 "lastName": <string> 24482 } 24483 24484 If the embedded message type is well-known and has a custom 24485 JSON 24486 24487 representation, that representation will be embedded adding 24488 a field 24489 24490 `value` which holds the custom JSON in addition to the 24491 `@type` 24492 24493 field. Example (for message [google.protobuf.Duration][]): 24494 24495 { 24496 "@type": "type.googleapis.com/google.protobuf.Duration", 24497 "value": "1.212s" 24498 } 24499 parameters: 24500 - name: pagination.key 24501 description: |- 24502 key is a value returned in PageResponse.next_key to begin 24503 querying the next page most efficiently. Only one of offset or key 24504 should be set. 24505 in: query 24506 required: false 24507 type: string 24508 format: byte 24509 - name: pagination.offset 24510 description: >- 24511 offset is a numeric offset that can be used when key is unavailable. 24512 24513 It is less efficient than using key. Only one of offset or key 24514 should 24515 24516 be set. 24517 in: query 24518 required: false 24519 type: string 24520 format: uint64 24521 - name: pagination.limit 24522 description: >- 24523 limit is the total number of results to be returned in the result 24524 page. 24525 24526 If left empty it will default to a value to be set by each app. 24527 in: query 24528 required: false 24529 type: string 24530 format: uint64 24531 - name: pagination.count_total 24532 description: >- 24533 count_total is set to true to indicate that the result set should 24534 include 24535 24536 a count of the total number of items available for pagination in 24537 UIs. 24538 24539 count_total is only respected when offset is used. It is ignored 24540 when key 24541 24542 is set. 24543 in: query 24544 required: false 24545 type: boolean 24546 format: boolean 24547 - name: pagination.reverse 24548 description: >- 24549 reverse is set to true if results are to be returned in the 24550 descending order. 24551 24552 24553 Since: cosmos-sdk 0.43 24554 in: query 24555 required: false 24556 type: boolean 24557 format: boolean 24558 tags: 24559 - Query 24560 /lbm/foundation/v1/foundation_info: 24561 get: 24562 summary: FoundationInfo queries foundation info. 24563 operationId: FoundationInfo 24564 responses: 24565 '200': 24566 description: A successful response. 24567 schema: 24568 type: object 24569 properties: 24570 info: 24571 description: info is the FoundationInfo for the foundation. 24572 type: object 24573 properties: 24574 version: 24575 type: string 24576 format: uint64 24577 title: >- 24578 version is used to track changes to the foundation's 24579 membership structure that 24580 24581 would break existing proposals. Whenever any member is 24582 added or removed, 24583 24584 this version is incremented and will cause proposals based 24585 on older versions 24586 24587 of the foundation to fail 24588 total_weight: 24589 type: string 24590 description: total_weight is the number of the foundation members. 24591 decision_policy: 24592 type: object 24593 properties: 24594 type_url: 24595 type: string 24596 description: >- 24597 A URL/resource name that uniquely identifies the type 24598 of the serialized 24599 24600 protocol buffer message. This string must contain at 24601 least 24602 24603 one "/" character. The last segment of the URL's path 24604 must represent 24605 24606 the fully qualified name of the type (as in 24607 24608 `path/google.protobuf.Duration`). The name should be 24609 in a canonical form 24610 24611 (e.g., leading "." is not accepted). 24612 24613 24614 In practice, teams usually precompile into the binary 24615 all types that they 24616 24617 expect it to use in the context of Any. However, for 24618 URLs which use the 24619 24620 scheme `http`, `https`, or no scheme, one can 24621 optionally set up a type 24622 24623 server that maps type URLs to message definitions as 24624 follows: 24625 24626 24627 * If no scheme is provided, `https` is assumed. 24628 24629 * An HTTP GET on the URL must yield a 24630 [google.protobuf.Type][] 24631 value in binary format, or produce an error. 24632 * Applications are allowed to cache lookup results 24633 based on the 24634 URL, or have them precompiled into a binary to avoid any 24635 lookup. Therefore, binary compatibility needs to be preserved 24636 on changes to types. (Use versioned type names to manage 24637 breaking changes.) 24638 24639 Note: this functionality is not currently available in 24640 the official 24641 24642 protobuf release, and it is not used for type URLs 24643 beginning with 24644 24645 type.googleapis.com. 24646 24647 24648 Schemes other than `http`, `https` (or the empty 24649 scheme) might be 24650 24651 used with implementation specific semantics. 24652 value: 24653 type: string 24654 format: byte 24655 description: >- 24656 Must be a valid serialized protocol buffer of the 24657 above specified type. 24658 description: >- 24659 `Any` contains an arbitrary serialized protocol buffer 24660 message along with a 24661 24662 URL that describes the type of the serialized message. 24663 24664 24665 Protobuf library provides support to pack/unpack Any 24666 values in the form 24667 24668 of utility functions or additional generated methods of 24669 the Any type. 24670 24671 24672 Example 1: Pack and unpack a message in C++. 24673 24674 Foo foo = ...; 24675 Any any; 24676 any.PackFrom(foo); 24677 ... 24678 if (any.UnpackTo(&foo)) { 24679 ... 24680 } 24681 24682 Example 2: Pack and unpack a message in Java. 24683 24684 Foo foo = ...; 24685 Any any = Any.pack(foo); 24686 ... 24687 if (any.is(Foo.class)) { 24688 foo = any.unpack(Foo.class); 24689 } 24690 24691 Example 3: Pack and unpack a message in Python. 24692 24693 foo = Foo(...) 24694 any = Any() 24695 any.Pack(foo) 24696 ... 24697 if any.Is(Foo.DESCRIPTOR): 24698 any.Unpack(foo) 24699 ... 24700 24701 Example 4: Pack and unpack a message in Go 24702 24703 foo := &pb.Foo{...} 24704 any, err := ptypes.MarshalAny(foo) 24705 ... 24706 foo := &pb.Foo{} 24707 if err := ptypes.UnmarshalAny(any, foo); err != nil { 24708 ... 24709 } 24710 24711 The pack methods provided by protobuf library will by 24712 default use 24713 24714 'type.googleapis.com/full.type.name' as the type URL and 24715 the unpack 24716 24717 methods only use the fully qualified type name after the 24718 last '/' 24719 24720 in the type URL, for example "foo.bar.com/x/y.z" will 24721 yield type 24722 24723 name "y.z". 24724 24725 24726 24727 JSON 24728 24729 ==== 24730 24731 The JSON representation of an `Any` value uses the regular 24732 24733 representation of the deserialized, embedded message, with 24734 an 24735 24736 additional field `@type` which contains the type URL. 24737 Example: 24738 24739 package google.profile; 24740 message Person { 24741 string first_name = 1; 24742 string last_name = 2; 24743 } 24744 24745 { 24746 "@type": "type.googleapis.com/google.profile.Person", 24747 "firstName": <string>, 24748 "lastName": <string> 24749 } 24750 24751 If the embedded message type is well-known and has a 24752 custom JSON 24753 24754 representation, that representation will be embedded 24755 adding a field 24756 24757 `value` which holds the custom JSON in addition to the 24758 `@type` 24759 24760 field. Example (for message [google.protobuf.Duration][]): 24761 24762 { 24763 "@type": "type.googleapis.com/google.protobuf.Duration", 24764 "value": "1.212s" 24765 } 24766 description: >- 24767 QueryFoundationInfoResponse is the Query/FoundationInfo response 24768 type. 24769 default: 24770 description: An unexpected error response 24771 schema: 24772 type: object 24773 properties: 24774 error: 24775 type: string 24776 code: 24777 type: integer 24778 format: int32 24779 message: 24780 type: string 24781 details: 24782 type: array 24783 items: 24784 type: object 24785 properties: 24786 type_url: 24787 type: string 24788 description: >- 24789 A URL/resource name that uniquely identifies the type of 24790 the serialized 24791 24792 protocol buffer message. This string must contain at 24793 least 24794 24795 one "/" character. The last segment of the URL's path 24796 must represent 24797 24798 the fully qualified name of the type (as in 24799 24800 `path/google.protobuf.Duration`). The name should be in 24801 a canonical form 24802 24803 (e.g., leading "." is not accepted). 24804 24805 24806 In practice, teams usually precompile into the binary 24807 all types that they 24808 24809 expect it to use in the context of Any. However, for 24810 URLs which use the 24811 24812 scheme `http`, `https`, or no scheme, one can optionally 24813 set up a type 24814 24815 server that maps type URLs to message definitions as 24816 follows: 24817 24818 24819 * If no scheme is provided, `https` is assumed. 24820 24821 * An HTTP GET on the URL must yield a 24822 [google.protobuf.Type][] 24823 value in binary format, or produce an error. 24824 * Applications are allowed to cache lookup results based 24825 on the 24826 URL, or have them precompiled into a binary to avoid any 24827 lookup. Therefore, binary compatibility needs to be preserved 24828 on changes to types. (Use versioned type names to manage 24829 breaking changes.) 24830 24831 Note: this functionality is not currently available in 24832 the official 24833 24834 protobuf release, and it is not used for type URLs 24835 beginning with 24836 24837 type.googleapis.com. 24838 24839 24840 Schemes other than `http`, `https` (or the empty scheme) 24841 might be 24842 24843 used with implementation specific semantics. 24844 value: 24845 type: string 24846 format: byte 24847 description: >- 24848 Must be a valid serialized protocol buffer of the above 24849 specified type. 24850 description: >- 24851 `Any` contains an arbitrary serialized protocol buffer 24852 message along with a 24853 24854 URL that describes the type of the serialized message. 24855 24856 24857 Protobuf library provides support to pack/unpack Any values 24858 in the form 24859 24860 of utility functions or additional generated methods of the 24861 Any type. 24862 24863 24864 Example 1: Pack and unpack a message in C++. 24865 24866 Foo foo = ...; 24867 Any any; 24868 any.PackFrom(foo); 24869 ... 24870 if (any.UnpackTo(&foo)) { 24871 ... 24872 } 24873 24874 Example 2: Pack and unpack a message in Java. 24875 24876 Foo foo = ...; 24877 Any any = Any.pack(foo); 24878 ... 24879 if (any.is(Foo.class)) { 24880 foo = any.unpack(Foo.class); 24881 } 24882 24883 Example 3: Pack and unpack a message in Python. 24884 24885 foo = Foo(...) 24886 any = Any() 24887 any.Pack(foo) 24888 ... 24889 if any.Is(Foo.DESCRIPTOR): 24890 any.Unpack(foo) 24891 ... 24892 24893 Example 4: Pack and unpack a message in Go 24894 24895 foo := &pb.Foo{...} 24896 any, err := ptypes.MarshalAny(foo) 24897 ... 24898 foo := &pb.Foo{} 24899 if err := ptypes.UnmarshalAny(any, foo); err != nil { 24900 ... 24901 } 24902 24903 The pack methods provided by protobuf library will by 24904 default use 24905 24906 'type.googleapis.com/full.type.name' as the type URL and the 24907 unpack 24908 24909 methods only use the fully qualified type name after the 24910 last '/' 24911 24912 in the type URL, for example "foo.bar.com/x/y.z" will yield 24913 type 24914 24915 name "y.z". 24916 24917 24918 24919 JSON 24920 24921 ==== 24922 24923 The JSON representation of an `Any` value uses the regular 24924 24925 representation of the deserialized, embedded message, with 24926 an 24927 24928 additional field `@type` which contains the type URL. 24929 Example: 24930 24931 package google.profile; 24932 message Person { 24933 string first_name = 1; 24934 string last_name = 2; 24935 } 24936 24937 { 24938 "@type": "type.googleapis.com/google.profile.Person", 24939 "firstName": <string>, 24940 "lastName": <string> 24941 } 24942 24943 If the embedded message type is well-known and has a custom 24944 JSON 24945 24946 representation, that representation will be embedded adding 24947 a field 24948 24949 `value` which holds the custom JSON in addition to the 24950 `@type` 24951 24952 field. Example (for message [google.protobuf.Duration][]): 24953 24954 { 24955 "@type": "type.googleapis.com/google.protobuf.Duration", 24956 "value": "1.212s" 24957 } 24958 tags: 24959 - Query 24960 /lbm/foundation/v1/foundation_members: 24961 get: 24962 summary: Members queries members of the foundation 24963 operationId: Members 24964 responses: 24965 '200': 24966 description: A successful response. 24967 schema: 24968 type: object 24969 properties: 24970 members: 24971 type: array 24972 items: 24973 type: object 24974 properties: 24975 address: 24976 type: string 24977 description: address is the member's account address. 24978 metadata: 24979 type: string 24980 description: >- 24981 metadata is any arbitrary metadata to attached to the 24982 member. 24983 added_at: 24984 type: string 24985 format: date-time 24986 description: >- 24987 added_at is a timestamp specifying when a member was 24988 added. 24989 description: >- 24990 Member represents a foundation member with an account 24991 address and metadata. 24992 description: members are the members of the foundation. 24993 pagination: 24994 description: pagination defines the pagination in the response. 24995 type: object 24996 properties: 24997 next_key: 24998 type: string 24999 format: byte 25000 title: |- 25001 next_key is the key to be passed to PageRequest.key to 25002 query the next page most efficiently 25003 total: 25004 type: string 25005 format: uint64 25006 title: >- 25007 total is total number of results available if 25008 PageRequest.count_total 25009 25010 was set, its value is undefined otherwise 25011 description: QueryMembersResponse is the Query/MembersResponse response type. 25012 default: 25013 description: An unexpected error response 25014 schema: 25015 type: object 25016 properties: 25017 error: 25018 type: string 25019 code: 25020 type: integer 25021 format: int32 25022 message: 25023 type: string 25024 details: 25025 type: array 25026 items: 25027 type: object 25028 properties: 25029 type_url: 25030 type: string 25031 description: >- 25032 A URL/resource name that uniquely identifies the type of 25033 the serialized 25034 25035 protocol buffer message. This string must contain at 25036 least 25037 25038 one "/" character. The last segment of the URL's path 25039 must represent 25040 25041 the fully qualified name of the type (as in 25042 25043 `path/google.protobuf.Duration`). The name should be in 25044 a canonical form 25045 25046 (e.g., leading "." is not accepted). 25047 25048 25049 In practice, teams usually precompile into the binary 25050 all types that they 25051 25052 expect it to use in the context of Any. However, for 25053 URLs which use the 25054 25055 scheme `http`, `https`, or no scheme, one can optionally 25056 set up a type 25057 25058 server that maps type URLs to message definitions as 25059 follows: 25060 25061 25062 * If no scheme is provided, `https` is assumed. 25063 25064 * An HTTP GET on the URL must yield a 25065 [google.protobuf.Type][] 25066 value in binary format, or produce an error. 25067 * Applications are allowed to cache lookup results based 25068 on the 25069 URL, or have them precompiled into a binary to avoid any 25070 lookup. Therefore, binary compatibility needs to be preserved 25071 on changes to types. (Use versioned type names to manage 25072 breaking changes.) 25073 25074 Note: this functionality is not currently available in 25075 the official 25076 25077 protobuf release, and it is not used for type URLs 25078 beginning with 25079 25080 type.googleapis.com. 25081 25082 25083 Schemes other than `http`, `https` (or the empty scheme) 25084 might be 25085 25086 used with implementation specific semantics. 25087 value: 25088 type: string 25089 format: byte 25090 description: >- 25091 Must be a valid serialized protocol buffer of the above 25092 specified type. 25093 description: >- 25094 `Any` contains an arbitrary serialized protocol buffer 25095 message along with a 25096 25097 URL that describes the type of the serialized message. 25098 25099 25100 Protobuf library provides support to pack/unpack Any values 25101 in the form 25102 25103 of utility functions or additional generated methods of the 25104 Any type. 25105 25106 25107 Example 1: Pack and unpack a message in C++. 25108 25109 Foo foo = ...; 25110 Any any; 25111 any.PackFrom(foo); 25112 ... 25113 if (any.UnpackTo(&foo)) { 25114 ... 25115 } 25116 25117 Example 2: Pack and unpack a message in Java. 25118 25119 Foo foo = ...; 25120 Any any = Any.pack(foo); 25121 ... 25122 if (any.is(Foo.class)) { 25123 foo = any.unpack(Foo.class); 25124 } 25125 25126 Example 3: Pack and unpack a message in Python. 25127 25128 foo = Foo(...) 25129 any = Any() 25130 any.Pack(foo) 25131 ... 25132 if any.Is(Foo.DESCRIPTOR): 25133 any.Unpack(foo) 25134 ... 25135 25136 Example 4: Pack and unpack a message in Go 25137 25138 foo := &pb.Foo{...} 25139 any, err := ptypes.MarshalAny(foo) 25140 ... 25141 foo := &pb.Foo{} 25142 if err := ptypes.UnmarshalAny(any, foo); err != nil { 25143 ... 25144 } 25145 25146 The pack methods provided by protobuf library will by 25147 default use 25148 25149 'type.googleapis.com/full.type.name' as the type URL and the 25150 unpack 25151 25152 methods only use the fully qualified type name after the 25153 last '/' 25154 25155 in the type URL, for example "foo.bar.com/x/y.z" will yield 25156 type 25157 25158 name "y.z". 25159 25160 25161 25162 JSON 25163 25164 ==== 25165 25166 The JSON representation of an `Any` value uses the regular 25167 25168 representation of the deserialized, embedded message, with 25169 an 25170 25171 additional field `@type` which contains the type URL. 25172 Example: 25173 25174 package google.profile; 25175 message Person { 25176 string first_name = 1; 25177 string last_name = 2; 25178 } 25179 25180 { 25181 "@type": "type.googleapis.com/google.profile.Person", 25182 "firstName": <string>, 25183 "lastName": <string> 25184 } 25185 25186 If the embedded message type is well-known and has a custom 25187 JSON 25188 25189 representation, that representation will be embedded adding 25190 a field 25191 25192 `value` which holds the custom JSON in addition to the 25193 `@type` 25194 25195 field. Example (for message [google.protobuf.Duration][]): 25196 25197 { 25198 "@type": "type.googleapis.com/google.protobuf.Duration", 25199 "value": "1.212s" 25200 } 25201 parameters: 25202 - name: pagination.key 25203 description: |- 25204 key is a value returned in PageResponse.next_key to begin 25205 querying the next page most efficiently. Only one of offset or key 25206 should be set. 25207 in: query 25208 required: false 25209 type: string 25210 format: byte 25211 - name: pagination.offset 25212 description: >- 25213 offset is a numeric offset that can be used when key is unavailable. 25214 25215 It is less efficient than using key. Only one of offset or key 25216 should 25217 25218 be set. 25219 in: query 25220 required: false 25221 type: string 25222 format: uint64 25223 - name: pagination.limit 25224 description: >- 25225 limit is the total number of results to be returned in the result 25226 page. 25227 25228 If left empty it will default to a value to be set by each app. 25229 in: query 25230 required: false 25231 type: string 25232 format: uint64 25233 - name: pagination.count_total 25234 description: >- 25235 count_total is set to true to indicate that the result set should 25236 include 25237 25238 a count of the total number of items available for pagination in 25239 UIs. 25240 25241 count_total is only respected when offset is used. It is ignored 25242 when key 25243 25244 is set. 25245 in: query 25246 required: false 25247 type: boolean 25248 format: boolean 25249 - name: pagination.reverse 25250 description: >- 25251 reverse is set to true if results are to be returned in the 25252 descending order. 25253 25254 25255 Since: cosmos-sdk 0.43 25256 in: query 25257 required: false 25258 type: boolean 25259 format: boolean 25260 tags: 25261 - Query 25262 '/lbm/foundation/v1/foundation_members/{address}': 25263 get: 25264 summary: Member queries a member of the foundation 25265 operationId: Member 25266 responses: 25267 '200': 25268 description: A successful response. 25269 schema: 25270 type: object 25271 properties: 25272 member: 25273 type: object 25274 properties: 25275 address: 25276 type: string 25277 description: address is the member's account address. 25278 metadata: 25279 type: string 25280 description: >- 25281 metadata is any arbitrary metadata to attached to the 25282 member. 25283 added_at: 25284 type: string 25285 format: date-time 25286 description: >- 25287 added_at is a timestamp specifying when a member was 25288 added. 25289 description: >- 25290 Member represents a foundation member with an account address 25291 and metadata. 25292 description: QueryMemberResponse is the Query/MemberResponse response type. 25293 default: 25294 description: An unexpected error response 25295 schema: 25296 type: object 25297 properties: 25298 error: 25299 type: string 25300 code: 25301 type: integer 25302 format: int32 25303 message: 25304 type: string 25305 details: 25306 type: array 25307 items: 25308 type: object 25309 properties: 25310 type_url: 25311 type: string 25312 description: >- 25313 A URL/resource name that uniquely identifies the type of 25314 the serialized 25315 25316 protocol buffer message. This string must contain at 25317 least 25318 25319 one "/" character. The last segment of the URL's path 25320 must represent 25321 25322 the fully qualified name of the type (as in 25323 25324 `path/google.protobuf.Duration`). The name should be in 25325 a canonical form 25326 25327 (e.g., leading "." is not accepted). 25328 25329 25330 In practice, teams usually precompile into the binary 25331 all types that they 25332 25333 expect it to use in the context of Any. However, for 25334 URLs which use the 25335 25336 scheme `http`, `https`, or no scheme, one can optionally 25337 set up a type 25338 25339 server that maps type URLs to message definitions as 25340 follows: 25341 25342 25343 * If no scheme is provided, `https` is assumed. 25344 25345 * An HTTP GET on the URL must yield a 25346 [google.protobuf.Type][] 25347 value in binary format, or produce an error. 25348 * Applications are allowed to cache lookup results based 25349 on the 25350 URL, or have them precompiled into a binary to avoid any 25351 lookup. Therefore, binary compatibility needs to be preserved 25352 on changes to types. (Use versioned type names to manage 25353 breaking changes.) 25354 25355 Note: this functionality is not currently available in 25356 the official 25357 25358 protobuf release, and it is not used for type URLs 25359 beginning with 25360 25361 type.googleapis.com. 25362 25363 25364 Schemes other than `http`, `https` (or the empty scheme) 25365 might be 25366 25367 used with implementation specific semantics. 25368 value: 25369 type: string 25370 format: byte 25371 description: >- 25372 Must be a valid serialized protocol buffer of the above 25373 specified type. 25374 description: >- 25375 `Any` contains an arbitrary serialized protocol buffer 25376 message along with a 25377 25378 URL that describes the type of the serialized message. 25379 25380 25381 Protobuf library provides support to pack/unpack Any values 25382 in the form 25383 25384 of utility functions or additional generated methods of the 25385 Any type. 25386 25387 25388 Example 1: Pack and unpack a message in C++. 25389 25390 Foo foo = ...; 25391 Any any; 25392 any.PackFrom(foo); 25393 ... 25394 if (any.UnpackTo(&foo)) { 25395 ... 25396 } 25397 25398 Example 2: Pack and unpack a message in Java. 25399 25400 Foo foo = ...; 25401 Any any = Any.pack(foo); 25402 ... 25403 if (any.is(Foo.class)) { 25404 foo = any.unpack(Foo.class); 25405 } 25406 25407 Example 3: Pack and unpack a message in Python. 25408 25409 foo = Foo(...) 25410 any = Any() 25411 any.Pack(foo) 25412 ... 25413 if any.Is(Foo.DESCRIPTOR): 25414 any.Unpack(foo) 25415 ... 25416 25417 Example 4: Pack and unpack a message in Go 25418 25419 foo := &pb.Foo{...} 25420 any, err := ptypes.MarshalAny(foo) 25421 ... 25422 foo := &pb.Foo{} 25423 if err := ptypes.UnmarshalAny(any, foo); err != nil { 25424 ... 25425 } 25426 25427 The pack methods provided by protobuf library will by 25428 default use 25429 25430 'type.googleapis.com/full.type.name' as the type URL and the 25431 unpack 25432 25433 methods only use the fully qualified type name after the 25434 last '/' 25435 25436 in the type URL, for example "foo.bar.com/x/y.z" will yield 25437 type 25438 25439 name "y.z". 25440 25441 25442 25443 JSON 25444 25445 ==== 25446 25447 The JSON representation of an `Any` value uses the regular 25448 25449 representation of the deserialized, embedded message, with 25450 an 25451 25452 additional field `@type` which contains the type URL. 25453 Example: 25454 25455 package google.profile; 25456 message Person { 25457 string first_name = 1; 25458 string last_name = 2; 25459 } 25460 25461 { 25462 "@type": "type.googleapis.com/google.profile.Person", 25463 "firstName": <string>, 25464 "lastName": <string> 25465 } 25466 25467 If the embedded message type is well-known and has a custom 25468 JSON 25469 25470 representation, that representation will be embedded adding 25471 a field 25472 25473 `value` which holds the custom JSON in addition to the 25474 `@type` 25475 25476 field. Example (for message [google.protobuf.Duration][]): 25477 25478 { 25479 "@type": "type.googleapis.com/google.protobuf.Duration", 25480 "value": "1.212s" 25481 } 25482 parameters: 25483 - name: address 25484 in: path 25485 required: true 25486 type: string 25487 tags: 25488 - Query 25489 '/lbm/foundation/v1/grants/{grantee}/{msg_type_url}': 25490 get: 25491 summary: 'Returns list of authorizations, granted to the grantee.' 25492 operationId: FoundationGrants 25493 responses: 25494 '200': 25495 description: A successful response. 25496 schema: 25497 type: object 25498 properties: 25499 authorizations: 25500 type: array 25501 items: 25502 type: object 25503 properties: 25504 type_url: 25505 type: string 25506 description: >- 25507 A URL/resource name that uniquely identifies the type of 25508 the serialized 25509 25510 protocol buffer message. This string must contain at 25511 least 25512 25513 one "/" character. The last segment of the URL's path 25514 must represent 25515 25516 the fully qualified name of the type (as in 25517 25518 `path/google.protobuf.Duration`). The name should be in 25519 a canonical form 25520 25521 (e.g., leading "." is not accepted). 25522 25523 25524 In practice, teams usually precompile into the binary 25525 all types that they 25526 25527 expect it to use in the context of Any. However, for 25528 URLs which use the 25529 25530 scheme `http`, `https`, or no scheme, one can optionally 25531 set up a type 25532 25533 server that maps type URLs to message definitions as 25534 follows: 25535 25536 25537 * If no scheme is provided, `https` is assumed. 25538 25539 * An HTTP GET on the URL must yield a 25540 [google.protobuf.Type][] 25541 value in binary format, or produce an error. 25542 * Applications are allowed to cache lookup results based 25543 on the 25544 URL, or have them precompiled into a binary to avoid any 25545 lookup. Therefore, binary compatibility needs to be preserved 25546 on changes to types. (Use versioned type names to manage 25547 breaking changes.) 25548 25549 Note: this functionality is not currently available in 25550 the official 25551 25552 protobuf release, and it is not used for type URLs 25553 beginning with 25554 25555 type.googleapis.com. 25556 25557 25558 Schemes other than `http`, `https` (or the empty scheme) 25559 might be 25560 25561 used with implementation specific semantics. 25562 value: 25563 type: string 25564 format: byte 25565 description: >- 25566 Must be a valid serialized protocol buffer of the above 25567 specified type. 25568 description: >- 25569 `Any` contains an arbitrary serialized protocol buffer 25570 message along with a 25571 25572 URL that describes the type of the serialized message. 25573 25574 25575 Protobuf library provides support to pack/unpack Any values 25576 in the form 25577 25578 of utility functions or additional generated methods of the 25579 Any type. 25580 25581 25582 Example 1: Pack and unpack a message in C++. 25583 25584 Foo foo = ...; 25585 Any any; 25586 any.PackFrom(foo); 25587 ... 25588 if (any.UnpackTo(&foo)) { 25589 ... 25590 } 25591 25592 Example 2: Pack and unpack a message in Java. 25593 25594 Foo foo = ...; 25595 Any any = Any.pack(foo); 25596 ... 25597 if (any.is(Foo.class)) { 25598 foo = any.unpack(Foo.class); 25599 } 25600 25601 Example 3: Pack and unpack a message in Python. 25602 25603 foo = Foo(...) 25604 any = Any() 25605 any.Pack(foo) 25606 ... 25607 if any.Is(Foo.DESCRIPTOR): 25608 any.Unpack(foo) 25609 ... 25610 25611 Example 4: Pack and unpack a message in Go 25612 25613 foo := &pb.Foo{...} 25614 any, err := ptypes.MarshalAny(foo) 25615 ... 25616 foo := &pb.Foo{} 25617 if err := ptypes.UnmarshalAny(any, foo); err != nil { 25618 ... 25619 } 25620 25621 The pack methods provided by protobuf library will by 25622 default use 25623 25624 'type.googleapis.com/full.type.name' as the type URL and the 25625 unpack 25626 25627 methods only use the fully qualified type name after the 25628 last '/' 25629 25630 in the type URL, for example "foo.bar.com/x/y.z" will yield 25631 type 25632 25633 name "y.z". 25634 25635 25636 25637 JSON 25638 25639 ==== 25640 25641 The JSON representation of an `Any` value uses the regular 25642 25643 representation of the deserialized, embedded message, with 25644 an 25645 25646 additional field `@type` which contains the type URL. 25647 Example: 25648 25649 package google.profile; 25650 message Person { 25651 string first_name = 1; 25652 string last_name = 2; 25653 } 25654 25655 { 25656 "@type": "type.googleapis.com/google.profile.Person", 25657 "firstName": <string>, 25658 "lastName": <string> 25659 } 25660 25661 If the embedded message type is well-known and has a custom 25662 JSON 25663 25664 representation, that representation will be embedded adding 25665 a field 25666 25667 `value` which holds the custom JSON in addition to the 25668 `@type` 25669 25670 field. Example (for message [google.protobuf.Duration][]): 25671 25672 { 25673 "@type": "type.googleapis.com/google.protobuf.Duration", 25674 "value": "1.212s" 25675 } 25676 description: authorizations is a list of grants granted for grantee. 25677 pagination: 25678 description: pagination defines the pagination in the response. 25679 type: object 25680 properties: 25681 next_key: 25682 type: string 25683 format: byte 25684 title: |- 25685 next_key is the key to be passed to PageRequest.key to 25686 query the next page most efficiently 25687 total: 25688 type: string 25689 format: uint64 25690 title: >- 25691 total is total number of results available if 25692 PageRequest.count_total 25693 25694 was set, its value is undefined otherwise 25695 description: >- 25696 QueryGrantsResponse is the response type for the Query/Grants RPC 25697 method. 25698 default: 25699 description: An unexpected error response 25700 schema: 25701 type: object 25702 properties: 25703 error: 25704 type: string 25705 code: 25706 type: integer 25707 format: int32 25708 message: 25709 type: string 25710 details: 25711 type: array 25712 items: 25713 type: object 25714 properties: 25715 type_url: 25716 type: string 25717 description: >- 25718 A URL/resource name that uniquely identifies the type of 25719 the serialized 25720 25721 protocol buffer message. This string must contain at 25722 least 25723 25724 one "/" character. The last segment of the URL's path 25725 must represent 25726 25727 the fully qualified name of the type (as in 25728 25729 `path/google.protobuf.Duration`). The name should be in 25730 a canonical form 25731 25732 (e.g., leading "." is not accepted). 25733 25734 25735 In practice, teams usually precompile into the binary 25736 all types that they 25737 25738 expect it to use in the context of Any. However, for 25739 URLs which use the 25740 25741 scheme `http`, `https`, or no scheme, one can optionally 25742 set up a type 25743 25744 server that maps type URLs to message definitions as 25745 follows: 25746 25747 25748 * If no scheme is provided, `https` is assumed. 25749 25750 * An HTTP GET on the URL must yield a 25751 [google.protobuf.Type][] 25752 value in binary format, or produce an error. 25753 * Applications are allowed to cache lookup results based 25754 on the 25755 URL, or have them precompiled into a binary to avoid any 25756 lookup. Therefore, binary compatibility needs to be preserved 25757 on changes to types. (Use versioned type names to manage 25758 breaking changes.) 25759 25760 Note: this functionality is not currently available in 25761 the official 25762 25763 protobuf release, and it is not used for type URLs 25764 beginning with 25765 25766 type.googleapis.com. 25767 25768 25769 Schemes other than `http`, `https` (or the empty scheme) 25770 might be 25771 25772 used with implementation specific semantics. 25773 value: 25774 type: string 25775 format: byte 25776 description: >- 25777 Must be a valid serialized protocol buffer of the above 25778 specified type. 25779 description: >- 25780 `Any` contains an arbitrary serialized protocol buffer 25781 message along with a 25782 25783 URL that describes the type of the serialized message. 25784 25785 25786 Protobuf library provides support to pack/unpack Any values 25787 in the form 25788 25789 of utility functions or additional generated methods of the 25790 Any type. 25791 25792 25793 Example 1: Pack and unpack a message in C++. 25794 25795 Foo foo = ...; 25796 Any any; 25797 any.PackFrom(foo); 25798 ... 25799 if (any.UnpackTo(&foo)) { 25800 ... 25801 } 25802 25803 Example 2: Pack and unpack a message in Java. 25804 25805 Foo foo = ...; 25806 Any any = Any.pack(foo); 25807 ... 25808 if (any.is(Foo.class)) { 25809 foo = any.unpack(Foo.class); 25810 } 25811 25812 Example 3: Pack and unpack a message in Python. 25813 25814 foo = Foo(...) 25815 any = Any() 25816 any.Pack(foo) 25817 ... 25818 if any.Is(Foo.DESCRIPTOR): 25819 any.Unpack(foo) 25820 ... 25821 25822 Example 4: Pack and unpack a message in Go 25823 25824 foo := &pb.Foo{...} 25825 any, err := ptypes.MarshalAny(foo) 25826 ... 25827 foo := &pb.Foo{} 25828 if err := ptypes.UnmarshalAny(any, foo); err != nil { 25829 ... 25830 } 25831 25832 The pack methods provided by protobuf library will by 25833 default use 25834 25835 'type.googleapis.com/full.type.name' as the type URL and the 25836 unpack 25837 25838 methods only use the fully qualified type name after the 25839 last '/' 25840 25841 in the type URL, for example "foo.bar.com/x/y.z" will yield 25842 type 25843 25844 name "y.z". 25845 25846 25847 25848 JSON 25849 25850 ==== 25851 25852 The JSON representation of an `Any` value uses the regular 25853 25854 representation of the deserialized, embedded message, with 25855 an 25856 25857 additional field `@type` which contains the type URL. 25858 Example: 25859 25860 package google.profile; 25861 message Person { 25862 string first_name = 1; 25863 string last_name = 2; 25864 } 25865 25866 { 25867 "@type": "type.googleapis.com/google.profile.Person", 25868 "firstName": <string>, 25869 "lastName": <string> 25870 } 25871 25872 If the embedded message type is well-known and has a custom 25873 JSON 25874 25875 representation, that representation will be embedded adding 25876 a field 25877 25878 `value` which holds the custom JSON in addition to the 25879 `@type` 25880 25881 field. Example (for message [google.protobuf.Duration][]): 25882 25883 { 25884 "@type": "type.googleapis.com/google.protobuf.Duration", 25885 "value": "1.212s" 25886 } 25887 parameters: 25888 - name: grantee 25889 in: path 25890 required: true 25891 type: string 25892 - name: msg_type_url 25893 description: >- 25894 Optional, msg_type_url, when set, will query only grants matching 25895 given msg type. 25896 in: path 25897 required: true 25898 type: string 25899 - name: pagination.key 25900 description: |- 25901 key is a value returned in PageResponse.next_key to begin 25902 querying the next page most efficiently. Only one of offset or key 25903 should be set. 25904 in: query 25905 required: false 25906 type: string 25907 format: byte 25908 - name: pagination.offset 25909 description: >- 25910 offset is a numeric offset that can be used when key is unavailable. 25911 25912 It is less efficient than using key. Only one of offset or key 25913 should 25914 25915 be set. 25916 in: query 25917 required: false 25918 type: string 25919 format: uint64 25920 - name: pagination.limit 25921 description: >- 25922 limit is the total number of results to be returned in the result 25923 page. 25924 25925 If left empty it will default to a value to be set by each app. 25926 in: query 25927 required: false 25928 type: string 25929 format: uint64 25930 - name: pagination.count_total 25931 description: >- 25932 count_total is set to true to indicate that the result set should 25933 include 25934 25935 a count of the total number of items available for pagination in 25936 UIs. 25937 25938 count_total is only respected when offset is used. It is ignored 25939 when key 25940 25941 is set. 25942 in: query 25943 required: false 25944 type: boolean 25945 format: boolean 25946 - name: pagination.reverse 25947 description: >- 25948 reverse is set to true if results are to be returned in the 25949 descending order. 25950 25951 25952 Since: cosmos-sdk 0.43 25953 in: query 25954 required: false 25955 type: boolean 25956 format: boolean 25957 tags: 25958 - Query 25959 /lbm/foundation/v1/params: 25960 get: 25961 summary: Params queries the module params. 25962 operationId: FoundationParams 25963 responses: 25964 '200': 25965 description: A successful response. 25966 schema: 25967 type: object 25968 properties: 25969 params: 25970 type: object 25971 properties: 25972 foundation_tax: 25973 type: string 25974 description: Params defines the parameters for the foundation module. 25975 description: >- 25976 QueryParamsResponse is the response type for the Query/Params RPC 25977 method. 25978 default: 25979 description: An unexpected error response 25980 schema: 25981 type: object 25982 properties: 25983 error: 25984 type: string 25985 code: 25986 type: integer 25987 format: int32 25988 message: 25989 type: string 25990 details: 25991 type: array 25992 items: 25993 type: object 25994 properties: 25995 type_url: 25996 type: string 25997 description: >- 25998 A URL/resource name that uniquely identifies the type of 25999 the serialized 26000 26001 protocol buffer message. This string must contain at 26002 least 26003 26004 one "/" character. The last segment of the URL's path 26005 must represent 26006 26007 the fully qualified name of the type (as in 26008 26009 `path/google.protobuf.Duration`). The name should be in 26010 a canonical form 26011 26012 (e.g., leading "." is not accepted). 26013 26014 26015 In practice, teams usually precompile into the binary 26016 all types that they 26017 26018 expect it to use in the context of Any. However, for 26019 URLs which use the 26020 26021 scheme `http`, `https`, or no scheme, one can optionally 26022 set up a type 26023 26024 server that maps type URLs to message definitions as 26025 follows: 26026 26027 26028 * If no scheme is provided, `https` is assumed. 26029 26030 * An HTTP GET on the URL must yield a 26031 [google.protobuf.Type][] 26032 value in binary format, or produce an error. 26033 * Applications are allowed to cache lookup results based 26034 on the 26035 URL, or have them precompiled into a binary to avoid any 26036 lookup. Therefore, binary compatibility needs to be preserved 26037 on changes to types. (Use versioned type names to manage 26038 breaking changes.) 26039 26040 Note: this functionality is not currently available in 26041 the official 26042 26043 protobuf release, and it is not used for type URLs 26044 beginning with 26045 26046 type.googleapis.com. 26047 26048 26049 Schemes other than `http`, `https` (or the empty scheme) 26050 might be 26051 26052 used with implementation specific semantics. 26053 value: 26054 type: string 26055 format: byte 26056 description: >- 26057 Must be a valid serialized protocol buffer of the above 26058 specified type. 26059 description: >- 26060 `Any` contains an arbitrary serialized protocol buffer 26061 message along with a 26062 26063 URL that describes the type of the serialized message. 26064 26065 26066 Protobuf library provides support to pack/unpack Any values 26067 in the form 26068 26069 of utility functions or additional generated methods of the 26070 Any type. 26071 26072 26073 Example 1: Pack and unpack a message in C++. 26074 26075 Foo foo = ...; 26076 Any any; 26077 any.PackFrom(foo); 26078 ... 26079 if (any.UnpackTo(&foo)) { 26080 ... 26081 } 26082 26083 Example 2: Pack and unpack a message in Java. 26084 26085 Foo foo = ...; 26086 Any any = Any.pack(foo); 26087 ... 26088 if (any.is(Foo.class)) { 26089 foo = any.unpack(Foo.class); 26090 } 26091 26092 Example 3: Pack and unpack a message in Python. 26093 26094 foo = Foo(...) 26095 any = Any() 26096 any.Pack(foo) 26097 ... 26098 if any.Is(Foo.DESCRIPTOR): 26099 any.Unpack(foo) 26100 ... 26101 26102 Example 4: Pack and unpack a message in Go 26103 26104 foo := &pb.Foo{...} 26105 any, err := ptypes.MarshalAny(foo) 26106 ... 26107 foo := &pb.Foo{} 26108 if err := ptypes.UnmarshalAny(any, foo); err != nil { 26109 ... 26110 } 26111 26112 The pack methods provided by protobuf library will by 26113 default use 26114 26115 'type.googleapis.com/full.type.name' as the type URL and the 26116 unpack 26117 26118 methods only use the fully qualified type name after the 26119 last '/' 26120 26121 in the type URL, for example "foo.bar.com/x/y.z" will yield 26122 type 26123 26124 name "y.z". 26125 26126 26127 26128 JSON 26129 26130 ==== 26131 26132 The JSON representation of an `Any` value uses the regular 26133 26134 representation of the deserialized, embedded message, with 26135 an 26136 26137 additional field `@type` which contains the type URL. 26138 Example: 26139 26140 package google.profile; 26141 message Person { 26142 string first_name = 1; 26143 string last_name = 2; 26144 } 26145 26146 { 26147 "@type": "type.googleapis.com/google.profile.Person", 26148 "firstName": <string>, 26149 "lastName": <string> 26150 } 26151 26152 If the embedded message type is well-known and has a custom 26153 JSON 26154 26155 representation, that representation will be embedded adding 26156 a field 26157 26158 `value` which holds the custom JSON in addition to the 26159 `@type` 26160 26161 field. Example (for message [google.protobuf.Duration][]): 26162 26163 { 26164 "@type": "type.googleapis.com/google.protobuf.Duration", 26165 "value": "1.212s" 26166 } 26167 tags: 26168 - Query 26169 /lbm/foundation/v1/proposals: 26170 get: 26171 summary: Proposals queries all proposals. 26172 operationId: FoundationProposals 26173 responses: 26174 '200': 26175 description: A successful response. 26176 schema: 26177 type: object 26178 properties: 26179 proposals: 26180 type: array 26181 items: 26182 type: object 26183 properties: 26184 id: 26185 type: string 26186 format: uint64 26187 description: id is the unique id of the proposal. 26188 metadata: 26189 type: string 26190 description: >- 26191 metadata is any arbitrary metadata to attached to the 26192 proposal. 26193 proposers: 26194 type: array 26195 items: 26196 type: string 26197 description: proposers are the account addresses of the proposers. 26198 submit_time: 26199 type: string 26200 format: date-time 26201 description: >- 26202 submit_time is a timestamp specifying when a proposal 26203 was submitted. 26204 foundation_version: 26205 type: string 26206 format: uint64 26207 description: >- 26208 foundation_version tracks the version of the foundation 26209 that this proposal corresponds to. 26210 26211 When foundation info is changed, existing proposals from 26212 previous foundation versions will become invalid. 26213 status: 26214 description: >- 26215 status represents the high level position in the life 26216 cycle of the proposal. Initial value is Submitted. 26217 type: string 26218 enum: 26219 - PROPOSAL_STATUS_UNSPECIFIED 26220 - PROPOSAL_STATUS_SUBMITTED 26221 - PROPOSAL_STATUS_ACCEPTED 26222 - PROPOSAL_STATUS_REJECTED 26223 - PROPOSAL_STATUS_ABORTED 26224 - PROPOSAL_STATUS_WITHDRAWN 26225 default: PROPOSAL_STATUS_UNSPECIFIED 26226 final_tally_result: 26227 description: >- 26228 final_tally_result contains the sums of all votes for 26229 this 26230 26231 proposal for each vote option, after tallying. When 26232 querying a proposal 26233 26234 via gRPC, this field is not populated until the 26235 proposal's voting period 26236 26237 has ended. 26238 type: object 26239 properties: 26240 yes_count: 26241 type: string 26242 description: yes_count is the sum of yes votes. 26243 abstain_count: 26244 type: string 26245 description: abstain_count is the sum of abstainers. 26246 no_count: 26247 type: string 26248 description: no is the sum of no votes. 26249 no_with_veto_count: 26250 type: string 26251 description: no_with_veto_count is the sum of veto. 26252 voting_period_end: 26253 type: string 26254 format: date-time 26255 description: >- 26256 voting_period_end is the timestamp before which voting 26257 must be done. 26258 26259 Unless a successfull MsgExec is called before (to 26260 execute a proposal whose 26261 26262 tally is successful before the voting period ends), 26263 tallying will be done 26264 26265 at this point, and the `final_tally_result`, as well 26266 26267 as `status` and `result` fields will be accordingly 26268 updated. 26269 executor_result: 26270 description: >- 26271 executor_result is the final result based on the votes 26272 and election rule. Initial value is NotRun. 26273 type: string 26274 enum: 26275 - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 26276 - PROPOSAL_EXECUTOR_RESULT_NOT_RUN 26277 - PROPOSAL_EXECUTOR_RESULT_SUCCESS 26278 - PROPOSAL_EXECUTOR_RESULT_FAILURE 26279 default: PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 26280 messages: 26281 type: array 26282 items: 26283 type: object 26284 properties: 26285 type_url: 26286 type: string 26287 description: >- 26288 A URL/resource name that uniquely identifies the 26289 type of the serialized 26290 26291 protocol buffer message. This string must contain 26292 at least 26293 26294 one "/" character. The last segment of the URL's 26295 path must represent 26296 26297 the fully qualified name of the type (as in 26298 26299 `path/google.protobuf.Duration`). The name should 26300 be in a canonical form 26301 26302 (e.g., leading "." is not accepted). 26303 26304 26305 In practice, teams usually precompile into the 26306 binary all types that they 26307 26308 expect it to use in the context of Any. However, 26309 for URLs which use the 26310 26311 scheme `http`, `https`, or no scheme, one can 26312 optionally set up a type 26313 26314 server that maps type URLs to message definitions 26315 as follows: 26316 26317 26318 * If no scheme is provided, `https` is assumed. 26319 26320 * An HTTP GET on the URL must yield a 26321 [google.protobuf.Type][] 26322 value in binary format, or produce an error. 26323 * Applications are allowed to cache lookup results 26324 based on the 26325 URL, or have them precompiled into a binary to avoid any 26326 lookup. Therefore, binary compatibility needs to be preserved 26327 on changes to types. (Use versioned type names to manage 26328 breaking changes.) 26329 26330 Note: this functionality is not currently 26331 available in the official 26332 26333 protobuf release, and it is not used for type URLs 26334 beginning with 26335 26336 type.googleapis.com. 26337 26338 26339 Schemes other than `http`, `https` (or the empty 26340 scheme) might be 26341 26342 used with implementation specific semantics. 26343 value: 26344 type: string 26345 format: byte 26346 description: >- 26347 Must be a valid serialized protocol buffer of the 26348 above specified type. 26349 description: >- 26350 `Any` contains an arbitrary serialized protocol buffer 26351 message along with a 26352 26353 URL that describes the type of the serialized message. 26354 26355 26356 Protobuf library provides support to pack/unpack Any 26357 values in the form 26358 26359 of utility functions or additional generated methods 26360 of the Any type. 26361 26362 26363 Example 1: Pack and unpack a message in C++. 26364 26365 Foo foo = ...; 26366 Any any; 26367 any.PackFrom(foo); 26368 ... 26369 if (any.UnpackTo(&foo)) { 26370 ... 26371 } 26372 26373 Example 2: Pack and unpack a message in Java. 26374 26375 Foo foo = ...; 26376 Any any = Any.pack(foo); 26377 ... 26378 if (any.is(Foo.class)) { 26379 foo = any.unpack(Foo.class); 26380 } 26381 26382 Example 3: Pack and unpack a message in Python. 26383 26384 foo = Foo(...) 26385 any = Any() 26386 any.Pack(foo) 26387 ... 26388 if any.Is(Foo.DESCRIPTOR): 26389 any.Unpack(foo) 26390 ... 26391 26392 Example 4: Pack and unpack a message in Go 26393 26394 foo := &pb.Foo{...} 26395 any, err := ptypes.MarshalAny(foo) 26396 ... 26397 foo := &pb.Foo{} 26398 if err := ptypes.UnmarshalAny(any, foo); err != nil { 26399 ... 26400 } 26401 26402 The pack methods provided by protobuf library will by 26403 default use 26404 26405 'type.googleapis.com/full.type.name' as the type URL 26406 and the unpack 26407 26408 methods only use the fully qualified type name after 26409 the last '/' 26410 26411 in the type URL, for example "foo.bar.com/x/y.z" will 26412 yield type 26413 26414 name "y.z". 26415 26416 26417 26418 JSON 26419 26420 ==== 26421 26422 The JSON representation of an `Any` value uses the 26423 regular 26424 26425 representation of the deserialized, embedded message, 26426 with an 26427 26428 additional field `@type` which contains the type URL. 26429 Example: 26430 26431 package google.profile; 26432 message Person { 26433 string first_name = 1; 26434 string last_name = 2; 26435 } 26436 26437 { 26438 "@type": "type.googleapis.com/google.profile.Person", 26439 "firstName": <string>, 26440 "lastName": <string> 26441 } 26442 26443 If the embedded message type is well-known and has a 26444 custom JSON 26445 26446 representation, that representation will be embedded 26447 adding a field 26448 26449 `value` which holds the custom JSON in addition to the 26450 `@type` 26451 26452 field. Example (for message 26453 [google.protobuf.Duration][]): 26454 26455 { 26456 "@type": "type.googleapis.com/google.protobuf.Duration", 26457 "value": "1.212s" 26458 } 26459 description: >- 26460 messages is a list of Msgs that will be executed if the 26461 proposal passes. 26462 description: >- 26463 Proposal defines a foundation proposal. Any member of the 26464 foundation can submit a proposal 26465 26466 for a group policy to decide upon. 26467 26468 A proposal consists of a set of `sdk.Msg`s that will be 26469 executed if the proposal 26470 26471 passes as well as some optional metadata associated with the 26472 proposal. 26473 description: proposals are the proposals of the foundation. 26474 pagination: 26475 description: pagination defines the pagination in the response. 26476 type: object 26477 properties: 26478 next_key: 26479 type: string 26480 format: byte 26481 title: |- 26482 next_key is the key to be passed to PageRequest.key to 26483 query the next page most efficiently 26484 total: 26485 type: string 26486 format: uint64 26487 title: >- 26488 total is total number of results available if 26489 PageRequest.count_total 26490 26491 was set, its value is undefined otherwise 26492 description: QueryProposalsResponse is the Query/Proposals response type. 26493 default: 26494 description: An unexpected error response 26495 schema: 26496 type: object 26497 properties: 26498 error: 26499 type: string 26500 code: 26501 type: integer 26502 format: int32 26503 message: 26504 type: string 26505 details: 26506 type: array 26507 items: 26508 type: object 26509 properties: 26510 type_url: 26511 type: string 26512 description: >- 26513 A URL/resource name that uniquely identifies the type of 26514 the serialized 26515 26516 protocol buffer message. This string must contain at 26517 least 26518 26519 one "/" character. The last segment of the URL's path 26520 must represent 26521 26522 the fully qualified name of the type (as in 26523 26524 `path/google.protobuf.Duration`). The name should be in 26525 a canonical form 26526 26527 (e.g., leading "." is not accepted). 26528 26529 26530 In practice, teams usually precompile into the binary 26531 all types that they 26532 26533 expect it to use in the context of Any. However, for 26534 URLs which use the 26535 26536 scheme `http`, `https`, or no scheme, one can optionally 26537 set up a type 26538 26539 server that maps type URLs to message definitions as 26540 follows: 26541 26542 26543 * If no scheme is provided, `https` is assumed. 26544 26545 * An HTTP GET on the URL must yield a 26546 [google.protobuf.Type][] 26547 value in binary format, or produce an error. 26548 * Applications are allowed to cache lookup results based 26549 on the 26550 URL, or have them precompiled into a binary to avoid any 26551 lookup. Therefore, binary compatibility needs to be preserved 26552 on changes to types. (Use versioned type names to manage 26553 breaking changes.) 26554 26555 Note: this functionality is not currently available in 26556 the official 26557 26558 protobuf release, and it is not used for type URLs 26559 beginning with 26560 26561 type.googleapis.com. 26562 26563 26564 Schemes other than `http`, `https` (or the empty scheme) 26565 might be 26566 26567 used with implementation specific semantics. 26568 value: 26569 type: string 26570 format: byte 26571 description: >- 26572 Must be a valid serialized protocol buffer of the above 26573 specified type. 26574 description: >- 26575 `Any` contains an arbitrary serialized protocol buffer 26576 message along with a 26577 26578 URL that describes the type of the serialized message. 26579 26580 26581 Protobuf library provides support to pack/unpack Any values 26582 in the form 26583 26584 of utility functions or additional generated methods of the 26585 Any type. 26586 26587 26588 Example 1: Pack and unpack a message in C++. 26589 26590 Foo foo = ...; 26591 Any any; 26592 any.PackFrom(foo); 26593 ... 26594 if (any.UnpackTo(&foo)) { 26595 ... 26596 } 26597 26598 Example 2: Pack and unpack a message in Java. 26599 26600 Foo foo = ...; 26601 Any any = Any.pack(foo); 26602 ... 26603 if (any.is(Foo.class)) { 26604 foo = any.unpack(Foo.class); 26605 } 26606 26607 Example 3: Pack and unpack a message in Python. 26608 26609 foo = Foo(...) 26610 any = Any() 26611 any.Pack(foo) 26612 ... 26613 if any.Is(Foo.DESCRIPTOR): 26614 any.Unpack(foo) 26615 ... 26616 26617 Example 4: Pack and unpack a message in Go 26618 26619 foo := &pb.Foo{...} 26620 any, err := ptypes.MarshalAny(foo) 26621 ... 26622 foo := &pb.Foo{} 26623 if err := ptypes.UnmarshalAny(any, foo); err != nil { 26624 ... 26625 } 26626 26627 The pack methods provided by protobuf library will by 26628 default use 26629 26630 'type.googleapis.com/full.type.name' as the type URL and the 26631 unpack 26632 26633 methods only use the fully qualified type name after the 26634 last '/' 26635 26636 in the type URL, for example "foo.bar.com/x/y.z" will yield 26637 type 26638 26639 name "y.z". 26640 26641 26642 26643 JSON 26644 26645 ==== 26646 26647 The JSON representation of an `Any` value uses the regular 26648 26649 representation of the deserialized, embedded message, with 26650 an 26651 26652 additional field `@type` which contains the type URL. 26653 Example: 26654 26655 package google.profile; 26656 message Person { 26657 string first_name = 1; 26658 string last_name = 2; 26659 } 26660 26661 { 26662 "@type": "type.googleapis.com/google.profile.Person", 26663 "firstName": <string>, 26664 "lastName": <string> 26665 } 26666 26667 If the embedded message type is well-known and has a custom 26668 JSON 26669 26670 representation, that representation will be embedded adding 26671 a field 26672 26673 `value` which holds the custom JSON in addition to the 26674 `@type` 26675 26676 field. Example (for message [google.protobuf.Duration][]): 26677 26678 { 26679 "@type": "type.googleapis.com/google.protobuf.Duration", 26680 "value": "1.212s" 26681 } 26682 parameters: 26683 - name: pagination.key 26684 description: |- 26685 key is a value returned in PageResponse.next_key to begin 26686 querying the next page most efficiently. Only one of offset or key 26687 should be set. 26688 in: query 26689 required: false 26690 type: string 26691 format: byte 26692 - name: pagination.offset 26693 description: >- 26694 offset is a numeric offset that can be used when key is unavailable. 26695 26696 It is less efficient than using key. Only one of offset or key 26697 should 26698 26699 be set. 26700 in: query 26701 required: false 26702 type: string 26703 format: uint64 26704 - name: pagination.limit 26705 description: >- 26706 limit is the total number of results to be returned in the result 26707 page. 26708 26709 If left empty it will default to a value to be set by each app. 26710 in: query 26711 required: false 26712 type: string 26713 format: uint64 26714 - name: pagination.count_total 26715 description: >- 26716 count_total is set to true to indicate that the result set should 26717 include 26718 26719 a count of the total number of items available for pagination in 26720 UIs. 26721 26722 count_total is only respected when offset is used. It is ignored 26723 when key 26724 26725 is set. 26726 in: query 26727 required: false 26728 type: boolean 26729 format: boolean 26730 - name: pagination.reverse 26731 description: >- 26732 reverse is set to true if results are to be returned in the 26733 descending order. 26734 26735 26736 Since: cosmos-sdk 0.43 26737 in: query 26738 required: false 26739 type: boolean 26740 format: boolean 26741 tags: 26742 - Query 26743 '/lbm/foundation/v1/proposals/{proposal_id}': 26744 get: 26745 summary: Proposal queries a proposal based on proposal id. 26746 operationId: FoundationProposal 26747 responses: 26748 '200': 26749 description: A successful response. 26750 schema: 26751 type: object 26752 properties: 26753 proposal: 26754 type: object 26755 properties: 26756 id: 26757 type: string 26758 format: uint64 26759 description: id is the unique id of the proposal. 26760 metadata: 26761 type: string 26762 description: >- 26763 metadata is any arbitrary metadata to attached to the 26764 proposal. 26765 proposers: 26766 type: array 26767 items: 26768 type: string 26769 description: proposers are the account addresses of the proposers. 26770 submit_time: 26771 type: string 26772 format: date-time 26773 description: >- 26774 submit_time is a timestamp specifying when a proposal was 26775 submitted. 26776 foundation_version: 26777 type: string 26778 format: uint64 26779 description: >- 26780 foundation_version tracks the version of the foundation 26781 that this proposal corresponds to. 26782 26783 When foundation info is changed, existing proposals from 26784 previous foundation versions will become invalid. 26785 status: 26786 description: >- 26787 status represents the high level position in the life 26788 cycle of the proposal. Initial value is Submitted. 26789 type: string 26790 enum: 26791 - PROPOSAL_STATUS_UNSPECIFIED 26792 - PROPOSAL_STATUS_SUBMITTED 26793 - PROPOSAL_STATUS_ACCEPTED 26794 - PROPOSAL_STATUS_REJECTED 26795 - PROPOSAL_STATUS_ABORTED 26796 - PROPOSAL_STATUS_WITHDRAWN 26797 default: PROPOSAL_STATUS_UNSPECIFIED 26798 final_tally_result: 26799 description: >- 26800 final_tally_result contains the sums of all votes for this 26801 26802 proposal for each vote option, after tallying. When 26803 querying a proposal 26804 26805 via gRPC, this field is not populated until the proposal's 26806 voting period 26807 26808 has ended. 26809 type: object 26810 properties: 26811 yes_count: 26812 type: string 26813 description: yes_count is the sum of yes votes. 26814 abstain_count: 26815 type: string 26816 description: abstain_count is the sum of abstainers. 26817 no_count: 26818 type: string 26819 description: no is the sum of no votes. 26820 no_with_veto_count: 26821 type: string 26822 description: no_with_veto_count is the sum of veto. 26823 voting_period_end: 26824 type: string 26825 format: date-time 26826 description: >- 26827 voting_period_end is the timestamp before which voting 26828 must be done. 26829 26830 Unless a successfull MsgExec is called before (to execute 26831 a proposal whose 26832 26833 tally is successful before the voting period ends), 26834 tallying will be done 26835 26836 at this point, and the `final_tally_result`, as well 26837 26838 as `status` and `result` fields will be accordingly 26839 updated. 26840 executor_result: 26841 description: >- 26842 executor_result is the final result based on the votes and 26843 election rule. Initial value is NotRun. 26844 type: string 26845 enum: 26846 - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 26847 - PROPOSAL_EXECUTOR_RESULT_NOT_RUN 26848 - PROPOSAL_EXECUTOR_RESULT_SUCCESS 26849 - PROPOSAL_EXECUTOR_RESULT_FAILURE 26850 default: PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 26851 messages: 26852 type: array 26853 items: 26854 type: object 26855 properties: 26856 type_url: 26857 type: string 26858 description: >- 26859 A URL/resource name that uniquely identifies the 26860 type of the serialized 26861 26862 protocol buffer message. This string must contain at 26863 least 26864 26865 one "/" character. The last segment of the URL's 26866 path must represent 26867 26868 the fully qualified name of the type (as in 26869 26870 `path/google.protobuf.Duration`). The name should be 26871 in a canonical form 26872 26873 (e.g., leading "." is not accepted). 26874 26875 26876 In practice, teams usually precompile into the 26877 binary all types that they 26878 26879 expect it to use in the context of Any. However, for 26880 URLs which use the 26881 26882 scheme `http`, `https`, or no scheme, one can 26883 optionally set up a type 26884 26885 server that maps type URLs to message definitions as 26886 follows: 26887 26888 26889 * If no scheme is provided, `https` is assumed. 26890 26891 * An HTTP GET on the URL must yield a 26892 [google.protobuf.Type][] 26893 value in binary format, or produce an error. 26894 * Applications are allowed to cache lookup results 26895 based on the 26896 URL, or have them precompiled into a binary to avoid any 26897 lookup. Therefore, binary compatibility needs to be preserved 26898 on changes to types. (Use versioned type names to manage 26899 breaking changes.) 26900 26901 Note: this functionality is not currently available 26902 in the official 26903 26904 protobuf release, and it is not used for type URLs 26905 beginning with 26906 26907 type.googleapis.com. 26908 26909 26910 Schemes other than `http`, `https` (or the empty 26911 scheme) might be 26912 26913 used with implementation specific semantics. 26914 value: 26915 type: string 26916 format: byte 26917 description: >- 26918 Must be a valid serialized protocol buffer of the 26919 above specified type. 26920 description: >- 26921 `Any` contains an arbitrary serialized protocol buffer 26922 message along with a 26923 26924 URL that describes the type of the serialized message. 26925 26926 26927 Protobuf library provides support to pack/unpack Any 26928 values in the form 26929 26930 of utility functions or additional generated methods of 26931 the Any type. 26932 26933 26934 Example 1: Pack and unpack a message in C++. 26935 26936 Foo foo = ...; 26937 Any any; 26938 any.PackFrom(foo); 26939 ... 26940 if (any.UnpackTo(&foo)) { 26941 ... 26942 } 26943 26944 Example 2: Pack and unpack a message in Java. 26945 26946 Foo foo = ...; 26947 Any any = Any.pack(foo); 26948 ... 26949 if (any.is(Foo.class)) { 26950 foo = any.unpack(Foo.class); 26951 } 26952 26953 Example 3: Pack and unpack a message in Python. 26954 26955 foo = Foo(...) 26956 any = Any() 26957 any.Pack(foo) 26958 ... 26959 if any.Is(Foo.DESCRIPTOR): 26960 any.Unpack(foo) 26961 ... 26962 26963 Example 4: Pack and unpack a message in Go 26964 26965 foo := &pb.Foo{...} 26966 any, err := ptypes.MarshalAny(foo) 26967 ... 26968 foo := &pb.Foo{} 26969 if err := ptypes.UnmarshalAny(any, foo); err != nil { 26970 ... 26971 } 26972 26973 The pack methods provided by protobuf library will by 26974 default use 26975 26976 'type.googleapis.com/full.type.name' as the type URL and 26977 the unpack 26978 26979 methods only use the fully qualified type name after the 26980 last '/' 26981 26982 in the type URL, for example "foo.bar.com/x/y.z" will 26983 yield type 26984 26985 name "y.z". 26986 26987 26988 26989 JSON 26990 26991 ==== 26992 26993 The JSON representation of an `Any` value uses the 26994 regular 26995 26996 representation of the deserialized, embedded message, 26997 with an 26998 26999 additional field `@type` which contains the type URL. 27000 Example: 27001 27002 package google.profile; 27003 message Person { 27004 string first_name = 1; 27005 string last_name = 2; 27006 } 27007 27008 { 27009 "@type": "type.googleapis.com/google.profile.Person", 27010 "firstName": <string>, 27011 "lastName": <string> 27012 } 27013 27014 If the embedded message type is well-known and has a 27015 custom JSON 27016 27017 representation, that representation will be embedded 27018 adding a field 27019 27020 `value` which holds the custom JSON in addition to the 27021 `@type` 27022 27023 field. Example (for message 27024 [google.protobuf.Duration][]): 27025 27026 { 27027 "@type": "type.googleapis.com/google.protobuf.Duration", 27028 "value": "1.212s" 27029 } 27030 description: >- 27031 messages is a list of Msgs that will be executed if the 27032 proposal passes. 27033 description: >- 27034 Proposal defines a foundation proposal. Any member of the 27035 foundation can submit a proposal 27036 27037 for a group policy to decide upon. 27038 27039 A proposal consists of a set of `sdk.Msg`s that will be 27040 executed if the proposal 27041 27042 passes as well as some optional metadata associated with the 27043 proposal. 27044 description: QueryProposalResponse is the Query/Proposal response type. 27045 default: 27046 description: An unexpected error response 27047 schema: 27048 type: object 27049 properties: 27050 error: 27051 type: string 27052 code: 27053 type: integer 27054 format: int32 27055 message: 27056 type: string 27057 details: 27058 type: array 27059 items: 27060 type: object 27061 properties: 27062 type_url: 27063 type: string 27064 description: >- 27065 A URL/resource name that uniquely identifies the type of 27066 the serialized 27067 27068 protocol buffer message. This string must contain at 27069 least 27070 27071 one "/" character. The last segment of the URL's path 27072 must represent 27073 27074 the fully qualified name of the type (as in 27075 27076 `path/google.protobuf.Duration`). The name should be in 27077 a canonical form 27078 27079 (e.g., leading "." is not accepted). 27080 27081 27082 In practice, teams usually precompile into the binary 27083 all types that they 27084 27085 expect it to use in the context of Any. However, for 27086 URLs which use the 27087 27088 scheme `http`, `https`, or no scheme, one can optionally 27089 set up a type 27090 27091 server that maps type URLs to message definitions as 27092 follows: 27093 27094 27095 * If no scheme is provided, `https` is assumed. 27096 27097 * An HTTP GET on the URL must yield a 27098 [google.protobuf.Type][] 27099 value in binary format, or produce an error. 27100 * Applications are allowed to cache lookup results based 27101 on the 27102 URL, or have them precompiled into a binary to avoid any 27103 lookup. Therefore, binary compatibility needs to be preserved 27104 on changes to types. (Use versioned type names to manage 27105 breaking changes.) 27106 27107 Note: this functionality is not currently available in 27108 the official 27109 27110 protobuf release, and it is not used for type URLs 27111 beginning with 27112 27113 type.googleapis.com. 27114 27115 27116 Schemes other than `http`, `https` (or the empty scheme) 27117 might be 27118 27119 used with implementation specific semantics. 27120 value: 27121 type: string 27122 format: byte 27123 description: >- 27124 Must be a valid serialized protocol buffer of the above 27125 specified type. 27126 description: >- 27127 `Any` contains an arbitrary serialized protocol buffer 27128 message along with a 27129 27130 URL that describes the type of the serialized message. 27131 27132 27133 Protobuf library provides support to pack/unpack Any values 27134 in the form 27135 27136 of utility functions or additional generated methods of the 27137 Any type. 27138 27139 27140 Example 1: Pack and unpack a message in C++. 27141 27142 Foo foo = ...; 27143 Any any; 27144 any.PackFrom(foo); 27145 ... 27146 if (any.UnpackTo(&foo)) { 27147 ... 27148 } 27149 27150 Example 2: Pack and unpack a message in Java. 27151 27152 Foo foo = ...; 27153 Any any = Any.pack(foo); 27154 ... 27155 if (any.is(Foo.class)) { 27156 foo = any.unpack(Foo.class); 27157 } 27158 27159 Example 3: Pack and unpack a message in Python. 27160 27161 foo = Foo(...) 27162 any = Any() 27163 any.Pack(foo) 27164 ... 27165 if any.Is(Foo.DESCRIPTOR): 27166 any.Unpack(foo) 27167 ... 27168 27169 Example 4: Pack and unpack a message in Go 27170 27171 foo := &pb.Foo{...} 27172 any, err := ptypes.MarshalAny(foo) 27173 ... 27174 foo := &pb.Foo{} 27175 if err := ptypes.UnmarshalAny(any, foo); err != nil { 27176 ... 27177 } 27178 27179 The pack methods provided by protobuf library will by 27180 default use 27181 27182 'type.googleapis.com/full.type.name' as the type URL and the 27183 unpack 27184 27185 methods only use the fully qualified type name after the 27186 last '/' 27187 27188 in the type URL, for example "foo.bar.com/x/y.z" will yield 27189 type 27190 27191 name "y.z". 27192 27193 27194 27195 JSON 27196 27197 ==== 27198 27199 The JSON representation of an `Any` value uses the regular 27200 27201 representation of the deserialized, embedded message, with 27202 an 27203 27204 additional field `@type` which contains the type URL. 27205 Example: 27206 27207 package google.profile; 27208 message Person { 27209 string first_name = 1; 27210 string last_name = 2; 27211 } 27212 27213 { 27214 "@type": "type.googleapis.com/google.profile.Person", 27215 "firstName": <string>, 27216 "lastName": <string> 27217 } 27218 27219 If the embedded message type is well-known and has a custom 27220 JSON 27221 27222 representation, that representation will be embedded adding 27223 a field 27224 27225 `value` which holds the custom JSON in addition to the 27226 `@type` 27227 27228 field. Example (for message [google.protobuf.Duration][]): 27229 27230 { 27231 "@type": "type.googleapis.com/google.protobuf.Duration", 27232 "value": "1.212s" 27233 } 27234 parameters: 27235 - name: proposal_id 27236 description: proposal_id is the unique ID of a proposal. 27237 in: path 27238 required: true 27239 type: string 27240 format: uint64 27241 tags: 27242 - Query 27243 '/lbm/foundation/v1/proposals/{proposal_id}/tally': 27244 get: 27245 summary: TallyResult queries the tally of a proposal votes. 27246 operationId: FoundationTallyResult 27247 responses: 27248 '200': 27249 description: A successful response. 27250 schema: 27251 type: object 27252 properties: 27253 tally: 27254 description: tally defines the requested tally. 27255 type: object 27256 properties: 27257 yes_count: 27258 type: string 27259 description: yes_count is the sum of yes votes. 27260 abstain_count: 27261 type: string 27262 description: abstain_count is the sum of abstainers. 27263 no_count: 27264 type: string 27265 description: no is the sum of no votes. 27266 no_with_veto_count: 27267 type: string 27268 description: no_with_veto_count is the sum of veto. 27269 description: QueryTallyResultResponse is the Query/TallyResult response type. 27270 default: 27271 description: An unexpected error response 27272 schema: 27273 type: object 27274 properties: 27275 error: 27276 type: string 27277 code: 27278 type: integer 27279 format: int32 27280 message: 27281 type: string 27282 details: 27283 type: array 27284 items: 27285 type: object 27286 properties: 27287 type_url: 27288 type: string 27289 description: >- 27290 A URL/resource name that uniquely identifies the type of 27291 the serialized 27292 27293 protocol buffer message. This string must contain at 27294 least 27295 27296 one "/" character. The last segment of the URL's path 27297 must represent 27298 27299 the fully qualified name of the type (as in 27300 27301 `path/google.protobuf.Duration`). The name should be in 27302 a canonical form 27303 27304 (e.g., leading "." is not accepted). 27305 27306 27307 In practice, teams usually precompile into the binary 27308 all types that they 27309 27310 expect it to use in the context of Any. However, for 27311 URLs which use the 27312 27313 scheme `http`, `https`, or no scheme, one can optionally 27314 set up a type 27315 27316 server that maps type URLs to message definitions as 27317 follows: 27318 27319 27320 * If no scheme is provided, `https` is assumed. 27321 27322 * An HTTP GET on the URL must yield a 27323 [google.protobuf.Type][] 27324 value in binary format, or produce an error. 27325 * Applications are allowed to cache lookup results based 27326 on the 27327 URL, or have them precompiled into a binary to avoid any 27328 lookup. Therefore, binary compatibility needs to be preserved 27329 on changes to types. (Use versioned type names to manage 27330 breaking changes.) 27331 27332 Note: this functionality is not currently available in 27333 the official 27334 27335 protobuf release, and it is not used for type URLs 27336 beginning with 27337 27338 type.googleapis.com. 27339 27340 27341 Schemes other than `http`, `https` (or the empty scheme) 27342 might be 27343 27344 used with implementation specific semantics. 27345 value: 27346 type: string 27347 format: byte 27348 description: >- 27349 Must be a valid serialized protocol buffer of the above 27350 specified type. 27351 description: >- 27352 `Any` contains an arbitrary serialized protocol buffer 27353 message along with a 27354 27355 URL that describes the type of the serialized message. 27356 27357 27358 Protobuf library provides support to pack/unpack Any values 27359 in the form 27360 27361 of utility functions or additional generated methods of the 27362 Any type. 27363 27364 27365 Example 1: Pack and unpack a message in C++. 27366 27367 Foo foo = ...; 27368 Any any; 27369 any.PackFrom(foo); 27370 ... 27371 if (any.UnpackTo(&foo)) { 27372 ... 27373 } 27374 27375 Example 2: Pack and unpack a message in Java. 27376 27377 Foo foo = ...; 27378 Any any = Any.pack(foo); 27379 ... 27380 if (any.is(Foo.class)) { 27381 foo = any.unpack(Foo.class); 27382 } 27383 27384 Example 3: Pack and unpack a message in Python. 27385 27386 foo = Foo(...) 27387 any = Any() 27388 any.Pack(foo) 27389 ... 27390 if any.Is(Foo.DESCRIPTOR): 27391 any.Unpack(foo) 27392 ... 27393 27394 Example 4: Pack and unpack a message in Go 27395 27396 foo := &pb.Foo{...} 27397 any, err := ptypes.MarshalAny(foo) 27398 ... 27399 foo := &pb.Foo{} 27400 if err := ptypes.UnmarshalAny(any, foo); err != nil { 27401 ... 27402 } 27403 27404 The pack methods provided by protobuf library will by 27405 default use 27406 27407 'type.googleapis.com/full.type.name' as the type URL and the 27408 unpack 27409 27410 methods only use the fully qualified type name after the 27411 last '/' 27412 27413 in the type URL, for example "foo.bar.com/x/y.z" will yield 27414 type 27415 27416 name "y.z". 27417 27418 27419 27420 JSON 27421 27422 ==== 27423 27424 The JSON representation of an `Any` value uses the regular 27425 27426 representation of the deserialized, embedded message, with 27427 an 27428 27429 additional field `@type` which contains the type URL. 27430 Example: 27431 27432 package google.profile; 27433 message Person { 27434 string first_name = 1; 27435 string last_name = 2; 27436 } 27437 27438 { 27439 "@type": "type.googleapis.com/google.profile.Person", 27440 "firstName": <string>, 27441 "lastName": <string> 27442 } 27443 27444 If the embedded message type is well-known and has a custom 27445 JSON 27446 27447 representation, that representation will be embedded adding 27448 a field 27449 27450 `value` which holds the custom JSON in addition to the 27451 `@type` 27452 27453 field. Example (for message [google.protobuf.Duration][]): 27454 27455 { 27456 "@type": "type.googleapis.com/google.protobuf.Duration", 27457 "value": "1.212s" 27458 } 27459 parameters: 27460 - name: proposal_id 27461 description: proposal_id is the unique id of a proposal. 27462 in: path 27463 required: true 27464 type: string 27465 format: uint64 27466 tags: 27467 - Query 27468 '/lbm/foundation/v1/proposals/{proposal_id}/votes': 27469 get: 27470 summary: Votes queries a vote by proposal. 27471 operationId: FoundationVotes 27472 responses: 27473 '200': 27474 description: A successful response. 27475 schema: 27476 type: object 27477 properties: 27478 votes: 27479 type: array 27480 items: 27481 type: object 27482 properties: 27483 proposal_id: 27484 type: string 27485 format: uint64 27486 description: proposal is the unique ID of the proposal. 27487 voter: 27488 type: string 27489 description: voter is the account address of the voter. 27490 option: 27491 description: option is the voter's choice on the proposal. 27492 type: string 27493 enum: 27494 - VOTE_OPTION_UNSPECIFIED 27495 - VOTE_OPTION_YES 27496 - VOTE_OPTION_ABSTAIN 27497 - VOTE_OPTION_NO 27498 - VOTE_OPTION_NO_WITH_VETO 27499 default: VOTE_OPTION_UNSPECIFIED 27500 metadata: 27501 type: string 27502 description: >- 27503 metadata is any arbitrary metadata to attached to the 27504 vote. 27505 submit_time: 27506 type: string 27507 format: date-time 27508 description: >- 27509 submit_time is the timestamp when the vote was 27510 submitted. 27511 description: Vote represents a vote for a proposal. 27512 description: votes are the list of votes for given proposal_id. 27513 pagination: 27514 description: pagination defines the pagination in the response. 27515 type: object 27516 properties: 27517 next_key: 27518 type: string 27519 format: byte 27520 title: |- 27521 next_key is the key to be passed to PageRequest.key to 27522 query the next page most efficiently 27523 total: 27524 type: string 27525 format: uint64 27526 title: >- 27527 total is total number of results available if 27528 PageRequest.count_total 27529 27530 was set, its value is undefined otherwise 27531 description: QueryVotesResponse is the Query/Votes response type. 27532 default: 27533 description: An unexpected error response 27534 schema: 27535 type: object 27536 properties: 27537 error: 27538 type: string 27539 code: 27540 type: integer 27541 format: int32 27542 message: 27543 type: string 27544 details: 27545 type: array 27546 items: 27547 type: object 27548 properties: 27549 type_url: 27550 type: string 27551 description: >- 27552 A URL/resource name that uniquely identifies the type of 27553 the serialized 27554 27555 protocol buffer message. This string must contain at 27556 least 27557 27558 one "/" character. The last segment of the URL's path 27559 must represent 27560 27561 the fully qualified name of the type (as in 27562 27563 `path/google.protobuf.Duration`). The name should be in 27564 a canonical form 27565 27566 (e.g., leading "." is not accepted). 27567 27568 27569 In practice, teams usually precompile into the binary 27570 all types that they 27571 27572 expect it to use in the context of Any. However, for 27573 URLs which use the 27574 27575 scheme `http`, `https`, or no scheme, one can optionally 27576 set up a type 27577 27578 server that maps type URLs to message definitions as 27579 follows: 27580 27581 27582 * If no scheme is provided, `https` is assumed. 27583 27584 * An HTTP GET on the URL must yield a 27585 [google.protobuf.Type][] 27586 value in binary format, or produce an error. 27587 * Applications are allowed to cache lookup results based 27588 on the 27589 URL, or have them precompiled into a binary to avoid any 27590 lookup. Therefore, binary compatibility needs to be preserved 27591 on changes to types. (Use versioned type names to manage 27592 breaking changes.) 27593 27594 Note: this functionality is not currently available in 27595 the official 27596 27597 protobuf release, and it is not used for type URLs 27598 beginning with 27599 27600 type.googleapis.com. 27601 27602 27603 Schemes other than `http`, `https` (or the empty scheme) 27604 might be 27605 27606 used with implementation specific semantics. 27607 value: 27608 type: string 27609 format: byte 27610 description: >- 27611 Must be a valid serialized protocol buffer of the above 27612 specified type. 27613 description: >- 27614 `Any` contains an arbitrary serialized protocol buffer 27615 message along with a 27616 27617 URL that describes the type of the serialized message. 27618 27619 27620 Protobuf library provides support to pack/unpack Any values 27621 in the form 27622 27623 of utility functions or additional generated methods of the 27624 Any type. 27625 27626 27627 Example 1: Pack and unpack a message in C++. 27628 27629 Foo foo = ...; 27630 Any any; 27631 any.PackFrom(foo); 27632 ... 27633 if (any.UnpackTo(&foo)) { 27634 ... 27635 } 27636 27637 Example 2: Pack and unpack a message in Java. 27638 27639 Foo foo = ...; 27640 Any any = Any.pack(foo); 27641 ... 27642 if (any.is(Foo.class)) { 27643 foo = any.unpack(Foo.class); 27644 } 27645 27646 Example 3: Pack and unpack a message in Python. 27647 27648 foo = Foo(...) 27649 any = Any() 27650 any.Pack(foo) 27651 ... 27652 if any.Is(Foo.DESCRIPTOR): 27653 any.Unpack(foo) 27654 ... 27655 27656 Example 4: Pack and unpack a message in Go 27657 27658 foo := &pb.Foo{...} 27659 any, err := ptypes.MarshalAny(foo) 27660 ... 27661 foo := &pb.Foo{} 27662 if err := ptypes.UnmarshalAny(any, foo); err != nil { 27663 ... 27664 } 27665 27666 The pack methods provided by protobuf library will by 27667 default use 27668 27669 'type.googleapis.com/full.type.name' as the type URL and the 27670 unpack 27671 27672 methods only use the fully qualified type name after the 27673 last '/' 27674 27675 in the type URL, for example "foo.bar.com/x/y.z" will yield 27676 type 27677 27678 name "y.z". 27679 27680 27681 27682 JSON 27683 27684 ==== 27685 27686 The JSON representation of an `Any` value uses the regular 27687 27688 representation of the deserialized, embedded message, with 27689 an 27690 27691 additional field `@type` which contains the type URL. 27692 Example: 27693 27694 package google.profile; 27695 message Person { 27696 string first_name = 1; 27697 string last_name = 2; 27698 } 27699 27700 { 27701 "@type": "type.googleapis.com/google.profile.Person", 27702 "firstName": <string>, 27703 "lastName": <string> 27704 } 27705 27706 If the embedded message type is well-known and has a custom 27707 JSON 27708 27709 representation, that representation will be embedded adding 27710 a field 27711 27712 `value` which holds the custom JSON in addition to the 27713 `@type` 27714 27715 field. Example (for message [google.protobuf.Duration][]): 27716 27717 { 27718 "@type": "type.googleapis.com/google.protobuf.Duration", 27719 "value": "1.212s" 27720 } 27721 parameters: 27722 - name: proposal_id 27723 description: proposal_id is the unique ID of a proposal. 27724 in: path 27725 required: true 27726 type: string 27727 format: uint64 27728 - name: pagination.key 27729 description: |- 27730 key is a value returned in PageResponse.next_key to begin 27731 querying the next page most efficiently. Only one of offset or key 27732 should be set. 27733 in: query 27734 required: false 27735 type: string 27736 format: byte 27737 - name: pagination.offset 27738 description: >- 27739 offset is a numeric offset that can be used when key is unavailable. 27740 27741 It is less efficient than using key. Only one of offset or key 27742 should 27743 27744 be set. 27745 in: query 27746 required: false 27747 type: string 27748 format: uint64 27749 - name: pagination.limit 27750 description: >- 27751 limit is the total number of results to be returned in the result 27752 page. 27753 27754 If left empty it will default to a value to be set by each app. 27755 in: query 27756 required: false 27757 type: string 27758 format: uint64 27759 - name: pagination.count_total 27760 description: >- 27761 count_total is set to true to indicate that the result set should 27762 include 27763 27764 a count of the total number of items available for pagination in 27765 UIs. 27766 27767 count_total is only respected when offset is used. It is ignored 27768 when key 27769 27770 is set. 27771 in: query 27772 required: false 27773 type: boolean 27774 format: boolean 27775 - name: pagination.reverse 27776 description: >- 27777 reverse is set to true if results are to be returned in the 27778 descending order. 27779 27780 27781 Since: cosmos-sdk 0.43 27782 in: query 27783 required: false 27784 type: boolean 27785 format: boolean 27786 tags: 27787 - Query 27788 '/lbm/foundation/v1/proposals/{proposal_id}/votes/{voter}': 27789 get: 27790 summary: Vote queries a vote by proposal id and voter. 27791 operationId: FoundationVote 27792 responses: 27793 '200': 27794 description: A successful response. 27795 schema: 27796 type: object 27797 properties: 27798 vote: 27799 type: object 27800 properties: 27801 proposal_id: 27802 type: string 27803 format: uint64 27804 description: proposal is the unique ID of the proposal. 27805 voter: 27806 type: string 27807 description: voter is the account address of the voter. 27808 option: 27809 description: option is the voter's choice on the proposal. 27810 type: string 27811 enum: 27812 - VOTE_OPTION_UNSPECIFIED 27813 - VOTE_OPTION_YES 27814 - VOTE_OPTION_ABSTAIN 27815 - VOTE_OPTION_NO 27816 - VOTE_OPTION_NO_WITH_VETO 27817 default: VOTE_OPTION_UNSPECIFIED 27818 metadata: 27819 type: string 27820 description: >- 27821 metadata is any arbitrary metadata to attached to the 27822 vote. 27823 submit_time: 27824 type: string 27825 format: date-time 27826 description: submit_time is the timestamp when the vote was submitted. 27827 description: Vote represents a vote for a proposal. 27828 description: QueryVoteResponse is the Query/Vote response type. 27829 default: 27830 description: An unexpected error response 27831 schema: 27832 type: object 27833 properties: 27834 error: 27835 type: string 27836 code: 27837 type: integer 27838 format: int32 27839 message: 27840 type: string 27841 details: 27842 type: array 27843 items: 27844 type: object 27845 properties: 27846 type_url: 27847 type: string 27848 description: >- 27849 A URL/resource name that uniquely identifies the type of 27850 the serialized 27851 27852 protocol buffer message. This string must contain at 27853 least 27854 27855 one "/" character. The last segment of the URL's path 27856 must represent 27857 27858 the fully qualified name of the type (as in 27859 27860 `path/google.protobuf.Duration`). The name should be in 27861 a canonical form 27862 27863 (e.g., leading "." is not accepted). 27864 27865 27866 In practice, teams usually precompile into the binary 27867 all types that they 27868 27869 expect it to use in the context of Any. However, for 27870 URLs which use the 27871 27872 scheme `http`, `https`, or no scheme, one can optionally 27873 set up a type 27874 27875 server that maps type URLs to message definitions as 27876 follows: 27877 27878 27879 * If no scheme is provided, `https` is assumed. 27880 27881 * An HTTP GET on the URL must yield a 27882 [google.protobuf.Type][] 27883 value in binary format, or produce an error. 27884 * Applications are allowed to cache lookup results based 27885 on the 27886 URL, or have them precompiled into a binary to avoid any 27887 lookup. Therefore, binary compatibility needs to be preserved 27888 on changes to types. (Use versioned type names to manage 27889 breaking changes.) 27890 27891 Note: this functionality is not currently available in 27892 the official 27893 27894 protobuf release, and it is not used for type URLs 27895 beginning with 27896 27897 type.googleapis.com. 27898 27899 27900 Schemes other than `http`, `https` (or the empty scheme) 27901 might be 27902 27903 used with implementation specific semantics. 27904 value: 27905 type: string 27906 format: byte 27907 description: >- 27908 Must be a valid serialized protocol buffer of the above 27909 specified type. 27910 description: >- 27911 `Any` contains an arbitrary serialized protocol buffer 27912 message along with a 27913 27914 URL that describes the type of the serialized message. 27915 27916 27917 Protobuf library provides support to pack/unpack Any values 27918 in the form 27919 27920 of utility functions or additional generated methods of the 27921 Any type. 27922 27923 27924 Example 1: Pack and unpack a message in C++. 27925 27926 Foo foo = ...; 27927 Any any; 27928 any.PackFrom(foo); 27929 ... 27930 if (any.UnpackTo(&foo)) { 27931 ... 27932 } 27933 27934 Example 2: Pack and unpack a message in Java. 27935 27936 Foo foo = ...; 27937 Any any = Any.pack(foo); 27938 ... 27939 if (any.is(Foo.class)) { 27940 foo = any.unpack(Foo.class); 27941 } 27942 27943 Example 3: Pack and unpack a message in Python. 27944 27945 foo = Foo(...) 27946 any = Any() 27947 any.Pack(foo) 27948 ... 27949 if any.Is(Foo.DESCRIPTOR): 27950 any.Unpack(foo) 27951 ... 27952 27953 Example 4: Pack and unpack a message in Go 27954 27955 foo := &pb.Foo{...} 27956 any, err := ptypes.MarshalAny(foo) 27957 ... 27958 foo := &pb.Foo{} 27959 if err := ptypes.UnmarshalAny(any, foo); err != nil { 27960 ... 27961 } 27962 27963 The pack methods provided by protobuf library will by 27964 default use 27965 27966 'type.googleapis.com/full.type.name' as the type URL and the 27967 unpack 27968 27969 methods only use the fully qualified type name after the 27970 last '/' 27971 27972 in the type URL, for example "foo.bar.com/x/y.z" will yield 27973 type 27974 27975 name "y.z". 27976 27977 27978 27979 JSON 27980 27981 ==== 27982 27983 The JSON representation of an `Any` value uses the regular 27984 27985 representation of the deserialized, embedded message, with 27986 an 27987 27988 additional field `@type` which contains the type URL. 27989 Example: 27990 27991 package google.profile; 27992 message Person { 27993 string first_name = 1; 27994 string last_name = 2; 27995 } 27996 27997 { 27998 "@type": "type.googleapis.com/google.profile.Person", 27999 "firstName": <string>, 28000 "lastName": <string> 28001 } 28002 28003 If the embedded message type is well-known and has a custom 28004 JSON 28005 28006 representation, that representation will be embedded adding 28007 a field 28008 28009 `value` which holds the custom JSON in addition to the 28010 `@type` 28011 28012 field. Example (for message [google.protobuf.Duration][]): 28013 28014 { 28015 "@type": "type.googleapis.com/google.protobuf.Duration", 28016 "value": "1.212s" 28017 } 28018 parameters: 28019 - name: proposal_id 28020 description: proposal_id is the unique ID of a proposal. 28021 in: path 28022 required: true 28023 type: string 28024 format: uint64 28025 - name: voter 28026 description: voter is a proposal voter account address. 28027 in: path 28028 required: true 28029 type: string 28030 tags: 28031 - Query 28032 /lbm/foundation/v1/treasury: 28033 get: 28034 summary: Treasury queries the foundation treasury. 28035 operationId: Treasury 28036 responses: 28037 '200': 28038 description: A successful response. 28039 schema: 28040 type: object 28041 properties: 28042 amount: 28043 type: array 28044 items: 28045 type: object 28046 properties: 28047 denom: 28048 type: string 28049 amount: 28050 type: string 28051 description: >- 28052 DecCoin defines a token with a denomination and a decimal 28053 amount. 28054 28055 28056 NOTE: The amount field is an Dec which implements the custom 28057 method 28058 28059 signatures required by gogoproto. 28060 description: |- 28061 QueryTreasuryResponse is the response type for the 28062 Query/Treasury RPC method. 28063 default: 28064 description: An unexpected error response 28065 schema: 28066 type: object 28067 properties: 28068 error: 28069 type: string 28070 code: 28071 type: integer 28072 format: int32 28073 message: 28074 type: string 28075 details: 28076 type: array 28077 items: 28078 type: object 28079 properties: 28080 type_url: 28081 type: string 28082 description: >- 28083 A URL/resource name that uniquely identifies the type of 28084 the serialized 28085 28086 protocol buffer message. This string must contain at 28087 least 28088 28089 one "/" character. The last segment of the URL's path 28090 must represent 28091 28092 the fully qualified name of the type (as in 28093 28094 `path/google.protobuf.Duration`). The name should be in 28095 a canonical form 28096 28097 (e.g., leading "." is not accepted). 28098 28099 28100 In practice, teams usually precompile into the binary 28101 all types that they 28102 28103 expect it to use in the context of Any. However, for 28104 URLs which use the 28105 28106 scheme `http`, `https`, or no scheme, one can optionally 28107 set up a type 28108 28109 server that maps type URLs to message definitions as 28110 follows: 28111 28112 28113 * If no scheme is provided, `https` is assumed. 28114 28115 * An HTTP GET on the URL must yield a 28116 [google.protobuf.Type][] 28117 value in binary format, or produce an error. 28118 * Applications are allowed to cache lookup results based 28119 on the 28120 URL, or have them precompiled into a binary to avoid any 28121 lookup. Therefore, binary compatibility needs to be preserved 28122 on changes to types. (Use versioned type names to manage 28123 breaking changes.) 28124 28125 Note: this functionality is not currently available in 28126 the official 28127 28128 protobuf release, and it is not used for type URLs 28129 beginning with 28130 28131 type.googleapis.com. 28132 28133 28134 Schemes other than `http`, `https` (or the empty scheme) 28135 might be 28136 28137 used with implementation specific semantics. 28138 value: 28139 type: string 28140 format: byte 28141 description: >- 28142 Must be a valid serialized protocol buffer of the above 28143 specified type. 28144 description: >- 28145 `Any` contains an arbitrary serialized protocol buffer 28146 message along with a 28147 28148 URL that describes the type of the serialized message. 28149 28150 28151 Protobuf library provides support to pack/unpack Any values 28152 in the form 28153 28154 of utility functions or additional generated methods of the 28155 Any type. 28156 28157 28158 Example 1: Pack and unpack a message in C++. 28159 28160 Foo foo = ...; 28161 Any any; 28162 any.PackFrom(foo); 28163 ... 28164 if (any.UnpackTo(&foo)) { 28165 ... 28166 } 28167 28168 Example 2: Pack and unpack a message in Java. 28169 28170 Foo foo = ...; 28171 Any any = Any.pack(foo); 28172 ... 28173 if (any.is(Foo.class)) { 28174 foo = any.unpack(Foo.class); 28175 } 28176 28177 Example 3: Pack and unpack a message in Python. 28178 28179 foo = Foo(...) 28180 any = Any() 28181 any.Pack(foo) 28182 ... 28183 if any.Is(Foo.DESCRIPTOR): 28184 any.Unpack(foo) 28185 ... 28186 28187 Example 4: Pack and unpack a message in Go 28188 28189 foo := &pb.Foo{...} 28190 any, err := ptypes.MarshalAny(foo) 28191 ... 28192 foo := &pb.Foo{} 28193 if err := ptypes.UnmarshalAny(any, foo); err != nil { 28194 ... 28195 } 28196 28197 The pack methods provided by protobuf library will by 28198 default use 28199 28200 'type.googleapis.com/full.type.name' as the type URL and the 28201 unpack 28202 28203 methods only use the fully qualified type name after the 28204 last '/' 28205 28206 in the type URL, for example "foo.bar.com/x/y.z" will yield 28207 type 28208 28209 name "y.z". 28210 28211 28212 28213 JSON 28214 28215 ==== 28216 28217 The JSON representation of an `Any` value uses the regular 28218 28219 representation of the deserialized, embedded message, with 28220 an 28221 28222 additional field `@type` which contains the type URL. 28223 Example: 28224 28225 package google.profile; 28226 message Person { 28227 string first_name = 1; 28228 string last_name = 2; 28229 } 28230 28231 { 28232 "@type": "type.googleapis.com/google.profile.Person", 28233 "firstName": <string>, 28234 "lastName": <string> 28235 } 28236 28237 If the embedded message type is well-known and has a custom 28238 JSON 28239 28240 representation, that representation will be embedded adding 28241 a field 28242 28243 `value` which holds the custom JSON in addition to the 28244 `@type` 28245 28246 field. Example (for message [google.protobuf.Duration][]): 28247 28248 { 28249 "@type": "type.googleapis.com/google.protobuf.Duration", 28250 "value": "1.212s" 28251 } 28252 tags: 28253 - Query 28254 '/lbm/token/v1/token_classes/{contract_id}': 28255 get: 28256 summary: Contract queries an token metadata based on its contract id. 28257 operationId: TokenContract 28258 responses: 28259 '200': 28260 description: A successful response. 28261 schema: 28262 type: object 28263 properties: 28264 contract: 28265 type: object 28266 properties: 28267 id: 28268 type: string 28269 description: id defines the unique identifier of the contract. 28270 name: 28271 type: string 28272 description: >- 28273 name defines the human-readable name of the contract. 28274 mandatory (not ERC20 compliant). 28275 symbol: 28276 type: string 28277 description: >- 28278 symbol is an abbreviated name for contract. mandatory (not 28279 ERC20 compliant). 28280 uri: 28281 type: string 28282 description: an uri for the image of the contract stored off chain. 28283 meta: 28284 type: string 28285 description: meta is a brief description of contract. 28286 decimals: 28287 type: integer 28288 format: int32 28289 description: >- 28290 decimals is the number of decimals which one must divide 28291 the amount by to get its user representation. 28292 mintable: 28293 type: boolean 28294 format: boolean 28295 description: >- 28296 mintable represents whether the token is allowed to mint 28297 or burn. 28298 description: Contract defines token information. 28299 title: >- 28300 QueryContractResponse is the response type for the Query/Contract 28301 RPC method 28302 default: 28303 description: An unexpected error response 28304 schema: 28305 type: object 28306 properties: 28307 error: 28308 type: string 28309 code: 28310 type: integer 28311 format: int32 28312 message: 28313 type: string 28314 details: 28315 type: array 28316 items: 28317 type: object 28318 properties: 28319 type_url: 28320 type: string 28321 value: 28322 type: string 28323 format: byte 28324 parameters: 28325 - name: contract_id 28326 description: contract id associated with the contract. 28327 in: path 28328 required: true 28329 type: string 28330 tags: 28331 - Query 28332 '/lbm/token/v1/token_classes/{contract_id}/balances/{address}': 28333 get: 28334 summary: >- 28335 Balance queries the number of tokens of a given contract owned by the 28336 address. 28337 operationId: TokenBalance 28338 responses: 28339 '200': 28340 description: A successful response. 28341 schema: 28342 type: object 28343 properties: 28344 amount: 28345 type: string 28346 description: the balance of the tokens. 28347 title: >- 28348 QueryBalanceResponse is the response type for the Query/Balance 28349 RPC method 28350 default: 28351 description: An unexpected error response 28352 schema: 28353 type: object 28354 properties: 28355 error: 28356 type: string 28357 code: 28358 type: integer 28359 format: int32 28360 message: 28361 type: string 28362 details: 28363 type: array 28364 items: 28365 type: object 28366 properties: 28367 type_url: 28368 type: string 28369 value: 28370 type: string 28371 format: byte 28372 parameters: 28373 - name: contract_id 28374 description: contract id associated with the contract. 28375 in: path 28376 required: true 28377 type: string 28378 - name: address 28379 description: address is the address to query balance for. 28380 in: path 28381 required: true 28382 type: string 28383 tags: 28384 - Query 28385 '/lbm/token/v1/token_classes/{contract_id}/burnt': 28386 get: 28387 summary: Burnt queries the number of burnt tokens from the given contract id. 28388 operationId: TokenBurnt 28389 responses: 28390 '200': 28391 description: A successful response. 28392 schema: 28393 type: object 28394 properties: 28395 amount: 28396 type: string 28397 description: the amount of the burnt tokens. 28398 title: >- 28399 QueryBurntResponse is the response type for the Query/Burnt RPC 28400 method 28401 default: 28402 description: An unexpected error response 28403 schema: 28404 type: object 28405 properties: 28406 error: 28407 type: string 28408 code: 28409 type: integer 28410 format: int32 28411 message: 28412 type: string 28413 details: 28414 type: array 28415 items: 28416 type: object 28417 properties: 28418 type_url: 28419 type: string 28420 value: 28421 type: string 28422 format: byte 28423 parameters: 28424 - name: contract_id 28425 description: contract id associated with the contract. 28426 in: path 28427 required: true 28428 type: string 28429 tags: 28430 - Query 28431 '/lbm/token/v1/token_classes/{contract_id}/grants/{grantee}': 28432 get: 28433 summary: GranteeGrants queries permissions on a given grantee. 28434 operationId: TokenGranteeGrants 28435 responses: 28436 '200': 28437 description: A successful response. 28438 schema: 28439 type: object 28440 properties: 28441 grants: 28442 type: array 28443 items: 28444 type: object 28445 properties: 28446 grantee: 28447 type: string 28448 description: address of the grantee. 28449 permission: 28450 description: permission on the contract. 28451 type: string 28452 enum: 28453 - PERMISSION_UNSPECIFIED 28454 - PERMISSION_MODIFY 28455 - PERMISSION_MINT 28456 - PERMISSION_BURN 28457 default: PERMISSION_UNSPECIFIED 28458 description: Grant defines permission given to a grantee. 28459 description: all the grants on the grantee. 28460 pagination: 28461 description: pagination defines the pagination in the response. 28462 type: object 28463 properties: 28464 next_key: 28465 type: string 28466 format: byte 28467 title: |- 28468 next_key is the key to be passed to PageRequest.key to 28469 query the next page most efficiently 28470 total: 28471 type: string 28472 format: uint64 28473 title: >- 28474 total is total number of results available if 28475 PageRequest.count_total 28476 28477 was set, its value is undefined otherwise 28478 title: >- 28479 QueryGranteeGrantsResponse is the response type for the 28480 Query/GranteeGrants RPC method 28481 default: 28482 description: An unexpected error response 28483 schema: 28484 type: object 28485 properties: 28486 error: 28487 type: string 28488 code: 28489 type: integer 28490 format: int32 28491 message: 28492 type: string 28493 details: 28494 type: array 28495 items: 28496 type: object 28497 properties: 28498 type_url: 28499 type: string 28500 value: 28501 type: string 28502 format: byte 28503 parameters: 28504 - name: contract_id 28505 description: contract id associated with the contract. 28506 in: path 28507 required: true 28508 type: string 28509 - name: grantee 28510 description: grantee which has permissions on the contract. 28511 in: path 28512 required: true 28513 type: string 28514 - name: pagination.key 28515 description: |- 28516 key is a value returned in PageResponse.next_key to begin 28517 querying the next page most efficiently. Only one of offset or key 28518 should be set. 28519 in: query 28520 required: false 28521 type: string 28522 format: byte 28523 - name: pagination.offset 28524 description: >- 28525 offset is a numeric offset that can be used when key is unavailable. 28526 28527 It is less efficient than using key. Only one of offset or key 28528 should 28529 28530 be set. 28531 in: query 28532 required: false 28533 type: string 28534 format: uint64 28535 - name: pagination.limit 28536 description: >- 28537 limit is the total number of results to be returned in the result 28538 page. 28539 28540 If left empty it will default to a value to be set by each app. 28541 in: query 28542 required: false 28543 type: string 28544 format: uint64 28545 - name: pagination.count_total 28546 description: >- 28547 count_total is set to true to indicate that the result set should 28548 include 28549 28550 a count of the total number of items available for pagination in 28551 UIs. 28552 28553 count_total is only respected when offset is used. It is ignored 28554 when key 28555 28556 is set. 28557 in: query 28558 required: false 28559 type: boolean 28560 format: boolean 28561 - name: pagination.reverse 28562 description: >- 28563 reverse is set to true if results are to be returned in the 28564 descending order. 28565 28566 28567 Since: cosmos-sdk 0.43 28568 in: query 28569 required: false 28570 type: boolean 28571 format: boolean 28572 tags: 28573 - Query 28574 '/lbm/token/v1/token_classes/{contract_id}/minted': 28575 get: 28576 summary: Minted queries the number of minted tokens from the given contract id. 28577 operationId: TokenMinted 28578 responses: 28579 '200': 28580 description: A successful response. 28581 schema: 28582 type: object 28583 properties: 28584 amount: 28585 type: string 28586 description: the amount of the minted tokens. 28587 title: >- 28588 QueryMintedResponse is the response type for the Query/Minted RPC 28589 method 28590 default: 28591 description: An unexpected error response 28592 schema: 28593 type: object 28594 properties: 28595 error: 28596 type: string 28597 code: 28598 type: integer 28599 format: int32 28600 message: 28601 type: string 28602 details: 28603 type: array 28604 items: 28605 type: object 28606 properties: 28607 type_url: 28608 type: string 28609 value: 28610 type: string 28611 format: byte 28612 parameters: 28613 - name: contract_id 28614 description: contract id associated with the contract. 28615 in: path 28616 required: true 28617 type: string 28618 tags: 28619 - Query 28620 '/lbm/token/v1/token_classes/{contract_id}/supply': 28621 get: 28622 summary: Supply queries the number of tokens from the given contract id. 28623 operationId: TokenSupply 28624 responses: 28625 '200': 28626 description: A successful response. 28627 schema: 28628 type: object 28629 properties: 28630 amount: 28631 type: string 28632 description: the supply of the tokens. 28633 title: >- 28634 QuerySupplyResponse is the response type for the Query/Supply RPC 28635 method 28636 default: 28637 description: An unexpected error response 28638 schema: 28639 type: object 28640 properties: 28641 error: 28642 type: string 28643 code: 28644 type: integer 28645 format: int32 28646 message: 28647 type: string 28648 details: 28649 type: array 28650 items: 28651 type: object 28652 properties: 28653 type_url: 28654 type: string 28655 value: 28656 type: string 28657 format: byte 28658 parameters: 28659 - name: contract_id 28660 description: contract id associated with the contract. 28661 in: path 28662 required: true 28663 type: string 28664 tags: 28665 - Query 28666 '/lbm/collection/v1/contracts/{contract_id}': 28667 get: 28668 summary: Contract queries a contract metadata based on its contract id. 28669 operationId: CollectionContract 28670 responses: 28671 '200': 28672 description: A successful response. 28673 schema: 28674 type: object 28675 properties: 28676 contract: 28677 description: contract is the information of the contract. 28678 type: object 28679 properties: 28680 id: 28681 type: string 28682 description: contract_id defines the unique identifier of the contract. 28683 name: 28684 type: string 28685 description: name defines the human-readable name of the contract. 28686 meta: 28687 type: string 28688 description: meta is a brief description of the contract. 28689 uri: 28690 type: string 28691 description: uri for the contract image stored off chain. 28692 description: >- 28693 QueryContractResponse is the response type for the Query/Contract 28694 RPC method. 28695 default: 28696 description: An unexpected error response 28697 schema: 28698 type: object 28699 properties: 28700 error: 28701 type: string 28702 code: 28703 type: integer 28704 format: int32 28705 message: 28706 type: string 28707 details: 28708 type: array 28709 items: 28710 type: object 28711 properties: 28712 type_url: 28713 type: string 28714 description: >- 28715 A URL/resource name that uniquely identifies the type of 28716 the serialized 28717 28718 protocol buffer message. This string must contain at 28719 least 28720 28721 one "/" character. The last segment of the URL's path 28722 must represent 28723 28724 the fully qualified name of the type (as in 28725 28726 `path/google.protobuf.Duration`). The name should be in 28727 a canonical form 28728 28729 (e.g., leading "." is not accepted). 28730 28731 28732 In practice, teams usually precompile into the binary 28733 all types that they 28734 28735 expect it to use in the context of Any. However, for 28736 URLs which use the 28737 28738 scheme `http`, `https`, or no scheme, one can optionally 28739 set up a type 28740 28741 server that maps type URLs to message definitions as 28742 follows: 28743 28744 28745 * If no scheme is provided, `https` is assumed. 28746 28747 * An HTTP GET on the URL must yield a 28748 [google.protobuf.Type][] 28749 value in binary format, or produce an error. 28750 * Applications are allowed to cache lookup results based 28751 on the 28752 URL, or have them precompiled into a binary to avoid any 28753 lookup. Therefore, binary compatibility needs to be preserved 28754 on changes to types. (Use versioned type names to manage 28755 breaking changes.) 28756 28757 Note: this functionality is not currently available in 28758 the official 28759 28760 protobuf release, and it is not used for type URLs 28761 beginning with 28762 28763 type.googleapis.com. 28764 28765 28766 Schemes other than `http`, `https` (or the empty scheme) 28767 might be 28768 28769 used with implementation specific semantics. 28770 value: 28771 type: string 28772 format: byte 28773 description: >- 28774 Must be a valid serialized protocol buffer of the above 28775 specified type. 28776 description: >- 28777 `Any` contains an arbitrary serialized protocol buffer 28778 message along with a 28779 28780 URL that describes the type of the serialized message. 28781 28782 28783 Protobuf library provides support to pack/unpack Any values 28784 in the form 28785 28786 of utility functions or additional generated methods of the 28787 Any type. 28788 28789 28790 Example 1: Pack and unpack a message in C++. 28791 28792 Foo foo = ...; 28793 Any any; 28794 any.PackFrom(foo); 28795 ... 28796 if (any.UnpackTo(&foo)) { 28797 ... 28798 } 28799 28800 Example 2: Pack and unpack a message in Java. 28801 28802 Foo foo = ...; 28803 Any any = Any.pack(foo); 28804 ... 28805 if (any.is(Foo.class)) { 28806 foo = any.unpack(Foo.class); 28807 } 28808 28809 Example 3: Pack and unpack a message in Python. 28810 28811 foo = Foo(...) 28812 any = Any() 28813 any.Pack(foo) 28814 ... 28815 if any.Is(Foo.DESCRIPTOR): 28816 any.Unpack(foo) 28817 ... 28818 28819 Example 4: Pack and unpack a message in Go 28820 28821 foo := &pb.Foo{...} 28822 any, err := ptypes.MarshalAny(foo) 28823 ... 28824 foo := &pb.Foo{} 28825 if err := ptypes.UnmarshalAny(any, foo); err != nil { 28826 ... 28827 } 28828 28829 The pack methods provided by protobuf library will by 28830 default use 28831 28832 'type.googleapis.com/full.type.name' as the type URL and the 28833 unpack 28834 28835 methods only use the fully qualified type name after the 28836 last '/' 28837 28838 in the type URL, for example "foo.bar.com/x/y.z" will yield 28839 type 28840 28841 name "y.z". 28842 28843 28844 28845 JSON 28846 28847 ==== 28848 28849 The JSON representation of an `Any` value uses the regular 28850 28851 representation of the deserialized, embedded message, with 28852 an 28853 28854 additional field `@type` which contains the type URL. 28855 Example: 28856 28857 package google.profile; 28858 message Person { 28859 string first_name = 1; 28860 string last_name = 2; 28861 } 28862 28863 { 28864 "@type": "type.googleapis.com/google.profile.Person", 28865 "firstName": <string>, 28866 "lastName": <string> 28867 } 28868 28869 If the embedded message type is well-known and has a custom 28870 JSON 28871 28872 representation, that representation will be embedded adding 28873 a field 28874 28875 `value` which holds the custom JSON in addition to the 28876 `@type` 28877 28878 field. Example (for message [google.protobuf.Duration][]): 28879 28880 { 28881 "@type": "type.googleapis.com/google.protobuf.Duration", 28882 "value": "1.212s" 28883 } 28884 parameters: 28885 - name: contract_id 28886 description: contract id associated with the contract. 28887 in: path 28888 required: true 28889 type: string 28890 tags: 28891 - Query 28892 '/lbm/collection/v1/contracts/{contract_id}/balances/{address}': 28893 get: 28894 summary: >- 28895 AllBalances queries the balance of all token classes for a single 28896 account. 28897 operationId: CollectionAllBalances 28898 responses: 28899 '200': 28900 description: A successful response. 28901 schema: 28902 type: object 28903 properties: 28904 balances: 28905 type: array 28906 items: 28907 type: object 28908 properties: 28909 token_id: 28910 type: string 28911 description: token id associated with the token. 28912 amount: 28913 type: string 28914 description: amount of the token. 28915 description: Coin defines a token with a token id and an amount. 28916 description: balances is the balalces of all the tokens. 28917 pagination: 28918 description: pagination defines the pagination in the response. 28919 type: object 28920 properties: 28921 next_key: 28922 type: string 28923 format: byte 28924 title: |- 28925 next_key is the key to be passed to PageRequest.key to 28926 query the next page most efficiently 28927 total: 28928 type: string 28929 format: uint64 28930 title: >- 28931 total is total number of results available if 28932 PageRequest.count_total 28933 28934 was set, its value is undefined otherwise 28935 description: >- 28936 QueryAllBalancesResponse is the response type for the 28937 Query/AllBalances RPC method. 28938 default: 28939 description: An unexpected error response 28940 schema: 28941 type: object 28942 properties: 28943 error: 28944 type: string 28945 code: 28946 type: integer 28947 format: int32 28948 message: 28949 type: string 28950 details: 28951 type: array 28952 items: 28953 type: object 28954 properties: 28955 type_url: 28956 type: string 28957 description: >- 28958 A URL/resource name that uniquely identifies the type of 28959 the serialized 28960 28961 protocol buffer message. This string must contain at 28962 least 28963 28964 one "/" character. The last segment of the URL's path 28965 must represent 28966 28967 the fully qualified name of the type (as in 28968 28969 `path/google.protobuf.Duration`). The name should be in 28970 a canonical form 28971 28972 (e.g., leading "." is not accepted). 28973 28974 28975 In practice, teams usually precompile into the binary 28976 all types that they 28977 28978 expect it to use in the context of Any. However, for 28979 URLs which use the 28980 28981 scheme `http`, `https`, or no scheme, one can optionally 28982 set up a type 28983 28984 server that maps type URLs to message definitions as 28985 follows: 28986 28987 28988 * If no scheme is provided, `https` is assumed. 28989 28990 * An HTTP GET on the URL must yield a 28991 [google.protobuf.Type][] 28992 value in binary format, or produce an error. 28993 * Applications are allowed to cache lookup results based 28994 on the 28995 URL, or have them precompiled into a binary to avoid any 28996 lookup. Therefore, binary compatibility needs to be preserved 28997 on changes to types. (Use versioned type names to manage 28998 breaking changes.) 28999 29000 Note: this functionality is not currently available in 29001 the official 29002 29003 protobuf release, and it is not used for type URLs 29004 beginning with 29005 29006 type.googleapis.com. 29007 29008 29009 Schemes other than `http`, `https` (or the empty scheme) 29010 might be 29011 29012 used with implementation specific semantics. 29013 value: 29014 type: string 29015 format: byte 29016 description: >- 29017 Must be a valid serialized protocol buffer of the above 29018 specified type. 29019 description: >- 29020 `Any` contains an arbitrary serialized protocol buffer 29021 message along with a 29022 29023 URL that describes the type of the serialized message. 29024 29025 29026 Protobuf library provides support to pack/unpack Any values 29027 in the form 29028 29029 of utility functions or additional generated methods of the 29030 Any type. 29031 29032 29033 Example 1: Pack and unpack a message in C++. 29034 29035 Foo foo = ...; 29036 Any any; 29037 any.PackFrom(foo); 29038 ... 29039 if (any.UnpackTo(&foo)) { 29040 ... 29041 } 29042 29043 Example 2: Pack and unpack a message in Java. 29044 29045 Foo foo = ...; 29046 Any any = Any.pack(foo); 29047 ... 29048 if (any.is(Foo.class)) { 29049 foo = any.unpack(Foo.class); 29050 } 29051 29052 Example 3: Pack and unpack a message in Python. 29053 29054 foo = Foo(...) 29055 any = Any() 29056 any.Pack(foo) 29057 ... 29058 if any.Is(Foo.DESCRIPTOR): 29059 any.Unpack(foo) 29060 ... 29061 29062 Example 4: Pack and unpack a message in Go 29063 29064 foo := &pb.Foo{...} 29065 any, err := ptypes.MarshalAny(foo) 29066 ... 29067 foo := &pb.Foo{} 29068 if err := ptypes.UnmarshalAny(any, foo); err != nil { 29069 ... 29070 } 29071 29072 The pack methods provided by protobuf library will by 29073 default use 29074 29075 'type.googleapis.com/full.type.name' as the type URL and the 29076 unpack 29077 29078 methods only use the fully qualified type name after the 29079 last '/' 29080 29081 in the type URL, for example "foo.bar.com/x/y.z" will yield 29082 type 29083 29084 name "y.z". 29085 29086 29087 29088 JSON 29089 29090 ==== 29091 29092 The JSON representation of an `Any` value uses the regular 29093 29094 representation of the deserialized, embedded message, with 29095 an 29096 29097 additional field `@type` which contains the type URL. 29098 Example: 29099 29100 package google.profile; 29101 message Person { 29102 string first_name = 1; 29103 string last_name = 2; 29104 } 29105 29106 { 29107 "@type": "type.googleapis.com/google.profile.Person", 29108 "firstName": <string>, 29109 "lastName": <string> 29110 } 29111 29112 If the embedded message type is well-known and has a custom 29113 JSON 29114 29115 representation, that representation will be embedded adding 29116 a field 29117 29118 `value` which holds the custom JSON in addition to the 29119 `@type` 29120 29121 field. Example (for message [google.protobuf.Duration][]): 29122 29123 { 29124 "@type": "type.googleapis.com/google.protobuf.Duration", 29125 "value": "1.212s" 29126 } 29127 parameters: 29128 - name: contract_id 29129 description: contract id associated with the contract. 29130 in: path 29131 required: true 29132 type: string 29133 - name: address 29134 description: address is the address to query the balances for. 29135 in: path 29136 required: true 29137 type: string 29138 - name: pagination.key 29139 description: |- 29140 key is a value returned in PageResponse.next_key to begin 29141 querying the next page most efficiently. Only one of offset or key 29142 should be set. 29143 in: query 29144 required: false 29145 type: string 29146 format: byte 29147 - name: pagination.offset 29148 description: >- 29149 offset is a numeric offset that can be used when key is unavailable. 29150 29151 It is less efficient than using key. Only one of offset or key 29152 should 29153 29154 be set. 29155 in: query 29156 required: false 29157 type: string 29158 format: uint64 29159 - name: pagination.limit 29160 description: >- 29161 limit is the total number of results to be returned in the result 29162 page. 29163 29164 If left empty it will default to a value to be set by each app. 29165 in: query 29166 required: false 29167 type: string 29168 format: uint64 29169 - name: pagination.count_total 29170 description: >- 29171 count_total is set to true to indicate that the result set should 29172 include 29173 29174 a count of the total number of items available for pagination in 29175 UIs. 29176 29177 count_total is only respected when offset is used. It is ignored 29178 when key 29179 29180 is set. 29181 in: query 29182 required: false 29183 type: boolean 29184 format: boolean 29185 - name: pagination.reverse 29186 description: >- 29187 reverse is set to true if results are to be returned in the 29188 descending order. 29189 29190 29191 Since: cosmos-sdk 0.43 29192 in: query 29193 required: false 29194 type: boolean 29195 format: boolean 29196 tags: 29197 - Query 29198 '/lbm/collection/v1/contracts/{contract_id}/balances/{address}/{token_id}': 29199 get: 29200 summary: >- 29201 Balance queries the balance of a single token class for a single 29202 account. 29203 operationId: CollectionBalance 29204 responses: 29205 '200': 29206 description: A successful response. 29207 schema: 29208 type: object 29209 properties: 29210 balance: 29211 type: object 29212 properties: 29213 token_id: 29214 type: string 29215 description: token id associated with the token. 29216 amount: 29217 type: string 29218 description: amount of the token. 29219 description: Coin defines a token with a token id and an amount. 29220 description: >- 29221 QueryBalanceResponse is the response type for the Query/Balance 29222 RPC method. 29223 default: 29224 description: An unexpected error response 29225 schema: 29226 type: object 29227 properties: 29228 error: 29229 type: string 29230 code: 29231 type: integer 29232 format: int32 29233 message: 29234 type: string 29235 details: 29236 type: array 29237 items: 29238 type: object 29239 properties: 29240 type_url: 29241 type: string 29242 description: >- 29243 A URL/resource name that uniquely identifies the type of 29244 the serialized 29245 29246 protocol buffer message. This string must contain at 29247 least 29248 29249 one "/" character. The last segment of the URL's path 29250 must represent 29251 29252 the fully qualified name of the type (as in 29253 29254 `path/google.protobuf.Duration`). The name should be in 29255 a canonical form 29256 29257 (e.g., leading "." is not accepted). 29258 29259 29260 In practice, teams usually precompile into the binary 29261 all types that they 29262 29263 expect it to use in the context of Any. However, for 29264 URLs which use the 29265 29266 scheme `http`, `https`, or no scheme, one can optionally 29267 set up a type 29268 29269 server that maps type URLs to message definitions as 29270 follows: 29271 29272 29273 * If no scheme is provided, `https` is assumed. 29274 29275 * An HTTP GET on the URL must yield a 29276 [google.protobuf.Type][] 29277 value in binary format, or produce an error. 29278 * Applications are allowed to cache lookup results based 29279 on the 29280 URL, or have them precompiled into a binary to avoid any 29281 lookup. Therefore, binary compatibility needs to be preserved 29282 on changes to types. (Use versioned type names to manage 29283 breaking changes.) 29284 29285 Note: this functionality is not currently available in 29286 the official 29287 29288 protobuf release, and it is not used for type URLs 29289 beginning with 29290 29291 type.googleapis.com. 29292 29293 29294 Schemes other than `http`, `https` (or the empty scheme) 29295 might be 29296 29297 used with implementation specific semantics. 29298 value: 29299 type: string 29300 format: byte 29301 description: >- 29302 Must be a valid serialized protocol buffer of the above 29303 specified type. 29304 description: >- 29305 `Any` contains an arbitrary serialized protocol buffer 29306 message along with a 29307 29308 URL that describes the type of the serialized message. 29309 29310 29311 Protobuf library provides support to pack/unpack Any values 29312 in the form 29313 29314 of utility functions or additional generated methods of the 29315 Any type. 29316 29317 29318 Example 1: Pack and unpack a message in C++. 29319 29320 Foo foo = ...; 29321 Any any; 29322 any.PackFrom(foo); 29323 ... 29324 if (any.UnpackTo(&foo)) { 29325 ... 29326 } 29327 29328 Example 2: Pack and unpack a message in Java. 29329 29330 Foo foo = ...; 29331 Any any = Any.pack(foo); 29332 ... 29333 if (any.is(Foo.class)) { 29334 foo = any.unpack(Foo.class); 29335 } 29336 29337 Example 3: Pack and unpack a message in Python. 29338 29339 foo = Foo(...) 29340 any = Any() 29341 any.Pack(foo) 29342 ... 29343 if any.Is(Foo.DESCRIPTOR): 29344 any.Unpack(foo) 29345 ... 29346 29347 Example 4: Pack and unpack a message in Go 29348 29349 foo := &pb.Foo{...} 29350 any, err := ptypes.MarshalAny(foo) 29351 ... 29352 foo := &pb.Foo{} 29353 if err := ptypes.UnmarshalAny(any, foo); err != nil { 29354 ... 29355 } 29356 29357 The pack methods provided by protobuf library will by 29358 default use 29359 29360 'type.googleapis.com/full.type.name' as the type URL and the 29361 unpack 29362 29363 methods only use the fully qualified type name after the 29364 last '/' 29365 29366 in the type URL, for example "foo.bar.com/x/y.z" will yield 29367 type 29368 29369 name "y.z". 29370 29371 29372 29373 JSON 29374 29375 ==== 29376 29377 The JSON representation of an `Any` value uses the regular 29378 29379 representation of the deserialized, embedded message, with 29380 an 29381 29382 additional field `@type` which contains the type URL. 29383 Example: 29384 29385 package google.profile; 29386 message Person { 29387 string first_name = 1; 29388 string last_name = 2; 29389 } 29390 29391 { 29392 "@type": "type.googleapis.com/google.profile.Person", 29393 "firstName": <string>, 29394 "lastName": <string> 29395 } 29396 29397 If the embedded message type is well-known and has a custom 29398 JSON 29399 29400 representation, that representation will be embedded adding 29401 a field 29402 29403 `value` which holds the custom JSON in addition to the 29404 `@type` 29405 29406 field. Example (for message [google.protobuf.Duration][]): 29407 29408 { 29409 "@type": "type.googleapis.com/google.protobuf.Duration", 29410 "value": "1.212s" 29411 } 29412 parameters: 29413 - name: contract_id 29414 description: contract id associated with the contract. 29415 in: path 29416 required: true 29417 type: string 29418 - name: address 29419 description: address is the address to query the balance for. 29420 in: path 29421 required: true 29422 type: string 29423 - name: token_id 29424 description: token id associated with the token. 29425 in: path 29426 required: true 29427 type: string 29428 tags: 29429 - Query 29430 '/lbm/collection/v1/contracts/{contract_id}/fts/{token_id}/burnt': 29431 get: 29432 summary: >- 29433 FTBurnt queries the number of burnt tokens from a given contract id and 29434 token id. 29435 operationId: FTBurnt 29436 responses: 29437 '200': 29438 description: A successful response. 29439 schema: 29440 type: object 29441 properties: 29442 burnt: 29443 type: string 29444 description: burnt is the amount of the burnt tokens. 29445 description: >- 29446 QueryFTBurntResponse is the response type for the Query/FTBurnt 29447 RPC method. 29448 default: 29449 description: An unexpected error response 29450 schema: 29451 type: object 29452 properties: 29453 error: 29454 type: string 29455 code: 29456 type: integer 29457 format: int32 29458 message: 29459 type: string 29460 details: 29461 type: array 29462 items: 29463 type: object 29464 properties: 29465 type_url: 29466 type: string 29467 description: >- 29468 A URL/resource name that uniquely identifies the type of 29469 the serialized 29470 29471 protocol buffer message. This string must contain at 29472 least 29473 29474 one "/" character. The last segment of the URL's path 29475 must represent 29476 29477 the fully qualified name of the type (as in 29478 29479 `path/google.protobuf.Duration`). The name should be in 29480 a canonical form 29481 29482 (e.g., leading "." is not accepted). 29483 29484 29485 In practice, teams usually precompile into the binary 29486 all types that they 29487 29488 expect it to use in the context of Any. However, for 29489 URLs which use the 29490 29491 scheme `http`, `https`, or no scheme, one can optionally 29492 set up a type 29493 29494 server that maps type URLs to message definitions as 29495 follows: 29496 29497 29498 * If no scheme is provided, `https` is assumed. 29499 29500 * An HTTP GET on the URL must yield a 29501 [google.protobuf.Type][] 29502 value in binary format, or produce an error. 29503 * Applications are allowed to cache lookup results based 29504 on the 29505 URL, or have them precompiled into a binary to avoid any 29506 lookup. Therefore, binary compatibility needs to be preserved 29507 on changes to types. (Use versioned type names to manage 29508 breaking changes.) 29509 29510 Note: this functionality is not currently available in 29511 the official 29512 29513 protobuf release, and it is not used for type URLs 29514 beginning with 29515 29516 type.googleapis.com. 29517 29518 29519 Schemes other than `http`, `https` (or the empty scheme) 29520 might be 29521 29522 used with implementation specific semantics. 29523 value: 29524 type: string 29525 format: byte 29526 description: >- 29527 Must be a valid serialized protocol buffer of the above 29528 specified type. 29529 description: >- 29530 `Any` contains an arbitrary serialized protocol buffer 29531 message along with a 29532 29533 URL that describes the type of the serialized message. 29534 29535 29536 Protobuf library provides support to pack/unpack Any values 29537 in the form 29538 29539 of utility functions or additional generated methods of the 29540 Any type. 29541 29542 29543 Example 1: Pack and unpack a message in C++. 29544 29545 Foo foo = ...; 29546 Any any; 29547 any.PackFrom(foo); 29548 ... 29549 if (any.UnpackTo(&foo)) { 29550 ... 29551 } 29552 29553 Example 2: Pack and unpack a message in Java. 29554 29555 Foo foo = ...; 29556 Any any = Any.pack(foo); 29557 ... 29558 if (any.is(Foo.class)) { 29559 foo = any.unpack(Foo.class); 29560 } 29561 29562 Example 3: Pack and unpack a message in Python. 29563 29564 foo = Foo(...) 29565 any = Any() 29566 any.Pack(foo) 29567 ... 29568 if any.Is(Foo.DESCRIPTOR): 29569 any.Unpack(foo) 29570 ... 29571 29572 Example 4: Pack and unpack a message in Go 29573 29574 foo := &pb.Foo{...} 29575 any, err := ptypes.MarshalAny(foo) 29576 ... 29577 foo := &pb.Foo{} 29578 if err := ptypes.UnmarshalAny(any, foo); err != nil { 29579 ... 29580 } 29581 29582 The pack methods provided by protobuf library will by 29583 default use 29584 29585 'type.googleapis.com/full.type.name' as the type URL and the 29586 unpack 29587 29588 methods only use the fully qualified type name after the 29589 last '/' 29590 29591 in the type URL, for example "foo.bar.com/x/y.z" will yield 29592 type 29593 29594 name "y.z". 29595 29596 29597 29598 JSON 29599 29600 ==== 29601 29602 The JSON representation of an `Any` value uses the regular 29603 29604 representation of the deserialized, embedded message, with 29605 an 29606 29607 additional field `@type` which contains the type URL. 29608 Example: 29609 29610 package google.profile; 29611 message Person { 29612 string first_name = 1; 29613 string last_name = 2; 29614 } 29615 29616 { 29617 "@type": "type.googleapis.com/google.profile.Person", 29618 "firstName": <string>, 29619 "lastName": <string> 29620 } 29621 29622 If the embedded message type is well-known and has a custom 29623 JSON 29624 29625 representation, that representation will be embedded adding 29626 a field 29627 29628 `value` which holds the custom JSON in addition to the 29629 `@type` 29630 29631 field. Example (for message [google.protobuf.Duration][]): 29632 29633 { 29634 "@type": "type.googleapis.com/google.protobuf.Duration", 29635 "value": "1.212s" 29636 } 29637 parameters: 29638 - name: contract_id 29639 description: contract id associated with the contract. 29640 in: path 29641 required: true 29642 type: string 29643 - name: token_id 29644 description: token id associated with the fungible token. 29645 in: path 29646 required: true 29647 type: string 29648 tags: 29649 - Query 29650 '/lbm/collection/v1/contracts/{contract_id}/fts/{token_id}/minted': 29651 get: 29652 summary: >- 29653 FTMinted queries the number of minted tokens from a given contract id 29654 and token id. 29655 operationId: FTMinted 29656 responses: 29657 '200': 29658 description: A successful response. 29659 schema: 29660 type: object 29661 properties: 29662 minted: 29663 type: string 29664 description: minted is the amount of the minted tokens. 29665 description: >- 29666 QueryFTMintedResponse is the response type for the Query/FTMinted 29667 RPC method. 29668 default: 29669 description: An unexpected error response 29670 schema: 29671 type: object 29672 properties: 29673 error: 29674 type: string 29675 code: 29676 type: integer 29677 format: int32 29678 message: 29679 type: string 29680 details: 29681 type: array 29682 items: 29683 type: object 29684 properties: 29685 type_url: 29686 type: string 29687 description: >- 29688 A URL/resource name that uniquely identifies the type of 29689 the serialized 29690 29691 protocol buffer message. This string must contain at 29692 least 29693 29694 one "/" character. The last segment of the URL's path 29695 must represent 29696 29697 the fully qualified name of the type (as in 29698 29699 `path/google.protobuf.Duration`). The name should be in 29700 a canonical form 29701 29702 (e.g., leading "." is not accepted). 29703 29704 29705 In practice, teams usually precompile into the binary 29706 all types that they 29707 29708 expect it to use in the context of Any. However, for 29709 URLs which use the 29710 29711 scheme `http`, `https`, or no scheme, one can optionally 29712 set up a type 29713 29714 server that maps type URLs to message definitions as 29715 follows: 29716 29717 29718 * If no scheme is provided, `https` is assumed. 29719 29720 * An HTTP GET on the URL must yield a 29721 [google.protobuf.Type][] 29722 value in binary format, or produce an error. 29723 * Applications are allowed to cache lookup results based 29724 on the 29725 URL, or have them precompiled into a binary to avoid any 29726 lookup. Therefore, binary compatibility needs to be preserved 29727 on changes to types. (Use versioned type names to manage 29728 breaking changes.) 29729 29730 Note: this functionality is not currently available in 29731 the official 29732 29733 protobuf release, and it is not used for type URLs 29734 beginning with 29735 29736 type.googleapis.com. 29737 29738 29739 Schemes other than `http`, `https` (or the empty scheme) 29740 might be 29741 29742 used with implementation specific semantics. 29743 value: 29744 type: string 29745 format: byte 29746 description: >- 29747 Must be a valid serialized protocol buffer of the above 29748 specified type. 29749 description: >- 29750 `Any` contains an arbitrary serialized protocol buffer 29751 message along with a 29752 29753 URL that describes the type of the serialized message. 29754 29755 29756 Protobuf library provides support to pack/unpack Any values 29757 in the form 29758 29759 of utility functions or additional generated methods of the 29760 Any type. 29761 29762 29763 Example 1: Pack and unpack a message in C++. 29764 29765 Foo foo = ...; 29766 Any any; 29767 any.PackFrom(foo); 29768 ... 29769 if (any.UnpackTo(&foo)) { 29770 ... 29771 } 29772 29773 Example 2: Pack and unpack a message in Java. 29774 29775 Foo foo = ...; 29776 Any any = Any.pack(foo); 29777 ... 29778 if (any.is(Foo.class)) { 29779 foo = any.unpack(Foo.class); 29780 } 29781 29782 Example 3: Pack and unpack a message in Python. 29783 29784 foo = Foo(...) 29785 any = Any() 29786 any.Pack(foo) 29787 ... 29788 if any.Is(Foo.DESCRIPTOR): 29789 any.Unpack(foo) 29790 ... 29791 29792 Example 4: Pack and unpack a message in Go 29793 29794 foo := &pb.Foo{...} 29795 any, err := ptypes.MarshalAny(foo) 29796 ... 29797 foo := &pb.Foo{} 29798 if err := ptypes.UnmarshalAny(any, foo); err != nil { 29799 ... 29800 } 29801 29802 The pack methods provided by protobuf library will by 29803 default use 29804 29805 'type.googleapis.com/full.type.name' as the type URL and the 29806 unpack 29807 29808 methods only use the fully qualified type name after the 29809 last '/' 29810 29811 in the type URL, for example "foo.bar.com/x/y.z" will yield 29812 type 29813 29814 name "y.z". 29815 29816 29817 29818 JSON 29819 29820 ==== 29821 29822 The JSON representation of an `Any` value uses the regular 29823 29824 representation of the deserialized, embedded message, with 29825 an 29826 29827 additional field `@type` which contains the type URL. 29828 Example: 29829 29830 package google.profile; 29831 message Person { 29832 string first_name = 1; 29833 string last_name = 2; 29834 } 29835 29836 { 29837 "@type": "type.googleapis.com/google.profile.Person", 29838 "firstName": <string>, 29839 "lastName": <string> 29840 } 29841 29842 If the embedded message type is well-known and has a custom 29843 JSON 29844 29845 representation, that representation will be embedded adding 29846 a field 29847 29848 `value` which holds the custom JSON in addition to the 29849 `@type` 29850 29851 field. Example (for message [google.protobuf.Duration][]): 29852 29853 { 29854 "@type": "type.googleapis.com/google.protobuf.Duration", 29855 "value": "1.212s" 29856 } 29857 parameters: 29858 - name: contract_id 29859 description: contract id associated with the contract. 29860 in: path 29861 required: true 29862 type: string 29863 - name: token_id 29864 description: token id associated with the fungible token. 29865 in: path 29866 required: true 29867 type: string 29868 tags: 29869 - Query 29870 '/lbm/collection/v1/contracts/{contract_id}/fts/{token_id}/supply': 29871 get: 29872 summary: >- 29873 FTSupply queries the number of tokens from a given contract id and token 29874 id. 29875 operationId: FTSupply 29876 responses: 29877 '200': 29878 description: A successful response. 29879 schema: 29880 type: object 29881 properties: 29882 supply: 29883 type: string 29884 description: supply is the supply of the tokens. 29885 description: >- 29886 QueryFTSupplyResponse is the response type for the Query/FTSupply 29887 RPC method. 29888 default: 29889 description: An unexpected error response 29890 schema: 29891 type: object 29892 properties: 29893 error: 29894 type: string 29895 code: 29896 type: integer 29897 format: int32 29898 message: 29899 type: string 29900 details: 29901 type: array 29902 items: 29903 type: object 29904 properties: 29905 type_url: 29906 type: string 29907 description: >- 29908 A URL/resource name that uniquely identifies the type of 29909 the serialized 29910 29911 protocol buffer message. This string must contain at 29912 least 29913 29914 one "/" character. The last segment of the URL's path 29915 must represent 29916 29917 the fully qualified name of the type (as in 29918 29919 `path/google.protobuf.Duration`). The name should be in 29920 a canonical form 29921 29922 (e.g., leading "." is not accepted). 29923 29924 29925 In practice, teams usually precompile into the binary 29926 all types that they 29927 29928 expect it to use in the context of Any. However, for 29929 URLs which use the 29930 29931 scheme `http`, `https`, or no scheme, one can optionally 29932 set up a type 29933 29934 server that maps type URLs to message definitions as 29935 follows: 29936 29937 29938 * If no scheme is provided, `https` is assumed. 29939 29940 * An HTTP GET on the URL must yield a 29941 [google.protobuf.Type][] 29942 value in binary format, or produce an error. 29943 * Applications are allowed to cache lookup results based 29944 on the 29945 URL, or have them precompiled into a binary to avoid any 29946 lookup. Therefore, binary compatibility needs to be preserved 29947 on changes to types. (Use versioned type names to manage 29948 breaking changes.) 29949 29950 Note: this functionality is not currently available in 29951 the official 29952 29953 protobuf release, and it is not used for type URLs 29954 beginning with 29955 29956 type.googleapis.com. 29957 29958 29959 Schemes other than `http`, `https` (or the empty scheme) 29960 might be 29961 29962 used with implementation specific semantics. 29963 value: 29964 type: string 29965 format: byte 29966 description: >- 29967 Must be a valid serialized protocol buffer of the above 29968 specified type. 29969 description: >- 29970 `Any` contains an arbitrary serialized protocol buffer 29971 message along with a 29972 29973 URL that describes the type of the serialized message. 29974 29975 29976 Protobuf library provides support to pack/unpack Any values 29977 in the form 29978 29979 of utility functions or additional generated methods of the 29980 Any type. 29981 29982 29983 Example 1: Pack and unpack a message in C++. 29984 29985 Foo foo = ...; 29986 Any any; 29987 any.PackFrom(foo); 29988 ... 29989 if (any.UnpackTo(&foo)) { 29990 ... 29991 } 29992 29993 Example 2: Pack and unpack a message in Java. 29994 29995 Foo foo = ...; 29996 Any any = Any.pack(foo); 29997 ... 29998 if (any.is(Foo.class)) { 29999 foo = any.unpack(Foo.class); 30000 } 30001 30002 Example 3: Pack and unpack a message in Python. 30003 30004 foo = Foo(...) 30005 any = Any() 30006 any.Pack(foo) 30007 ... 30008 if any.Is(Foo.DESCRIPTOR): 30009 any.Unpack(foo) 30010 ... 30011 30012 Example 4: Pack and unpack a message in Go 30013 30014 foo := &pb.Foo{...} 30015 any, err := ptypes.MarshalAny(foo) 30016 ... 30017 foo := &pb.Foo{} 30018 if err := ptypes.UnmarshalAny(any, foo); err != nil { 30019 ... 30020 } 30021 30022 The pack methods provided by protobuf library will by 30023 default use 30024 30025 'type.googleapis.com/full.type.name' as the type URL and the 30026 unpack 30027 30028 methods only use the fully qualified type name after the 30029 last '/' 30030 30031 in the type URL, for example "foo.bar.com/x/y.z" will yield 30032 type 30033 30034 name "y.z". 30035 30036 30037 30038 JSON 30039 30040 ==== 30041 30042 The JSON representation of an `Any` value uses the regular 30043 30044 representation of the deserialized, embedded message, with 30045 an 30046 30047 additional field `@type` which contains the type URL. 30048 Example: 30049 30050 package google.profile; 30051 message Person { 30052 string first_name = 1; 30053 string last_name = 2; 30054 } 30055 30056 { 30057 "@type": "type.googleapis.com/google.profile.Person", 30058 "firstName": <string>, 30059 "lastName": <string> 30060 } 30061 30062 If the embedded message type is well-known and has a custom 30063 JSON 30064 30065 representation, that representation will be embedded adding 30066 a field 30067 30068 `value` which holds the custom JSON in addition to the 30069 `@type` 30070 30071 field. Example (for message [google.protobuf.Duration][]): 30072 30073 { 30074 "@type": "type.googleapis.com/google.protobuf.Duration", 30075 "value": "1.212s" 30076 } 30077 parameters: 30078 - name: contract_id 30079 description: contract id associated with the contract. 30080 in: path 30081 required: true 30082 type: string 30083 - name: token_id 30084 description: token id associated with the fungible token. 30085 in: path 30086 required: true 30087 type: string 30088 tags: 30089 - Query 30090 '/lbm/collection/v1/contracts/{contract_id}/grants/{grantee}': 30091 get: 30092 summary: GranteeGrants queries all permissions on a given grantee. 30093 operationId: CollectionGranteeGrants 30094 responses: 30095 '200': 30096 description: A successful response. 30097 schema: 30098 type: object 30099 properties: 30100 grants: 30101 type: array 30102 items: 30103 type: object 30104 properties: 30105 grantee: 30106 type: string 30107 description: address of the grantee. 30108 permission: 30109 description: permission on the contract. 30110 type: string 30111 enum: 30112 - PERMISSION_UNSPECIFIED 30113 - PERMISSION_ISSUE 30114 - PERMISSION_MODIFY 30115 - PERMISSION_MINT 30116 - PERMISSION_BURN 30117 default: PERMISSION_UNSPECIFIED 30118 description: |- 30119 Grant defines permission given to a grantee. 30120 30121 Since: 0.46.0 (finschia) 30122 pagination: 30123 description: pagination defines the pagination in the response. 30124 type: object 30125 properties: 30126 next_key: 30127 type: string 30128 format: byte 30129 title: |- 30130 next_key is the key to be passed to PageRequest.key to 30131 query the next page most efficiently 30132 total: 30133 type: string 30134 format: uint64 30135 title: >- 30136 total is total number of results available if 30137 PageRequest.count_total 30138 30139 was set, its value is undefined otherwise 30140 description: >- 30141 QueryGranteeGrantsResponse is the response type for the 30142 Query/GranteeGrants RPC method. 30143 default: 30144 description: An unexpected error response 30145 schema: 30146 type: object 30147 properties: 30148 error: 30149 type: string 30150 code: 30151 type: integer 30152 format: int32 30153 message: 30154 type: string 30155 details: 30156 type: array 30157 items: 30158 type: object 30159 properties: 30160 type_url: 30161 type: string 30162 description: >- 30163 A URL/resource name that uniquely identifies the type of 30164 the serialized 30165 30166 protocol buffer message. This string must contain at 30167 least 30168 30169 one "/" character. The last segment of the URL's path 30170 must represent 30171 30172 the fully qualified name of the type (as in 30173 30174 `path/google.protobuf.Duration`). The name should be in 30175 a canonical form 30176 30177 (e.g., leading "." is not accepted). 30178 30179 30180 In practice, teams usually precompile into the binary 30181 all types that they 30182 30183 expect it to use in the context of Any. However, for 30184 URLs which use the 30185 30186 scheme `http`, `https`, or no scheme, one can optionally 30187 set up a type 30188 30189 server that maps type URLs to message definitions as 30190 follows: 30191 30192 30193 * If no scheme is provided, `https` is assumed. 30194 30195 * An HTTP GET on the URL must yield a 30196 [google.protobuf.Type][] 30197 value in binary format, or produce an error. 30198 * Applications are allowed to cache lookup results based 30199 on the 30200 URL, or have them precompiled into a binary to avoid any 30201 lookup. Therefore, binary compatibility needs to be preserved 30202 on changes to types. (Use versioned type names to manage 30203 breaking changes.) 30204 30205 Note: this functionality is not currently available in 30206 the official 30207 30208 protobuf release, and it is not used for type URLs 30209 beginning with 30210 30211 type.googleapis.com. 30212 30213 30214 Schemes other than `http`, `https` (or the empty scheme) 30215 might be 30216 30217 used with implementation specific semantics. 30218 value: 30219 type: string 30220 format: byte 30221 description: >- 30222 Must be a valid serialized protocol buffer of the above 30223 specified type. 30224 description: >- 30225 `Any` contains an arbitrary serialized protocol buffer 30226 message along with a 30227 30228 URL that describes the type of the serialized message. 30229 30230 30231 Protobuf library provides support to pack/unpack Any values 30232 in the form 30233 30234 of utility functions or additional generated methods of the 30235 Any type. 30236 30237 30238 Example 1: Pack and unpack a message in C++. 30239 30240 Foo foo = ...; 30241 Any any; 30242 any.PackFrom(foo); 30243 ... 30244 if (any.UnpackTo(&foo)) { 30245 ... 30246 } 30247 30248 Example 2: Pack and unpack a message in Java. 30249 30250 Foo foo = ...; 30251 Any any = Any.pack(foo); 30252 ... 30253 if (any.is(Foo.class)) { 30254 foo = any.unpack(Foo.class); 30255 } 30256 30257 Example 3: Pack and unpack a message in Python. 30258 30259 foo = Foo(...) 30260 any = Any() 30261 any.Pack(foo) 30262 ... 30263 if any.Is(Foo.DESCRIPTOR): 30264 any.Unpack(foo) 30265 ... 30266 30267 Example 4: Pack and unpack a message in Go 30268 30269 foo := &pb.Foo{...} 30270 any, err := ptypes.MarshalAny(foo) 30271 ... 30272 foo := &pb.Foo{} 30273 if err := ptypes.UnmarshalAny(any, foo); err != nil { 30274 ... 30275 } 30276 30277 The pack methods provided by protobuf library will by 30278 default use 30279 30280 'type.googleapis.com/full.type.name' as the type URL and the 30281 unpack 30282 30283 methods only use the fully qualified type name after the 30284 last '/' 30285 30286 in the type URL, for example "foo.bar.com/x/y.z" will yield 30287 type 30288 30289 name "y.z". 30290 30291 30292 30293 JSON 30294 30295 ==== 30296 30297 The JSON representation of an `Any` value uses the regular 30298 30299 representation of the deserialized, embedded message, with 30300 an 30301 30302 additional field `@type` which contains the type URL. 30303 Example: 30304 30305 package google.profile; 30306 message Person { 30307 string first_name = 1; 30308 string last_name = 2; 30309 } 30310 30311 { 30312 "@type": "type.googleapis.com/google.profile.Person", 30313 "firstName": <string>, 30314 "lastName": <string> 30315 } 30316 30317 If the embedded message type is well-known and has a custom 30318 JSON 30319 30320 representation, that representation will be embedded adding 30321 a field 30322 30323 `value` which holds the custom JSON in addition to the 30324 `@type` 30325 30326 field. Example (for message [google.protobuf.Duration][]): 30327 30328 { 30329 "@type": "type.googleapis.com/google.protobuf.Duration", 30330 "value": "1.212s" 30331 } 30332 parameters: 30333 - name: contract_id 30334 description: contract id associated with the contract. 30335 in: path 30336 required: true 30337 type: string 30338 - name: grantee 30339 description: the address of the grantee. 30340 in: path 30341 required: true 30342 type: string 30343 - name: pagination.key 30344 description: |- 30345 key is a value returned in PageResponse.next_key to begin 30346 querying the next page most efficiently. Only one of offset or key 30347 should be set. 30348 in: query 30349 required: false 30350 type: string 30351 format: byte 30352 - name: pagination.offset 30353 description: >- 30354 offset is a numeric offset that can be used when key is unavailable. 30355 30356 It is less efficient than using key. Only one of offset or key 30357 should 30358 30359 be set. 30360 in: query 30361 required: false 30362 type: string 30363 format: uint64 30364 - name: pagination.limit 30365 description: >- 30366 limit is the total number of results to be returned in the result 30367 page. 30368 30369 If left empty it will default to a value to be set by each app. 30370 in: query 30371 required: false 30372 type: string 30373 format: uint64 30374 - name: pagination.count_total 30375 description: >- 30376 count_total is set to true to indicate that the result set should 30377 include 30378 30379 a count of the total number of items available for pagination in 30380 UIs. 30381 30382 count_total is only respected when offset is used. It is ignored 30383 when key 30384 30385 is set. 30386 in: query 30387 required: false 30388 type: boolean 30389 format: boolean 30390 - name: pagination.reverse 30391 description: >- 30392 reverse is set to true if results are to be returned in the 30393 descending order. 30394 30395 30396 Since: cosmos-sdk 0.43 30397 in: query 30398 required: false 30399 type: boolean 30400 format: boolean 30401 tags: 30402 - Query 30403 '/lbm/collection/v1/contracts/{contract_id}/nfts/{token_id}/children': 30404 get: 30405 summary: Children queries the children of a given nft. 30406 operationId: Children 30407 responses: 30408 '200': 30409 description: A successful response. 30410 schema: 30411 type: object 30412 properties: 30413 children: 30414 type: array 30415 items: 30416 type: object 30417 properties: 30418 token_id: 30419 type: string 30420 description: token id defines the unique identifier of the token. 30421 name: 30422 type: string 30423 description: name defines the human-readable name of the token. 30424 meta: 30425 type: string 30426 description: meta is a brief description of the token. 30427 description: |- 30428 NFT defines the information of non-fungible token. 30429 30430 Since: 0.46.0 (finschia) 30431 description: children is the information of the child tokens. 30432 pagination: 30433 description: pagination defines the pagination in the response. 30434 type: object 30435 properties: 30436 next_key: 30437 type: string 30438 format: byte 30439 title: |- 30440 next_key is the key to be passed to PageRequest.key to 30441 query the next page most efficiently 30442 total: 30443 type: string 30444 format: uint64 30445 title: >- 30446 total is total number of results available if 30447 PageRequest.count_total 30448 30449 was set, its value is undefined otherwise 30450 description: >- 30451 QueryChildrenResponse is the response type for the Query/Children 30452 RPC method. 30453 default: 30454 description: An unexpected error response 30455 schema: 30456 type: object 30457 properties: 30458 error: 30459 type: string 30460 code: 30461 type: integer 30462 format: int32 30463 message: 30464 type: string 30465 details: 30466 type: array 30467 items: 30468 type: object 30469 properties: 30470 type_url: 30471 type: string 30472 description: >- 30473 A URL/resource name that uniquely identifies the type of 30474 the serialized 30475 30476 protocol buffer message. This string must contain at 30477 least 30478 30479 one "/" character. The last segment of the URL's path 30480 must represent 30481 30482 the fully qualified name of the type (as in 30483 30484 `path/google.protobuf.Duration`). The name should be in 30485 a canonical form 30486 30487 (e.g., leading "." is not accepted). 30488 30489 30490 In practice, teams usually precompile into the binary 30491 all types that they 30492 30493 expect it to use in the context of Any. However, for 30494 URLs which use the 30495 30496 scheme `http`, `https`, or no scheme, one can optionally 30497 set up a type 30498 30499 server that maps type URLs to message definitions as 30500 follows: 30501 30502 30503 * If no scheme is provided, `https` is assumed. 30504 30505 * An HTTP GET on the URL must yield a 30506 [google.protobuf.Type][] 30507 value in binary format, or produce an error. 30508 * Applications are allowed to cache lookup results based 30509 on the 30510 URL, or have them precompiled into a binary to avoid any 30511 lookup. Therefore, binary compatibility needs to be preserved 30512 on changes to types. (Use versioned type names to manage 30513 breaking changes.) 30514 30515 Note: this functionality is not currently available in 30516 the official 30517 30518 protobuf release, and it is not used for type URLs 30519 beginning with 30520 30521 type.googleapis.com. 30522 30523 30524 Schemes other than `http`, `https` (or the empty scheme) 30525 might be 30526 30527 used with implementation specific semantics. 30528 value: 30529 type: string 30530 format: byte 30531 description: >- 30532 Must be a valid serialized protocol buffer of the above 30533 specified type. 30534 description: >- 30535 `Any` contains an arbitrary serialized protocol buffer 30536 message along with a 30537 30538 URL that describes the type of the serialized message. 30539 30540 30541 Protobuf library provides support to pack/unpack Any values 30542 in the form 30543 30544 of utility functions or additional generated methods of the 30545 Any type. 30546 30547 30548 Example 1: Pack and unpack a message in C++. 30549 30550 Foo foo = ...; 30551 Any any; 30552 any.PackFrom(foo); 30553 ... 30554 if (any.UnpackTo(&foo)) { 30555 ... 30556 } 30557 30558 Example 2: Pack and unpack a message in Java. 30559 30560 Foo foo = ...; 30561 Any any = Any.pack(foo); 30562 ... 30563 if (any.is(Foo.class)) { 30564 foo = any.unpack(Foo.class); 30565 } 30566 30567 Example 3: Pack and unpack a message in Python. 30568 30569 foo = Foo(...) 30570 any = Any() 30571 any.Pack(foo) 30572 ... 30573 if any.Is(Foo.DESCRIPTOR): 30574 any.Unpack(foo) 30575 ... 30576 30577 Example 4: Pack and unpack a message in Go 30578 30579 foo := &pb.Foo{...} 30580 any, err := ptypes.MarshalAny(foo) 30581 ... 30582 foo := &pb.Foo{} 30583 if err := ptypes.UnmarshalAny(any, foo); err != nil { 30584 ... 30585 } 30586 30587 The pack methods provided by protobuf library will by 30588 default use 30589 30590 'type.googleapis.com/full.type.name' as the type URL and the 30591 unpack 30592 30593 methods only use the fully qualified type name after the 30594 last '/' 30595 30596 in the type URL, for example "foo.bar.com/x/y.z" will yield 30597 type 30598 30599 name "y.z". 30600 30601 30602 30603 JSON 30604 30605 ==== 30606 30607 The JSON representation of an `Any` value uses the regular 30608 30609 representation of the deserialized, embedded message, with 30610 an 30611 30612 additional field `@type` which contains the type URL. 30613 Example: 30614 30615 package google.profile; 30616 message Person { 30617 string first_name = 1; 30618 string last_name = 2; 30619 } 30620 30621 { 30622 "@type": "type.googleapis.com/google.profile.Person", 30623 "firstName": <string>, 30624 "lastName": <string> 30625 } 30626 30627 If the embedded message type is well-known and has a custom 30628 JSON 30629 30630 representation, that representation will be embedded adding 30631 a field 30632 30633 `value` which holds the custom JSON in addition to the 30634 `@type` 30635 30636 field. Example (for message [google.protobuf.Duration][]): 30637 30638 { 30639 "@type": "type.googleapis.com/google.protobuf.Duration", 30640 "value": "1.212s" 30641 } 30642 parameters: 30643 - name: contract_id 30644 description: contract id associated with the contract. 30645 in: path 30646 required: true 30647 type: string 30648 - name: token_id 30649 description: token id associated with the non-fungible token. 30650 in: path 30651 required: true 30652 type: string 30653 - name: pagination.key 30654 description: |- 30655 key is a value returned in PageResponse.next_key to begin 30656 querying the next page most efficiently. Only one of offset or key 30657 should be set. 30658 in: query 30659 required: false 30660 type: string 30661 format: byte 30662 - name: pagination.offset 30663 description: >- 30664 offset is a numeric offset that can be used when key is unavailable. 30665 30666 It is less efficient than using key. Only one of offset or key 30667 should 30668 30669 be set. 30670 in: query 30671 required: false 30672 type: string 30673 format: uint64 30674 - name: pagination.limit 30675 description: >- 30676 limit is the total number of results to be returned in the result 30677 page. 30678 30679 If left empty it will default to a value to be set by each app. 30680 in: query 30681 required: false 30682 type: string 30683 format: uint64 30684 - name: pagination.count_total 30685 description: >- 30686 count_total is set to true to indicate that the result set should 30687 include 30688 30689 a count of the total number of items available for pagination in 30690 UIs. 30691 30692 count_total is only respected when offset is used. It is ignored 30693 when key 30694 30695 is set. 30696 in: query 30697 required: false 30698 type: boolean 30699 format: boolean 30700 - name: pagination.reverse 30701 description: >- 30702 reverse is set to true if results are to be returned in the 30703 descending order. 30704 30705 30706 Since: cosmos-sdk 0.43 30707 in: query 30708 required: false 30709 type: boolean 30710 format: boolean 30711 tags: 30712 - Query 30713 '/lbm/collection/v1/contracts/{contract_id}/nfts/{token_id}/has_parent': 30714 get: 30715 summary: HasParent queries whether a given nft has its parent. 30716 operationId: HasParent 30717 responses: 30718 '200': 30719 description: A successful response. 30720 schema: 30721 type: object 30722 properties: 30723 has_parent: 30724 type: boolean 30725 format: boolean 30726 description: whether the token has its parent. 30727 description: >- 30728 QueryHasParentResponse is the response type for the 30729 Query/HasParent RPC method. 30730 default: 30731 description: An unexpected error response 30732 schema: 30733 type: object 30734 properties: 30735 error: 30736 type: string 30737 code: 30738 type: integer 30739 format: int32 30740 message: 30741 type: string 30742 details: 30743 type: array 30744 items: 30745 type: object 30746 properties: 30747 type_url: 30748 type: string 30749 description: >- 30750 A URL/resource name that uniquely identifies the type of 30751 the serialized 30752 30753 protocol buffer message. This string must contain at 30754 least 30755 30756 one "/" character. The last segment of the URL's path 30757 must represent 30758 30759 the fully qualified name of the type (as in 30760 30761 `path/google.protobuf.Duration`). The name should be in 30762 a canonical form 30763 30764 (e.g., leading "." is not accepted). 30765 30766 30767 In practice, teams usually precompile into the binary 30768 all types that they 30769 30770 expect it to use in the context of Any. However, for 30771 URLs which use the 30772 30773 scheme `http`, `https`, or no scheme, one can optionally 30774 set up a type 30775 30776 server that maps type URLs to message definitions as 30777 follows: 30778 30779 30780 * If no scheme is provided, `https` is assumed. 30781 30782 * An HTTP GET on the URL must yield a 30783 [google.protobuf.Type][] 30784 value in binary format, or produce an error. 30785 * Applications are allowed to cache lookup results based 30786 on the 30787 URL, or have them precompiled into a binary to avoid any 30788 lookup. Therefore, binary compatibility needs to be preserved 30789 on changes to types. (Use versioned type names to manage 30790 breaking changes.) 30791 30792 Note: this functionality is not currently available in 30793 the official 30794 30795 protobuf release, and it is not used for type URLs 30796 beginning with 30797 30798 type.googleapis.com. 30799 30800 30801 Schemes other than `http`, `https` (or the empty scheme) 30802 might be 30803 30804 used with implementation specific semantics. 30805 value: 30806 type: string 30807 format: byte 30808 description: >- 30809 Must be a valid serialized protocol buffer of the above 30810 specified type. 30811 description: >- 30812 `Any` contains an arbitrary serialized protocol buffer 30813 message along with a 30814 30815 URL that describes the type of the serialized message. 30816 30817 30818 Protobuf library provides support to pack/unpack Any values 30819 in the form 30820 30821 of utility functions or additional generated methods of the 30822 Any type. 30823 30824 30825 Example 1: Pack and unpack a message in C++. 30826 30827 Foo foo = ...; 30828 Any any; 30829 any.PackFrom(foo); 30830 ... 30831 if (any.UnpackTo(&foo)) { 30832 ... 30833 } 30834 30835 Example 2: Pack and unpack a message in Java. 30836 30837 Foo foo = ...; 30838 Any any = Any.pack(foo); 30839 ... 30840 if (any.is(Foo.class)) { 30841 foo = any.unpack(Foo.class); 30842 } 30843 30844 Example 3: Pack and unpack a message in Python. 30845 30846 foo = Foo(...) 30847 any = Any() 30848 any.Pack(foo) 30849 ... 30850 if any.Is(Foo.DESCRIPTOR): 30851 any.Unpack(foo) 30852 ... 30853 30854 Example 4: Pack and unpack a message in Go 30855 30856 foo := &pb.Foo{...} 30857 any, err := ptypes.MarshalAny(foo) 30858 ... 30859 foo := &pb.Foo{} 30860 if err := ptypes.UnmarshalAny(any, foo); err != nil { 30861 ... 30862 } 30863 30864 The pack methods provided by protobuf library will by 30865 default use 30866 30867 'type.googleapis.com/full.type.name' as the type URL and the 30868 unpack 30869 30870 methods only use the fully qualified type name after the 30871 last '/' 30872 30873 in the type URL, for example "foo.bar.com/x/y.z" will yield 30874 type 30875 30876 name "y.z". 30877 30878 30879 30880 JSON 30881 30882 ==== 30883 30884 The JSON representation of an `Any` value uses the regular 30885 30886 representation of the deserialized, embedded message, with 30887 an 30888 30889 additional field `@type` which contains the type URL. 30890 Example: 30891 30892 package google.profile; 30893 message Person { 30894 string first_name = 1; 30895 string last_name = 2; 30896 } 30897 30898 { 30899 "@type": "type.googleapis.com/google.profile.Person", 30900 "firstName": <string>, 30901 "lastName": <string> 30902 } 30903 30904 If the embedded message type is well-known and has a custom 30905 JSON 30906 30907 representation, that representation will be embedded adding 30908 a field 30909 30910 `value` which holds the custom JSON in addition to the 30911 `@type` 30912 30913 field. Example (for message [google.protobuf.Duration][]): 30914 30915 { 30916 "@type": "type.googleapis.com/google.protobuf.Duration", 30917 "value": "1.212s" 30918 } 30919 parameters: 30920 - name: contract_id 30921 description: contract id associated with the contract. 30922 in: path 30923 required: true 30924 type: string 30925 - name: token_id 30926 description: token id associated wit the non-fungible token. 30927 in: path 30928 required: true 30929 type: string 30930 tags: 30931 - Query 30932 '/lbm/collection/v1/contracts/{contract_id}/nfts/{token_id}/parent': 30933 get: 30934 summary: Parent queries the parent of a given nft. 30935 operationId: Parent 30936 responses: 30937 '200': 30938 description: A successful response. 30939 schema: 30940 type: object 30941 properties: 30942 parent: 30943 type: object 30944 properties: 30945 token_id: 30946 type: string 30947 description: token id defines the unique identifier of the token. 30948 name: 30949 type: string 30950 description: name defines the human-readable name of the token. 30951 meta: 30952 type: string 30953 description: meta is a brief description of the token. 30954 description: |- 30955 NFT defines the information of non-fungible token. 30956 30957 Since: 0.46.0 (finschia) 30958 description: >- 30959 QueryParentResponse is the response type for the Query/Parent RPC 30960 method. 30961 default: 30962 description: An unexpected error response 30963 schema: 30964 type: object 30965 properties: 30966 error: 30967 type: string 30968 code: 30969 type: integer 30970 format: int32 30971 message: 30972 type: string 30973 details: 30974 type: array 30975 items: 30976 type: object 30977 properties: 30978 type_url: 30979 type: string 30980 description: >- 30981 A URL/resource name that uniquely identifies the type of 30982 the serialized 30983 30984 protocol buffer message. This string must contain at 30985 least 30986 30987 one "/" character. The last segment of the URL's path 30988 must represent 30989 30990 the fully qualified name of the type (as in 30991 30992 `path/google.protobuf.Duration`). The name should be in 30993 a canonical form 30994 30995 (e.g., leading "." is not accepted). 30996 30997 30998 In practice, teams usually precompile into the binary 30999 all types that they 31000 31001 expect it to use in the context of Any. However, for 31002 URLs which use the 31003 31004 scheme `http`, `https`, or no scheme, one can optionally 31005 set up a type 31006 31007 server that maps type URLs to message definitions as 31008 follows: 31009 31010 31011 * If no scheme is provided, `https` is assumed. 31012 31013 * An HTTP GET on the URL must yield a 31014 [google.protobuf.Type][] 31015 value in binary format, or produce an error. 31016 * Applications are allowed to cache lookup results based 31017 on the 31018 URL, or have them precompiled into a binary to avoid any 31019 lookup. Therefore, binary compatibility needs to be preserved 31020 on changes to types. (Use versioned type names to manage 31021 breaking changes.) 31022 31023 Note: this functionality is not currently available in 31024 the official 31025 31026 protobuf release, and it is not used for type URLs 31027 beginning with 31028 31029 type.googleapis.com. 31030 31031 31032 Schemes other than `http`, `https` (or the empty scheme) 31033 might be 31034 31035 used with implementation specific semantics. 31036 value: 31037 type: string 31038 format: byte 31039 description: >- 31040 Must be a valid serialized protocol buffer of the above 31041 specified type. 31042 description: >- 31043 `Any` contains an arbitrary serialized protocol buffer 31044 message along with a 31045 31046 URL that describes the type of the serialized message. 31047 31048 31049 Protobuf library provides support to pack/unpack Any values 31050 in the form 31051 31052 of utility functions or additional generated methods of the 31053 Any type. 31054 31055 31056 Example 1: Pack and unpack a message in C++. 31057 31058 Foo foo = ...; 31059 Any any; 31060 any.PackFrom(foo); 31061 ... 31062 if (any.UnpackTo(&foo)) { 31063 ... 31064 } 31065 31066 Example 2: Pack and unpack a message in Java. 31067 31068 Foo foo = ...; 31069 Any any = Any.pack(foo); 31070 ... 31071 if (any.is(Foo.class)) { 31072 foo = any.unpack(Foo.class); 31073 } 31074 31075 Example 3: Pack and unpack a message in Python. 31076 31077 foo = Foo(...) 31078 any = Any() 31079 any.Pack(foo) 31080 ... 31081 if any.Is(Foo.DESCRIPTOR): 31082 any.Unpack(foo) 31083 ... 31084 31085 Example 4: Pack and unpack a message in Go 31086 31087 foo := &pb.Foo{...} 31088 any, err := ptypes.MarshalAny(foo) 31089 ... 31090 foo := &pb.Foo{} 31091 if err := ptypes.UnmarshalAny(any, foo); err != nil { 31092 ... 31093 } 31094 31095 The pack methods provided by protobuf library will by 31096 default use 31097 31098 'type.googleapis.com/full.type.name' as the type URL and the 31099 unpack 31100 31101 methods only use the fully qualified type name after the 31102 last '/' 31103 31104 in the type URL, for example "foo.bar.com/x/y.z" will yield 31105 type 31106 31107 name "y.z". 31108 31109 31110 31111 JSON 31112 31113 ==== 31114 31115 The JSON representation of an `Any` value uses the regular 31116 31117 representation of the deserialized, embedded message, with 31118 an 31119 31120 additional field `@type` which contains the type URL. 31121 Example: 31122 31123 package google.profile; 31124 message Person { 31125 string first_name = 1; 31126 string last_name = 2; 31127 } 31128 31129 { 31130 "@type": "type.googleapis.com/google.profile.Person", 31131 "firstName": <string>, 31132 "lastName": <string> 31133 } 31134 31135 If the embedded message type is well-known and has a custom 31136 JSON 31137 31138 representation, that representation will be embedded adding 31139 a field 31140 31141 `value` which holds the custom JSON in addition to the 31142 `@type` 31143 31144 field. Example (for message [google.protobuf.Duration][]): 31145 31146 { 31147 "@type": "type.googleapis.com/google.protobuf.Duration", 31148 "value": "1.212s" 31149 } 31150 parameters: 31151 - name: contract_id 31152 description: contract id associated with the contract. 31153 in: path 31154 required: true 31155 type: string 31156 - name: token_id 31157 description: token id associated wit the non-fungible token. 31158 in: path 31159 required: true 31160 type: string 31161 tags: 31162 - Query 31163 '/lbm/collection/v1/contracts/{contract_id}/nfts/{token_id}/root': 31164 get: 31165 summary: Root queries the root of a given nft. 31166 operationId: Root 31167 responses: 31168 '200': 31169 description: A successful response. 31170 schema: 31171 type: object 31172 properties: 31173 root: 31174 type: object 31175 properties: 31176 token_id: 31177 type: string 31178 description: token id defines the unique identifier of the token. 31179 name: 31180 type: string 31181 description: name defines the human-readable name of the token. 31182 meta: 31183 type: string 31184 description: meta is a brief description of the token. 31185 description: |- 31186 NFT defines the information of non-fungible token. 31187 31188 Since: 0.46.0 (finschia) 31189 description: >- 31190 QueryRootResponse is the response type for the Query/Root RPC 31191 method. 31192 default: 31193 description: An unexpected error response 31194 schema: 31195 type: object 31196 properties: 31197 error: 31198 type: string 31199 code: 31200 type: integer 31201 format: int32 31202 message: 31203 type: string 31204 details: 31205 type: array 31206 items: 31207 type: object 31208 properties: 31209 type_url: 31210 type: string 31211 description: >- 31212 A URL/resource name that uniquely identifies the type of 31213 the serialized 31214 31215 protocol buffer message. This string must contain at 31216 least 31217 31218 one "/" character. The last segment of the URL's path 31219 must represent 31220 31221 the fully qualified name of the type (as in 31222 31223 `path/google.protobuf.Duration`). The name should be in 31224 a canonical form 31225 31226 (e.g., leading "." is not accepted). 31227 31228 31229 In practice, teams usually precompile into the binary 31230 all types that they 31231 31232 expect it to use in the context of Any. However, for 31233 URLs which use the 31234 31235 scheme `http`, `https`, or no scheme, one can optionally 31236 set up a type 31237 31238 server that maps type URLs to message definitions as 31239 follows: 31240 31241 31242 * If no scheme is provided, `https` is assumed. 31243 31244 * An HTTP GET on the URL must yield a 31245 [google.protobuf.Type][] 31246 value in binary format, or produce an error. 31247 * Applications are allowed to cache lookup results based 31248 on the 31249 URL, or have them precompiled into a binary to avoid any 31250 lookup. Therefore, binary compatibility needs to be preserved 31251 on changes to types. (Use versioned type names to manage 31252 breaking changes.) 31253 31254 Note: this functionality is not currently available in 31255 the official 31256 31257 protobuf release, and it is not used for type URLs 31258 beginning with 31259 31260 type.googleapis.com. 31261 31262 31263 Schemes other than `http`, `https` (or the empty scheme) 31264 might be 31265 31266 used with implementation specific semantics. 31267 value: 31268 type: string 31269 format: byte 31270 description: >- 31271 Must be a valid serialized protocol buffer of the above 31272 specified type. 31273 description: >- 31274 `Any` contains an arbitrary serialized protocol buffer 31275 message along with a 31276 31277 URL that describes the type of the serialized message. 31278 31279 31280 Protobuf library provides support to pack/unpack Any values 31281 in the form 31282 31283 of utility functions or additional generated methods of the 31284 Any type. 31285 31286 31287 Example 1: Pack and unpack a message in C++. 31288 31289 Foo foo = ...; 31290 Any any; 31291 any.PackFrom(foo); 31292 ... 31293 if (any.UnpackTo(&foo)) { 31294 ... 31295 } 31296 31297 Example 2: Pack and unpack a message in Java. 31298 31299 Foo foo = ...; 31300 Any any = Any.pack(foo); 31301 ... 31302 if (any.is(Foo.class)) { 31303 foo = any.unpack(Foo.class); 31304 } 31305 31306 Example 3: Pack and unpack a message in Python. 31307 31308 foo = Foo(...) 31309 any = Any() 31310 any.Pack(foo) 31311 ... 31312 if any.Is(Foo.DESCRIPTOR): 31313 any.Unpack(foo) 31314 ... 31315 31316 Example 4: Pack and unpack a message in Go 31317 31318 foo := &pb.Foo{...} 31319 any, err := ptypes.MarshalAny(foo) 31320 ... 31321 foo := &pb.Foo{} 31322 if err := ptypes.UnmarshalAny(any, foo); err != nil { 31323 ... 31324 } 31325 31326 The pack methods provided by protobuf library will by 31327 default use 31328 31329 'type.googleapis.com/full.type.name' as the type URL and the 31330 unpack 31331 31332 methods only use the fully qualified type name after the 31333 last '/' 31334 31335 in the type URL, for example "foo.bar.com/x/y.z" will yield 31336 type 31337 31338 name "y.z". 31339 31340 31341 31342 JSON 31343 31344 ==== 31345 31346 The JSON representation of an `Any` value uses the regular 31347 31348 representation of the deserialized, embedded message, with 31349 an 31350 31351 additional field `@type` which contains the type URL. 31352 Example: 31353 31354 package google.profile; 31355 message Person { 31356 string first_name = 1; 31357 string last_name = 2; 31358 } 31359 31360 { 31361 "@type": "type.googleapis.com/google.profile.Person", 31362 "firstName": <string>, 31363 "lastName": <string> 31364 } 31365 31366 If the embedded message type is well-known and has a custom 31367 JSON 31368 31369 representation, that representation will be embedded adding 31370 a field 31371 31372 `value` which holds the custom JSON in addition to the 31373 `@type` 31374 31375 field. Example (for message [google.protobuf.Duration][]): 31376 31377 { 31378 "@type": "type.googleapis.com/google.protobuf.Duration", 31379 "value": "1.212s" 31380 } 31381 parameters: 31382 - name: contract_id 31383 description: contract id associated with the contract. 31384 in: path 31385 required: true 31386 type: string 31387 - name: token_id 31388 description: token id associated with the non-fungible token. 31389 in: path 31390 required: true 31391 type: string 31392 tags: 31393 - Query 31394 '/lbm/collection/v1/contracts/{contract_id}/token_classes/{class_id}/type_name': 31395 get: 31396 summary: >- 31397 TokenClassTypeName queries the fully qualified message type name of a 31398 token class from its class id. 31399 description: 'Since: 0.46.0 (finschia)' 31400 operationId: TokenClassTypeName 31401 responses: 31402 '200': 31403 description: A successful response. 31404 schema: 31405 type: object 31406 properties: 31407 name: 31408 type: string 31409 description: type name of the token class. 31410 description: >- 31411 QueryTokenClassTypeNameResponse is the response type for the 31412 Query/TokenClassTypeName RPC method. 31413 31414 31415 Since: 0.46.0 (finschia) 31416 default: 31417 description: An unexpected error response 31418 schema: 31419 type: object 31420 properties: 31421 error: 31422 type: string 31423 code: 31424 type: integer 31425 format: int32 31426 message: 31427 type: string 31428 details: 31429 type: array 31430 items: 31431 type: object 31432 properties: 31433 type_url: 31434 type: string 31435 description: >- 31436 A URL/resource name that uniquely identifies the type of 31437 the serialized 31438 31439 protocol buffer message. This string must contain at 31440 least 31441 31442 one "/" character. The last segment of the URL's path 31443 must represent 31444 31445 the fully qualified name of the type (as in 31446 31447 `path/google.protobuf.Duration`). The name should be in 31448 a canonical form 31449 31450 (e.g., leading "." is not accepted). 31451 31452 31453 In practice, teams usually precompile into the binary 31454 all types that they 31455 31456 expect it to use in the context of Any. However, for 31457 URLs which use the 31458 31459 scheme `http`, `https`, or no scheme, one can optionally 31460 set up a type 31461 31462 server that maps type URLs to message definitions as 31463 follows: 31464 31465 31466 * If no scheme is provided, `https` is assumed. 31467 31468 * An HTTP GET on the URL must yield a 31469 [google.protobuf.Type][] 31470 value in binary format, or produce an error. 31471 * Applications are allowed to cache lookup results based 31472 on the 31473 URL, or have them precompiled into a binary to avoid any 31474 lookup. Therefore, binary compatibility needs to be preserved 31475 on changes to types. (Use versioned type names to manage 31476 breaking changes.) 31477 31478 Note: this functionality is not currently available in 31479 the official 31480 31481 protobuf release, and it is not used for type URLs 31482 beginning with 31483 31484 type.googleapis.com. 31485 31486 31487 Schemes other than `http`, `https` (or the empty scheme) 31488 might be 31489 31490 used with implementation specific semantics. 31491 value: 31492 type: string 31493 format: byte 31494 description: >- 31495 Must be a valid serialized protocol buffer of the above 31496 specified type. 31497 description: >- 31498 `Any` contains an arbitrary serialized protocol buffer 31499 message along with a 31500 31501 URL that describes the type of the serialized message. 31502 31503 31504 Protobuf library provides support to pack/unpack Any values 31505 in the form 31506 31507 of utility functions or additional generated methods of the 31508 Any type. 31509 31510 31511 Example 1: Pack and unpack a message in C++. 31512 31513 Foo foo = ...; 31514 Any any; 31515 any.PackFrom(foo); 31516 ... 31517 if (any.UnpackTo(&foo)) { 31518 ... 31519 } 31520 31521 Example 2: Pack and unpack a message in Java. 31522 31523 Foo foo = ...; 31524 Any any = Any.pack(foo); 31525 ... 31526 if (any.is(Foo.class)) { 31527 foo = any.unpack(Foo.class); 31528 } 31529 31530 Example 3: Pack and unpack a message in Python. 31531 31532 foo = Foo(...) 31533 any = Any() 31534 any.Pack(foo) 31535 ... 31536 if any.Is(Foo.DESCRIPTOR): 31537 any.Unpack(foo) 31538 ... 31539 31540 Example 4: Pack and unpack a message in Go 31541 31542 foo := &pb.Foo{...} 31543 any, err := ptypes.MarshalAny(foo) 31544 ... 31545 foo := &pb.Foo{} 31546 if err := ptypes.UnmarshalAny(any, foo); err != nil { 31547 ... 31548 } 31549 31550 The pack methods provided by protobuf library will by 31551 default use 31552 31553 'type.googleapis.com/full.type.name' as the type URL and the 31554 unpack 31555 31556 methods only use the fully qualified type name after the 31557 last '/' 31558 31559 in the type URL, for example "foo.bar.com/x/y.z" will yield 31560 type 31561 31562 name "y.z". 31563 31564 31565 31566 JSON 31567 31568 ==== 31569 31570 The JSON representation of an `Any` value uses the regular 31571 31572 representation of the deserialized, embedded message, with 31573 an 31574 31575 additional field `@type` which contains the type URL. 31576 Example: 31577 31578 package google.profile; 31579 message Person { 31580 string first_name = 1; 31581 string last_name = 2; 31582 } 31583 31584 { 31585 "@type": "type.googleapis.com/google.profile.Person", 31586 "firstName": <string>, 31587 "lastName": <string> 31588 } 31589 31590 If the embedded message type is well-known and has a custom 31591 JSON 31592 31593 representation, that representation will be embedded adding 31594 a field 31595 31596 `value` which holds the custom JSON in addition to the 31597 `@type` 31598 31599 field. Example (for message [google.protobuf.Duration][]): 31600 31601 { 31602 "@type": "type.googleapis.com/google.protobuf.Duration", 31603 "value": "1.212s" 31604 } 31605 parameters: 31606 - name: contract_id 31607 description: contract id associated with the contract. 31608 in: path 31609 required: true 31610 type: string 31611 - name: class_id 31612 description: class id associated with the token class. 31613 in: path 31614 required: true 31615 type: string 31616 tags: 31617 - Query 31618 '/lbm/collection/v1/contracts/{contract_id}/token_types/{token_type}': 31619 get: 31620 summary: TokenType queries metadata of a token type. 31621 operationId: TokenType 31622 responses: 31623 '200': 31624 description: A successful response. 31625 schema: 31626 type: object 31627 properties: 31628 token_type: 31629 description: token type is the information of the token type. 31630 type: object 31631 properties: 31632 contract_id: 31633 type: string 31634 description: contract id associated with the contract. 31635 token_type: 31636 type: string 31637 description: >- 31638 token type defines the unique identifier of the token 31639 type. 31640 31641 the format of the value is identical to that of class_id. 31642 name: 31643 type: string 31644 description: name defines the human-readable name of the token type. 31645 meta: 31646 type: string 31647 description: meta is a brief description of the token type. 31648 title: 'Deprecated: use TokenClass' 31649 description: >- 31650 QueryTokenTypeResponse is the response type for the 31651 Query/TokenType RPC method. 31652 default: 31653 description: An unexpected error response 31654 schema: 31655 type: object 31656 properties: 31657 error: 31658 type: string 31659 code: 31660 type: integer 31661 format: int32 31662 message: 31663 type: string 31664 details: 31665 type: array 31666 items: 31667 type: object 31668 properties: 31669 type_url: 31670 type: string 31671 description: >- 31672 A URL/resource name that uniquely identifies the type of 31673 the serialized 31674 31675 protocol buffer message. This string must contain at 31676 least 31677 31678 one "/" character. The last segment of the URL's path 31679 must represent 31680 31681 the fully qualified name of the type (as in 31682 31683 `path/google.protobuf.Duration`). The name should be in 31684 a canonical form 31685 31686 (e.g., leading "." is not accepted). 31687 31688 31689 In practice, teams usually precompile into the binary 31690 all types that they 31691 31692 expect it to use in the context of Any. However, for 31693 URLs which use the 31694 31695 scheme `http`, `https`, or no scheme, one can optionally 31696 set up a type 31697 31698 server that maps type URLs to message definitions as 31699 follows: 31700 31701 31702 * If no scheme is provided, `https` is assumed. 31703 31704 * An HTTP GET on the URL must yield a 31705 [google.protobuf.Type][] 31706 value in binary format, or produce an error. 31707 * Applications are allowed to cache lookup results based 31708 on the 31709 URL, or have them precompiled into a binary to avoid any 31710 lookup. Therefore, binary compatibility needs to be preserved 31711 on changes to types. (Use versioned type names to manage 31712 breaking changes.) 31713 31714 Note: this functionality is not currently available in 31715 the official 31716 31717 protobuf release, and it is not used for type URLs 31718 beginning with 31719 31720 type.googleapis.com. 31721 31722 31723 Schemes other than `http`, `https` (or the empty scheme) 31724 might be 31725 31726 used with implementation specific semantics. 31727 value: 31728 type: string 31729 format: byte 31730 description: >- 31731 Must be a valid serialized protocol buffer of the above 31732 specified type. 31733 description: >- 31734 `Any` contains an arbitrary serialized protocol buffer 31735 message along with a 31736 31737 URL that describes the type of the serialized message. 31738 31739 31740 Protobuf library provides support to pack/unpack Any values 31741 in the form 31742 31743 of utility functions or additional generated methods of the 31744 Any type. 31745 31746 31747 Example 1: Pack and unpack a message in C++. 31748 31749 Foo foo = ...; 31750 Any any; 31751 any.PackFrom(foo); 31752 ... 31753 if (any.UnpackTo(&foo)) { 31754 ... 31755 } 31756 31757 Example 2: Pack and unpack a message in Java. 31758 31759 Foo foo = ...; 31760 Any any = Any.pack(foo); 31761 ... 31762 if (any.is(Foo.class)) { 31763 foo = any.unpack(Foo.class); 31764 } 31765 31766 Example 3: Pack and unpack a message in Python. 31767 31768 foo = Foo(...) 31769 any = Any() 31770 any.Pack(foo) 31771 ... 31772 if any.Is(Foo.DESCRIPTOR): 31773 any.Unpack(foo) 31774 ... 31775 31776 Example 4: Pack and unpack a message in Go 31777 31778 foo := &pb.Foo{...} 31779 any, err := ptypes.MarshalAny(foo) 31780 ... 31781 foo := &pb.Foo{} 31782 if err := ptypes.UnmarshalAny(any, foo); err != nil { 31783 ... 31784 } 31785 31786 The pack methods provided by protobuf library will by 31787 default use 31788 31789 'type.googleapis.com/full.type.name' as the type URL and the 31790 unpack 31791 31792 methods only use the fully qualified type name after the 31793 last '/' 31794 31795 in the type URL, for example "foo.bar.com/x/y.z" will yield 31796 type 31797 31798 name "y.z". 31799 31800 31801 31802 JSON 31803 31804 ==== 31805 31806 The JSON representation of an `Any` value uses the regular 31807 31808 representation of the deserialized, embedded message, with 31809 an 31810 31811 additional field `@type` which contains the type URL. 31812 Example: 31813 31814 package google.profile; 31815 message Person { 31816 string first_name = 1; 31817 string last_name = 2; 31818 } 31819 31820 { 31821 "@type": "type.googleapis.com/google.profile.Person", 31822 "firstName": <string>, 31823 "lastName": <string> 31824 } 31825 31826 If the embedded message type is well-known and has a custom 31827 JSON 31828 31829 representation, that representation will be embedded adding 31830 a field 31831 31832 `value` which holds the custom JSON in addition to the 31833 `@type` 31834 31835 field. Example (for message [google.protobuf.Duration][]): 31836 31837 { 31838 "@type": "type.googleapis.com/google.protobuf.Duration", 31839 "value": "1.212s" 31840 } 31841 parameters: 31842 - name: contract_id 31843 description: contract id associated with the contract. 31844 in: path 31845 required: true 31846 type: string 31847 - name: token_type 31848 description: |- 31849 token type associated with the token type. 31850 refer to TokenType for the definition. 31851 in: path 31852 required: true 31853 type: string 31854 tags: 31855 - Query 31856 '/lbm/collection/v1/contracts/{contract_id}/token_types/{token_type}/burnt': 31857 get: 31858 summary: >- 31859 NFTBurnt queries the number of burnt tokens from a given contract id and 31860 token type. 31861 operationId: NFTBurnt 31862 responses: 31863 '200': 31864 description: A successful response. 31865 schema: 31866 type: object 31867 properties: 31868 burnt: 31869 type: string 31870 description: burnt is the amount of the burnt tokens. 31871 description: >- 31872 QueryNFTBurntResponse is the response type for the Query/NFTBurnt 31873 RPC method. 31874 default: 31875 description: An unexpected error response 31876 schema: 31877 type: object 31878 properties: 31879 error: 31880 type: string 31881 code: 31882 type: integer 31883 format: int32 31884 message: 31885 type: string 31886 details: 31887 type: array 31888 items: 31889 type: object 31890 properties: 31891 type_url: 31892 type: string 31893 description: >- 31894 A URL/resource name that uniquely identifies the type of 31895 the serialized 31896 31897 protocol buffer message. This string must contain at 31898 least 31899 31900 one "/" character. The last segment of the URL's path 31901 must represent 31902 31903 the fully qualified name of the type (as in 31904 31905 `path/google.protobuf.Duration`). The name should be in 31906 a canonical form 31907 31908 (e.g., leading "." is not accepted). 31909 31910 31911 In practice, teams usually precompile into the binary 31912 all types that they 31913 31914 expect it to use in the context of Any. However, for 31915 URLs which use the 31916 31917 scheme `http`, `https`, or no scheme, one can optionally 31918 set up a type 31919 31920 server that maps type URLs to message definitions as 31921 follows: 31922 31923 31924 * If no scheme is provided, `https` is assumed. 31925 31926 * An HTTP GET on the URL must yield a 31927 [google.protobuf.Type][] 31928 value in binary format, or produce an error. 31929 * Applications are allowed to cache lookup results based 31930 on the 31931 URL, or have them precompiled into a binary to avoid any 31932 lookup. Therefore, binary compatibility needs to be preserved 31933 on changes to types. (Use versioned type names to manage 31934 breaking changes.) 31935 31936 Note: this functionality is not currently available in 31937 the official 31938 31939 protobuf release, and it is not used for type URLs 31940 beginning with 31941 31942 type.googleapis.com. 31943 31944 31945 Schemes other than `http`, `https` (or the empty scheme) 31946 might be 31947 31948 used with implementation specific semantics. 31949 value: 31950 type: string 31951 format: byte 31952 description: >- 31953 Must be a valid serialized protocol buffer of the above 31954 specified type. 31955 description: >- 31956 `Any` contains an arbitrary serialized protocol buffer 31957 message along with a 31958 31959 URL that describes the type of the serialized message. 31960 31961 31962 Protobuf library provides support to pack/unpack Any values 31963 in the form 31964 31965 of utility functions or additional generated methods of the 31966 Any type. 31967 31968 31969 Example 1: Pack and unpack a message in C++. 31970 31971 Foo foo = ...; 31972 Any any; 31973 any.PackFrom(foo); 31974 ... 31975 if (any.UnpackTo(&foo)) { 31976 ... 31977 } 31978 31979 Example 2: Pack and unpack a message in Java. 31980 31981 Foo foo = ...; 31982 Any any = Any.pack(foo); 31983 ... 31984 if (any.is(Foo.class)) { 31985 foo = any.unpack(Foo.class); 31986 } 31987 31988 Example 3: Pack and unpack a message in Python. 31989 31990 foo = Foo(...) 31991 any = Any() 31992 any.Pack(foo) 31993 ... 31994 if any.Is(Foo.DESCRIPTOR): 31995 any.Unpack(foo) 31996 ... 31997 31998 Example 4: Pack and unpack a message in Go 31999 32000 foo := &pb.Foo{...} 32001 any, err := ptypes.MarshalAny(foo) 32002 ... 32003 foo := &pb.Foo{} 32004 if err := ptypes.UnmarshalAny(any, foo); err != nil { 32005 ... 32006 } 32007 32008 The pack methods provided by protobuf library will by 32009 default use 32010 32011 'type.googleapis.com/full.type.name' as the type URL and the 32012 unpack 32013 32014 methods only use the fully qualified type name after the 32015 last '/' 32016 32017 in the type URL, for example "foo.bar.com/x/y.z" will yield 32018 type 32019 32020 name "y.z". 32021 32022 32023 32024 JSON 32025 32026 ==== 32027 32028 The JSON representation of an `Any` value uses the regular 32029 32030 representation of the deserialized, embedded message, with 32031 an 32032 32033 additional field `@type` which contains the type URL. 32034 Example: 32035 32036 package google.profile; 32037 message Person { 32038 string first_name = 1; 32039 string last_name = 2; 32040 } 32041 32042 { 32043 "@type": "type.googleapis.com/google.profile.Person", 32044 "firstName": <string>, 32045 "lastName": <string> 32046 } 32047 32048 If the embedded message type is well-known and has a custom 32049 JSON 32050 32051 representation, that representation will be embedded adding 32052 a field 32053 32054 `value` which holds the custom JSON in addition to the 32055 `@type` 32056 32057 field. Example (for message [google.protobuf.Duration][]): 32058 32059 { 32060 "@type": "type.googleapis.com/google.protobuf.Duration", 32061 "value": "1.212s" 32062 } 32063 parameters: 32064 - name: contract_id 32065 description: contract id associated with the contract. 32066 in: path 32067 required: true 32068 type: string 32069 - name: token_type 32070 description: |- 32071 token type associated with the token type. 32072 refer to TokenType for the definition. 32073 in: path 32074 required: true 32075 type: string 32076 tags: 32077 - Query 32078 '/lbm/collection/v1/contracts/{contract_id}/token_types/{token_type}/minted': 32079 get: 32080 summary: >- 32081 NFTMinted queries the number of minted tokens from a given contract id 32082 and token type. 32083 operationId: NFTMinted 32084 responses: 32085 '200': 32086 description: A successful response. 32087 schema: 32088 type: object 32089 properties: 32090 minted: 32091 type: string 32092 description: minted is the amount of minted tokens. 32093 description: >- 32094 QueryNFTMintedResponse is the response type for the 32095 Query/NFTMinted RPC method. 32096 default: 32097 description: An unexpected error response 32098 schema: 32099 type: object 32100 properties: 32101 error: 32102 type: string 32103 code: 32104 type: integer 32105 format: int32 32106 message: 32107 type: string 32108 details: 32109 type: array 32110 items: 32111 type: object 32112 properties: 32113 type_url: 32114 type: string 32115 description: >- 32116 A URL/resource name that uniquely identifies the type of 32117 the serialized 32118 32119 protocol buffer message. This string must contain at 32120 least 32121 32122 one "/" character. The last segment of the URL's path 32123 must represent 32124 32125 the fully qualified name of the type (as in 32126 32127 `path/google.protobuf.Duration`). The name should be in 32128 a canonical form 32129 32130 (e.g., leading "." is not accepted). 32131 32132 32133 In practice, teams usually precompile into the binary 32134 all types that they 32135 32136 expect it to use in the context of Any. However, for 32137 URLs which use the 32138 32139 scheme `http`, `https`, or no scheme, one can optionally 32140 set up a type 32141 32142 server that maps type URLs to message definitions as 32143 follows: 32144 32145 32146 * If no scheme is provided, `https` is assumed. 32147 32148 * An HTTP GET on the URL must yield a 32149 [google.protobuf.Type][] 32150 value in binary format, or produce an error. 32151 * Applications are allowed to cache lookup results based 32152 on the 32153 URL, or have them precompiled into a binary to avoid any 32154 lookup. Therefore, binary compatibility needs to be preserved 32155 on changes to types. (Use versioned type names to manage 32156 breaking changes.) 32157 32158 Note: this functionality is not currently available in 32159 the official 32160 32161 protobuf release, and it is not used for type URLs 32162 beginning with 32163 32164 type.googleapis.com. 32165 32166 32167 Schemes other than `http`, `https` (or the empty scheme) 32168 might be 32169 32170 used with implementation specific semantics. 32171 value: 32172 type: string 32173 format: byte 32174 description: >- 32175 Must be a valid serialized protocol buffer of the above 32176 specified type. 32177 description: >- 32178 `Any` contains an arbitrary serialized protocol buffer 32179 message along with a 32180 32181 URL that describes the type of the serialized message. 32182 32183 32184 Protobuf library provides support to pack/unpack Any values 32185 in the form 32186 32187 of utility functions or additional generated methods of the 32188 Any type. 32189 32190 32191 Example 1: Pack and unpack a message in C++. 32192 32193 Foo foo = ...; 32194 Any any; 32195 any.PackFrom(foo); 32196 ... 32197 if (any.UnpackTo(&foo)) { 32198 ... 32199 } 32200 32201 Example 2: Pack and unpack a message in Java. 32202 32203 Foo foo = ...; 32204 Any any = Any.pack(foo); 32205 ... 32206 if (any.is(Foo.class)) { 32207 foo = any.unpack(Foo.class); 32208 } 32209 32210 Example 3: Pack and unpack a message in Python. 32211 32212 foo = Foo(...) 32213 any = Any() 32214 any.Pack(foo) 32215 ... 32216 if any.Is(Foo.DESCRIPTOR): 32217 any.Unpack(foo) 32218 ... 32219 32220 Example 4: Pack and unpack a message in Go 32221 32222 foo := &pb.Foo{...} 32223 any, err := ptypes.MarshalAny(foo) 32224 ... 32225 foo := &pb.Foo{} 32226 if err := ptypes.UnmarshalAny(any, foo); err != nil { 32227 ... 32228 } 32229 32230 The pack methods provided by protobuf library will by 32231 default use 32232 32233 'type.googleapis.com/full.type.name' as the type URL and the 32234 unpack 32235 32236 methods only use the fully qualified type name after the 32237 last '/' 32238 32239 in the type URL, for example "foo.bar.com/x/y.z" will yield 32240 type 32241 32242 name "y.z". 32243 32244 32245 32246 JSON 32247 32248 ==== 32249 32250 The JSON representation of an `Any` value uses the regular 32251 32252 representation of the deserialized, embedded message, with 32253 an 32254 32255 additional field `@type` which contains the type URL. 32256 Example: 32257 32258 package google.profile; 32259 message Person { 32260 string first_name = 1; 32261 string last_name = 2; 32262 } 32263 32264 { 32265 "@type": "type.googleapis.com/google.profile.Person", 32266 "firstName": <string>, 32267 "lastName": <string> 32268 } 32269 32270 If the embedded message type is well-known and has a custom 32271 JSON 32272 32273 representation, that representation will be embedded adding 32274 a field 32275 32276 `value` which holds the custom JSON in addition to the 32277 `@type` 32278 32279 field. Example (for message [google.protobuf.Duration][]): 32280 32281 { 32282 "@type": "type.googleapis.com/google.protobuf.Duration", 32283 "value": "1.212s" 32284 } 32285 parameters: 32286 - name: contract_id 32287 description: contract id associated with the contract. 32288 in: path 32289 required: true 32290 type: string 32291 - name: token_type 32292 description: |- 32293 token type associated with the token type. 32294 refer to TokenType for the definition. 32295 in: path 32296 required: true 32297 type: string 32298 tags: 32299 - Query 32300 '/lbm/collection/v1/contracts/{contract_id}/token_types/{token_type}/supply': 32301 get: 32302 summary: >- 32303 NFTSupply queries the number of tokens from a given contract id and 32304 token type. 32305 operationId: NFTSupply 32306 responses: 32307 '200': 32308 description: A successful response. 32309 schema: 32310 type: object 32311 properties: 32312 supply: 32313 type: string 32314 description: supply is the supply of the non-fungible token. 32315 description: >- 32316 QueryNFTSupplyResponse is the response type for the 32317 Query/NFTSupply RPC method. 32318 default: 32319 description: An unexpected error response 32320 schema: 32321 type: object 32322 properties: 32323 error: 32324 type: string 32325 code: 32326 type: integer 32327 format: int32 32328 message: 32329 type: string 32330 details: 32331 type: array 32332 items: 32333 type: object 32334 properties: 32335 type_url: 32336 type: string 32337 description: >- 32338 A URL/resource name that uniquely identifies the type of 32339 the serialized 32340 32341 protocol buffer message. This string must contain at 32342 least 32343 32344 one "/" character. The last segment of the URL's path 32345 must represent 32346 32347 the fully qualified name of the type (as in 32348 32349 `path/google.protobuf.Duration`). The name should be in 32350 a canonical form 32351 32352 (e.g., leading "." is not accepted). 32353 32354 32355 In practice, teams usually precompile into the binary 32356 all types that they 32357 32358 expect it to use in the context of Any. However, for 32359 URLs which use the 32360 32361 scheme `http`, `https`, or no scheme, one can optionally 32362 set up a type 32363 32364 server that maps type URLs to message definitions as 32365 follows: 32366 32367 32368 * If no scheme is provided, `https` is assumed. 32369 32370 * An HTTP GET on the URL must yield a 32371 [google.protobuf.Type][] 32372 value in binary format, or produce an error. 32373 * Applications are allowed to cache lookup results based 32374 on the 32375 URL, or have them precompiled into a binary to avoid any 32376 lookup. Therefore, binary compatibility needs to be preserved 32377 on changes to types. (Use versioned type names to manage 32378 breaking changes.) 32379 32380 Note: this functionality is not currently available in 32381 the official 32382 32383 protobuf release, and it is not used for type URLs 32384 beginning with 32385 32386 type.googleapis.com. 32387 32388 32389 Schemes other than `http`, `https` (or the empty scheme) 32390 might be 32391 32392 used with implementation specific semantics. 32393 value: 32394 type: string 32395 format: byte 32396 description: >- 32397 Must be a valid serialized protocol buffer of the above 32398 specified type. 32399 description: >- 32400 `Any` contains an arbitrary serialized protocol buffer 32401 message along with a 32402 32403 URL that describes the type of the serialized message. 32404 32405 32406 Protobuf library provides support to pack/unpack Any values 32407 in the form 32408 32409 of utility functions or additional generated methods of the 32410 Any type. 32411 32412 32413 Example 1: Pack and unpack a message in C++. 32414 32415 Foo foo = ...; 32416 Any any; 32417 any.PackFrom(foo); 32418 ... 32419 if (any.UnpackTo(&foo)) { 32420 ... 32421 } 32422 32423 Example 2: Pack and unpack a message in Java. 32424 32425 Foo foo = ...; 32426 Any any = Any.pack(foo); 32427 ... 32428 if (any.is(Foo.class)) { 32429 foo = any.unpack(Foo.class); 32430 } 32431 32432 Example 3: Pack and unpack a message in Python. 32433 32434 foo = Foo(...) 32435 any = Any() 32436 any.Pack(foo) 32437 ... 32438 if any.Is(Foo.DESCRIPTOR): 32439 any.Unpack(foo) 32440 ... 32441 32442 Example 4: Pack and unpack a message in Go 32443 32444 foo := &pb.Foo{...} 32445 any, err := ptypes.MarshalAny(foo) 32446 ... 32447 foo := &pb.Foo{} 32448 if err := ptypes.UnmarshalAny(any, foo); err != nil { 32449 ... 32450 } 32451 32452 The pack methods provided by protobuf library will by 32453 default use 32454 32455 'type.googleapis.com/full.type.name' as the type URL and the 32456 unpack 32457 32458 methods only use the fully qualified type name after the 32459 last '/' 32460 32461 in the type URL, for example "foo.bar.com/x/y.z" will yield 32462 type 32463 32464 name "y.z". 32465 32466 32467 32468 JSON 32469 32470 ==== 32471 32472 The JSON representation of an `Any` value uses the regular 32473 32474 representation of the deserialized, embedded message, with 32475 an 32476 32477 additional field `@type` which contains the type URL. 32478 Example: 32479 32480 package google.profile; 32481 message Person { 32482 string first_name = 1; 32483 string last_name = 2; 32484 } 32485 32486 { 32487 "@type": "type.googleapis.com/google.profile.Person", 32488 "firstName": <string>, 32489 "lastName": <string> 32490 } 32491 32492 If the embedded message type is well-known and has a custom 32493 JSON 32494 32495 representation, that representation will be embedded adding 32496 a field 32497 32498 `value` which holds the custom JSON in addition to the 32499 `@type` 32500 32501 field. Example (for message [google.protobuf.Duration][]): 32502 32503 { 32504 "@type": "type.googleapis.com/google.protobuf.Duration", 32505 "value": "1.212s" 32506 } 32507 parameters: 32508 - name: contract_id 32509 description: contract id associated with the contract. 32510 in: path 32511 required: true 32512 type: string 32513 - name: token_type 32514 description: |- 32515 token type associated with the token type. 32516 refer to TokenType for the definition. 32517 in: path 32518 required: true 32519 type: string 32520 tags: 32521 - Query 32522 '/lbm/collection/v1/contracts/{contract_id}/tokens/{token_id}': 32523 get: 32524 summary: Token queries a metadata of a token from its token id. 32525 operationId: Token 32526 responses: 32527 '200': 32528 description: A successful response. 32529 schema: 32530 type: object 32531 properties: 32532 token: 32533 type: object 32534 properties: 32535 type_url: 32536 type: string 32537 description: >- 32538 A URL/resource name that uniquely identifies the type of 32539 the serialized 32540 32541 protocol buffer message. This string must contain at least 32542 32543 one "/" character. The last segment of the URL's path must 32544 represent 32545 32546 the fully qualified name of the type (as in 32547 32548 `path/google.protobuf.Duration`). The name should be in a 32549 canonical form 32550 32551 (e.g., leading "." is not accepted). 32552 32553 32554 In practice, teams usually precompile into the binary all 32555 types that they 32556 32557 expect it to use in the context of Any. However, for URLs 32558 which use the 32559 32560 scheme `http`, `https`, or no scheme, one can optionally 32561 set up a type 32562 32563 server that maps type URLs to message definitions as 32564 follows: 32565 32566 32567 * If no scheme is provided, `https` is assumed. 32568 32569 * An HTTP GET on the URL must yield a 32570 [google.protobuf.Type][] 32571 value in binary format, or produce an error. 32572 * Applications are allowed to cache lookup results based 32573 on the 32574 URL, or have them precompiled into a binary to avoid any 32575 lookup. Therefore, binary compatibility needs to be preserved 32576 on changes to types. (Use versioned type names to manage 32577 breaking changes.) 32578 32579 Note: this functionality is not currently available in the 32580 official 32581 32582 protobuf release, and it is not used for type URLs 32583 beginning with 32584 32585 type.googleapis.com. 32586 32587 32588 Schemes other than `http`, `https` (or the empty scheme) 32589 might be 32590 32591 used with implementation specific semantics. 32592 value: 32593 type: string 32594 format: byte 32595 description: >- 32596 Must be a valid serialized protocol buffer of the above 32597 specified type. 32598 description: >- 32599 `Any` contains an arbitrary serialized protocol buffer message 32600 along with a 32601 32602 URL that describes the type of the serialized message. 32603 32604 32605 Protobuf library provides support to pack/unpack Any values in 32606 the form 32607 32608 of utility functions or additional generated methods of the 32609 Any type. 32610 32611 32612 Example 1: Pack and unpack a message in C++. 32613 32614 Foo foo = ...; 32615 Any any; 32616 any.PackFrom(foo); 32617 ... 32618 if (any.UnpackTo(&foo)) { 32619 ... 32620 } 32621 32622 Example 2: Pack and unpack a message in Java. 32623 32624 Foo foo = ...; 32625 Any any = Any.pack(foo); 32626 ... 32627 if (any.is(Foo.class)) { 32628 foo = any.unpack(Foo.class); 32629 } 32630 32631 Example 3: Pack and unpack a message in Python. 32632 32633 foo = Foo(...) 32634 any = Any() 32635 any.Pack(foo) 32636 ... 32637 if any.Is(Foo.DESCRIPTOR): 32638 any.Unpack(foo) 32639 ... 32640 32641 Example 4: Pack and unpack a message in Go 32642 32643 foo := &pb.Foo{...} 32644 any, err := ptypes.MarshalAny(foo) 32645 ... 32646 foo := &pb.Foo{} 32647 if err := ptypes.UnmarshalAny(any, foo); err != nil { 32648 ... 32649 } 32650 32651 The pack methods provided by protobuf library will by default 32652 use 32653 32654 'type.googleapis.com/full.type.name' as the type URL and the 32655 unpack 32656 32657 methods only use the fully qualified type name after the last 32658 '/' 32659 32660 in the type URL, for example "foo.bar.com/x/y.z" will yield 32661 type 32662 32663 name "y.z". 32664 32665 32666 32667 JSON 32668 32669 ==== 32670 32671 The JSON representation of an `Any` value uses the regular 32672 32673 representation of the deserialized, embedded message, with an 32674 32675 additional field `@type` which contains the type URL. Example: 32676 32677 package google.profile; 32678 message Person { 32679 string first_name = 1; 32680 string last_name = 2; 32681 } 32682 32683 { 32684 "@type": "type.googleapis.com/google.profile.Person", 32685 "firstName": <string>, 32686 "lastName": <string> 32687 } 32688 32689 If the embedded message type is well-known and has a custom 32690 JSON 32691 32692 representation, that representation will be embedded adding a 32693 field 32694 32695 `value` which holds the custom JSON in addition to the `@type` 32696 32697 field. Example (for message [google.protobuf.Duration][]): 32698 32699 { 32700 "@type": "type.googleapis.com/google.protobuf.Duration", 32701 "value": "1.212s" 32702 } 32703 description: >- 32704 QueryTokenResponse is the response type for the Query/Token RPC 32705 method. 32706 default: 32707 description: An unexpected error response 32708 schema: 32709 type: object 32710 properties: 32711 error: 32712 type: string 32713 code: 32714 type: integer 32715 format: int32 32716 message: 32717 type: string 32718 details: 32719 type: array 32720 items: 32721 type: object 32722 properties: 32723 type_url: 32724 type: string 32725 description: >- 32726 A URL/resource name that uniquely identifies the type of 32727 the serialized 32728 32729 protocol buffer message. This string must contain at 32730 least 32731 32732 one "/" character. The last segment of the URL's path 32733 must represent 32734 32735 the fully qualified name of the type (as in 32736 32737 `path/google.protobuf.Duration`). The name should be in 32738 a canonical form 32739 32740 (e.g., leading "." is not accepted). 32741 32742 32743 In practice, teams usually precompile into the binary 32744 all types that they 32745 32746 expect it to use in the context of Any. However, for 32747 URLs which use the 32748 32749 scheme `http`, `https`, or no scheme, one can optionally 32750 set up a type 32751 32752 server that maps type URLs to message definitions as 32753 follows: 32754 32755 32756 * If no scheme is provided, `https` is assumed. 32757 32758 * An HTTP GET on the URL must yield a 32759 [google.protobuf.Type][] 32760 value in binary format, or produce an error. 32761 * Applications are allowed to cache lookup results based 32762 on the 32763 URL, or have them precompiled into a binary to avoid any 32764 lookup. Therefore, binary compatibility needs to be preserved 32765 on changes to types. (Use versioned type names to manage 32766 breaking changes.) 32767 32768 Note: this functionality is not currently available in 32769 the official 32770 32771 protobuf release, and it is not used for type URLs 32772 beginning with 32773 32774 type.googleapis.com. 32775 32776 32777 Schemes other than `http`, `https` (or the empty scheme) 32778 might be 32779 32780 used with implementation specific semantics. 32781 value: 32782 type: string 32783 format: byte 32784 description: >- 32785 Must be a valid serialized protocol buffer of the above 32786 specified type. 32787 description: >- 32788 `Any` contains an arbitrary serialized protocol buffer 32789 message along with a 32790 32791 URL that describes the type of the serialized message. 32792 32793 32794 Protobuf library provides support to pack/unpack Any values 32795 in the form 32796 32797 of utility functions or additional generated methods of the 32798 Any type. 32799 32800 32801 Example 1: Pack and unpack a message in C++. 32802 32803 Foo foo = ...; 32804 Any any; 32805 any.PackFrom(foo); 32806 ... 32807 if (any.UnpackTo(&foo)) { 32808 ... 32809 } 32810 32811 Example 2: Pack and unpack a message in Java. 32812 32813 Foo foo = ...; 32814 Any any = Any.pack(foo); 32815 ... 32816 if (any.is(Foo.class)) { 32817 foo = any.unpack(Foo.class); 32818 } 32819 32820 Example 3: Pack and unpack a message in Python. 32821 32822 foo = Foo(...) 32823 any = Any() 32824 any.Pack(foo) 32825 ... 32826 if any.Is(Foo.DESCRIPTOR): 32827 any.Unpack(foo) 32828 ... 32829 32830 Example 4: Pack and unpack a message in Go 32831 32832 foo := &pb.Foo{...} 32833 any, err := ptypes.MarshalAny(foo) 32834 ... 32835 foo := &pb.Foo{} 32836 if err := ptypes.UnmarshalAny(any, foo); err != nil { 32837 ... 32838 } 32839 32840 The pack methods provided by protobuf library will by 32841 default use 32842 32843 'type.googleapis.com/full.type.name' as the type URL and the 32844 unpack 32845 32846 methods only use the fully qualified type name after the 32847 last '/' 32848 32849 in the type URL, for example "foo.bar.com/x/y.z" will yield 32850 type 32851 32852 name "y.z". 32853 32854 32855 32856 JSON 32857 32858 ==== 32859 32860 The JSON representation of an `Any` value uses the regular 32861 32862 representation of the deserialized, embedded message, with 32863 an 32864 32865 additional field `@type` which contains the type URL. 32866 Example: 32867 32868 package google.profile; 32869 message Person { 32870 string first_name = 1; 32871 string last_name = 2; 32872 } 32873 32874 { 32875 "@type": "type.googleapis.com/google.profile.Person", 32876 "firstName": <string>, 32877 "lastName": <string> 32878 } 32879 32880 If the embedded message type is well-known and has a custom 32881 JSON 32882 32883 representation, that representation will be embedded adding 32884 a field 32885 32886 `value` which holds the custom JSON in addition to the 32887 `@type` 32888 32889 field. Example (for message [google.protobuf.Duration][]): 32890 32891 { 32892 "@type": "type.googleapis.com/google.protobuf.Duration", 32893 "value": "1.212s" 32894 } 32895 parameters: 32896 - name: contract_id 32897 description: contract id associated with the contract. 32898 in: path 32899 required: true 32900 type: string 32901 - name: token_id 32902 description: token id associated with the fungible token. 32903 in: path 32904 required: true 32905 type: string 32906 tags: 32907 - Query 32908 '/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}': 32909 get: 32910 summary: Allowance returns fee granted to the grantee by the granter. 32911 operationId: Allowance 32912 responses: 32913 '200': 32914 description: A successful response. 32915 schema: 32916 type: object 32917 properties: 32918 allowance: 32919 description: allowance is a allowance granted for grantee by granter. 32920 type: object 32921 properties: 32922 granter: 32923 type: string 32924 description: >- 32925 granter is the address of the user granting an allowance 32926 of their funds. 32927 grantee: 32928 type: string 32929 description: >- 32930 grantee is the address of the user being granted an 32931 allowance of another user's funds. 32932 allowance: 32933 description: allowance can be any of basic and filtered fee allowance. 32934 type: object 32935 properties: 32936 type_url: 32937 type: string 32938 description: >- 32939 A URL/resource name that uniquely identifies the type 32940 of the serialized 32941 32942 protocol buffer message. This string must contain at 32943 least 32944 32945 one "/" character. The last segment of the URL's path 32946 must represent 32947 32948 the fully qualified name of the type (as in 32949 32950 `path/google.protobuf.Duration`). The name should be 32951 in a canonical form 32952 32953 (e.g., leading "." is not accepted). 32954 32955 32956 In practice, teams usually precompile into the binary 32957 all types that they 32958 32959 expect it to use in the context of Any. However, for 32960 URLs which use the 32961 32962 scheme `http`, `https`, or no scheme, one can 32963 optionally set up a type 32964 32965 server that maps type URLs to message definitions as 32966 follows: 32967 32968 32969 * If no scheme is provided, `https` is assumed. 32970 32971 * An HTTP GET on the URL must yield a 32972 [google.protobuf.Type][] 32973 value in binary format, or produce an error. 32974 * Applications are allowed to cache lookup results 32975 based on the 32976 URL, or have them precompiled into a binary to avoid any 32977 lookup. Therefore, binary compatibility needs to be preserved 32978 on changes to types. (Use versioned type names to manage 32979 breaking changes.) 32980 32981 Note: this functionality is not currently available in 32982 the official 32983 32984 protobuf release, and it is not used for type URLs 32985 beginning with 32986 32987 type.googleapis.com. 32988 32989 32990 Schemes other than `http`, `https` (or the empty 32991 scheme) might be 32992 32993 used with implementation specific semantics. 32994 value: 32995 type: string 32996 format: byte 32997 description: >- 32998 Must be a valid serialized protocol buffer of the 32999 above specified type. 33000 title: >- 33001 Grant is stored in the KVStore to record a grant with full 33002 context 33003 description: >- 33004 QueryAllowanceResponse is the response type for the 33005 Query/Allowance RPC method. 33006 default: 33007 description: An unexpected error response 33008 schema: 33009 type: object 33010 properties: 33011 error: 33012 type: string 33013 code: 33014 type: integer 33015 format: int32 33016 message: 33017 type: string 33018 details: 33019 type: array 33020 items: 33021 type: object 33022 properties: 33023 type_url: 33024 type: string 33025 description: >- 33026 A URL/resource name that uniquely identifies the type of 33027 the serialized 33028 33029 protocol buffer message. This string must contain at 33030 least 33031 33032 one "/" character. The last segment of the URL's path 33033 must represent 33034 33035 the fully qualified name of the type (as in 33036 33037 `path/google.protobuf.Duration`). The name should be in 33038 a canonical form 33039 33040 (e.g., leading "." is not accepted). 33041 33042 33043 In practice, teams usually precompile into the binary 33044 all types that they 33045 33046 expect it to use in the context of Any. However, for 33047 URLs which use the 33048 33049 scheme `http`, `https`, or no scheme, one can optionally 33050 set up a type 33051 33052 server that maps type URLs to message definitions as 33053 follows: 33054 33055 33056 * If no scheme is provided, `https` is assumed. 33057 33058 * An HTTP GET on the URL must yield a 33059 [google.protobuf.Type][] 33060 value in binary format, or produce an error. 33061 * Applications are allowed to cache lookup results based 33062 on the 33063 URL, or have them precompiled into a binary to avoid any 33064 lookup. Therefore, binary compatibility needs to be preserved 33065 on changes to types. (Use versioned type names to manage 33066 breaking changes.) 33067 33068 Note: this functionality is not currently available in 33069 the official 33070 33071 protobuf release, and it is not used for type URLs 33072 beginning with 33073 33074 type.googleapis.com. 33075 33076 33077 Schemes other than `http`, `https` (or the empty scheme) 33078 might be 33079 33080 used with implementation specific semantics. 33081 value: 33082 type: string 33083 format: byte 33084 description: >- 33085 Must be a valid serialized protocol buffer of the above 33086 specified type. 33087 description: >- 33088 `Any` contains an arbitrary serialized protocol buffer 33089 message along with a 33090 33091 URL that describes the type of the serialized message. 33092 33093 33094 Protobuf library provides support to pack/unpack Any values 33095 in the form 33096 33097 of utility functions or additional generated methods of the 33098 Any type. 33099 33100 33101 Example 1: Pack and unpack a message in C++. 33102 33103 Foo foo = ...; 33104 Any any; 33105 any.PackFrom(foo); 33106 ... 33107 if (any.UnpackTo(&foo)) { 33108 ... 33109 } 33110 33111 Example 2: Pack and unpack a message in Java. 33112 33113 Foo foo = ...; 33114 Any any = Any.pack(foo); 33115 ... 33116 if (any.is(Foo.class)) { 33117 foo = any.unpack(Foo.class); 33118 } 33119 33120 Example 3: Pack and unpack a message in Python. 33121 33122 foo = Foo(...) 33123 any = Any() 33124 any.Pack(foo) 33125 ... 33126 if any.Is(Foo.DESCRIPTOR): 33127 any.Unpack(foo) 33128 ... 33129 33130 Example 4: Pack and unpack a message in Go 33131 33132 foo := &pb.Foo{...} 33133 any, err := ptypes.MarshalAny(foo) 33134 ... 33135 foo := &pb.Foo{} 33136 if err := ptypes.UnmarshalAny(any, foo); err != nil { 33137 ... 33138 } 33139 33140 The pack methods provided by protobuf library will by 33141 default use 33142 33143 'type.googleapis.com/full.type.name' as the type URL and the 33144 unpack 33145 33146 methods only use the fully qualified type name after the 33147 last '/' 33148 33149 in the type URL, for example "foo.bar.com/x/y.z" will yield 33150 type 33151 33152 name "y.z". 33153 33154 33155 33156 JSON 33157 33158 ==== 33159 33160 The JSON representation of an `Any` value uses the regular 33161 33162 representation of the deserialized, embedded message, with 33163 an 33164 33165 additional field `@type` which contains the type URL. 33166 Example: 33167 33168 package google.profile; 33169 message Person { 33170 string first_name = 1; 33171 string last_name = 2; 33172 } 33173 33174 { 33175 "@type": "type.googleapis.com/google.profile.Person", 33176 "firstName": <string>, 33177 "lastName": <string> 33178 } 33179 33180 If the embedded message type is well-known and has a custom 33181 JSON 33182 33183 representation, that representation will be embedded adding 33184 a field 33185 33186 `value` which holds the custom JSON in addition to the 33187 `@type` 33188 33189 field. Example (for message [google.protobuf.Duration][]): 33190 33191 { 33192 "@type": "type.googleapis.com/google.protobuf.Duration", 33193 "value": "1.212s" 33194 } 33195 parameters: 33196 - name: granter 33197 description: >- 33198 granter is the address of the user granting an allowance of their 33199 funds. 33200 in: path 33201 required: true 33202 type: string 33203 - name: grantee 33204 description: >- 33205 grantee is the address of the user being granted an allowance of 33206 another user's funds. 33207 in: path 33208 required: true 33209 type: string 33210 tags: 33211 - Query 33212 '/cosmos/feegrant/v1beta1/allowances/{grantee}': 33213 get: 33214 summary: Allowances returns all the grants for address. 33215 operationId: Allowances 33216 responses: 33217 '200': 33218 description: A successful response. 33219 schema: 33220 type: object 33221 properties: 33222 allowances: 33223 type: array 33224 items: 33225 type: object 33226 properties: 33227 granter: 33228 type: string 33229 description: >- 33230 granter is the address of the user granting an allowance 33231 of their funds. 33232 grantee: 33233 type: string 33234 description: >- 33235 grantee is the address of the user being granted an 33236 allowance of another user's funds. 33237 allowance: 33238 description: >- 33239 allowance can be any of basic and filtered fee 33240 allowance. 33241 type: object 33242 properties: 33243 type_url: 33244 type: string 33245 description: >- 33246 A URL/resource name that uniquely identifies the 33247 type of the serialized 33248 33249 protocol buffer message. This string must contain at 33250 least 33251 33252 one "/" character. The last segment of the URL's 33253 path must represent 33254 33255 the fully qualified name of the type (as in 33256 33257 `path/google.protobuf.Duration`). The name should be 33258 in a canonical form 33259 33260 (e.g., leading "." is not accepted). 33261 33262 33263 In practice, teams usually precompile into the 33264 binary all types that they 33265 33266 expect it to use in the context of Any. However, for 33267 URLs which use the 33268 33269 scheme `http`, `https`, or no scheme, one can 33270 optionally set up a type 33271 33272 server that maps type URLs to message definitions as 33273 follows: 33274 33275 33276 * If no scheme is provided, `https` is assumed. 33277 33278 * An HTTP GET on the URL must yield a 33279 [google.protobuf.Type][] 33280 value in binary format, or produce an error. 33281 * Applications are allowed to cache lookup results 33282 based on the 33283 URL, or have them precompiled into a binary to avoid any 33284 lookup. Therefore, binary compatibility needs to be preserved 33285 on changes to types. (Use versioned type names to manage 33286 breaking changes.) 33287 33288 Note: this functionality is not currently available 33289 in the official 33290 33291 protobuf release, and it is not used for type URLs 33292 beginning with 33293 33294 type.googleapis.com. 33295 33296 33297 Schemes other than `http`, `https` (or the empty 33298 scheme) might be 33299 33300 used with implementation specific semantics. 33301 value: 33302 type: string 33303 format: byte 33304 description: >- 33305 Must be a valid serialized protocol buffer of the 33306 above specified type. 33307 title: >- 33308 Grant is stored in the KVStore to record a grant with full 33309 context 33310 description: allowances are allowance's granted for grantee by granter. 33311 pagination: 33312 description: pagination defines an pagination for the response. 33313 type: object 33314 properties: 33315 next_key: 33316 type: string 33317 format: byte 33318 title: |- 33319 next_key is the key to be passed to PageRequest.key to 33320 query the next page most efficiently 33321 total: 33322 type: string 33323 format: uint64 33324 title: >- 33325 total is total number of results available if 33326 PageRequest.count_total 33327 33328 was set, its value is undefined otherwise 33329 description: >- 33330 QueryAllowancesResponse is the response type for the 33331 Query/Allowances RPC method. 33332 default: 33333 description: An unexpected error response 33334 schema: 33335 type: object 33336 properties: 33337 error: 33338 type: string 33339 code: 33340 type: integer 33341 format: int32 33342 message: 33343 type: string 33344 details: 33345 type: array 33346 items: 33347 type: object 33348 properties: 33349 type_url: 33350 type: string 33351 description: >- 33352 A URL/resource name that uniquely identifies the type of 33353 the serialized 33354 33355 protocol buffer message. This string must contain at 33356 least 33357 33358 one "/" character. The last segment of the URL's path 33359 must represent 33360 33361 the fully qualified name of the type (as in 33362 33363 `path/google.protobuf.Duration`). The name should be in 33364 a canonical form 33365 33366 (e.g., leading "." is not accepted). 33367 33368 33369 In practice, teams usually precompile into the binary 33370 all types that they 33371 33372 expect it to use in the context of Any. However, for 33373 URLs which use the 33374 33375 scheme `http`, `https`, or no scheme, one can optionally 33376 set up a type 33377 33378 server that maps type URLs to message definitions as 33379 follows: 33380 33381 33382 * If no scheme is provided, `https` is assumed. 33383 33384 * An HTTP GET on the URL must yield a 33385 [google.protobuf.Type][] 33386 value in binary format, or produce an error. 33387 * Applications are allowed to cache lookup results based 33388 on the 33389 URL, or have them precompiled into a binary to avoid any 33390 lookup. Therefore, binary compatibility needs to be preserved 33391 on changes to types. (Use versioned type names to manage 33392 breaking changes.) 33393 33394 Note: this functionality is not currently available in 33395 the official 33396 33397 protobuf release, and it is not used for type URLs 33398 beginning with 33399 33400 type.googleapis.com. 33401 33402 33403 Schemes other than `http`, `https` (or the empty scheme) 33404 might be 33405 33406 used with implementation specific semantics. 33407 value: 33408 type: string 33409 format: byte 33410 description: >- 33411 Must be a valid serialized protocol buffer of the above 33412 specified type. 33413 description: >- 33414 `Any` contains an arbitrary serialized protocol buffer 33415 message along with a 33416 33417 URL that describes the type of the serialized message. 33418 33419 33420 Protobuf library provides support to pack/unpack Any values 33421 in the form 33422 33423 of utility functions or additional generated methods of the 33424 Any type. 33425 33426 33427 Example 1: Pack and unpack a message in C++. 33428 33429 Foo foo = ...; 33430 Any any; 33431 any.PackFrom(foo); 33432 ... 33433 if (any.UnpackTo(&foo)) { 33434 ... 33435 } 33436 33437 Example 2: Pack and unpack a message in Java. 33438 33439 Foo foo = ...; 33440 Any any = Any.pack(foo); 33441 ... 33442 if (any.is(Foo.class)) { 33443 foo = any.unpack(Foo.class); 33444 } 33445 33446 Example 3: Pack and unpack a message in Python. 33447 33448 foo = Foo(...) 33449 any = Any() 33450 any.Pack(foo) 33451 ... 33452 if any.Is(Foo.DESCRIPTOR): 33453 any.Unpack(foo) 33454 ... 33455 33456 Example 4: Pack and unpack a message in Go 33457 33458 foo := &pb.Foo{...} 33459 any, err := ptypes.MarshalAny(foo) 33460 ... 33461 foo := &pb.Foo{} 33462 if err := ptypes.UnmarshalAny(any, foo); err != nil { 33463 ... 33464 } 33465 33466 The pack methods provided by protobuf library will by 33467 default use 33468 33469 'type.googleapis.com/full.type.name' as the type URL and the 33470 unpack 33471 33472 methods only use the fully qualified type name after the 33473 last '/' 33474 33475 in the type URL, for example "foo.bar.com/x/y.z" will yield 33476 type 33477 33478 name "y.z". 33479 33480 33481 33482 JSON 33483 33484 ==== 33485 33486 The JSON representation of an `Any` value uses the regular 33487 33488 representation of the deserialized, embedded message, with 33489 an 33490 33491 additional field `@type` which contains the type URL. 33492 Example: 33493 33494 package google.profile; 33495 message Person { 33496 string first_name = 1; 33497 string last_name = 2; 33498 } 33499 33500 { 33501 "@type": "type.googleapis.com/google.profile.Person", 33502 "firstName": <string>, 33503 "lastName": <string> 33504 } 33505 33506 If the embedded message type is well-known and has a custom 33507 JSON 33508 33509 representation, that representation will be embedded adding 33510 a field 33511 33512 `value` which holds the custom JSON in addition to the 33513 `@type` 33514 33515 field. Example (for message [google.protobuf.Duration][]): 33516 33517 { 33518 "@type": "type.googleapis.com/google.protobuf.Duration", 33519 "value": "1.212s" 33520 } 33521 parameters: 33522 - name: grantee 33523 in: path 33524 required: true 33525 type: string 33526 - name: pagination.key 33527 description: |- 33528 key is a value returned in PageResponse.next_key to begin 33529 querying the next page most efficiently. Only one of offset or key 33530 should be set. 33531 in: query 33532 required: false 33533 type: string 33534 format: byte 33535 - name: pagination.offset 33536 description: >- 33537 offset is a numeric offset that can be used when key is unavailable. 33538 33539 It is less efficient than using key. Only one of offset or key 33540 should 33541 33542 be set. 33543 in: query 33544 required: false 33545 type: string 33546 format: uint64 33547 - name: pagination.limit 33548 description: >- 33549 limit is the total number of results to be returned in the result 33550 page. 33551 33552 If left empty it will default to a value to be set by each app. 33553 in: query 33554 required: false 33555 type: string 33556 format: uint64 33557 - name: pagination.count_total 33558 description: >- 33559 count_total is set to true to indicate that the result set should 33560 include 33561 33562 a count of the total number of items available for pagination in 33563 UIs. 33564 33565 count_total is only respected when offset is used. It is ignored 33566 when key 33567 33568 is set. 33569 in: query 33570 required: false 33571 type: boolean 33572 format: boolean 33573 - name: pagination.reverse 33574 description: >- 33575 reverse is set to true if results are to be returned in the 33576 descending order. 33577 33578 33579 Since: cosmos-sdk 0.43 33580 in: query 33581 required: false 33582 type: boolean 33583 format: boolean 33584 tags: 33585 - Query 33586 '/cosmos/feegrant/v1beta1/issued/{granter}': 33587 get: 33588 summary: |- 33589 AllowancesByGranter returns all the grants given by an address 33590 Since v0.46 33591 operationId: AllowancesByGranter 33592 responses: 33593 '200': 33594 description: A successful response. 33595 schema: 33596 type: object 33597 properties: 33598 allowances: 33599 type: array 33600 items: 33601 type: object 33602 properties: 33603 granter: 33604 type: string 33605 description: >- 33606 granter is the address of the user granting an allowance 33607 of their funds. 33608 grantee: 33609 type: string 33610 description: >- 33611 grantee is the address of the user being granted an 33612 allowance of another user's funds. 33613 allowance: 33614 description: >- 33615 allowance can be any of basic and filtered fee 33616 allowance. 33617 type: object 33618 properties: 33619 type_url: 33620 type: string 33621 description: >- 33622 A URL/resource name that uniquely identifies the 33623 type of the serialized 33624 33625 protocol buffer message. This string must contain at 33626 least 33627 33628 one "/" character. The last segment of the URL's 33629 path must represent 33630 33631 the fully qualified name of the type (as in 33632 33633 `path/google.protobuf.Duration`). The name should be 33634 in a canonical form 33635 33636 (e.g., leading "." is not accepted). 33637 33638 33639 In practice, teams usually precompile into the 33640 binary all types that they 33641 33642 expect it to use in the context of Any. However, for 33643 URLs which use the 33644 33645 scheme `http`, `https`, or no scheme, one can 33646 optionally set up a type 33647 33648 server that maps type URLs to message definitions as 33649 follows: 33650 33651 33652 * If no scheme is provided, `https` is assumed. 33653 33654 * An HTTP GET on the URL must yield a 33655 [google.protobuf.Type][] 33656 value in binary format, or produce an error. 33657 * Applications are allowed to cache lookup results 33658 based on the 33659 URL, or have them precompiled into a binary to avoid any 33660 lookup. Therefore, binary compatibility needs to be preserved 33661 on changes to types. (Use versioned type names to manage 33662 breaking changes.) 33663 33664 Note: this functionality is not currently available 33665 in the official 33666 33667 protobuf release, and it is not used for type URLs 33668 beginning with 33669 33670 type.googleapis.com. 33671 33672 33673 Schemes other than `http`, `https` (or the empty 33674 scheme) might be 33675 33676 used with implementation specific semantics. 33677 value: 33678 type: string 33679 format: byte 33680 description: >- 33681 Must be a valid serialized protocol buffer of the 33682 above specified type. 33683 title: >- 33684 Grant is stored in the KVStore to record a grant with full 33685 context 33686 description: allowances that have been issued by the granter. 33687 pagination: 33688 description: pagination defines an pagination for the response. 33689 type: object 33690 properties: 33691 next_key: 33692 type: string 33693 format: byte 33694 title: |- 33695 next_key is the key to be passed to PageRequest.key to 33696 query the next page most efficiently 33697 total: 33698 type: string 33699 format: uint64 33700 title: >- 33701 total is total number of results available if 33702 PageRequest.count_total 33703 33704 was set, its value is undefined otherwise 33705 description: >- 33706 QueryAllowancesByGranterResponse is the response type for the 33707 Query/AllowancesByGranter RPC method. 33708 default: 33709 description: An unexpected error response 33710 schema: 33711 type: object 33712 properties: 33713 error: 33714 type: string 33715 code: 33716 type: integer 33717 format: int32 33718 message: 33719 type: string 33720 details: 33721 type: array 33722 items: 33723 type: object 33724 properties: 33725 type_url: 33726 type: string 33727 description: >- 33728 A URL/resource name that uniquely identifies the type of 33729 the serialized 33730 33731 protocol buffer message. This string must contain at 33732 least 33733 33734 one "/" character. The last segment of the URL's path 33735 must represent 33736 33737 the fully qualified name of the type (as in 33738 33739 `path/google.protobuf.Duration`). The name should be in 33740 a canonical form 33741 33742 (e.g., leading "." is not accepted). 33743 33744 33745 In practice, teams usually precompile into the binary 33746 all types that they 33747 33748 expect it to use in the context of Any. However, for 33749 URLs which use the 33750 33751 scheme `http`, `https`, or no scheme, one can optionally 33752 set up a type 33753 33754 server that maps type URLs to message definitions as 33755 follows: 33756 33757 33758 * If no scheme is provided, `https` is assumed. 33759 33760 * An HTTP GET on the URL must yield a 33761 [google.protobuf.Type][] 33762 value in binary format, or produce an error. 33763 * Applications are allowed to cache lookup results based 33764 on the 33765 URL, or have them precompiled into a binary to avoid any 33766 lookup. Therefore, binary compatibility needs to be preserved 33767 on changes to types. (Use versioned type names to manage 33768 breaking changes.) 33769 33770 Note: this functionality is not currently available in 33771 the official 33772 33773 protobuf release, and it is not used for type URLs 33774 beginning with 33775 33776 type.googleapis.com. 33777 33778 33779 Schemes other than `http`, `https` (or the empty scheme) 33780 might be 33781 33782 used with implementation specific semantics. 33783 value: 33784 type: string 33785 format: byte 33786 description: >- 33787 Must be a valid serialized protocol buffer of the above 33788 specified type. 33789 description: >- 33790 `Any` contains an arbitrary serialized protocol buffer 33791 message along with a 33792 33793 URL that describes the type of the serialized message. 33794 33795 33796 Protobuf library provides support to pack/unpack Any values 33797 in the form 33798 33799 of utility functions or additional generated methods of the 33800 Any type. 33801 33802 33803 Example 1: Pack and unpack a message in C++. 33804 33805 Foo foo = ...; 33806 Any any; 33807 any.PackFrom(foo); 33808 ... 33809 if (any.UnpackTo(&foo)) { 33810 ... 33811 } 33812 33813 Example 2: Pack and unpack a message in Java. 33814 33815 Foo foo = ...; 33816 Any any = Any.pack(foo); 33817 ... 33818 if (any.is(Foo.class)) { 33819 foo = any.unpack(Foo.class); 33820 } 33821 33822 Example 3: Pack and unpack a message in Python. 33823 33824 foo = Foo(...) 33825 any = Any() 33826 any.Pack(foo) 33827 ... 33828 if any.Is(Foo.DESCRIPTOR): 33829 any.Unpack(foo) 33830 ... 33831 33832 Example 4: Pack and unpack a message in Go 33833 33834 foo := &pb.Foo{...} 33835 any, err := ptypes.MarshalAny(foo) 33836 ... 33837 foo := &pb.Foo{} 33838 if err := ptypes.UnmarshalAny(any, foo); err != nil { 33839 ... 33840 } 33841 33842 The pack methods provided by protobuf library will by 33843 default use 33844 33845 'type.googleapis.com/full.type.name' as the type URL and the 33846 unpack 33847 33848 methods only use the fully qualified type name after the 33849 last '/' 33850 33851 in the type URL, for example "foo.bar.com/x/y.z" will yield 33852 type 33853 33854 name "y.z". 33855 33856 33857 33858 JSON 33859 33860 ==== 33861 33862 The JSON representation of an `Any` value uses the regular 33863 33864 representation of the deserialized, embedded message, with 33865 an 33866 33867 additional field `@type` which contains the type URL. 33868 Example: 33869 33870 package google.profile; 33871 message Person { 33872 string first_name = 1; 33873 string last_name = 2; 33874 } 33875 33876 { 33877 "@type": "type.googleapis.com/google.profile.Person", 33878 "firstName": <string>, 33879 "lastName": <string> 33880 } 33881 33882 If the embedded message type is well-known and has a custom 33883 JSON 33884 33885 representation, that representation will be embedded adding 33886 a field 33887 33888 `value` which holds the custom JSON in addition to the 33889 `@type` 33890 33891 field. Example (for message [google.protobuf.Duration][]): 33892 33893 { 33894 "@type": "type.googleapis.com/google.protobuf.Duration", 33895 "value": "1.212s" 33896 } 33897 parameters: 33898 - name: granter 33899 in: path 33900 required: true 33901 type: string 33902 - name: pagination.key 33903 description: |- 33904 key is a value returned in PageResponse.next_key to begin 33905 querying the next page most efficiently. Only one of offset or key 33906 should be set. 33907 in: query 33908 required: false 33909 type: string 33910 format: byte 33911 - name: pagination.offset 33912 description: >- 33913 offset is a numeric offset that can be used when key is unavailable. 33914 33915 It is less efficient than using key. Only one of offset or key 33916 should 33917 33918 be set. 33919 in: query 33920 required: false 33921 type: string 33922 format: uint64 33923 - name: pagination.limit 33924 description: >- 33925 limit is the total number of results to be returned in the result 33926 page. 33927 33928 If left empty it will default to a value to be set by each app. 33929 in: query 33930 required: false 33931 type: string 33932 format: uint64 33933 - name: pagination.count_total 33934 description: >- 33935 count_total is set to true to indicate that the result set should 33936 include 33937 33938 a count of the total number of items available for pagination in 33939 UIs. 33940 33941 count_total is only respected when offset is used. It is ignored 33942 when key 33943 33944 is set. 33945 in: query 33946 required: false 33947 type: boolean 33948 format: boolean 33949 - name: pagination.reverse 33950 description: >- 33951 reverse is set to true if results are to be returned in the 33952 descending order. 33953 33954 33955 Since: cosmos-sdk 0.43 33956 in: query 33957 required: false 33958 type: boolean 33959 format: boolean 33960 tags: 33961 - Query 33962 /cosmos/base/node/v1beta1/config: 33963 get: 33964 summary: Config queries for the operator configuration. 33965 operationId: Config 33966 responses: 33967 '200': 33968 description: A successful response. 33969 schema: 33970 type: object 33971 properties: 33972 minimum_gas_price: 33973 type: string 33974 description: >- 33975 ConfigResponse defines the response structure for the Config gRPC 33976 query. 33977 default: 33978 description: An unexpected error response 33979 schema: 33980 type: object 33981 properties: 33982 error: 33983 type: string 33984 code: 33985 type: integer 33986 format: int32 33987 message: 33988 type: string 33989 details: 33990 type: array 33991 items: 33992 type: object 33993 properties: 33994 type_url: 33995 type: string 33996 value: 33997 type: string 33998 format: byte 33999 tags: 34000 - Service 34001 '/lbm/tx/v1beta1/txs/block/{height}': 34002 get: 34003 summary: GetBlockWithTxs fetches a block with decoded txs. 34004 description: 'Since: finschia-sdk 0.47.0' 34005 operationId: GetBlockWithTxs2 34006 responses: 34007 '200': 34008 description: A successful response. 34009 schema: 34010 $ref: '#/definitions/lbm.tx.v1beta1.GetBlockWithTxsResponse' 34011 default: 34012 description: An unexpected error response 34013 schema: 34014 type: object 34015 properties: 34016 error: 34017 type: string 34018 code: 34019 type: integer 34020 format: int32 34021 message: 34022 type: string 34023 details: 34024 type: array 34025 items: 34026 type: object 34027 properties: 34028 type_url: 34029 type: string 34030 description: >- 34031 A URL/resource name that uniquely identifies the type of 34032 the serialized 34033 34034 protocol buffer message. This string must contain at 34035 least 34036 34037 one "/" character. The last segment of the URL's path 34038 must represent 34039 34040 the fully qualified name of the type (as in 34041 34042 `path/google.protobuf.Duration`). The name should be in 34043 a canonical form 34044 34045 (e.g., leading "." is not accepted). 34046 34047 34048 In practice, teams usually precompile into the binary 34049 all types that they 34050 34051 expect it to use in the context of Any. However, for 34052 URLs which use the 34053 34054 scheme `http`, `https`, or no scheme, one can optionally 34055 set up a type 34056 34057 server that maps type URLs to message definitions as 34058 follows: 34059 34060 34061 * If no scheme is provided, `https` is assumed. 34062 34063 * An HTTP GET on the URL must yield a 34064 [google.protobuf.Type][] 34065 value in binary format, or produce an error. 34066 * Applications are allowed to cache lookup results based 34067 on the 34068 URL, or have them precompiled into a binary to avoid any 34069 lookup. Therefore, binary compatibility needs to be preserved 34070 on changes to types. (Use versioned type names to manage 34071 breaking changes.) 34072 34073 Note: this functionality is not currently available in 34074 the official 34075 34076 protobuf release, and it is not used for type URLs 34077 beginning with 34078 34079 type.googleapis.com. 34080 34081 34082 Schemes other than `http`, `https` (or the empty scheme) 34083 might be 34084 34085 used with implementation specific semantics. 34086 value: 34087 type: string 34088 format: byte 34089 description: >- 34090 Must be a valid serialized protocol buffer of the above 34091 specified type. 34092 description: >- 34093 `Any` contains an arbitrary serialized protocol buffer 34094 message along with a 34095 34096 URL that describes the type of the serialized message. 34097 34098 34099 Protobuf library provides support to pack/unpack Any values 34100 in the form 34101 34102 of utility functions or additional generated methods of the 34103 Any type. 34104 34105 34106 Example 1: Pack and unpack a message in C++. 34107 34108 Foo foo = ...; 34109 Any any; 34110 any.PackFrom(foo); 34111 ... 34112 if (any.UnpackTo(&foo)) { 34113 ... 34114 } 34115 34116 Example 2: Pack and unpack a message in Java. 34117 34118 Foo foo = ...; 34119 Any any = Any.pack(foo); 34120 ... 34121 if (any.is(Foo.class)) { 34122 foo = any.unpack(Foo.class); 34123 } 34124 34125 Example 3: Pack and unpack a message in Python. 34126 34127 foo = Foo(...) 34128 any = Any() 34129 any.Pack(foo) 34130 ... 34131 if any.Is(Foo.DESCRIPTOR): 34132 any.Unpack(foo) 34133 ... 34134 34135 Example 4: Pack and unpack a message in Go 34136 34137 foo := &pb.Foo{...} 34138 any, err := ptypes.MarshalAny(foo) 34139 ... 34140 foo := &pb.Foo{} 34141 if err := ptypes.UnmarshalAny(any, foo); err != nil { 34142 ... 34143 } 34144 34145 The pack methods provided by protobuf library will by 34146 default use 34147 34148 'type.googleapis.com/full.type.name' as the type URL and the 34149 unpack 34150 34151 methods only use the fully qualified type name after the 34152 last '/' 34153 34154 in the type URL, for example "foo.bar.com/x/y.z" will yield 34155 type 34156 34157 name "y.z". 34158 34159 34160 34161 JSON 34162 34163 ==== 34164 34165 The JSON representation of an `Any` value uses the regular 34166 34167 representation of the deserialized, embedded message, with 34168 an 34169 34170 additional field `@type` which contains the type URL. 34171 Example: 34172 34173 package google.profile; 34174 message Person { 34175 string first_name = 1; 34176 string last_name = 2; 34177 } 34178 34179 { 34180 "@type": "type.googleapis.com/google.profile.Person", 34181 "firstName": <string>, 34182 "lastName": <string> 34183 } 34184 34185 If the embedded message type is well-known and has a custom 34186 JSON 34187 34188 representation, that representation will be embedded adding 34189 a field 34190 34191 `value` which holds the custom JSON in addition to the 34192 `@type` 34193 34194 field. Example (for message [google.protobuf.Duration][]): 34195 34196 { 34197 "@type": "type.googleapis.com/google.protobuf.Duration", 34198 "value": "1.212s" 34199 } 34200 parameters: 34201 - name: height 34202 description: height is the height of the block to query. 34203 in: path 34204 required: true 34205 type: string 34206 format: int64 34207 - name: pagination.key 34208 description: |- 34209 key is a value returned in PageResponse.next_key to begin 34210 querying the next page most efficiently. Only one of offset or key 34211 should be set. 34212 in: query 34213 required: false 34214 type: string 34215 format: byte 34216 - name: pagination.offset 34217 description: >- 34218 offset is a numeric offset that can be used when key is unavailable. 34219 34220 It is less efficient than using key. Only one of offset or key 34221 should 34222 34223 be set. 34224 in: query 34225 required: false 34226 type: string 34227 format: uint64 34228 - name: pagination.limit 34229 description: >- 34230 limit is the total number of results to be returned in the result 34231 page. 34232 34233 If left empty it will default to a value to be set by each app. 34234 in: query 34235 required: false 34236 type: string 34237 format: uint64 34238 - name: pagination.count_total 34239 description: >- 34240 count_total is set to true to indicate that the result set should 34241 include 34242 34243 a count of the total number of items available for pagination in 34244 UIs. 34245 34246 count_total is only respected when offset is used. It is ignored 34247 when key 34248 34249 is set. 34250 in: query 34251 required: false 34252 type: boolean 34253 format: boolean 34254 - name: pagination.reverse 34255 description: >- 34256 reverse is set to true if results are to be returned in the 34257 descending order. 34258 34259 34260 Since: cosmos-sdk 0.43 34261 in: query 34262 required: false 34263 type: boolean 34264 format: boolean 34265 tags: 34266 - Service 34267 definitions: 34268 cosmos.auth.v1beta1.Params: 34269 type: object 34270 properties: 34271 max_memo_characters: 34272 type: string 34273 format: uint64 34274 tx_sig_limit: 34275 type: string 34276 format: uint64 34277 tx_size_cost_per_byte: 34278 type: string 34279 format: uint64 34280 sig_verify_cost_ed25519: 34281 type: string 34282 format: uint64 34283 sig_verify_cost_secp256k1: 34284 type: string 34285 format: uint64 34286 description: Params defines the parameters for the auth module. 34287 cosmos.auth.v1beta1.QueryAccountResponse: 34288 type: object 34289 properties: 34290 account: 34291 type: object 34292 properties: 34293 type_url: 34294 type: string 34295 description: >- 34296 A URL/resource name that uniquely identifies the type of the 34297 serialized 34298 34299 protocol buffer message. This string must contain at least 34300 34301 one "/" character. The last segment of the URL's path must 34302 represent 34303 34304 the fully qualified name of the type (as in 34305 34306 `path/google.protobuf.Duration`). The name should be in a 34307 canonical form 34308 34309 (e.g., leading "." is not accepted). 34310 34311 34312 In practice, teams usually precompile into the binary all types 34313 that they 34314 34315 expect it to use in the context of Any. However, for URLs which 34316 use the 34317 34318 scheme `http`, `https`, or no scheme, one can optionally set up a 34319 type 34320 34321 server that maps type URLs to message definitions as follows: 34322 34323 34324 * If no scheme is provided, `https` is assumed. 34325 34326 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 34327 value in binary format, or produce an error. 34328 * Applications are allowed to cache lookup results based on the 34329 URL, or have them precompiled into a binary to avoid any 34330 lookup. Therefore, binary compatibility needs to be preserved 34331 on changes to types. (Use versioned type names to manage 34332 breaking changes.) 34333 34334 Note: this functionality is not currently available in the 34335 official 34336 34337 protobuf release, and it is not used for type URLs beginning with 34338 34339 type.googleapis.com. 34340 34341 34342 Schemes other than `http`, `https` (or the empty scheme) might be 34343 34344 used with implementation specific semantics. 34345 value: 34346 type: string 34347 format: byte 34348 description: >- 34349 Must be a valid serialized protocol buffer of the above specified 34350 type. 34351 description: >- 34352 `Any` contains an arbitrary serialized protocol buffer message along 34353 with a 34354 34355 URL that describes the type of the serialized message. 34356 34357 34358 Protobuf library provides support to pack/unpack Any values in the 34359 form 34360 34361 of utility functions or additional generated methods of the Any type. 34362 34363 34364 Example 1: Pack and unpack a message in C++. 34365 34366 Foo foo = ...; 34367 Any any; 34368 any.PackFrom(foo); 34369 ... 34370 if (any.UnpackTo(&foo)) { 34371 ... 34372 } 34373 34374 Example 2: Pack and unpack a message in Java. 34375 34376 Foo foo = ...; 34377 Any any = Any.pack(foo); 34378 ... 34379 if (any.is(Foo.class)) { 34380 foo = any.unpack(Foo.class); 34381 } 34382 34383 Example 3: Pack and unpack a message in Python. 34384 34385 foo = Foo(...) 34386 any = Any() 34387 any.Pack(foo) 34388 ... 34389 if any.Is(Foo.DESCRIPTOR): 34390 any.Unpack(foo) 34391 ... 34392 34393 Example 4: Pack and unpack a message in Go 34394 34395 foo := &pb.Foo{...} 34396 any, err := ptypes.MarshalAny(foo) 34397 ... 34398 foo := &pb.Foo{} 34399 if err := ptypes.UnmarshalAny(any, foo); err != nil { 34400 ... 34401 } 34402 34403 The pack methods provided by protobuf library will by default use 34404 34405 'type.googleapis.com/full.type.name' as the type URL and the unpack 34406 34407 methods only use the fully qualified type name after the last '/' 34408 34409 in the type URL, for example "foo.bar.com/x/y.z" will yield type 34410 34411 name "y.z". 34412 34413 34414 34415 JSON 34416 34417 ==== 34418 34419 The JSON representation of an `Any` value uses the regular 34420 34421 representation of the deserialized, embedded message, with an 34422 34423 additional field `@type` which contains the type URL. Example: 34424 34425 package google.profile; 34426 message Person { 34427 string first_name = 1; 34428 string last_name = 2; 34429 } 34430 34431 { 34432 "@type": "type.googleapis.com/google.profile.Person", 34433 "firstName": <string>, 34434 "lastName": <string> 34435 } 34436 34437 If the embedded message type is well-known and has a custom JSON 34438 34439 representation, that representation will be embedded adding a field 34440 34441 `value` which holds the custom JSON in addition to the `@type` 34442 34443 field. Example (for message [google.protobuf.Duration][]): 34444 34445 { 34446 "@type": "type.googleapis.com/google.protobuf.Duration", 34447 "value": "1.212s" 34448 } 34449 description: >- 34450 QueryAccountResponse is the response type for the Query/Account RPC 34451 method. 34452 cosmos.auth.v1beta1.QueryAccountsResponse: 34453 type: object 34454 properties: 34455 accounts: 34456 type: array 34457 items: 34458 type: object 34459 properties: 34460 type_url: 34461 type: string 34462 description: >- 34463 A URL/resource name that uniquely identifies the type of the 34464 serialized 34465 34466 protocol buffer message. This string must contain at least 34467 34468 one "/" character. The last segment of the URL's path must 34469 represent 34470 34471 the fully qualified name of the type (as in 34472 34473 `path/google.protobuf.Duration`). The name should be in a 34474 canonical form 34475 34476 (e.g., leading "." is not accepted). 34477 34478 34479 In practice, teams usually precompile into the binary all types 34480 that they 34481 34482 expect it to use in the context of Any. However, for URLs which 34483 use the 34484 34485 scheme `http`, `https`, or no scheme, one can optionally set up 34486 a type 34487 34488 server that maps type URLs to message definitions as follows: 34489 34490 34491 * If no scheme is provided, `https` is assumed. 34492 34493 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 34494 value in binary format, or produce an error. 34495 * Applications are allowed to cache lookup results based on the 34496 URL, or have them precompiled into a binary to avoid any 34497 lookup. Therefore, binary compatibility needs to be preserved 34498 on changes to types. (Use versioned type names to manage 34499 breaking changes.) 34500 34501 Note: this functionality is not currently available in the 34502 official 34503 34504 protobuf release, and it is not used for type URLs beginning 34505 with 34506 34507 type.googleapis.com. 34508 34509 34510 Schemes other than `http`, `https` (or the empty scheme) might 34511 be 34512 34513 used with implementation specific semantics. 34514 value: 34515 type: string 34516 format: byte 34517 description: >- 34518 Must be a valid serialized protocol buffer of the above 34519 specified type. 34520 description: >- 34521 `Any` contains an arbitrary serialized protocol buffer message along 34522 with a 34523 34524 URL that describes the type of the serialized message. 34525 34526 34527 Protobuf library provides support to pack/unpack Any values in the 34528 form 34529 34530 of utility functions or additional generated methods of the Any 34531 type. 34532 34533 34534 Example 1: Pack and unpack a message in C++. 34535 34536 Foo foo = ...; 34537 Any any; 34538 any.PackFrom(foo); 34539 ... 34540 if (any.UnpackTo(&foo)) { 34541 ... 34542 } 34543 34544 Example 2: Pack and unpack a message in Java. 34545 34546 Foo foo = ...; 34547 Any any = Any.pack(foo); 34548 ... 34549 if (any.is(Foo.class)) { 34550 foo = any.unpack(Foo.class); 34551 } 34552 34553 Example 3: Pack and unpack a message in Python. 34554 34555 foo = Foo(...) 34556 any = Any() 34557 any.Pack(foo) 34558 ... 34559 if any.Is(Foo.DESCRIPTOR): 34560 any.Unpack(foo) 34561 ... 34562 34563 Example 4: Pack and unpack a message in Go 34564 34565 foo := &pb.Foo{...} 34566 any, err := ptypes.MarshalAny(foo) 34567 ... 34568 foo := &pb.Foo{} 34569 if err := ptypes.UnmarshalAny(any, foo); err != nil { 34570 ... 34571 } 34572 34573 The pack methods provided by protobuf library will by default use 34574 34575 'type.googleapis.com/full.type.name' as the type URL and the unpack 34576 34577 methods only use the fully qualified type name after the last '/' 34578 34579 in the type URL, for example "foo.bar.com/x/y.z" will yield type 34580 34581 name "y.z". 34582 34583 34584 34585 JSON 34586 34587 ==== 34588 34589 The JSON representation of an `Any` value uses the regular 34590 34591 representation of the deserialized, embedded message, with an 34592 34593 additional field `@type` which contains the type URL. Example: 34594 34595 package google.profile; 34596 message Person { 34597 string first_name = 1; 34598 string last_name = 2; 34599 } 34600 34601 { 34602 "@type": "type.googleapis.com/google.profile.Person", 34603 "firstName": <string>, 34604 "lastName": <string> 34605 } 34606 34607 If the embedded message type is well-known and has a custom JSON 34608 34609 representation, that representation will be embedded adding a field 34610 34611 `value` which holds the custom JSON in addition to the `@type` 34612 34613 field. Example (for message [google.protobuf.Duration][]): 34614 34615 { 34616 "@type": "type.googleapis.com/google.protobuf.Duration", 34617 "value": "1.212s" 34618 } 34619 title: accounts are the existing accounts 34620 pagination: 34621 description: pagination defines the pagination in the response. 34622 type: object 34623 properties: 34624 next_key: 34625 type: string 34626 format: byte 34627 title: |- 34628 next_key is the key to be passed to PageRequest.key to 34629 query the next page most efficiently 34630 total: 34631 type: string 34632 format: uint64 34633 title: >- 34634 total is total number of results available if 34635 PageRequest.count_total 34636 34637 was set, its value is undefined otherwise 34638 description: >- 34639 QueryAccountsResponse is the response type for the Query/Accounts RPC 34640 method. 34641 34642 34643 Since: cosmos-sdk 0.43 34644 cosmos.auth.v1beta1.QueryModuleAccountByNameResponse: 34645 type: object 34646 properties: 34647 account: 34648 type: object 34649 properties: 34650 type_url: 34651 type: string 34652 description: >- 34653 A URL/resource name that uniquely identifies the type of the 34654 serialized 34655 34656 protocol buffer message. This string must contain at least 34657 34658 one "/" character. The last segment of the URL's path must 34659 represent 34660 34661 the fully qualified name of the type (as in 34662 34663 `path/google.protobuf.Duration`). The name should be in a 34664 canonical form 34665 34666 (e.g., leading "." is not accepted). 34667 34668 34669 In practice, teams usually precompile into the binary all types 34670 that they 34671 34672 expect it to use in the context of Any. However, for URLs which 34673 use the 34674 34675 scheme `http`, `https`, or no scheme, one can optionally set up a 34676 type 34677 34678 server that maps type URLs to message definitions as follows: 34679 34680 34681 * If no scheme is provided, `https` is assumed. 34682 34683 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 34684 value in binary format, or produce an error. 34685 * Applications are allowed to cache lookup results based on the 34686 URL, or have them precompiled into a binary to avoid any 34687 lookup. Therefore, binary compatibility needs to be preserved 34688 on changes to types. (Use versioned type names to manage 34689 breaking changes.) 34690 34691 Note: this functionality is not currently available in the 34692 official 34693 34694 protobuf release, and it is not used for type URLs beginning with 34695 34696 type.googleapis.com. 34697 34698 34699 Schemes other than `http`, `https` (or the empty scheme) might be 34700 34701 used with implementation specific semantics. 34702 value: 34703 type: string 34704 format: byte 34705 description: >- 34706 Must be a valid serialized protocol buffer of the above specified 34707 type. 34708 description: >- 34709 `Any` contains an arbitrary serialized protocol buffer message along 34710 with a 34711 34712 URL that describes the type of the serialized message. 34713 34714 34715 Protobuf library provides support to pack/unpack Any values in the 34716 form 34717 34718 of utility functions or additional generated methods of the Any type. 34719 34720 34721 Example 1: Pack and unpack a message in C++. 34722 34723 Foo foo = ...; 34724 Any any; 34725 any.PackFrom(foo); 34726 ... 34727 if (any.UnpackTo(&foo)) { 34728 ... 34729 } 34730 34731 Example 2: Pack and unpack a message in Java. 34732 34733 Foo foo = ...; 34734 Any any = Any.pack(foo); 34735 ... 34736 if (any.is(Foo.class)) { 34737 foo = any.unpack(Foo.class); 34738 } 34739 34740 Example 3: Pack and unpack a message in Python. 34741 34742 foo = Foo(...) 34743 any = Any() 34744 any.Pack(foo) 34745 ... 34746 if any.Is(Foo.DESCRIPTOR): 34747 any.Unpack(foo) 34748 ... 34749 34750 Example 4: Pack and unpack a message in Go 34751 34752 foo := &pb.Foo{...} 34753 any, err := ptypes.MarshalAny(foo) 34754 ... 34755 foo := &pb.Foo{} 34756 if err := ptypes.UnmarshalAny(any, foo); err != nil { 34757 ... 34758 } 34759 34760 The pack methods provided by protobuf library will by default use 34761 34762 'type.googleapis.com/full.type.name' as the type URL and the unpack 34763 34764 methods only use the fully qualified type name after the last '/' 34765 34766 in the type URL, for example "foo.bar.com/x/y.z" will yield type 34767 34768 name "y.z". 34769 34770 34771 34772 JSON 34773 34774 ==== 34775 34776 The JSON representation of an `Any` value uses the regular 34777 34778 representation of the deserialized, embedded message, with an 34779 34780 additional field `@type` which contains the type URL. Example: 34781 34782 package google.profile; 34783 message Person { 34784 string first_name = 1; 34785 string last_name = 2; 34786 } 34787 34788 { 34789 "@type": "type.googleapis.com/google.profile.Person", 34790 "firstName": <string>, 34791 "lastName": <string> 34792 } 34793 34794 If the embedded message type is well-known and has a custom JSON 34795 34796 representation, that representation will be embedded adding a field 34797 34798 `value` which holds the custom JSON in addition to the `@type` 34799 34800 field. Example (for message [google.protobuf.Duration][]): 34801 34802 { 34803 "@type": "type.googleapis.com/google.protobuf.Duration", 34804 "value": "1.212s" 34805 } 34806 description: >- 34807 QueryModuleAccountByNameResponse is the response type for the 34808 Query/ModuleAccountByName RPC method. 34809 cosmos.auth.v1beta1.QueryNextAccountNumberResponse: 34810 type: object 34811 properties: 34812 next_account_number: 34813 type: string 34814 format: uint64 34815 description: The next account number is the next value of global account number. 34816 description: >- 34817 QueryNextAccountNumberResponse is the response for the 34818 Query/NextAccountNumber. 34819 cosmos.auth.v1beta1.QueryParamsResponse: 34820 type: object 34821 properties: 34822 params: 34823 description: params defines the parameters of the module. 34824 type: object 34825 properties: 34826 max_memo_characters: 34827 type: string 34828 format: uint64 34829 tx_sig_limit: 34830 type: string 34831 format: uint64 34832 tx_size_cost_per_byte: 34833 type: string 34834 format: uint64 34835 sig_verify_cost_ed25519: 34836 type: string 34837 format: uint64 34838 sig_verify_cost_secp256k1: 34839 type: string 34840 format: uint64 34841 description: QueryParamsResponse is the response type for the Query/Params RPC method. 34842 cosmos.base.query.v1beta1.PageRequest: 34843 type: object 34844 properties: 34845 key: 34846 type: string 34847 format: byte 34848 description: |- 34849 key is a value returned in PageResponse.next_key to begin 34850 querying the next page most efficiently. Only one of offset or key 34851 should be set. 34852 offset: 34853 type: string 34854 format: uint64 34855 description: |- 34856 offset is a numeric offset that can be used when key is unavailable. 34857 It is less efficient than using key. Only one of offset or key should 34858 be set. 34859 limit: 34860 type: string 34861 format: uint64 34862 description: >- 34863 limit is the total number of results to be returned in the result 34864 page. 34865 34866 If left empty it will default to a value to be set by each app. 34867 count_total: 34868 type: boolean 34869 format: boolean 34870 description: >- 34871 count_total is set to true to indicate that the result set should 34872 include 34873 34874 a count of the total number of items available for pagination in UIs. 34875 34876 count_total is only respected when offset is used. It is ignored when 34877 key 34878 34879 is set. 34880 reverse: 34881 type: boolean 34882 format: boolean 34883 description: >- 34884 reverse is set to true if results are to be returned in the descending 34885 order. 34886 34887 34888 Since: cosmos-sdk 0.43 34889 description: |- 34890 message SomeRequest { 34891 Foo some_parameter = 1; 34892 PageRequest pagination = 2; 34893 } 34894 title: |- 34895 PageRequest is to be embedded in gRPC request messages for efficient 34896 pagination. Ex: 34897 cosmos.base.query.v1beta1.PageResponse: 34898 type: object 34899 properties: 34900 next_key: 34901 type: string 34902 format: byte 34903 title: |- 34904 next_key is the key to be passed to PageRequest.key to 34905 query the next page most efficiently 34906 total: 34907 type: string 34908 format: uint64 34909 title: |- 34910 total is total number of results available if PageRequest.count_total 34911 was set, its value is undefined otherwise 34912 description: |- 34913 PageResponse is to be embedded in gRPC response messages where the 34914 corresponding request message has used PageRequest. 34915 34916 message SomeResponse { 34917 repeated Bar results = 1; 34918 PageResponse page = 2; 34919 } 34920 google.protobuf.Any: 34921 type: object 34922 properties: 34923 type_url: 34924 type: string 34925 description: >- 34926 A URL/resource name that uniquely identifies the type of the 34927 serialized 34928 34929 protocol buffer message. This string must contain at least 34930 34931 one "/" character. The last segment of the URL's path must represent 34932 34933 the fully qualified name of the type (as in 34934 34935 `path/google.protobuf.Duration`). The name should be in a canonical 34936 form 34937 34938 (e.g., leading "." is not accepted). 34939 34940 34941 In practice, teams usually precompile into the binary all types that 34942 they 34943 34944 expect it to use in the context of Any. However, for URLs which use 34945 the 34946 34947 scheme `http`, `https`, or no scheme, one can optionally set up a type 34948 34949 server that maps type URLs to message definitions as follows: 34950 34951 34952 * If no scheme is provided, `https` is assumed. 34953 34954 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 34955 value in binary format, or produce an error. 34956 * Applications are allowed to cache lookup results based on the 34957 URL, or have them precompiled into a binary to avoid any 34958 lookup. Therefore, binary compatibility needs to be preserved 34959 on changes to types. (Use versioned type names to manage 34960 breaking changes.) 34961 34962 Note: this functionality is not currently available in the official 34963 34964 protobuf release, and it is not used for type URLs beginning with 34965 34966 type.googleapis.com. 34967 34968 34969 Schemes other than `http`, `https` (or the empty scheme) might be 34970 34971 used with implementation specific semantics. 34972 value: 34973 type: string 34974 format: byte 34975 description: >- 34976 Must be a valid serialized protocol buffer of the above specified 34977 type. 34978 description: >- 34979 `Any` contains an arbitrary serialized protocol buffer message along with 34980 a 34981 34982 URL that describes the type of the serialized message. 34983 34984 34985 Protobuf library provides support to pack/unpack Any values in the form 34986 34987 of utility functions or additional generated methods of the Any type. 34988 34989 34990 Example 1: Pack and unpack a message in C++. 34991 34992 Foo foo = ...; 34993 Any any; 34994 any.PackFrom(foo); 34995 ... 34996 if (any.UnpackTo(&foo)) { 34997 ... 34998 } 34999 35000 Example 2: Pack and unpack a message in Java. 35001 35002 Foo foo = ...; 35003 Any any = Any.pack(foo); 35004 ... 35005 if (any.is(Foo.class)) { 35006 foo = any.unpack(Foo.class); 35007 } 35008 35009 Example 3: Pack and unpack a message in Python. 35010 35011 foo = Foo(...) 35012 any = Any() 35013 any.Pack(foo) 35014 ... 35015 if any.Is(Foo.DESCRIPTOR): 35016 any.Unpack(foo) 35017 ... 35018 35019 Example 4: Pack and unpack a message in Go 35020 35021 foo := &pb.Foo{...} 35022 any, err := ptypes.MarshalAny(foo) 35023 ... 35024 foo := &pb.Foo{} 35025 if err := ptypes.UnmarshalAny(any, foo); err != nil { 35026 ... 35027 } 35028 35029 The pack methods provided by protobuf library will by default use 35030 35031 'type.googleapis.com/full.type.name' as the type URL and the unpack 35032 35033 methods only use the fully qualified type name after the last '/' 35034 35035 in the type URL, for example "foo.bar.com/x/y.z" will yield type 35036 35037 name "y.z". 35038 35039 35040 35041 JSON 35042 35043 ==== 35044 35045 The JSON representation of an `Any` value uses the regular 35046 35047 representation of the deserialized, embedded message, with an 35048 35049 additional field `@type` which contains the type URL. Example: 35050 35051 package google.profile; 35052 message Person { 35053 string first_name = 1; 35054 string last_name = 2; 35055 } 35056 35057 { 35058 "@type": "type.googleapis.com/google.profile.Person", 35059 "firstName": <string>, 35060 "lastName": <string> 35061 } 35062 35063 If the embedded message type is well-known and has a custom JSON 35064 35065 representation, that representation will be embedded adding a field 35066 35067 `value` which holds the custom JSON in addition to the `@type` 35068 35069 field. Example (for message [google.protobuf.Duration][]): 35070 35071 { 35072 "@type": "type.googleapis.com/google.protobuf.Duration", 35073 "value": "1.212s" 35074 } 35075 grpc.gateway.runtime.Error: 35076 type: object 35077 properties: 35078 error: 35079 type: string 35080 code: 35081 type: integer 35082 format: int32 35083 message: 35084 type: string 35085 details: 35086 type: array 35087 items: 35088 type: object 35089 properties: 35090 type_url: 35091 type: string 35092 description: >- 35093 A URL/resource name that uniquely identifies the type of the 35094 serialized 35095 35096 protocol buffer message. This string must contain at least 35097 35098 one "/" character. The last segment of the URL's path must 35099 represent 35100 35101 the fully qualified name of the type (as in 35102 35103 `path/google.protobuf.Duration`). The name should be in a 35104 canonical form 35105 35106 (e.g., leading "." is not accepted). 35107 35108 35109 In practice, teams usually precompile into the binary all types 35110 that they 35111 35112 expect it to use in the context of Any. However, for URLs which 35113 use the 35114 35115 scheme `http`, `https`, or no scheme, one can optionally set up 35116 a type 35117 35118 server that maps type URLs to message definitions as follows: 35119 35120 35121 * If no scheme is provided, `https` is assumed. 35122 35123 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 35124 value in binary format, or produce an error. 35125 * Applications are allowed to cache lookup results based on the 35126 URL, or have them precompiled into a binary to avoid any 35127 lookup. Therefore, binary compatibility needs to be preserved 35128 on changes to types. (Use versioned type names to manage 35129 breaking changes.) 35130 35131 Note: this functionality is not currently available in the 35132 official 35133 35134 protobuf release, and it is not used for type URLs beginning 35135 with 35136 35137 type.googleapis.com. 35138 35139 35140 Schemes other than `http`, `https` (or the empty scheme) might 35141 be 35142 35143 used with implementation specific semantics. 35144 value: 35145 type: string 35146 format: byte 35147 description: >- 35148 Must be a valid serialized protocol buffer of the above 35149 specified type. 35150 description: >- 35151 `Any` contains an arbitrary serialized protocol buffer message along 35152 with a 35153 35154 URL that describes the type of the serialized message. 35155 35156 35157 Protobuf library provides support to pack/unpack Any values in the 35158 form 35159 35160 of utility functions or additional generated methods of the Any 35161 type. 35162 35163 35164 Example 1: Pack and unpack a message in C++. 35165 35166 Foo foo = ...; 35167 Any any; 35168 any.PackFrom(foo); 35169 ... 35170 if (any.UnpackTo(&foo)) { 35171 ... 35172 } 35173 35174 Example 2: Pack and unpack a message in Java. 35175 35176 Foo foo = ...; 35177 Any any = Any.pack(foo); 35178 ... 35179 if (any.is(Foo.class)) { 35180 foo = any.unpack(Foo.class); 35181 } 35182 35183 Example 3: Pack and unpack a message in Python. 35184 35185 foo = Foo(...) 35186 any = Any() 35187 any.Pack(foo) 35188 ... 35189 if any.Is(Foo.DESCRIPTOR): 35190 any.Unpack(foo) 35191 ... 35192 35193 Example 4: Pack and unpack a message in Go 35194 35195 foo := &pb.Foo{...} 35196 any, err := ptypes.MarshalAny(foo) 35197 ... 35198 foo := &pb.Foo{} 35199 if err := ptypes.UnmarshalAny(any, foo); err != nil { 35200 ... 35201 } 35202 35203 The pack methods provided by protobuf library will by default use 35204 35205 'type.googleapis.com/full.type.name' as the type URL and the unpack 35206 35207 methods only use the fully qualified type name after the last '/' 35208 35209 in the type URL, for example "foo.bar.com/x/y.z" will yield type 35210 35211 name "y.z". 35212 35213 35214 35215 JSON 35216 35217 ==== 35218 35219 The JSON representation of an `Any` value uses the regular 35220 35221 representation of the deserialized, embedded message, with an 35222 35223 additional field `@type` which contains the type URL. Example: 35224 35225 package google.profile; 35226 message Person { 35227 string first_name = 1; 35228 string last_name = 2; 35229 } 35230 35231 { 35232 "@type": "type.googleapis.com/google.profile.Person", 35233 "firstName": <string>, 35234 "lastName": <string> 35235 } 35236 35237 If the embedded message type is well-known and has a custom JSON 35238 35239 representation, that representation will be embedded adding a field 35240 35241 `value` which holds the custom JSON in addition to the `@type` 35242 35243 field. Example (for message [google.protobuf.Duration][]): 35244 35245 { 35246 "@type": "type.googleapis.com/google.protobuf.Duration", 35247 "value": "1.212s" 35248 } 35249 cosmos.bank.v1beta1.DenomUnit: 35250 type: object 35251 properties: 35252 denom: 35253 type: string 35254 description: denom represents the string name of the given denom unit (e.g uatom). 35255 exponent: 35256 type: integer 35257 format: int64 35258 description: >- 35259 exponent represents power of 10 exponent that one must 35260 35261 raise the base_denom to in order to equal the given DenomUnit's denom 35262 35263 1 denom = 1^exponent base_denom 35264 35265 (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' 35266 with 35267 35268 exponent = 6, thus: 1 atom = 10^6 uatom). 35269 aliases: 35270 type: array 35271 items: 35272 type: string 35273 title: aliases is a list of string aliases for the given denom 35274 description: |- 35275 DenomUnit represents a struct that describes a given 35276 denomination unit of the basic token. 35277 cosmos.bank.v1beta1.Metadata: 35278 type: object 35279 properties: 35280 description: 35281 type: string 35282 denom_units: 35283 type: array 35284 items: 35285 type: object 35286 properties: 35287 denom: 35288 type: string 35289 description: >- 35290 denom represents the string name of the given denom unit (e.g 35291 uatom). 35292 exponent: 35293 type: integer 35294 format: int64 35295 description: >- 35296 exponent represents power of 10 exponent that one must 35297 35298 raise the base_denom to in order to equal the given DenomUnit's 35299 denom 35300 35301 1 denom = 1^exponent base_denom 35302 35303 (e.g. with a base_denom of uatom, one can create a DenomUnit of 35304 'atom' with 35305 35306 exponent = 6, thus: 1 atom = 10^6 uatom). 35307 aliases: 35308 type: array 35309 items: 35310 type: string 35311 title: aliases is a list of string aliases for the given denom 35312 description: |- 35313 DenomUnit represents a struct that describes a given 35314 denomination unit of the basic token. 35315 title: denom_units represents the list of DenomUnit's for a given coin 35316 base: 35317 type: string 35318 description: >- 35319 base represents the base denom (should be the DenomUnit with exponent 35320 = 0). 35321 display: 35322 type: string 35323 description: |- 35324 display indicates the suggested denom that should be 35325 displayed in clients. 35326 name: 35327 type: string 35328 description: 'Since: cosmos-sdk 0.43' 35329 title: 'name defines the name of the token (eg: Cosmos Atom)' 35330 symbol: 35331 type: string 35332 description: >- 35333 symbol is the token symbol usually shown on exchanges (eg: ATOM). This 35334 can 35335 35336 be the same as the display. 35337 35338 35339 Since: cosmos-sdk 0.43 35340 description: |- 35341 Metadata represents a struct that describes 35342 a basic token. 35343 cosmos.bank.v1beta1.Params: 35344 type: object 35345 properties: 35346 send_enabled: 35347 type: array 35348 items: 35349 type: object 35350 properties: 35351 denom: 35352 type: string 35353 enabled: 35354 type: boolean 35355 format: boolean 35356 description: >- 35357 SendEnabled maps coin denom to a send_enabled status (whether a 35358 denom is 35359 35360 sendable). 35361 default_send_enabled: 35362 type: boolean 35363 format: boolean 35364 description: Params defines the parameters for the bank module. 35365 cosmos.bank.v1beta1.QueryAllBalancesResponse: 35366 type: object 35367 properties: 35368 balances: 35369 type: array 35370 items: 35371 type: object 35372 properties: 35373 denom: 35374 type: string 35375 amount: 35376 type: string 35377 description: |- 35378 Coin defines a token with a denomination and an amount. 35379 35380 NOTE: The amount field is an Int which implements the custom method 35381 signatures required by gogoproto. 35382 description: balances is the balances of all the coins. 35383 pagination: 35384 description: pagination defines the pagination in the response. 35385 type: object 35386 properties: 35387 next_key: 35388 type: string 35389 format: byte 35390 title: |- 35391 next_key is the key to be passed to PageRequest.key to 35392 query the next page most efficiently 35393 total: 35394 type: string 35395 format: uint64 35396 title: >- 35397 total is total number of results available if 35398 PageRequest.count_total 35399 35400 was set, its value is undefined otherwise 35401 description: >- 35402 QueryAllBalancesResponse is the response type for the Query/AllBalances 35403 RPC 35404 35405 method. 35406 cosmos.bank.v1beta1.QueryBalanceResponse: 35407 type: object 35408 properties: 35409 balance: 35410 type: object 35411 properties: 35412 denom: 35413 type: string 35414 amount: 35415 type: string 35416 description: |- 35417 Coin defines a token with a denomination and an amount. 35418 35419 NOTE: The amount field is an Int which implements the custom method 35420 signatures required by gogoproto. 35421 description: >- 35422 QueryBalanceResponse is the response type for the Query/Balance RPC 35423 method. 35424 cosmos.bank.v1beta1.QueryDenomMetadataResponse: 35425 type: object 35426 properties: 35427 metadata: 35428 type: object 35429 properties: 35430 description: 35431 type: string 35432 denom_units: 35433 type: array 35434 items: 35435 type: object 35436 properties: 35437 denom: 35438 type: string 35439 description: >- 35440 denom represents the string name of the given denom unit 35441 (e.g uatom). 35442 exponent: 35443 type: integer 35444 format: int64 35445 description: >- 35446 exponent represents power of 10 exponent that one must 35447 35448 raise the base_denom to in order to equal the given 35449 DenomUnit's denom 35450 35451 1 denom = 1^exponent base_denom 35452 35453 (e.g. with a base_denom of uatom, one can create a DenomUnit 35454 of 'atom' with 35455 35456 exponent = 6, thus: 1 atom = 10^6 uatom). 35457 aliases: 35458 type: array 35459 items: 35460 type: string 35461 title: aliases is a list of string aliases for the given denom 35462 description: |- 35463 DenomUnit represents a struct that describes a given 35464 denomination unit of the basic token. 35465 title: denom_units represents the list of DenomUnit's for a given coin 35466 base: 35467 type: string 35468 description: >- 35469 base represents the base denom (should be the DenomUnit with 35470 exponent = 0). 35471 display: 35472 type: string 35473 description: |- 35474 display indicates the suggested denom that should be 35475 displayed in clients. 35476 name: 35477 type: string 35478 description: 'Since: cosmos-sdk 0.43' 35479 title: 'name defines the name of the token (eg: Cosmos Atom)' 35480 symbol: 35481 type: string 35482 description: >- 35483 symbol is the token symbol usually shown on exchanges (eg: ATOM). 35484 This can 35485 35486 be the same as the display. 35487 35488 35489 Since: cosmos-sdk 0.43 35490 description: |- 35491 Metadata represents a struct that describes 35492 a basic token. 35493 description: >- 35494 QueryDenomMetadataResponse is the response type for the 35495 Query/DenomMetadata RPC 35496 35497 method. 35498 cosmos.bank.v1beta1.QueryDenomsMetadataResponse: 35499 type: object 35500 properties: 35501 metadatas: 35502 type: array 35503 items: 35504 type: object 35505 properties: 35506 description: 35507 type: string 35508 denom_units: 35509 type: array 35510 items: 35511 type: object 35512 properties: 35513 denom: 35514 type: string 35515 description: >- 35516 denom represents the string name of the given denom unit 35517 (e.g uatom). 35518 exponent: 35519 type: integer 35520 format: int64 35521 description: >- 35522 exponent represents power of 10 exponent that one must 35523 35524 raise the base_denom to in order to equal the given 35525 DenomUnit's denom 35526 35527 1 denom = 1^exponent base_denom 35528 35529 (e.g. with a base_denom of uatom, one can create a 35530 DenomUnit of 'atom' with 35531 35532 exponent = 6, thus: 1 atom = 10^6 uatom). 35533 aliases: 35534 type: array 35535 items: 35536 type: string 35537 title: aliases is a list of string aliases for the given denom 35538 description: |- 35539 DenomUnit represents a struct that describes a given 35540 denomination unit of the basic token. 35541 title: denom_units represents the list of DenomUnit's for a given coin 35542 base: 35543 type: string 35544 description: >- 35545 base represents the base denom (should be the DenomUnit with 35546 exponent = 0). 35547 display: 35548 type: string 35549 description: |- 35550 display indicates the suggested denom that should be 35551 displayed in clients. 35552 name: 35553 type: string 35554 description: 'Since: cosmos-sdk 0.43' 35555 title: 'name defines the name of the token (eg: Cosmos Atom)' 35556 symbol: 35557 type: string 35558 description: >- 35559 symbol is the token symbol usually shown on exchanges (eg: 35560 ATOM). This can 35561 35562 be the same as the display. 35563 35564 35565 Since: cosmos-sdk 0.43 35566 description: |- 35567 Metadata represents a struct that describes 35568 a basic token. 35569 description: >- 35570 metadata provides the client information for all the registered 35571 tokens. 35572 pagination: 35573 description: pagination defines the pagination in the response. 35574 type: object 35575 properties: 35576 next_key: 35577 type: string 35578 format: byte 35579 title: |- 35580 next_key is the key to be passed to PageRequest.key to 35581 query the next page most efficiently 35582 total: 35583 type: string 35584 format: uint64 35585 title: >- 35586 total is total number of results available if 35587 PageRequest.count_total 35588 35589 was set, its value is undefined otherwise 35590 description: >- 35591 QueryDenomsMetadataResponse is the response type for the 35592 Query/DenomsMetadata RPC 35593 35594 method. 35595 cosmos.bank.v1beta1.QueryParamsResponse: 35596 type: object 35597 properties: 35598 params: 35599 type: object 35600 properties: 35601 send_enabled: 35602 type: array 35603 items: 35604 type: object 35605 properties: 35606 denom: 35607 type: string 35608 enabled: 35609 type: boolean 35610 format: boolean 35611 description: >- 35612 SendEnabled maps coin denom to a send_enabled status (whether a 35613 denom is 35614 35615 sendable). 35616 default_send_enabled: 35617 type: boolean 35618 format: boolean 35619 description: Params defines the parameters for the bank module. 35620 description: >- 35621 QueryParamsResponse defines the response type for querying x/bank 35622 parameters. 35623 cosmos.bank.v1beta1.QuerySpendableBalancesResponse: 35624 type: object 35625 properties: 35626 balances: 35627 type: array 35628 items: 35629 type: object 35630 properties: 35631 denom: 35632 type: string 35633 amount: 35634 type: string 35635 description: |- 35636 Coin defines a token with a denomination and an amount. 35637 35638 NOTE: The amount field is an Int which implements the custom method 35639 signatures required by gogoproto. 35640 description: balances is the spendable balances of all the coins. 35641 pagination: 35642 description: pagination defines the pagination in the response. 35643 type: object 35644 properties: 35645 next_key: 35646 type: string 35647 format: byte 35648 title: |- 35649 next_key is the key to be passed to PageRequest.key to 35650 query the next page most efficiently 35651 total: 35652 type: string 35653 format: uint64 35654 title: >- 35655 total is total number of results available if 35656 PageRequest.count_total 35657 35658 was set, its value is undefined otherwise 35659 description: >- 35660 QuerySpendableBalancesResponse defines the gRPC response structure for 35661 querying 35662 35663 an account's spendable balances. 35664 cosmos.bank.v1beta1.QuerySupplyOfResponse: 35665 type: object 35666 properties: 35667 amount: 35668 type: object 35669 properties: 35670 denom: 35671 type: string 35672 amount: 35673 type: string 35674 description: |- 35675 Coin defines a token with a denomination and an amount. 35676 35677 NOTE: The amount field is an Int which implements the custom method 35678 signatures required by gogoproto. 35679 description: >- 35680 QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC 35681 method. 35682 cosmos.bank.v1beta1.QueryTotalSupplyResponse: 35683 type: object 35684 properties: 35685 supply: 35686 type: array 35687 items: 35688 type: object 35689 properties: 35690 denom: 35691 type: string 35692 amount: 35693 type: string 35694 description: |- 35695 Coin defines a token with a denomination and an amount. 35696 35697 NOTE: The amount field is an Int which implements the custom method 35698 signatures required by gogoproto. 35699 title: supply is the supply of the coins 35700 pagination: 35701 description: |- 35702 pagination defines the pagination in the response. 35703 35704 Since: cosmos-sdk 0.43 35705 type: object 35706 properties: 35707 next_key: 35708 type: string 35709 format: byte 35710 title: |- 35711 next_key is the key to be passed to PageRequest.key to 35712 query the next page most efficiently 35713 total: 35714 type: string 35715 format: uint64 35716 title: >- 35717 total is total number of results available if 35718 PageRequest.count_total 35719 35720 was set, its value is undefined otherwise 35721 title: >- 35722 QueryTotalSupplyResponse is the response type for the Query/TotalSupply 35723 RPC 35724 35725 method 35726 cosmos.bank.v1beta1.SendEnabled: 35727 type: object 35728 properties: 35729 denom: 35730 type: string 35731 enabled: 35732 type: boolean 35733 format: boolean 35734 description: |- 35735 SendEnabled maps coin denom to a send_enabled status (whether a denom is 35736 sendable). 35737 cosmos.base.v1beta1.Coin: 35738 type: object 35739 properties: 35740 denom: 35741 type: string 35742 amount: 35743 type: string 35744 description: |- 35745 Coin defines a token with a denomination and an amount. 35746 35747 NOTE: The amount field is an Int which implements the custom method 35748 signatures required by gogoproto. 35749 lbm.base.ostracon.v1.GetBlockByHashResponse: 35750 type: object 35751 properties: 35752 block_id: 35753 type: object 35754 properties: 35755 hash: 35756 type: string 35757 format: byte 35758 part_set_header: 35759 type: object 35760 properties: 35761 total: 35762 type: integer 35763 format: int64 35764 hash: 35765 type: string 35766 format: byte 35767 title: PartsetHeader 35768 title: BlockID 35769 block: 35770 type: object 35771 properties: 35772 header: 35773 type: object 35774 properties: 35775 version: 35776 title: basic block info 35777 type: object 35778 properties: 35779 block: 35780 type: string 35781 format: uint64 35782 app: 35783 type: string 35784 format: uint64 35785 description: >- 35786 Consensus captures the consensus rules for processing a block 35787 in the blockchain, 35788 35789 including all blockchain data structures and the rules of the 35790 application's 35791 35792 state transition machine. 35793 chain_id: 35794 type: string 35795 height: 35796 type: string 35797 format: int64 35798 time: 35799 type: string 35800 format: date-time 35801 last_block_id: 35802 type: object 35803 properties: 35804 hash: 35805 type: string 35806 format: byte 35807 part_set_header: 35808 type: object 35809 properties: 35810 total: 35811 type: integer 35812 format: int64 35813 hash: 35814 type: string 35815 format: byte 35816 title: PartsetHeader 35817 title: BlockID 35818 last_commit_hash: 35819 type: string 35820 format: byte 35821 title: hashes of block data 35822 data_hash: 35823 type: string 35824 format: byte 35825 validators_hash: 35826 type: string 35827 format: byte 35828 title: hashes from the app output from the prev block 35829 next_validators_hash: 35830 type: string 35831 format: byte 35832 consensus_hash: 35833 type: string 35834 format: byte 35835 app_hash: 35836 type: string 35837 format: byte 35838 last_results_hash: 35839 type: string 35840 format: byte 35841 evidence_hash: 35842 type: string 35843 format: byte 35844 title: consensus info 35845 proposer_address: 35846 type: string 35847 format: byte 35848 description: Header defines the structure of a Tendermint block header. 35849 data: 35850 type: object 35851 properties: 35852 txs: 35853 type: array 35854 items: 35855 type: string 35856 format: byte 35857 description: >- 35858 Txs that will be applied by state @ block.Height+1. 35859 35860 NOTE: not all txs here are valid. We're just agreeing on the 35861 order first. 35862 35863 This means that block.AppHash does not include these txs. 35864 title: Data contains the set of transactions included in the block 35865 evidence: 35866 type: object 35867 properties: 35868 evidence: 35869 type: array 35870 items: 35871 type: object 35872 properties: 35873 duplicate_vote_evidence: 35874 type: object 35875 properties: 35876 vote_a: 35877 type: object 35878 properties: 35879 type: 35880 type: string 35881 enum: 35882 - SIGNED_MSG_TYPE_UNKNOWN 35883 - SIGNED_MSG_TYPE_PREVOTE 35884 - SIGNED_MSG_TYPE_PRECOMMIT 35885 - SIGNED_MSG_TYPE_PROPOSAL 35886 default: SIGNED_MSG_TYPE_UNKNOWN 35887 description: >- 35888 SignedMsgType is a type of signed message in the 35889 consensus. 35890 35891 - SIGNED_MSG_TYPE_PREVOTE: Votes 35892 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 35893 height: 35894 type: string 35895 format: int64 35896 round: 35897 type: integer 35898 format: int32 35899 block_id: 35900 type: object 35901 properties: 35902 hash: 35903 type: string 35904 format: byte 35905 part_set_header: 35906 type: object 35907 properties: 35908 total: 35909 type: integer 35910 format: int64 35911 hash: 35912 type: string 35913 format: byte 35914 title: PartsetHeader 35915 title: BlockID 35916 timestamp: 35917 type: string 35918 format: date-time 35919 validator_address: 35920 type: string 35921 format: byte 35922 validator_index: 35923 type: integer 35924 format: int32 35925 signature: 35926 type: string 35927 format: byte 35928 description: >- 35929 Vote represents a prevote, precommit, or commit vote 35930 from validators for 35931 35932 consensus. 35933 vote_b: 35934 type: object 35935 properties: 35936 type: 35937 type: string 35938 enum: 35939 - SIGNED_MSG_TYPE_UNKNOWN 35940 - SIGNED_MSG_TYPE_PREVOTE 35941 - SIGNED_MSG_TYPE_PRECOMMIT 35942 - SIGNED_MSG_TYPE_PROPOSAL 35943 default: SIGNED_MSG_TYPE_UNKNOWN 35944 description: >- 35945 SignedMsgType is a type of signed message in the 35946 consensus. 35947 35948 - SIGNED_MSG_TYPE_PREVOTE: Votes 35949 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 35950 height: 35951 type: string 35952 format: int64 35953 round: 35954 type: integer 35955 format: int32 35956 block_id: 35957 type: object 35958 properties: 35959 hash: 35960 type: string 35961 format: byte 35962 part_set_header: 35963 type: object 35964 properties: 35965 total: 35966 type: integer 35967 format: int64 35968 hash: 35969 type: string 35970 format: byte 35971 title: PartsetHeader 35972 title: BlockID 35973 timestamp: 35974 type: string 35975 format: date-time 35976 validator_address: 35977 type: string 35978 format: byte 35979 validator_index: 35980 type: integer 35981 format: int32 35982 signature: 35983 type: string 35984 format: byte 35985 description: >- 35986 Vote represents a prevote, precommit, or commit vote 35987 from validators for 35988 35989 consensus. 35990 total_voting_power: 35991 type: string 35992 format: int64 35993 validator_power: 35994 type: string 35995 format: int64 35996 timestamp: 35997 type: string 35998 format: date-time 35999 description: >- 36000 DuplicateVoteEvidence contains evidence of a validator 36001 signed two conflicting votes. 36002 light_client_attack_evidence: 36003 type: object 36004 properties: 36005 conflicting_block: 36006 type: object 36007 properties: 36008 signed_header: 36009 type: object 36010 properties: 36011 header: 36012 type: object 36013 properties: 36014 version: 36015 title: basic block info 36016 type: object 36017 properties: 36018 block: 36019 type: string 36020 format: uint64 36021 app: 36022 type: string 36023 format: uint64 36024 description: >- 36025 Consensus captures the consensus rules 36026 for processing a block in the 36027 blockchain, 36028 36029 including all blockchain data structures 36030 and the rules of the application's 36031 36032 state transition machine. 36033 chain_id: 36034 type: string 36035 height: 36036 type: string 36037 format: int64 36038 time: 36039 type: string 36040 format: date-time 36041 last_block_id: 36042 type: object 36043 properties: 36044 hash: 36045 type: string 36046 format: byte 36047 part_set_header: 36048 type: object 36049 properties: 36050 total: 36051 type: integer 36052 format: int64 36053 hash: 36054 type: string 36055 format: byte 36056 title: PartsetHeader 36057 title: BlockID 36058 last_commit_hash: 36059 type: string 36060 format: byte 36061 title: hashes of block data 36062 data_hash: 36063 type: string 36064 format: byte 36065 validators_hash: 36066 type: string 36067 format: byte 36068 title: >- 36069 hashes from the app output from the prev 36070 block 36071 next_validators_hash: 36072 type: string 36073 format: byte 36074 consensus_hash: 36075 type: string 36076 format: byte 36077 app_hash: 36078 type: string 36079 format: byte 36080 last_results_hash: 36081 type: string 36082 format: byte 36083 evidence_hash: 36084 type: string 36085 format: byte 36086 title: consensus info 36087 proposer_address: 36088 type: string 36089 format: byte 36090 description: >- 36091 Header defines the structure of a Tendermint 36092 block header. 36093 commit: 36094 type: object 36095 properties: 36096 height: 36097 type: string 36098 format: int64 36099 round: 36100 type: integer 36101 format: int32 36102 block_id: 36103 type: object 36104 properties: 36105 hash: 36106 type: string 36107 format: byte 36108 part_set_header: 36109 type: object 36110 properties: 36111 total: 36112 type: integer 36113 format: int64 36114 hash: 36115 type: string 36116 format: byte 36117 title: PartsetHeader 36118 title: BlockID 36119 signatures: 36120 type: array 36121 items: 36122 type: object 36123 properties: 36124 block_id_flag: 36125 type: string 36126 enum: 36127 - BLOCK_ID_FLAG_UNKNOWN 36128 - BLOCK_ID_FLAG_ABSENT 36129 - BLOCK_ID_FLAG_COMMIT 36130 - BLOCK_ID_FLAG_NIL 36131 default: BLOCK_ID_FLAG_UNKNOWN 36132 title: >- 36133 BlockIdFlag indicates which BlcokID the 36134 signature is for 36135 validator_address: 36136 type: string 36137 format: byte 36138 timestamp: 36139 type: string 36140 format: date-time 36141 signature: 36142 type: string 36143 format: byte 36144 description: >- 36145 CommitSig is a part of the Vote included 36146 in a Commit. 36147 description: >- 36148 Commit contains the evidence that a block 36149 was committed by a set of validators. 36150 validator_set: 36151 type: object 36152 properties: 36153 validators: 36154 type: array 36155 items: 36156 type: object 36157 properties: 36158 address: 36159 type: string 36160 format: byte 36161 pub_key: 36162 type: object 36163 properties: 36164 ed25519: 36165 type: string 36166 format: byte 36167 secp256k1: 36168 type: string 36169 format: byte 36170 title: >- 36171 PublicKey defines the keys available for 36172 use with Tendermint Validators 36173 voting_power: 36174 type: string 36175 format: int64 36176 proposer_priority: 36177 type: string 36178 format: int64 36179 proposer: 36180 type: object 36181 properties: 36182 address: 36183 type: string 36184 format: byte 36185 pub_key: 36186 type: object 36187 properties: 36188 ed25519: 36189 type: string 36190 format: byte 36191 secp256k1: 36192 type: string 36193 format: byte 36194 title: >- 36195 PublicKey defines the keys available for 36196 use with Tendermint Validators 36197 voting_power: 36198 type: string 36199 format: int64 36200 proposer_priority: 36201 type: string 36202 format: int64 36203 total_voting_power: 36204 type: string 36205 format: int64 36206 common_height: 36207 type: string 36208 format: int64 36209 byzantine_validators: 36210 type: array 36211 items: 36212 type: object 36213 properties: 36214 address: 36215 type: string 36216 format: byte 36217 pub_key: 36218 type: object 36219 properties: 36220 ed25519: 36221 type: string 36222 format: byte 36223 secp256k1: 36224 type: string 36225 format: byte 36226 title: >- 36227 PublicKey defines the keys available for use 36228 with Tendermint Validators 36229 voting_power: 36230 type: string 36231 format: int64 36232 proposer_priority: 36233 type: string 36234 format: int64 36235 total_voting_power: 36236 type: string 36237 format: int64 36238 timestamp: 36239 type: string 36240 format: date-time 36241 description: >- 36242 LightClientAttackEvidence contains evidence of a set of 36243 validators attempting to mislead a light client. 36244 last_commit: 36245 type: object 36246 properties: 36247 height: 36248 type: string 36249 format: int64 36250 round: 36251 type: integer 36252 format: int32 36253 block_id: 36254 type: object 36255 properties: 36256 hash: 36257 type: string 36258 format: byte 36259 part_set_header: 36260 type: object 36261 properties: 36262 total: 36263 type: integer 36264 format: int64 36265 hash: 36266 type: string 36267 format: byte 36268 title: PartsetHeader 36269 title: BlockID 36270 signatures: 36271 type: array 36272 items: 36273 type: object 36274 properties: 36275 block_id_flag: 36276 type: string 36277 enum: 36278 - BLOCK_ID_FLAG_UNKNOWN 36279 - BLOCK_ID_FLAG_ABSENT 36280 - BLOCK_ID_FLAG_COMMIT 36281 - BLOCK_ID_FLAG_NIL 36282 default: BLOCK_ID_FLAG_UNKNOWN 36283 title: BlockIdFlag indicates which BlcokID the signature is for 36284 validator_address: 36285 type: string 36286 format: byte 36287 timestamp: 36288 type: string 36289 format: date-time 36290 signature: 36291 type: string 36292 format: byte 36293 description: CommitSig is a part of the Vote included in a Commit. 36294 description: >- 36295 Commit contains the evidence that a block was committed by a set 36296 of validators. 36297 entropy: 36298 title: '*** Ostracon Extended Fields ***' 36299 type: object 36300 properties: 36301 round: 36302 type: integer 36303 format: int32 36304 proof: 36305 type: string 36306 format: byte 36307 description: >- 36308 GetBlockByHashResponse is the response type for the Query/GetBlockByHash 36309 RPC method. 36310 lbm.base.ostracon.v1.GetBlockByHeightResponse: 36311 type: object 36312 properties: 36313 block_id: 36314 type: object 36315 properties: 36316 hash: 36317 type: string 36318 format: byte 36319 part_set_header: 36320 type: object 36321 properties: 36322 total: 36323 type: integer 36324 format: int64 36325 hash: 36326 type: string 36327 format: byte 36328 title: PartsetHeader 36329 title: BlockID 36330 block: 36331 type: object 36332 properties: 36333 header: 36334 type: object 36335 properties: 36336 version: 36337 title: basic block info 36338 type: object 36339 properties: 36340 block: 36341 type: string 36342 format: uint64 36343 app: 36344 type: string 36345 format: uint64 36346 description: >- 36347 Consensus captures the consensus rules for processing a block 36348 in the blockchain, 36349 36350 including all blockchain data structures and the rules of the 36351 application's 36352 36353 state transition machine. 36354 chain_id: 36355 type: string 36356 height: 36357 type: string 36358 format: int64 36359 time: 36360 type: string 36361 format: date-time 36362 last_block_id: 36363 type: object 36364 properties: 36365 hash: 36366 type: string 36367 format: byte 36368 part_set_header: 36369 type: object 36370 properties: 36371 total: 36372 type: integer 36373 format: int64 36374 hash: 36375 type: string 36376 format: byte 36377 title: PartsetHeader 36378 title: BlockID 36379 last_commit_hash: 36380 type: string 36381 format: byte 36382 title: hashes of block data 36383 data_hash: 36384 type: string 36385 format: byte 36386 validators_hash: 36387 type: string 36388 format: byte 36389 title: hashes from the app output from the prev block 36390 next_validators_hash: 36391 type: string 36392 format: byte 36393 consensus_hash: 36394 type: string 36395 format: byte 36396 app_hash: 36397 type: string 36398 format: byte 36399 last_results_hash: 36400 type: string 36401 format: byte 36402 evidence_hash: 36403 type: string 36404 format: byte 36405 title: consensus info 36406 proposer_address: 36407 type: string 36408 format: byte 36409 description: Header defines the structure of a Tendermint block header. 36410 data: 36411 type: object 36412 properties: 36413 txs: 36414 type: array 36415 items: 36416 type: string 36417 format: byte 36418 description: >- 36419 Txs that will be applied by state @ block.Height+1. 36420 36421 NOTE: not all txs here are valid. We're just agreeing on the 36422 order first. 36423 36424 This means that block.AppHash does not include these txs. 36425 title: Data contains the set of transactions included in the block 36426 evidence: 36427 type: object 36428 properties: 36429 evidence: 36430 type: array 36431 items: 36432 type: object 36433 properties: 36434 duplicate_vote_evidence: 36435 type: object 36436 properties: 36437 vote_a: 36438 type: object 36439 properties: 36440 type: 36441 type: string 36442 enum: 36443 - SIGNED_MSG_TYPE_UNKNOWN 36444 - SIGNED_MSG_TYPE_PREVOTE 36445 - SIGNED_MSG_TYPE_PRECOMMIT 36446 - SIGNED_MSG_TYPE_PROPOSAL 36447 default: SIGNED_MSG_TYPE_UNKNOWN 36448 description: >- 36449 SignedMsgType is a type of signed message in the 36450 consensus. 36451 36452 - SIGNED_MSG_TYPE_PREVOTE: Votes 36453 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 36454 height: 36455 type: string 36456 format: int64 36457 round: 36458 type: integer 36459 format: int32 36460 block_id: 36461 type: object 36462 properties: 36463 hash: 36464 type: string 36465 format: byte 36466 part_set_header: 36467 type: object 36468 properties: 36469 total: 36470 type: integer 36471 format: int64 36472 hash: 36473 type: string 36474 format: byte 36475 title: PartsetHeader 36476 title: BlockID 36477 timestamp: 36478 type: string 36479 format: date-time 36480 validator_address: 36481 type: string 36482 format: byte 36483 validator_index: 36484 type: integer 36485 format: int32 36486 signature: 36487 type: string 36488 format: byte 36489 description: >- 36490 Vote represents a prevote, precommit, or commit vote 36491 from validators for 36492 36493 consensus. 36494 vote_b: 36495 type: object 36496 properties: 36497 type: 36498 type: string 36499 enum: 36500 - SIGNED_MSG_TYPE_UNKNOWN 36501 - SIGNED_MSG_TYPE_PREVOTE 36502 - SIGNED_MSG_TYPE_PRECOMMIT 36503 - SIGNED_MSG_TYPE_PROPOSAL 36504 default: SIGNED_MSG_TYPE_UNKNOWN 36505 description: >- 36506 SignedMsgType is a type of signed message in the 36507 consensus. 36508 36509 - SIGNED_MSG_TYPE_PREVOTE: Votes 36510 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 36511 height: 36512 type: string 36513 format: int64 36514 round: 36515 type: integer 36516 format: int32 36517 block_id: 36518 type: object 36519 properties: 36520 hash: 36521 type: string 36522 format: byte 36523 part_set_header: 36524 type: object 36525 properties: 36526 total: 36527 type: integer 36528 format: int64 36529 hash: 36530 type: string 36531 format: byte 36532 title: PartsetHeader 36533 title: BlockID 36534 timestamp: 36535 type: string 36536 format: date-time 36537 validator_address: 36538 type: string 36539 format: byte 36540 validator_index: 36541 type: integer 36542 format: int32 36543 signature: 36544 type: string 36545 format: byte 36546 description: >- 36547 Vote represents a prevote, precommit, or commit vote 36548 from validators for 36549 36550 consensus. 36551 total_voting_power: 36552 type: string 36553 format: int64 36554 validator_power: 36555 type: string 36556 format: int64 36557 timestamp: 36558 type: string 36559 format: date-time 36560 description: >- 36561 DuplicateVoteEvidence contains evidence of a validator 36562 signed two conflicting votes. 36563 light_client_attack_evidence: 36564 type: object 36565 properties: 36566 conflicting_block: 36567 type: object 36568 properties: 36569 signed_header: 36570 type: object 36571 properties: 36572 header: 36573 type: object 36574 properties: 36575 version: 36576 title: basic block info 36577 type: object 36578 properties: 36579 block: 36580 type: string 36581 format: uint64 36582 app: 36583 type: string 36584 format: uint64 36585 description: >- 36586 Consensus captures the consensus rules 36587 for processing a block in the 36588 blockchain, 36589 36590 including all blockchain data structures 36591 and the rules of the application's 36592 36593 state transition machine. 36594 chain_id: 36595 type: string 36596 height: 36597 type: string 36598 format: int64 36599 time: 36600 type: string 36601 format: date-time 36602 last_block_id: 36603 type: object 36604 properties: 36605 hash: 36606 type: string 36607 format: byte 36608 part_set_header: 36609 type: object 36610 properties: 36611 total: 36612 type: integer 36613 format: int64 36614 hash: 36615 type: string 36616 format: byte 36617 title: PartsetHeader 36618 title: BlockID 36619 last_commit_hash: 36620 type: string 36621 format: byte 36622 title: hashes of block data 36623 data_hash: 36624 type: string 36625 format: byte 36626 validators_hash: 36627 type: string 36628 format: byte 36629 title: >- 36630 hashes from the app output from the prev 36631 block 36632 next_validators_hash: 36633 type: string 36634 format: byte 36635 consensus_hash: 36636 type: string 36637 format: byte 36638 app_hash: 36639 type: string 36640 format: byte 36641 last_results_hash: 36642 type: string 36643 format: byte 36644 evidence_hash: 36645 type: string 36646 format: byte 36647 title: consensus info 36648 proposer_address: 36649 type: string 36650 format: byte 36651 description: >- 36652 Header defines the structure of a Tendermint 36653 block header. 36654 commit: 36655 type: object 36656 properties: 36657 height: 36658 type: string 36659 format: int64 36660 round: 36661 type: integer 36662 format: int32 36663 block_id: 36664 type: object 36665 properties: 36666 hash: 36667 type: string 36668 format: byte 36669 part_set_header: 36670 type: object 36671 properties: 36672 total: 36673 type: integer 36674 format: int64 36675 hash: 36676 type: string 36677 format: byte 36678 title: PartsetHeader 36679 title: BlockID 36680 signatures: 36681 type: array 36682 items: 36683 type: object 36684 properties: 36685 block_id_flag: 36686 type: string 36687 enum: 36688 - BLOCK_ID_FLAG_UNKNOWN 36689 - BLOCK_ID_FLAG_ABSENT 36690 - BLOCK_ID_FLAG_COMMIT 36691 - BLOCK_ID_FLAG_NIL 36692 default: BLOCK_ID_FLAG_UNKNOWN 36693 title: >- 36694 BlockIdFlag indicates which BlcokID the 36695 signature is for 36696 validator_address: 36697 type: string 36698 format: byte 36699 timestamp: 36700 type: string 36701 format: date-time 36702 signature: 36703 type: string 36704 format: byte 36705 description: >- 36706 CommitSig is a part of the Vote included 36707 in a Commit. 36708 description: >- 36709 Commit contains the evidence that a block 36710 was committed by a set of validators. 36711 validator_set: 36712 type: object 36713 properties: 36714 validators: 36715 type: array 36716 items: 36717 type: object 36718 properties: 36719 address: 36720 type: string 36721 format: byte 36722 pub_key: 36723 type: object 36724 properties: 36725 ed25519: 36726 type: string 36727 format: byte 36728 secp256k1: 36729 type: string 36730 format: byte 36731 title: >- 36732 PublicKey defines the keys available for 36733 use with Tendermint Validators 36734 voting_power: 36735 type: string 36736 format: int64 36737 proposer_priority: 36738 type: string 36739 format: int64 36740 proposer: 36741 type: object 36742 properties: 36743 address: 36744 type: string 36745 format: byte 36746 pub_key: 36747 type: object 36748 properties: 36749 ed25519: 36750 type: string 36751 format: byte 36752 secp256k1: 36753 type: string 36754 format: byte 36755 title: >- 36756 PublicKey defines the keys available for 36757 use with Tendermint Validators 36758 voting_power: 36759 type: string 36760 format: int64 36761 proposer_priority: 36762 type: string 36763 format: int64 36764 total_voting_power: 36765 type: string 36766 format: int64 36767 common_height: 36768 type: string 36769 format: int64 36770 byzantine_validators: 36771 type: array 36772 items: 36773 type: object 36774 properties: 36775 address: 36776 type: string 36777 format: byte 36778 pub_key: 36779 type: object 36780 properties: 36781 ed25519: 36782 type: string 36783 format: byte 36784 secp256k1: 36785 type: string 36786 format: byte 36787 title: >- 36788 PublicKey defines the keys available for use 36789 with Tendermint Validators 36790 voting_power: 36791 type: string 36792 format: int64 36793 proposer_priority: 36794 type: string 36795 format: int64 36796 total_voting_power: 36797 type: string 36798 format: int64 36799 timestamp: 36800 type: string 36801 format: date-time 36802 description: >- 36803 LightClientAttackEvidence contains evidence of a set of 36804 validators attempting to mislead a light client. 36805 last_commit: 36806 type: object 36807 properties: 36808 height: 36809 type: string 36810 format: int64 36811 round: 36812 type: integer 36813 format: int32 36814 block_id: 36815 type: object 36816 properties: 36817 hash: 36818 type: string 36819 format: byte 36820 part_set_header: 36821 type: object 36822 properties: 36823 total: 36824 type: integer 36825 format: int64 36826 hash: 36827 type: string 36828 format: byte 36829 title: PartsetHeader 36830 title: BlockID 36831 signatures: 36832 type: array 36833 items: 36834 type: object 36835 properties: 36836 block_id_flag: 36837 type: string 36838 enum: 36839 - BLOCK_ID_FLAG_UNKNOWN 36840 - BLOCK_ID_FLAG_ABSENT 36841 - BLOCK_ID_FLAG_COMMIT 36842 - BLOCK_ID_FLAG_NIL 36843 default: BLOCK_ID_FLAG_UNKNOWN 36844 title: BlockIdFlag indicates which BlcokID the signature is for 36845 validator_address: 36846 type: string 36847 format: byte 36848 timestamp: 36849 type: string 36850 format: date-time 36851 signature: 36852 type: string 36853 format: byte 36854 description: CommitSig is a part of the Vote included in a Commit. 36855 description: >- 36856 Commit contains the evidence that a block was committed by a set 36857 of validators. 36858 entropy: 36859 title: '*** Ostracon Extended Fields ***' 36860 type: object 36861 properties: 36862 round: 36863 type: integer 36864 format: int32 36865 proof: 36866 type: string 36867 format: byte 36868 description: >- 36869 GetBlockByHeightResponse is the response type for the 36870 Query/GetBlockByHeight RPC method. 36871 lbm.base.ostracon.v1.GetBlockResultsByHeightResponse: 36872 type: object 36873 properties: 36874 height: 36875 type: string 36876 format: int64 36877 txs_results: 36878 type: array 36879 items: 36880 type: object 36881 properties: 36882 code: 36883 type: integer 36884 format: int64 36885 data: 36886 type: string 36887 format: byte 36888 log: 36889 type: string 36890 info: 36891 type: string 36892 gas_wanted: 36893 type: string 36894 format: int64 36895 gas_used: 36896 type: string 36897 format: int64 36898 events: 36899 type: array 36900 items: 36901 type: object 36902 properties: 36903 type: 36904 type: string 36905 attributes: 36906 type: array 36907 items: 36908 type: object 36909 properties: 36910 key: 36911 type: string 36912 format: byte 36913 value: 36914 type: string 36915 format: byte 36916 index: 36917 type: boolean 36918 format: boolean 36919 description: >- 36920 EventAttribute is a single key-value pair, associated 36921 with an event. 36922 description: >- 36923 Event allows application developers to attach additional 36924 information to 36925 36926 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 36927 ResponseDeliverTx. 36928 36929 Later, transactions may be queried using these events. 36930 codespace: 36931 type: string 36932 res_begin_block: 36933 type: object 36934 properties: 36935 events: 36936 type: array 36937 items: 36938 type: object 36939 properties: 36940 type: 36941 type: string 36942 attributes: 36943 type: array 36944 items: 36945 type: object 36946 properties: 36947 key: 36948 type: string 36949 format: byte 36950 value: 36951 type: string 36952 format: byte 36953 index: 36954 type: boolean 36955 format: boolean 36956 description: >- 36957 EventAttribute is a single key-value pair, associated with 36958 an event. 36959 description: >- 36960 Event allows application developers to attach additional 36961 information to 36962 36963 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 36964 ResponseDeliverTx. 36965 36966 Later, transactions may be queried using these events. 36967 res_end_block: 36968 type: object 36969 properties: 36970 validator_updates: 36971 type: array 36972 items: 36973 type: object 36974 properties: 36975 pub_key: 36976 type: object 36977 properties: 36978 ed25519: 36979 type: string 36980 format: byte 36981 secp256k1: 36982 type: string 36983 format: byte 36984 title: >- 36985 PublicKey defines the keys available for use with Tendermint 36986 Validators 36987 power: 36988 type: string 36989 format: int64 36990 title: ValidatorUpdate 36991 consensus_param_updates: 36992 type: object 36993 properties: 36994 block: 36995 type: object 36996 properties: 36997 max_bytes: 36998 type: string 36999 format: int64 37000 title: 'Note: must be greater than 0' 37001 max_gas: 37002 type: string 37003 format: int64 37004 title: 'Note: must be greater or equal to -1' 37005 description: BlockParams contains limits on the block size. 37006 evidence: 37007 type: object 37008 properties: 37009 max_age_num_blocks: 37010 type: string 37011 format: int64 37012 description: >- 37013 Max age of evidence, in blocks. 37014 37015 37016 The basic formula for calculating this is: MaxAgeDuration 37017 / {average block 37018 37019 time}. 37020 max_age_duration: 37021 type: string 37022 description: >- 37023 Max age of evidence, in time. 37024 37025 37026 It should correspond with an app's "unbonding period" or 37027 other similar 37028 37029 mechanism for handling [Nothing-At-Stake 37030 37031 attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). 37032 max_bytes: 37033 type: string 37034 format: int64 37035 title: >- 37036 This sets the maximum size of total evidence in bytes that 37037 can be committed in a single block. 37038 37039 and should fall comfortably under the max block bytes. 37040 37041 Default is 1048576 or 1MB 37042 description: >- 37043 EvidenceParams determine how we handle evidence of 37044 malfeasance. 37045 validator: 37046 type: object 37047 properties: 37048 pub_key_types: 37049 type: array 37050 items: 37051 type: string 37052 description: >- 37053 ValidatorParams restrict the public key types validators can 37054 use. 37055 37056 NOTE: uses ABCI pubkey naming, not Amino names. 37057 version: 37058 type: object 37059 properties: 37060 app_version: 37061 type: string 37062 format: uint64 37063 description: VersionParams contains the ABCI application version. 37064 title: |- 37065 ConsensusParams contains all consensus-relevant parameters 37066 that can be adjusted by the abci app 37067 events: 37068 type: array 37069 items: 37070 type: object 37071 properties: 37072 type: 37073 type: string 37074 attributes: 37075 type: array 37076 items: 37077 type: object 37078 properties: 37079 key: 37080 type: string 37081 format: byte 37082 value: 37083 type: string 37084 format: byte 37085 index: 37086 type: boolean 37087 format: boolean 37088 description: >- 37089 EventAttribute is a single key-value pair, associated with 37090 an event. 37091 description: >- 37092 Event allows application developers to attach additional 37093 information to 37094 37095 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 37096 ResponseDeliverTx. 37097 37098 Later, transactions may be queried using these events. 37099 description: >- 37100 GetBlockResultsByHeightResponse is the response type for the 37101 Query/GetBlockResultsByHeight RPC method. 37102 lbm.base.ostracon.v1.GetLatestBlockResponse: 37103 type: object 37104 properties: 37105 block_id: 37106 type: object 37107 properties: 37108 hash: 37109 type: string 37110 format: byte 37111 part_set_header: 37112 type: object 37113 properties: 37114 total: 37115 type: integer 37116 format: int64 37117 hash: 37118 type: string 37119 format: byte 37120 title: PartsetHeader 37121 title: BlockID 37122 block: 37123 type: object 37124 properties: 37125 header: 37126 type: object 37127 properties: 37128 version: 37129 title: basic block info 37130 type: object 37131 properties: 37132 block: 37133 type: string 37134 format: uint64 37135 app: 37136 type: string 37137 format: uint64 37138 description: >- 37139 Consensus captures the consensus rules for processing a block 37140 in the blockchain, 37141 37142 including all blockchain data structures and the rules of the 37143 application's 37144 37145 state transition machine. 37146 chain_id: 37147 type: string 37148 height: 37149 type: string 37150 format: int64 37151 time: 37152 type: string 37153 format: date-time 37154 last_block_id: 37155 type: object 37156 properties: 37157 hash: 37158 type: string 37159 format: byte 37160 part_set_header: 37161 type: object 37162 properties: 37163 total: 37164 type: integer 37165 format: int64 37166 hash: 37167 type: string 37168 format: byte 37169 title: PartsetHeader 37170 title: BlockID 37171 last_commit_hash: 37172 type: string 37173 format: byte 37174 title: hashes of block data 37175 data_hash: 37176 type: string 37177 format: byte 37178 validators_hash: 37179 type: string 37180 format: byte 37181 title: hashes from the app output from the prev block 37182 next_validators_hash: 37183 type: string 37184 format: byte 37185 consensus_hash: 37186 type: string 37187 format: byte 37188 app_hash: 37189 type: string 37190 format: byte 37191 last_results_hash: 37192 type: string 37193 format: byte 37194 evidence_hash: 37195 type: string 37196 format: byte 37197 title: consensus info 37198 proposer_address: 37199 type: string 37200 format: byte 37201 description: Header defines the structure of a Tendermint block header. 37202 data: 37203 type: object 37204 properties: 37205 txs: 37206 type: array 37207 items: 37208 type: string 37209 format: byte 37210 description: >- 37211 Txs that will be applied by state @ block.Height+1. 37212 37213 NOTE: not all txs here are valid. We're just agreeing on the 37214 order first. 37215 37216 This means that block.AppHash does not include these txs. 37217 title: Data contains the set of transactions included in the block 37218 evidence: 37219 type: object 37220 properties: 37221 evidence: 37222 type: array 37223 items: 37224 type: object 37225 properties: 37226 duplicate_vote_evidence: 37227 type: object 37228 properties: 37229 vote_a: 37230 type: object 37231 properties: 37232 type: 37233 type: string 37234 enum: 37235 - SIGNED_MSG_TYPE_UNKNOWN 37236 - SIGNED_MSG_TYPE_PREVOTE 37237 - SIGNED_MSG_TYPE_PRECOMMIT 37238 - SIGNED_MSG_TYPE_PROPOSAL 37239 default: SIGNED_MSG_TYPE_UNKNOWN 37240 description: >- 37241 SignedMsgType is a type of signed message in the 37242 consensus. 37243 37244 - SIGNED_MSG_TYPE_PREVOTE: Votes 37245 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 37246 height: 37247 type: string 37248 format: int64 37249 round: 37250 type: integer 37251 format: int32 37252 block_id: 37253 type: object 37254 properties: 37255 hash: 37256 type: string 37257 format: byte 37258 part_set_header: 37259 type: object 37260 properties: 37261 total: 37262 type: integer 37263 format: int64 37264 hash: 37265 type: string 37266 format: byte 37267 title: PartsetHeader 37268 title: BlockID 37269 timestamp: 37270 type: string 37271 format: date-time 37272 validator_address: 37273 type: string 37274 format: byte 37275 validator_index: 37276 type: integer 37277 format: int32 37278 signature: 37279 type: string 37280 format: byte 37281 description: >- 37282 Vote represents a prevote, precommit, or commit vote 37283 from validators for 37284 37285 consensus. 37286 vote_b: 37287 type: object 37288 properties: 37289 type: 37290 type: string 37291 enum: 37292 - SIGNED_MSG_TYPE_UNKNOWN 37293 - SIGNED_MSG_TYPE_PREVOTE 37294 - SIGNED_MSG_TYPE_PRECOMMIT 37295 - SIGNED_MSG_TYPE_PROPOSAL 37296 default: SIGNED_MSG_TYPE_UNKNOWN 37297 description: >- 37298 SignedMsgType is a type of signed message in the 37299 consensus. 37300 37301 - SIGNED_MSG_TYPE_PREVOTE: Votes 37302 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 37303 height: 37304 type: string 37305 format: int64 37306 round: 37307 type: integer 37308 format: int32 37309 block_id: 37310 type: object 37311 properties: 37312 hash: 37313 type: string 37314 format: byte 37315 part_set_header: 37316 type: object 37317 properties: 37318 total: 37319 type: integer 37320 format: int64 37321 hash: 37322 type: string 37323 format: byte 37324 title: PartsetHeader 37325 title: BlockID 37326 timestamp: 37327 type: string 37328 format: date-time 37329 validator_address: 37330 type: string 37331 format: byte 37332 validator_index: 37333 type: integer 37334 format: int32 37335 signature: 37336 type: string 37337 format: byte 37338 description: >- 37339 Vote represents a prevote, precommit, or commit vote 37340 from validators for 37341 37342 consensus. 37343 total_voting_power: 37344 type: string 37345 format: int64 37346 validator_power: 37347 type: string 37348 format: int64 37349 timestamp: 37350 type: string 37351 format: date-time 37352 description: >- 37353 DuplicateVoteEvidence contains evidence of a validator 37354 signed two conflicting votes. 37355 light_client_attack_evidence: 37356 type: object 37357 properties: 37358 conflicting_block: 37359 type: object 37360 properties: 37361 signed_header: 37362 type: object 37363 properties: 37364 header: 37365 type: object 37366 properties: 37367 version: 37368 title: basic block info 37369 type: object 37370 properties: 37371 block: 37372 type: string 37373 format: uint64 37374 app: 37375 type: string 37376 format: uint64 37377 description: >- 37378 Consensus captures the consensus rules 37379 for processing a block in the 37380 blockchain, 37381 37382 including all blockchain data structures 37383 and the rules of the application's 37384 37385 state transition machine. 37386 chain_id: 37387 type: string 37388 height: 37389 type: string 37390 format: int64 37391 time: 37392 type: string 37393 format: date-time 37394 last_block_id: 37395 type: object 37396 properties: 37397 hash: 37398 type: string 37399 format: byte 37400 part_set_header: 37401 type: object 37402 properties: 37403 total: 37404 type: integer 37405 format: int64 37406 hash: 37407 type: string 37408 format: byte 37409 title: PartsetHeader 37410 title: BlockID 37411 last_commit_hash: 37412 type: string 37413 format: byte 37414 title: hashes of block data 37415 data_hash: 37416 type: string 37417 format: byte 37418 validators_hash: 37419 type: string 37420 format: byte 37421 title: >- 37422 hashes from the app output from the prev 37423 block 37424 next_validators_hash: 37425 type: string 37426 format: byte 37427 consensus_hash: 37428 type: string 37429 format: byte 37430 app_hash: 37431 type: string 37432 format: byte 37433 last_results_hash: 37434 type: string 37435 format: byte 37436 evidence_hash: 37437 type: string 37438 format: byte 37439 title: consensus info 37440 proposer_address: 37441 type: string 37442 format: byte 37443 description: >- 37444 Header defines the structure of a Tendermint 37445 block header. 37446 commit: 37447 type: object 37448 properties: 37449 height: 37450 type: string 37451 format: int64 37452 round: 37453 type: integer 37454 format: int32 37455 block_id: 37456 type: object 37457 properties: 37458 hash: 37459 type: string 37460 format: byte 37461 part_set_header: 37462 type: object 37463 properties: 37464 total: 37465 type: integer 37466 format: int64 37467 hash: 37468 type: string 37469 format: byte 37470 title: PartsetHeader 37471 title: BlockID 37472 signatures: 37473 type: array 37474 items: 37475 type: object 37476 properties: 37477 block_id_flag: 37478 type: string 37479 enum: 37480 - BLOCK_ID_FLAG_UNKNOWN 37481 - BLOCK_ID_FLAG_ABSENT 37482 - BLOCK_ID_FLAG_COMMIT 37483 - BLOCK_ID_FLAG_NIL 37484 default: BLOCK_ID_FLAG_UNKNOWN 37485 title: >- 37486 BlockIdFlag indicates which BlcokID the 37487 signature is for 37488 validator_address: 37489 type: string 37490 format: byte 37491 timestamp: 37492 type: string 37493 format: date-time 37494 signature: 37495 type: string 37496 format: byte 37497 description: >- 37498 CommitSig is a part of the Vote included 37499 in a Commit. 37500 description: >- 37501 Commit contains the evidence that a block 37502 was committed by a set of validators. 37503 validator_set: 37504 type: object 37505 properties: 37506 validators: 37507 type: array 37508 items: 37509 type: object 37510 properties: 37511 address: 37512 type: string 37513 format: byte 37514 pub_key: 37515 type: object 37516 properties: 37517 ed25519: 37518 type: string 37519 format: byte 37520 secp256k1: 37521 type: string 37522 format: byte 37523 title: >- 37524 PublicKey defines the keys available for 37525 use with Tendermint Validators 37526 voting_power: 37527 type: string 37528 format: int64 37529 proposer_priority: 37530 type: string 37531 format: int64 37532 proposer: 37533 type: object 37534 properties: 37535 address: 37536 type: string 37537 format: byte 37538 pub_key: 37539 type: object 37540 properties: 37541 ed25519: 37542 type: string 37543 format: byte 37544 secp256k1: 37545 type: string 37546 format: byte 37547 title: >- 37548 PublicKey defines the keys available for 37549 use with Tendermint Validators 37550 voting_power: 37551 type: string 37552 format: int64 37553 proposer_priority: 37554 type: string 37555 format: int64 37556 total_voting_power: 37557 type: string 37558 format: int64 37559 common_height: 37560 type: string 37561 format: int64 37562 byzantine_validators: 37563 type: array 37564 items: 37565 type: object 37566 properties: 37567 address: 37568 type: string 37569 format: byte 37570 pub_key: 37571 type: object 37572 properties: 37573 ed25519: 37574 type: string 37575 format: byte 37576 secp256k1: 37577 type: string 37578 format: byte 37579 title: >- 37580 PublicKey defines the keys available for use 37581 with Tendermint Validators 37582 voting_power: 37583 type: string 37584 format: int64 37585 proposer_priority: 37586 type: string 37587 format: int64 37588 total_voting_power: 37589 type: string 37590 format: int64 37591 timestamp: 37592 type: string 37593 format: date-time 37594 description: >- 37595 LightClientAttackEvidence contains evidence of a set of 37596 validators attempting to mislead a light client. 37597 last_commit: 37598 type: object 37599 properties: 37600 height: 37601 type: string 37602 format: int64 37603 round: 37604 type: integer 37605 format: int32 37606 block_id: 37607 type: object 37608 properties: 37609 hash: 37610 type: string 37611 format: byte 37612 part_set_header: 37613 type: object 37614 properties: 37615 total: 37616 type: integer 37617 format: int64 37618 hash: 37619 type: string 37620 format: byte 37621 title: PartsetHeader 37622 title: BlockID 37623 signatures: 37624 type: array 37625 items: 37626 type: object 37627 properties: 37628 block_id_flag: 37629 type: string 37630 enum: 37631 - BLOCK_ID_FLAG_UNKNOWN 37632 - BLOCK_ID_FLAG_ABSENT 37633 - BLOCK_ID_FLAG_COMMIT 37634 - BLOCK_ID_FLAG_NIL 37635 default: BLOCK_ID_FLAG_UNKNOWN 37636 title: BlockIdFlag indicates which BlcokID the signature is for 37637 validator_address: 37638 type: string 37639 format: byte 37640 timestamp: 37641 type: string 37642 format: date-time 37643 signature: 37644 type: string 37645 format: byte 37646 description: CommitSig is a part of the Vote included in a Commit. 37647 description: >- 37648 Commit contains the evidence that a block was committed by a set 37649 of validators. 37650 entropy: 37651 title: '*** Ostracon Extended Fields ***' 37652 type: object 37653 properties: 37654 round: 37655 type: integer 37656 format: int32 37657 proof: 37658 type: string 37659 format: byte 37660 description: >- 37661 GetLatestBlockResponse is the response type for the Query/GetLatestBlock 37662 RPC method. 37663 lbm.base.ostracon.v1.GetLatestValidatorSetResponse: 37664 type: object 37665 properties: 37666 block_height: 37667 type: string 37668 format: int64 37669 validators: 37670 type: array 37671 items: 37672 type: object 37673 properties: 37674 address: 37675 type: string 37676 pub_key: 37677 type: object 37678 properties: 37679 type_url: 37680 type: string 37681 description: >- 37682 A URL/resource name that uniquely identifies the type of the 37683 serialized 37684 37685 protocol buffer message. This string must contain at least 37686 37687 one "/" character. The last segment of the URL's path must 37688 represent 37689 37690 the fully qualified name of the type (as in 37691 37692 `path/google.protobuf.Duration`). The name should be in a 37693 canonical form 37694 37695 (e.g., leading "." is not accepted). 37696 37697 37698 In practice, teams usually precompile into the binary all 37699 types that they 37700 37701 expect it to use in the context of Any. However, for URLs 37702 which use the 37703 37704 scheme `http`, `https`, or no scheme, one can optionally set 37705 up a type 37706 37707 server that maps type URLs to message definitions as 37708 follows: 37709 37710 37711 * If no scheme is provided, `https` is assumed. 37712 37713 * An HTTP GET on the URL must yield a 37714 [google.protobuf.Type][] 37715 value in binary format, or produce an error. 37716 * Applications are allowed to cache lookup results based on 37717 the 37718 URL, or have them precompiled into a binary to avoid any 37719 lookup. Therefore, binary compatibility needs to be preserved 37720 on changes to types. (Use versioned type names to manage 37721 breaking changes.) 37722 37723 Note: this functionality is not currently available in the 37724 official 37725 37726 protobuf release, and it is not used for type URLs beginning 37727 with 37728 37729 type.googleapis.com. 37730 37731 37732 Schemes other than `http`, `https` (or the empty scheme) 37733 might be 37734 37735 used with implementation specific semantics. 37736 value: 37737 type: string 37738 format: byte 37739 description: >- 37740 Must be a valid serialized protocol buffer of the above 37741 specified type. 37742 description: >- 37743 `Any` contains an arbitrary serialized protocol buffer message 37744 along with a 37745 37746 URL that describes the type of the serialized message. 37747 37748 37749 Protobuf library provides support to pack/unpack Any values in 37750 the form 37751 37752 of utility functions or additional generated methods of the Any 37753 type. 37754 37755 37756 Example 1: Pack and unpack a message in C++. 37757 37758 Foo foo = ...; 37759 Any any; 37760 any.PackFrom(foo); 37761 ... 37762 if (any.UnpackTo(&foo)) { 37763 ... 37764 } 37765 37766 Example 2: Pack and unpack a message in Java. 37767 37768 Foo foo = ...; 37769 Any any = Any.pack(foo); 37770 ... 37771 if (any.is(Foo.class)) { 37772 foo = any.unpack(Foo.class); 37773 } 37774 37775 Example 3: Pack and unpack a message in Python. 37776 37777 foo = Foo(...) 37778 any = Any() 37779 any.Pack(foo) 37780 ... 37781 if any.Is(Foo.DESCRIPTOR): 37782 any.Unpack(foo) 37783 ... 37784 37785 Example 4: Pack and unpack a message in Go 37786 37787 foo := &pb.Foo{...} 37788 any, err := ptypes.MarshalAny(foo) 37789 ... 37790 foo := &pb.Foo{} 37791 if err := ptypes.UnmarshalAny(any, foo); err != nil { 37792 ... 37793 } 37794 37795 The pack methods provided by protobuf library will by default 37796 use 37797 37798 'type.googleapis.com/full.type.name' as the type URL and the 37799 unpack 37800 37801 methods only use the fully qualified type name after the last 37802 '/' 37803 37804 in the type URL, for example "foo.bar.com/x/y.z" will yield type 37805 37806 name "y.z". 37807 37808 37809 37810 JSON 37811 37812 ==== 37813 37814 The JSON representation of an `Any` value uses the regular 37815 37816 representation of the deserialized, embedded message, with an 37817 37818 additional field `@type` which contains the type URL. Example: 37819 37820 package google.profile; 37821 message Person { 37822 string first_name = 1; 37823 string last_name = 2; 37824 } 37825 37826 { 37827 "@type": "type.googleapis.com/google.profile.Person", 37828 "firstName": <string>, 37829 "lastName": <string> 37830 } 37831 37832 If the embedded message type is well-known and has a custom JSON 37833 37834 representation, that representation will be embedded adding a 37835 field 37836 37837 `value` which holds the custom JSON in addition to the `@type` 37838 37839 field. Example (for message [google.protobuf.Duration][]): 37840 37841 { 37842 "@type": "type.googleapis.com/google.protobuf.Duration", 37843 "value": "1.212s" 37844 } 37845 voting_power: 37846 type: string 37847 format: int64 37848 proposer_priority: 37849 type: string 37850 format: int64 37851 description: Validator is the type for the validator-set. 37852 pagination: 37853 description: pagination defines an pagination for the response. 37854 type: object 37855 properties: 37856 next_key: 37857 type: string 37858 format: byte 37859 title: |- 37860 next_key is the key to be passed to PageRequest.key to 37861 query the next page most efficiently 37862 total: 37863 type: string 37864 format: uint64 37865 title: >- 37866 total is total number of results available if 37867 PageRequest.count_total 37868 37869 was set, its value is undefined otherwise 37870 description: >- 37871 GetLatestValidatorSetResponse is the response type for the 37872 Query/GetValidatorSetByHeight RPC method. 37873 lbm.base.ostracon.v1.GetNodeInfoResponse: 37874 type: object 37875 properties: 37876 default_node_info: 37877 type: object 37878 properties: 37879 protocol_version: 37880 type: object 37881 properties: 37882 p2p: 37883 type: string 37884 format: uint64 37885 block: 37886 type: string 37887 format: uint64 37888 app: 37889 type: string 37890 format: uint64 37891 default_node_id: 37892 type: string 37893 listen_addr: 37894 type: string 37895 network: 37896 type: string 37897 version: 37898 type: string 37899 channels: 37900 type: string 37901 format: byte 37902 moniker: 37903 type: string 37904 other: 37905 type: object 37906 properties: 37907 tx_index: 37908 type: string 37909 rpc_address: 37910 type: string 37911 application_version: 37912 type: object 37913 properties: 37914 name: 37915 type: string 37916 app_name: 37917 type: string 37918 version: 37919 type: string 37920 git_commit: 37921 type: string 37922 build_tags: 37923 type: string 37924 go_version: 37925 type: string 37926 build_deps: 37927 type: array 37928 items: 37929 type: object 37930 properties: 37931 path: 37932 type: string 37933 title: module path 37934 version: 37935 type: string 37936 title: module version 37937 sum: 37938 type: string 37939 title: checksum 37940 title: Module is the type for VersionInfo 37941 lbm_sdk_version: 37942 type: string 37943 title: 'Since: cosmos-sdk 0.43' 37944 description: VersionInfo is the type for the GetNodeInfoResponse message. 37945 description: >- 37946 GetNodeInfoResponse is the request type for the Query/GetNodeInfo RPC 37947 method. 37948 lbm.base.ostracon.v1.GetSyncingResponse: 37949 type: object 37950 properties: 37951 syncing: 37952 type: boolean 37953 format: boolean 37954 description: >- 37955 GetSyncingResponse is the response type for the Query/GetSyncing RPC 37956 method. 37957 lbm.base.ostracon.v1.GetValidatorSetByHeightResponse: 37958 type: object 37959 properties: 37960 block_height: 37961 type: string 37962 format: int64 37963 validators: 37964 type: array 37965 items: 37966 type: object 37967 properties: 37968 address: 37969 type: string 37970 pub_key: 37971 type: object 37972 properties: 37973 type_url: 37974 type: string 37975 description: >- 37976 A URL/resource name that uniquely identifies the type of the 37977 serialized 37978 37979 protocol buffer message. This string must contain at least 37980 37981 one "/" character. The last segment of the URL's path must 37982 represent 37983 37984 the fully qualified name of the type (as in 37985 37986 `path/google.protobuf.Duration`). The name should be in a 37987 canonical form 37988 37989 (e.g., leading "." is not accepted). 37990 37991 37992 In practice, teams usually precompile into the binary all 37993 types that they 37994 37995 expect it to use in the context of Any. However, for URLs 37996 which use the 37997 37998 scheme `http`, `https`, or no scheme, one can optionally set 37999 up a type 38000 38001 server that maps type URLs to message definitions as 38002 follows: 38003 38004 38005 * If no scheme is provided, `https` is assumed. 38006 38007 * An HTTP GET on the URL must yield a 38008 [google.protobuf.Type][] 38009 value in binary format, or produce an error. 38010 * Applications are allowed to cache lookup results based on 38011 the 38012 URL, or have them precompiled into a binary to avoid any 38013 lookup. Therefore, binary compatibility needs to be preserved 38014 on changes to types. (Use versioned type names to manage 38015 breaking changes.) 38016 38017 Note: this functionality is not currently available in the 38018 official 38019 38020 protobuf release, and it is not used for type URLs beginning 38021 with 38022 38023 type.googleapis.com. 38024 38025 38026 Schemes other than `http`, `https` (or the empty scheme) 38027 might be 38028 38029 used with implementation specific semantics. 38030 value: 38031 type: string 38032 format: byte 38033 description: >- 38034 Must be a valid serialized protocol buffer of the above 38035 specified type. 38036 description: >- 38037 `Any` contains an arbitrary serialized protocol buffer message 38038 along with a 38039 38040 URL that describes the type of the serialized message. 38041 38042 38043 Protobuf library provides support to pack/unpack Any values in 38044 the form 38045 38046 of utility functions or additional generated methods of the Any 38047 type. 38048 38049 38050 Example 1: Pack and unpack a message in C++. 38051 38052 Foo foo = ...; 38053 Any any; 38054 any.PackFrom(foo); 38055 ... 38056 if (any.UnpackTo(&foo)) { 38057 ... 38058 } 38059 38060 Example 2: Pack and unpack a message in Java. 38061 38062 Foo foo = ...; 38063 Any any = Any.pack(foo); 38064 ... 38065 if (any.is(Foo.class)) { 38066 foo = any.unpack(Foo.class); 38067 } 38068 38069 Example 3: Pack and unpack a message in Python. 38070 38071 foo = Foo(...) 38072 any = Any() 38073 any.Pack(foo) 38074 ... 38075 if any.Is(Foo.DESCRIPTOR): 38076 any.Unpack(foo) 38077 ... 38078 38079 Example 4: Pack and unpack a message in Go 38080 38081 foo := &pb.Foo{...} 38082 any, err := ptypes.MarshalAny(foo) 38083 ... 38084 foo := &pb.Foo{} 38085 if err := ptypes.UnmarshalAny(any, foo); err != nil { 38086 ... 38087 } 38088 38089 The pack methods provided by protobuf library will by default 38090 use 38091 38092 'type.googleapis.com/full.type.name' as the type URL and the 38093 unpack 38094 38095 methods only use the fully qualified type name after the last 38096 '/' 38097 38098 in the type URL, for example "foo.bar.com/x/y.z" will yield type 38099 38100 name "y.z". 38101 38102 38103 38104 JSON 38105 38106 ==== 38107 38108 The JSON representation of an `Any` value uses the regular 38109 38110 representation of the deserialized, embedded message, with an 38111 38112 additional field `@type` which contains the type URL. Example: 38113 38114 package google.profile; 38115 message Person { 38116 string first_name = 1; 38117 string last_name = 2; 38118 } 38119 38120 { 38121 "@type": "type.googleapis.com/google.profile.Person", 38122 "firstName": <string>, 38123 "lastName": <string> 38124 } 38125 38126 If the embedded message type is well-known and has a custom JSON 38127 38128 representation, that representation will be embedded adding a 38129 field 38130 38131 `value` which holds the custom JSON in addition to the `@type` 38132 38133 field. Example (for message [google.protobuf.Duration][]): 38134 38135 { 38136 "@type": "type.googleapis.com/google.protobuf.Duration", 38137 "value": "1.212s" 38138 } 38139 voting_power: 38140 type: string 38141 format: int64 38142 proposer_priority: 38143 type: string 38144 format: int64 38145 description: Validator is the type for the validator-set. 38146 pagination: 38147 description: pagination defines an pagination for the response. 38148 type: object 38149 properties: 38150 next_key: 38151 type: string 38152 format: byte 38153 title: |- 38154 next_key is the key to be passed to PageRequest.key to 38155 query the next page most efficiently 38156 total: 38157 type: string 38158 format: uint64 38159 title: >- 38160 total is total number of results available if 38161 PageRequest.count_total 38162 38163 was set, its value is undefined otherwise 38164 description: >- 38165 GetValidatorSetByHeightResponse is the response type for the 38166 Query/GetValidatorSetByHeight RPC method. 38167 lbm.base.ostracon.v1.Module: 38168 type: object 38169 properties: 38170 path: 38171 type: string 38172 title: module path 38173 version: 38174 type: string 38175 title: module version 38176 sum: 38177 type: string 38178 title: checksum 38179 title: Module is the type for VersionInfo 38180 lbm.base.ostracon.v1.Validator: 38181 type: object 38182 properties: 38183 address: 38184 type: string 38185 pub_key: 38186 type: object 38187 properties: 38188 type_url: 38189 type: string 38190 description: >- 38191 A URL/resource name that uniquely identifies the type of the 38192 serialized 38193 38194 protocol buffer message. This string must contain at least 38195 38196 one "/" character. The last segment of the URL's path must 38197 represent 38198 38199 the fully qualified name of the type (as in 38200 38201 `path/google.protobuf.Duration`). The name should be in a 38202 canonical form 38203 38204 (e.g., leading "." is not accepted). 38205 38206 38207 In practice, teams usually precompile into the binary all types 38208 that they 38209 38210 expect it to use in the context of Any. However, for URLs which 38211 use the 38212 38213 scheme `http`, `https`, or no scheme, one can optionally set up a 38214 type 38215 38216 server that maps type URLs to message definitions as follows: 38217 38218 38219 * If no scheme is provided, `https` is assumed. 38220 38221 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 38222 value in binary format, or produce an error. 38223 * Applications are allowed to cache lookup results based on the 38224 URL, or have them precompiled into a binary to avoid any 38225 lookup. Therefore, binary compatibility needs to be preserved 38226 on changes to types. (Use versioned type names to manage 38227 breaking changes.) 38228 38229 Note: this functionality is not currently available in the 38230 official 38231 38232 protobuf release, and it is not used for type URLs beginning with 38233 38234 type.googleapis.com. 38235 38236 38237 Schemes other than `http`, `https` (or the empty scheme) might be 38238 38239 used with implementation specific semantics. 38240 value: 38241 type: string 38242 format: byte 38243 description: >- 38244 Must be a valid serialized protocol buffer of the above specified 38245 type. 38246 description: >- 38247 `Any` contains an arbitrary serialized protocol buffer message along 38248 with a 38249 38250 URL that describes the type of the serialized message. 38251 38252 38253 Protobuf library provides support to pack/unpack Any values in the 38254 form 38255 38256 of utility functions or additional generated methods of the Any type. 38257 38258 38259 Example 1: Pack and unpack a message in C++. 38260 38261 Foo foo = ...; 38262 Any any; 38263 any.PackFrom(foo); 38264 ... 38265 if (any.UnpackTo(&foo)) { 38266 ... 38267 } 38268 38269 Example 2: Pack and unpack a message in Java. 38270 38271 Foo foo = ...; 38272 Any any = Any.pack(foo); 38273 ... 38274 if (any.is(Foo.class)) { 38275 foo = any.unpack(Foo.class); 38276 } 38277 38278 Example 3: Pack and unpack a message in Python. 38279 38280 foo = Foo(...) 38281 any = Any() 38282 any.Pack(foo) 38283 ... 38284 if any.Is(Foo.DESCRIPTOR): 38285 any.Unpack(foo) 38286 ... 38287 38288 Example 4: Pack and unpack a message in Go 38289 38290 foo := &pb.Foo{...} 38291 any, err := ptypes.MarshalAny(foo) 38292 ... 38293 foo := &pb.Foo{} 38294 if err := ptypes.UnmarshalAny(any, foo); err != nil { 38295 ... 38296 } 38297 38298 The pack methods provided by protobuf library will by default use 38299 38300 'type.googleapis.com/full.type.name' as the type URL and the unpack 38301 38302 methods only use the fully qualified type name after the last '/' 38303 38304 in the type URL, for example "foo.bar.com/x/y.z" will yield type 38305 38306 name "y.z". 38307 38308 38309 38310 JSON 38311 38312 ==== 38313 38314 The JSON representation of an `Any` value uses the regular 38315 38316 representation of the deserialized, embedded message, with an 38317 38318 additional field `@type` which contains the type URL. Example: 38319 38320 package google.profile; 38321 message Person { 38322 string first_name = 1; 38323 string last_name = 2; 38324 } 38325 38326 { 38327 "@type": "type.googleapis.com/google.profile.Person", 38328 "firstName": <string>, 38329 "lastName": <string> 38330 } 38331 38332 If the embedded message type is well-known and has a custom JSON 38333 38334 representation, that representation will be embedded adding a field 38335 38336 `value` which holds the custom JSON in addition to the `@type` 38337 38338 field. Example (for message [google.protobuf.Duration][]): 38339 38340 { 38341 "@type": "type.googleapis.com/google.protobuf.Duration", 38342 "value": "1.212s" 38343 } 38344 voting_power: 38345 type: string 38346 format: int64 38347 proposer_priority: 38348 type: string 38349 format: int64 38350 description: Validator is the type for the validator-set. 38351 lbm.base.ostracon.v1.VersionInfo: 38352 type: object 38353 properties: 38354 name: 38355 type: string 38356 app_name: 38357 type: string 38358 version: 38359 type: string 38360 git_commit: 38361 type: string 38362 build_tags: 38363 type: string 38364 go_version: 38365 type: string 38366 build_deps: 38367 type: array 38368 items: 38369 type: object 38370 properties: 38371 path: 38372 type: string 38373 title: module path 38374 version: 38375 type: string 38376 title: module version 38377 sum: 38378 type: string 38379 title: checksum 38380 title: Module is the type for VersionInfo 38381 lbm_sdk_version: 38382 type: string 38383 title: 'Since: cosmos-sdk 0.43' 38384 description: VersionInfo is the type for the GetNodeInfoResponse message. 38385 ostracon.types.Block: 38386 type: object 38387 properties: 38388 header: 38389 type: object 38390 properties: 38391 version: 38392 title: basic block info 38393 type: object 38394 properties: 38395 block: 38396 type: string 38397 format: uint64 38398 app: 38399 type: string 38400 format: uint64 38401 description: >- 38402 Consensus captures the consensus rules for processing a block in 38403 the blockchain, 38404 38405 including all blockchain data structures and the rules of the 38406 application's 38407 38408 state transition machine. 38409 chain_id: 38410 type: string 38411 height: 38412 type: string 38413 format: int64 38414 time: 38415 type: string 38416 format: date-time 38417 last_block_id: 38418 type: object 38419 properties: 38420 hash: 38421 type: string 38422 format: byte 38423 part_set_header: 38424 type: object 38425 properties: 38426 total: 38427 type: integer 38428 format: int64 38429 hash: 38430 type: string 38431 format: byte 38432 title: PartsetHeader 38433 title: BlockID 38434 last_commit_hash: 38435 type: string 38436 format: byte 38437 title: hashes of block data 38438 data_hash: 38439 type: string 38440 format: byte 38441 validators_hash: 38442 type: string 38443 format: byte 38444 title: hashes from the app output from the prev block 38445 next_validators_hash: 38446 type: string 38447 format: byte 38448 consensus_hash: 38449 type: string 38450 format: byte 38451 app_hash: 38452 type: string 38453 format: byte 38454 last_results_hash: 38455 type: string 38456 format: byte 38457 evidence_hash: 38458 type: string 38459 format: byte 38460 title: consensus info 38461 proposer_address: 38462 type: string 38463 format: byte 38464 description: Header defines the structure of a Tendermint block header. 38465 data: 38466 type: object 38467 properties: 38468 txs: 38469 type: array 38470 items: 38471 type: string 38472 format: byte 38473 description: >- 38474 Txs that will be applied by state @ block.Height+1. 38475 38476 NOTE: not all txs here are valid. We're just agreeing on the 38477 order first. 38478 38479 This means that block.AppHash does not include these txs. 38480 title: Data contains the set of transactions included in the block 38481 evidence: 38482 type: object 38483 properties: 38484 evidence: 38485 type: array 38486 items: 38487 type: object 38488 properties: 38489 duplicate_vote_evidence: 38490 type: object 38491 properties: 38492 vote_a: 38493 type: object 38494 properties: 38495 type: 38496 type: string 38497 enum: 38498 - SIGNED_MSG_TYPE_UNKNOWN 38499 - SIGNED_MSG_TYPE_PREVOTE 38500 - SIGNED_MSG_TYPE_PRECOMMIT 38501 - SIGNED_MSG_TYPE_PROPOSAL 38502 default: SIGNED_MSG_TYPE_UNKNOWN 38503 description: >- 38504 SignedMsgType is a type of signed message in the 38505 consensus. 38506 38507 - SIGNED_MSG_TYPE_PREVOTE: Votes 38508 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 38509 height: 38510 type: string 38511 format: int64 38512 round: 38513 type: integer 38514 format: int32 38515 block_id: 38516 type: object 38517 properties: 38518 hash: 38519 type: string 38520 format: byte 38521 part_set_header: 38522 type: object 38523 properties: 38524 total: 38525 type: integer 38526 format: int64 38527 hash: 38528 type: string 38529 format: byte 38530 title: PartsetHeader 38531 title: BlockID 38532 timestamp: 38533 type: string 38534 format: date-time 38535 validator_address: 38536 type: string 38537 format: byte 38538 validator_index: 38539 type: integer 38540 format: int32 38541 signature: 38542 type: string 38543 format: byte 38544 description: >- 38545 Vote represents a prevote, precommit, or commit vote 38546 from validators for 38547 38548 consensus. 38549 vote_b: 38550 type: object 38551 properties: 38552 type: 38553 type: string 38554 enum: 38555 - SIGNED_MSG_TYPE_UNKNOWN 38556 - SIGNED_MSG_TYPE_PREVOTE 38557 - SIGNED_MSG_TYPE_PRECOMMIT 38558 - SIGNED_MSG_TYPE_PROPOSAL 38559 default: SIGNED_MSG_TYPE_UNKNOWN 38560 description: >- 38561 SignedMsgType is a type of signed message in the 38562 consensus. 38563 38564 - SIGNED_MSG_TYPE_PREVOTE: Votes 38565 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 38566 height: 38567 type: string 38568 format: int64 38569 round: 38570 type: integer 38571 format: int32 38572 block_id: 38573 type: object 38574 properties: 38575 hash: 38576 type: string 38577 format: byte 38578 part_set_header: 38579 type: object 38580 properties: 38581 total: 38582 type: integer 38583 format: int64 38584 hash: 38585 type: string 38586 format: byte 38587 title: PartsetHeader 38588 title: BlockID 38589 timestamp: 38590 type: string 38591 format: date-time 38592 validator_address: 38593 type: string 38594 format: byte 38595 validator_index: 38596 type: integer 38597 format: int32 38598 signature: 38599 type: string 38600 format: byte 38601 description: >- 38602 Vote represents a prevote, precommit, or commit vote 38603 from validators for 38604 38605 consensus. 38606 total_voting_power: 38607 type: string 38608 format: int64 38609 validator_power: 38610 type: string 38611 format: int64 38612 timestamp: 38613 type: string 38614 format: date-time 38615 description: >- 38616 DuplicateVoteEvidence contains evidence of a validator 38617 signed two conflicting votes. 38618 light_client_attack_evidence: 38619 type: object 38620 properties: 38621 conflicting_block: 38622 type: object 38623 properties: 38624 signed_header: 38625 type: object 38626 properties: 38627 header: 38628 type: object 38629 properties: 38630 version: 38631 title: basic block info 38632 type: object 38633 properties: 38634 block: 38635 type: string 38636 format: uint64 38637 app: 38638 type: string 38639 format: uint64 38640 description: >- 38641 Consensus captures the consensus rules for 38642 processing a block in the blockchain, 38643 38644 including all blockchain data structures and 38645 the rules of the application's 38646 38647 state transition machine. 38648 chain_id: 38649 type: string 38650 height: 38651 type: string 38652 format: int64 38653 time: 38654 type: string 38655 format: date-time 38656 last_block_id: 38657 type: object 38658 properties: 38659 hash: 38660 type: string 38661 format: byte 38662 part_set_header: 38663 type: object 38664 properties: 38665 total: 38666 type: integer 38667 format: int64 38668 hash: 38669 type: string 38670 format: byte 38671 title: PartsetHeader 38672 title: BlockID 38673 last_commit_hash: 38674 type: string 38675 format: byte 38676 title: hashes of block data 38677 data_hash: 38678 type: string 38679 format: byte 38680 validators_hash: 38681 type: string 38682 format: byte 38683 title: >- 38684 hashes from the app output from the prev 38685 block 38686 next_validators_hash: 38687 type: string 38688 format: byte 38689 consensus_hash: 38690 type: string 38691 format: byte 38692 app_hash: 38693 type: string 38694 format: byte 38695 last_results_hash: 38696 type: string 38697 format: byte 38698 evidence_hash: 38699 type: string 38700 format: byte 38701 title: consensus info 38702 proposer_address: 38703 type: string 38704 format: byte 38705 description: >- 38706 Header defines the structure of a Tendermint 38707 block header. 38708 commit: 38709 type: object 38710 properties: 38711 height: 38712 type: string 38713 format: int64 38714 round: 38715 type: integer 38716 format: int32 38717 block_id: 38718 type: object 38719 properties: 38720 hash: 38721 type: string 38722 format: byte 38723 part_set_header: 38724 type: object 38725 properties: 38726 total: 38727 type: integer 38728 format: int64 38729 hash: 38730 type: string 38731 format: byte 38732 title: PartsetHeader 38733 title: BlockID 38734 signatures: 38735 type: array 38736 items: 38737 type: object 38738 properties: 38739 block_id_flag: 38740 type: string 38741 enum: 38742 - BLOCK_ID_FLAG_UNKNOWN 38743 - BLOCK_ID_FLAG_ABSENT 38744 - BLOCK_ID_FLAG_COMMIT 38745 - BLOCK_ID_FLAG_NIL 38746 default: BLOCK_ID_FLAG_UNKNOWN 38747 title: >- 38748 BlockIdFlag indicates which BlcokID the 38749 signature is for 38750 validator_address: 38751 type: string 38752 format: byte 38753 timestamp: 38754 type: string 38755 format: date-time 38756 signature: 38757 type: string 38758 format: byte 38759 description: >- 38760 CommitSig is a part of the Vote included 38761 in a Commit. 38762 description: >- 38763 Commit contains the evidence that a block was 38764 committed by a set of validators. 38765 validator_set: 38766 type: object 38767 properties: 38768 validators: 38769 type: array 38770 items: 38771 type: object 38772 properties: 38773 address: 38774 type: string 38775 format: byte 38776 pub_key: 38777 type: object 38778 properties: 38779 ed25519: 38780 type: string 38781 format: byte 38782 secp256k1: 38783 type: string 38784 format: byte 38785 title: >- 38786 PublicKey defines the keys available for 38787 use with Tendermint Validators 38788 voting_power: 38789 type: string 38790 format: int64 38791 proposer_priority: 38792 type: string 38793 format: int64 38794 proposer: 38795 type: object 38796 properties: 38797 address: 38798 type: string 38799 format: byte 38800 pub_key: 38801 type: object 38802 properties: 38803 ed25519: 38804 type: string 38805 format: byte 38806 secp256k1: 38807 type: string 38808 format: byte 38809 title: >- 38810 PublicKey defines the keys available for use 38811 with Tendermint Validators 38812 voting_power: 38813 type: string 38814 format: int64 38815 proposer_priority: 38816 type: string 38817 format: int64 38818 total_voting_power: 38819 type: string 38820 format: int64 38821 common_height: 38822 type: string 38823 format: int64 38824 byzantine_validators: 38825 type: array 38826 items: 38827 type: object 38828 properties: 38829 address: 38830 type: string 38831 format: byte 38832 pub_key: 38833 type: object 38834 properties: 38835 ed25519: 38836 type: string 38837 format: byte 38838 secp256k1: 38839 type: string 38840 format: byte 38841 title: >- 38842 PublicKey defines the keys available for use with 38843 Tendermint Validators 38844 voting_power: 38845 type: string 38846 format: int64 38847 proposer_priority: 38848 type: string 38849 format: int64 38850 total_voting_power: 38851 type: string 38852 format: int64 38853 timestamp: 38854 type: string 38855 format: date-time 38856 description: >- 38857 LightClientAttackEvidence contains evidence of a set of 38858 validators attempting to mislead a light client. 38859 last_commit: 38860 type: object 38861 properties: 38862 height: 38863 type: string 38864 format: int64 38865 round: 38866 type: integer 38867 format: int32 38868 block_id: 38869 type: object 38870 properties: 38871 hash: 38872 type: string 38873 format: byte 38874 part_set_header: 38875 type: object 38876 properties: 38877 total: 38878 type: integer 38879 format: int64 38880 hash: 38881 type: string 38882 format: byte 38883 title: PartsetHeader 38884 title: BlockID 38885 signatures: 38886 type: array 38887 items: 38888 type: object 38889 properties: 38890 block_id_flag: 38891 type: string 38892 enum: 38893 - BLOCK_ID_FLAG_UNKNOWN 38894 - BLOCK_ID_FLAG_ABSENT 38895 - BLOCK_ID_FLAG_COMMIT 38896 - BLOCK_ID_FLAG_NIL 38897 default: BLOCK_ID_FLAG_UNKNOWN 38898 title: BlockIdFlag indicates which BlcokID the signature is for 38899 validator_address: 38900 type: string 38901 format: byte 38902 timestamp: 38903 type: string 38904 format: date-time 38905 signature: 38906 type: string 38907 format: byte 38908 description: CommitSig is a part of the Vote included in a Commit. 38909 description: >- 38910 Commit contains the evidence that a block was committed by a set of 38911 validators. 38912 entropy: 38913 title: '*** Ostracon Extended Fields ***' 38914 type: object 38915 properties: 38916 round: 38917 type: integer 38918 format: int32 38919 proof: 38920 type: string 38921 format: byte 38922 ostracon.types.Entropy: 38923 type: object 38924 properties: 38925 round: 38926 type: integer 38927 format: int32 38928 proof: 38929 type: string 38930 format: byte 38931 title: >- 38932 Entropy represents height-specific complexity and used in 38933 proposer-election. 38934 38935 Entropy contains vrf proof and generated round. The relationship of each 38936 field is as follows. 38937 38938 Entropy.proof = VRFProof(last_proof_hash, current_height, Entropy.round) 38939 tendermint.abci.BlockParams: 38940 type: object 38941 properties: 38942 max_bytes: 38943 type: string 38944 format: int64 38945 title: 'Note: must be greater than 0' 38946 max_gas: 38947 type: string 38948 format: int64 38949 title: 'Note: must be greater or equal to -1' 38950 description: BlockParams contains limits on the block size. 38951 tendermint.abci.ConsensusParams: 38952 type: object 38953 properties: 38954 block: 38955 type: object 38956 properties: 38957 max_bytes: 38958 type: string 38959 format: int64 38960 title: 'Note: must be greater than 0' 38961 max_gas: 38962 type: string 38963 format: int64 38964 title: 'Note: must be greater or equal to -1' 38965 description: BlockParams contains limits on the block size. 38966 evidence: 38967 type: object 38968 properties: 38969 max_age_num_blocks: 38970 type: string 38971 format: int64 38972 description: >- 38973 Max age of evidence, in blocks. 38974 38975 38976 The basic formula for calculating this is: MaxAgeDuration / 38977 {average block 38978 38979 time}. 38980 max_age_duration: 38981 type: string 38982 description: >- 38983 Max age of evidence, in time. 38984 38985 38986 It should correspond with an app's "unbonding period" or other 38987 similar 38988 38989 mechanism for handling [Nothing-At-Stake 38990 38991 attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). 38992 max_bytes: 38993 type: string 38994 format: int64 38995 title: >- 38996 This sets the maximum size of total evidence in bytes that can be 38997 committed in a single block. 38998 38999 and should fall comfortably under the max block bytes. 39000 39001 Default is 1048576 or 1MB 39002 description: EvidenceParams determine how we handle evidence of malfeasance. 39003 validator: 39004 type: object 39005 properties: 39006 pub_key_types: 39007 type: array 39008 items: 39009 type: string 39010 description: |- 39011 ValidatorParams restrict the public key types validators can use. 39012 NOTE: uses ABCI pubkey naming, not Amino names. 39013 version: 39014 type: object 39015 properties: 39016 app_version: 39017 type: string 39018 format: uint64 39019 description: VersionParams contains the ABCI application version. 39020 title: |- 39021 ConsensusParams contains all consensus-relevant parameters 39022 that can be adjusted by the abci app 39023 tendermint.abci.Event: 39024 type: object 39025 properties: 39026 type: 39027 type: string 39028 attributes: 39029 type: array 39030 items: 39031 type: object 39032 properties: 39033 key: 39034 type: string 39035 format: byte 39036 value: 39037 type: string 39038 format: byte 39039 index: 39040 type: boolean 39041 format: boolean 39042 description: 'EventAttribute is a single key-value pair, associated with an event.' 39043 description: >- 39044 Event allows application developers to attach additional information to 39045 39046 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 39047 ResponseDeliverTx. 39048 39049 Later, transactions may be queried using these events. 39050 tendermint.abci.EventAttribute: 39051 type: object 39052 properties: 39053 key: 39054 type: string 39055 format: byte 39056 value: 39057 type: string 39058 format: byte 39059 index: 39060 type: boolean 39061 format: boolean 39062 description: 'EventAttribute is a single key-value pair, associated with an event.' 39063 tendermint.abci.ResponseBeginBlock: 39064 type: object 39065 properties: 39066 events: 39067 type: array 39068 items: 39069 type: object 39070 properties: 39071 type: 39072 type: string 39073 attributes: 39074 type: array 39075 items: 39076 type: object 39077 properties: 39078 key: 39079 type: string 39080 format: byte 39081 value: 39082 type: string 39083 format: byte 39084 index: 39085 type: boolean 39086 format: boolean 39087 description: >- 39088 EventAttribute is a single key-value pair, associated with an 39089 event. 39090 description: >- 39091 Event allows application developers to attach additional information 39092 to 39093 39094 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 39095 ResponseDeliverTx. 39096 39097 Later, transactions may be queried using these events. 39098 tendermint.abci.ResponseDeliverTx: 39099 type: object 39100 properties: 39101 code: 39102 type: integer 39103 format: int64 39104 data: 39105 type: string 39106 format: byte 39107 log: 39108 type: string 39109 info: 39110 type: string 39111 gas_wanted: 39112 type: string 39113 format: int64 39114 gas_used: 39115 type: string 39116 format: int64 39117 events: 39118 type: array 39119 items: 39120 type: object 39121 properties: 39122 type: 39123 type: string 39124 attributes: 39125 type: array 39126 items: 39127 type: object 39128 properties: 39129 key: 39130 type: string 39131 format: byte 39132 value: 39133 type: string 39134 format: byte 39135 index: 39136 type: boolean 39137 format: boolean 39138 description: >- 39139 EventAttribute is a single key-value pair, associated with an 39140 event. 39141 description: >- 39142 Event allows application developers to attach additional information 39143 to 39144 39145 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 39146 ResponseDeliverTx. 39147 39148 Later, transactions may be queried using these events. 39149 codespace: 39150 type: string 39151 tendermint.abci.ResponseEndBlock: 39152 type: object 39153 properties: 39154 validator_updates: 39155 type: array 39156 items: 39157 type: object 39158 properties: 39159 pub_key: 39160 type: object 39161 properties: 39162 ed25519: 39163 type: string 39164 format: byte 39165 secp256k1: 39166 type: string 39167 format: byte 39168 title: >- 39169 PublicKey defines the keys available for use with Tendermint 39170 Validators 39171 power: 39172 type: string 39173 format: int64 39174 title: ValidatorUpdate 39175 consensus_param_updates: 39176 type: object 39177 properties: 39178 block: 39179 type: object 39180 properties: 39181 max_bytes: 39182 type: string 39183 format: int64 39184 title: 'Note: must be greater than 0' 39185 max_gas: 39186 type: string 39187 format: int64 39188 title: 'Note: must be greater or equal to -1' 39189 description: BlockParams contains limits on the block size. 39190 evidence: 39191 type: object 39192 properties: 39193 max_age_num_blocks: 39194 type: string 39195 format: int64 39196 description: >- 39197 Max age of evidence, in blocks. 39198 39199 39200 The basic formula for calculating this is: MaxAgeDuration / 39201 {average block 39202 39203 time}. 39204 max_age_duration: 39205 type: string 39206 description: >- 39207 Max age of evidence, in time. 39208 39209 39210 It should correspond with an app's "unbonding period" or other 39211 similar 39212 39213 mechanism for handling [Nothing-At-Stake 39214 39215 attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). 39216 max_bytes: 39217 type: string 39218 format: int64 39219 title: >- 39220 This sets the maximum size of total evidence in bytes that can 39221 be committed in a single block. 39222 39223 and should fall comfortably under the max block bytes. 39224 39225 Default is 1048576 or 1MB 39226 description: EvidenceParams determine how we handle evidence of malfeasance. 39227 validator: 39228 type: object 39229 properties: 39230 pub_key_types: 39231 type: array 39232 items: 39233 type: string 39234 description: |- 39235 ValidatorParams restrict the public key types validators can use. 39236 NOTE: uses ABCI pubkey naming, not Amino names. 39237 version: 39238 type: object 39239 properties: 39240 app_version: 39241 type: string 39242 format: uint64 39243 description: VersionParams contains the ABCI application version. 39244 title: |- 39245 ConsensusParams contains all consensus-relevant parameters 39246 that can be adjusted by the abci app 39247 events: 39248 type: array 39249 items: 39250 type: object 39251 properties: 39252 type: 39253 type: string 39254 attributes: 39255 type: array 39256 items: 39257 type: object 39258 properties: 39259 key: 39260 type: string 39261 format: byte 39262 value: 39263 type: string 39264 format: byte 39265 index: 39266 type: boolean 39267 format: boolean 39268 description: >- 39269 EventAttribute is a single key-value pair, associated with an 39270 event. 39271 description: >- 39272 Event allows application developers to attach additional information 39273 to 39274 39275 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 39276 ResponseDeliverTx. 39277 39278 Later, transactions may be queried using these events. 39279 tendermint.abci.ValidatorUpdate: 39280 type: object 39281 properties: 39282 pub_key: 39283 type: object 39284 properties: 39285 ed25519: 39286 type: string 39287 format: byte 39288 secp256k1: 39289 type: string 39290 format: byte 39291 title: >- 39292 PublicKey defines the keys available for use with Tendermint 39293 Validators 39294 power: 39295 type: string 39296 format: int64 39297 title: ValidatorUpdate 39298 tendermint.crypto.PublicKey: 39299 type: object 39300 properties: 39301 ed25519: 39302 type: string 39303 format: byte 39304 secp256k1: 39305 type: string 39306 format: byte 39307 title: PublicKey defines the keys available for use with Tendermint Validators 39308 tendermint.p2p.DefaultNodeInfo: 39309 type: object 39310 properties: 39311 protocol_version: 39312 type: object 39313 properties: 39314 p2p: 39315 type: string 39316 format: uint64 39317 block: 39318 type: string 39319 format: uint64 39320 app: 39321 type: string 39322 format: uint64 39323 default_node_id: 39324 type: string 39325 listen_addr: 39326 type: string 39327 network: 39328 type: string 39329 version: 39330 type: string 39331 channels: 39332 type: string 39333 format: byte 39334 moniker: 39335 type: string 39336 other: 39337 type: object 39338 properties: 39339 tx_index: 39340 type: string 39341 rpc_address: 39342 type: string 39343 tendermint.p2p.DefaultNodeInfoOther: 39344 type: object 39345 properties: 39346 tx_index: 39347 type: string 39348 rpc_address: 39349 type: string 39350 tendermint.p2p.ProtocolVersion: 39351 type: object 39352 properties: 39353 p2p: 39354 type: string 39355 format: uint64 39356 block: 39357 type: string 39358 format: uint64 39359 app: 39360 type: string 39361 format: uint64 39362 tendermint.types.BlockID: 39363 type: object 39364 properties: 39365 hash: 39366 type: string 39367 format: byte 39368 part_set_header: 39369 type: object 39370 properties: 39371 total: 39372 type: integer 39373 format: int64 39374 hash: 39375 type: string 39376 format: byte 39377 title: PartsetHeader 39378 title: BlockID 39379 tendermint.types.BlockIDFlag: 39380 type: string 39381 enum: 39382 - BLOCK_ID_FLAG_UNKNOWN 39383 - BLOCK_ID_FLAG_ABSENT 39384 - BLOCK_ID_FLAG_COMMIT 39385 - BLOCK_ID_FLAG_NIL 39386 default: BLOCK_ID_FLAG_UNKNOWN 39387 title: BlockIdFlag indicates which BlcokID the signature is for 39388 tendermint.types.Commit: 39389 type: object 39390 properties: 39391 height: 39392 type: string 39393 format: int64 39394 round: 39395 type: integer 39396 format: int32 39397 block_id: 39398 type: object 39399 properties: 39400 hash: 39401 type: string 39402 format: byte 39403 part_set_header: 39404 type: object 39405 properties: 39406 total: 39407 type: integer 39408 format: int64 39409 hash: 39410 type: string 39411 format: byte 39412 title: PartsetHeader 39413 title: BlockID 39414 signatures: 39415 type: array 39416 items: 39417 type: object 39418 properties: 39419 block_id_flag: 39420 type: string 39421 enum: 39422 - BLOCK_ID_FLAG_UNKNOWN 39423 - BLOCK_ID_FLAG_ABSENT 39424 - BLOCK_ID_FLAG_COMMIT 39425 - BLOCK_ID_FLAG_NIL 39426 default: BLOCK_ID_FLAG_UNKNOWN 39427 title: BlockIdFlag indicates which BlcokID the signature is for 39428 validator_address: 39429 type: string 39430 format: byte 39431 timestamp: 39432 type: string 39433 format: date-time 39434 signature: 39435 type: string 39436 format: byte 39437 description: CommitSig is a part of the Vote included in a Commit. 39438 description: >- 39439 Commit contains the evidence that a block was committed by a set of 39440 validators. 39441 tendermint.types.CommitSig: 39442 type: object 39443 properties: 39444 block_id_flag: 39445 type: string 39446 enum: 39447 - BLOCK_ID_FLAG_UNKNOWN 39448 - BLOCK_ID_FLAG_ABSENT 39449 - BLOCK_ID_FLAG_COMMIT 39450 - BLOCK_ID_FLAG_NIL 39451 default: BLOCK_ID_FLAG_UNKNOWN 39452 title: BlockIdFlag indicates which BlcokID the signature is for 39453 validator_address: 39454 type: string 39455 format: byte 39456 timestamp: 39457 type: string 39458 format: date-time 39459 signature: 39460 type: string 39461 format: byte 39462 description: CommitSig is a part of the Vote included in a Commit. 39463 tendermint.types.Data: 39464 type: object 39465 properties: 39466 txs: 39467 type: array 39468 items: 39469 type: string 39470 format: byte 39471 description: >- 39472 Txs that will be applied by state @ block.Height+1. 39473 39474 NOTE: not all txs here are valid. We're just agreeing on the order 39475 first. 39476 39477 This means that block.AppHash does not include these txs. 39478 title: Data contains the set of transactions included in the block 39479 tendermint.types.DuplicateVoteEvidence: 39480 type: object 39481 properties: 39482 vote_a: 39483 type: object 39484 properties: 39485 type: 39486 type: string 39487 enum: 39488 - SIGNED_MSG_TYPE_UNKNOWN 39489 - SIGNED_MSG_TYPE_PREVOTE 39490 - SIGNED_MSG_TYPE_PRECOMMIT 39491 - SIGNED_MSG_TYPE_PROPOSAL 39492 default: SIGNED_MSG_TYPE_UNKNOWN 39493 description: |- 39494 SignedMsgType is a type of signed message in the consensus. 39495 39496 - SIGNED_MSG_TYPE_PREVOTE: Votes 39497 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 39498 height: 39499 type: string 39500 format: int64 39501 round: 39502 type: integer 39503 format: int32 39504 block_id: 39505 type: object 39506 properties: 39507 hash: 39508 type: string 39509 format: byte 39510 part_set_header: 39511 type: object 39512 properties: 39513 total: 39514 type: integer 39515 format: int64 39516 hash: 39517 type: string 39518 format: byte 39519 title: PartsetHeader 39520 title: BlockID 39521 timestamp: 39522 type: string 39523 format: date-time 39524 validator_address: 39525 type: string 39526 format: byte 39527 validator_index: 39528 type: integer 39529 format: int32 39530 signature: 39531 type: string 39532 format: byte 39533 description: >- 39534 Vote represents a prevote, precommit, or commit vote from validators 39535 for 39536 39537 consensus. 39538 vote_b: 39539 type: object 39540 properties: 39541 type: 39542 type: string 39543 enum: 39544 - SIGNED_MSG_TYPE_UNKNOWN 39545 - SIGNED_MSG_TYPE_PREVOTE 39546 - SIGNED_MSG_TYPE_PRECOMMIT 39547 - SIGNED_MSG_TYPE_PROPOSAL 39548 default: SIGNED_MSG_TYPE_UNKNOWN 39549 description: |- 39550 SignedMsgType is a type of signed message in the consensus. 39551 39552 - SIGNED_MSG_TYPE_PREVOTE: Votes 39553 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 39554 height: 39555 type: string 39556 format: int64 39557 round: 39558 type: integer 39559 format: int32 39560 block_id: 39561 type: object 39562 properties: 39563 hash: 39564 type: string 39565 format: byte 39566 part_set_header: 39567 type: object 39568 properties: 39569 total: 39570 type: integer 39571 format: int64 39572 hash: 39573 type: string 39574 format: byte 39575 title: PartsetHeader 39576 title: BlockID 39577 timestamp: 39578 type: string 39579 format: date-time 39580 validator_address: 39581 type: string 39582 format: byte 39583 validator_index: 39584 type: integer 39585 format: int32 39586 signature: 39587 type: string 39588 format: byte 39589 description: >- 39590 Vote represents a prevote, precommit, or commit vote from validators 39591 for 39592 39593 consensus. 39594 total_voting_power: 39595 type: string 39596 format: int64 39597 validator_power: 39598 type: string 39599 format: int64 39600 timestamp: 39601 type: string 39602 format: date-time 39603 description: >- 39604 DuplicateVoteEvidence contains evidence of a validator signed two 39605 conflicting votes. 39606 tendermint.types.Evidence: 39607 type: object 39608 properties: 39609 duplicate_vote_evidence: 39610 type: object 39611 properties: 39612 vote_a: 39613 type: object 39614 properties: 39615 type: 39616 type: string 39617 enum: 39618 - SIGNED_MSG_TYPE_UNKNOWN 39619 - SIGNED_MSG_TYPE_PREVOTE 39620 - SIGNED_MSG_TYPE_PRECOMMIT 39621 - SIGNED_MSG_TYPE_PROPOSAL 39622 default: SIGNED_MSG_TYPE_UNKNOWN 39623 description: |- 39624 SignedMsgType is a type of signed message in the consensus. 39625 39626 - SIGNED_MSG_TYPE_PREVOTE: Votes 39627 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 39628 height: 39629 type: string 39630 format: int64 39631 round: 39632 type: integer 39633 format: int32 39634 block_id: 39635 type: object 39636 properties: 39637 hash: 39638 type: string 39639 format: byte 39640 part_set_header: 39641 type: object 39642 properties: 39643 total: 39644 type: integer 39645 format: int64 39646 hash: 39647 type: string 39648 format: byte 39649 title: PartsetHeader 39650 title: BlockID 39651 timestamp: 39652 type: string 39653 format: date-time 39654 validator_address: 39655 type: string 39656 format: byte 39657 validator_index: 39658 type: integer 39659 format: int32 39660 signature: 39661 type: string 39662 format: byte 39663 description: >- 39664 Vote represents a prevote, precommit, or commit vote from 39665 validators for 39666 39667 consensus. 39668 vote_b: 39669 type: object 39670 properties: 39671 type: 39672 type: string 39673 enum: 39674 - SIGNED_MSG_TYPE_UNKNOWN 39675 - SIGNED_MSG_TYPE_PREVOTE 39676 - SIGNED_MSG_TYPE_PRECOMMIT 39677 - SIGNED_MSG_TYPE_PROPOSAL 39678 default: SIGNED_MSG_TYPE_UNKNOWN 39679 description: |- 39680 SignedMsgType is a type of signed message in the consensus. 39681 39682 - SIGNED_MSG_TYPE_PREVOTE: Votes 39683 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 39684 height: 39685 type: string 39686 format: int64 39687 round: 39688 type: integer 39689 format: int32 39690 block_id: 39691 type: object 39692 properties: 39693 hash: 39694 type: string 39695 format: byte 39696 part_set_header: 39697 type: object 39698 properties: 39699 total: 39700 type: integer 39701 format: int64 39702 hash: 39703 type: string 39704 format: byte 39705 title: PartsetHeader 39706 title: BlockID 39707 timestamp: 39708 type: string 39709 format: date-time 39710 validator_address: 39711 type: string 39712 format: byte 39713 validator_index: 39714 type: integer 39715 format: int32 39716 signature: 39717 type: string 39718 format: byte 39719 description: >- 39720 Vote represents a prevote, precommit, or commit vote from 39721 validators for 39722 39723 consensus. 39724 total_voting_power: 39725 type: string 39726 format: int64 39727 validator_power: 39728 type: string 39729 format: int64 39730 timestamp: 39731 type: string 39732 format: date-time 39733 description: >- 39734 DuplicateVoteEvidence contains evidence of a validator signed two 39735 conflicting votes. 39736 light_client_attack_evidence: 39737 type: object 39738 properties: 39739 conflicting_block: 39740 type: object 39741 properties: 39742 signed_header: 39743 type: object 39744 properties: 39745 header: 39746 type: object 39747 properties: 39748 version: 39749 title: basic block info 39750 type: object 39751 properties: 39752 block: 39753 type: string 39754 format: uint64 39755 app: 39756 type: string 39757 format: uint64 39758 description: >- 39759 Consensus captures the consensus rules for processing 39760 a block in the blockchain, 39761 39762 including all blockchain data structures and the rules 39763 of the application's 39764 39765 state transition machine. 39766 chain_id: 39767 type: string 39768 height: 39769 type: string 39770 format: int64 39771 time: 39772 type: string 39773 format: date-time 39774 last_block_id: 39775 type: object 39776 properties: 39777 hash: 39778 type: string 39779 format: byte 39780 part_set_header: 39781 type: object 39782 properties: 39783 total: 39784 type: integer 39785 format: int64 39786 hash: 39787 type: string 39788 format: byte 39789 title: PartsetHeader 39790 title: BlockID 39791 last_commit_hash: 39792 type: string 39793 format: byte 39794 title: hashes of block data 39795 data_hash: 39796 type: string 39797 format: byte 39798 validators_hash: 39799 type: string 39800 format: byte 39801 title: hashes from the app output from the prev block 39802 next_validators_hash: 39803 type: string 39804 format: byte 39805 consensus_hash: 39806 type: string 39807 format: byte 39808 app_hash: 39809 type: string 39810 format: byte 39811 last_results_hash: 39812 type: string 39813 format: byte 39814 evidence_hash: 39815 type: string 39816 format: byte 39817 title: consensus info 39818 proposer_address: 39819 type: string 39820 format: byte 39821 description: Header defines the structure of a Tendermint block header. 39822 commit: 39823 type: object 39824 properties: 39825 height: 39826 type: string 39827 format: int64 39828 round: 39829 type: integer 39830 format: int32 39831 block_id: 39832 type: object 39833 properties: 39834 hash: 39835 type: string 39836 format: byte 39837 part_set_header: 39838 type: object 39839 properties: 39840 total: 39841 type: integer 39842 format: int64 39843 hash: 39844 type: string 39845 format: byte 39846 title: PartsetHeader 39847 title: BlockID 39848 signatures: 39849 type: array 39850 items: 39851 type: object 39852 properties: 39853 block_id_flag: 39854 type: string 39855 enum: 39856 - BLOCK_ID_FLAG_UNKNOWN 39857 - BLOCK_ID_FLAG_ABSENT 39858 - BLOCK_ID_FLAG_COMMIT 39859 - BLOCK_ID_FLAG_NIL 39860 default: BLOCK_ID_FLAG_UNKNOWN 39861 title: >- 39862 BlockIdFlag indicates which BlcokID the 39863 signature is for 39864 validator_address: 39865 type: string 39866 format: byte 39867 timestamp: 39868 type: string 39869 format: date-time 39870 signature: 39871 type: string 39872 format: byte 39873 description: >- 39874 CommitSig is a part of the Vote included in a 39875 Commit. 39876 description: >- 39877 Commit contains the evidence that a block was committed by 39878 a set of validators. 39879 validator_set: 39880 type: object 39881 properties: 39882 validators: 39883 type: array 39884 items: 39885 type: object 39886 properties: 39887 address: 39888 type: string 39889 format: byte 39890 pub_key: 39891 type: object 39892 properties: 39893 ed25519: 39894 type: string 39895 format: byte 39896 secp256k1: 39897 type: string 39898 format: byte 39899 title: >- 39900 PublicKey defines the keys available for use with 39901 Tendermint Validators 39902 voting_power: 39903 type: string 39904 format: int64 39905 proposer_priority: 39906 type: string 39907 format: int64 39908 proposer: 39909 type: object 39910 properties: 39911 address: 39912 type: string 39913 format: byte 39914 pub_key: 39915 type: object 39916 properties: 39917 ed25519: 39918 type: string 39919 format: byte 39920 secp256k1: 39921 type: string 39922 format: byte 39923 title: >- 39924 PublicKey defines the keys available for use with 39925 Tendermint Validators 39926 voting_power: 39927 type: string 39928 format: int64 39929 proposer_priority: 39930 type: string 39931 format: int64 39932 total_voting_power: 39933 type: string 39934 format: int64 39935 common_height: 39936 type: string 39937 format: int64 39938 byzantine_validators: 39939 type: array 39940 items: 39941 type: object 39942 properties: 39943 address: 39944 type: string 39945 format: byte 39946 pub_key: 39947 type: object 39948 properties: 39949 ed25519: 39950 type: string 39951 format: byte 39952 secp256k1: 39953 type: string 39954 format: byte 39955 title: >- 39956 PublicKey defines the keys available for use with Tendermint 39957 Validators 39958 voting_power: 39959 type: string 39960 format: int64 39961 proposer_priority: 39962 type: string 39963 format: int64 39964 total_voting_power: 39965 type: string 39966 format: int64 39967 timestamp: 39968 type: string 39969 format: date-time 39970 description: >- 39971 LightClientAttackEvidence contains evidence of a set of validators 39972 attempting to mislead a light client. 39973 tendermint.types.EvidenceList: 39974 type: object 39975 properties: 39976 evidence: 39977 type: array 39978 items: 39979 type: object 39980 properties: 39981 duplicate_vote_evidence: 39982 type: object 39983 properties: 39984 vote_a: 39985 type: object 39986 properties: 39987 type: 39988 type: string 39989 enum: 39990 - SIGNED_MSG_TYPE_UNKNOWN 39991 - SIGNED_MSG_TYPE_PREVOTE 39992 - SIGNED_MSG_TYPE_PRECOMMIT 39993 - SIGNED_MSG_TYPE_PROPOSAL 39994 default: SIGNED_MSG_TYPE_UNKNOWN 39995 description: >- 39996 SignedMsgType is a type of signed message in the 39997 consensus. 39998 39999 - SIGNED_MSG_TYPE_PREVOTE: Votes 40000 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 40001 height: 40002 type: string 40003 format: int64 40004 round: 40005 type: integer 40006 format: int32 40007 block_id: 40008 type: object 40009 properties: 40010 hash: 40011 type: string 40012 format: byte 40013 part_set_header: 40014 type: object 40015 properties: 40016 total: 40017 type: integer 40018 format: int64 40019 hash: 40020 type: string 40021 format: byte 40022 title: PartsetHeader 40023 title: BlockID 40024 timestamp: 40025 type: string 40026 format: date-time 40027 validator_address: 40028 type: string 40029 format: byte 40030 validator_index: 40031 type: integer 40032 format: int32 40033 signature: 40034 type: string 40035 format: byte 40036 description: >- 40037 Vote represents a prevote, precommit, or commit vote from 40038 validators for 40039 40040 consensus. 40041 vote_b: 40042 type: object 40043 properties: 40044 type: 40045 type: string 40046 enum: 40047 - SIGNED_MSG_TYPE_UNKNOWN 40048 - SIGNED_MSG_TYPE_PREVOTE 40049 - SIGNED_MSG_TYPE_PRECOMMIT 40050 - SIGNED_MSG_TYPE_PROPOSAL 40051 default: SIGNED_MSG_TYPE_UNKNOWN 40052 description: >- 40053 SignedMsgType is a type of signed message in the 40054 consensus. 40055 40056 - SIGNED_MSG_TYPE_PREVOTE: Votes 40057 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 40058 height: 40059 type: string 40060 format: int64 40061 round: 40062 type: integer 40063 format: int32 40064 block_id: 40065 type: object 40066 properties: 40067 hash: 40068 type: string 40069 format: byte 40070 part_set_header: 40071 type: object 40072 properties: 40073 total: 40074 type: integer 40075 format: int64 40076 hash: 40077 type: string 40078 format: byte 40079 title: PartsetHeader 40080 title: BlockID 40081 timestamp: 40082 type: string 40083 format: date-time 40084 validator_address: 40085 type: string 40086 format: byte 40087 validator_index: 40088 type: integer 40089 format: int32 40090 signature: 40091 type: string 40092 format: byte 40093 description: >- 40094 Vote represents a prevote, precommit, or commit vote from 40095 validators for 40096 40097 consensus. 40098 total_voting_power: 40099 type: string 40100 format: int64 40101 validator_power: 40102 type: string 40103 format: int64 40104 timestamp: 40105 type: string 40106 format: date-time 40107 description: >- 40108 DuplicateVoteEvidence contains evidence of a validator signed 40109 two conflicting votes. 40110 light_client_attack_evidence: 40111 type: object 40112 properties: 40113 conflicting_block: 40114 type: object 40115 properties: 40116 signed_header: 40117 type: object 40118 properties: 40119 header: 40120 type: object 40121 properties: 40122 version: 40123 title: basic block info 40124 type: object 40125 properties: 40126 block: 40127 type: string 40128 format: uint64 40129 app: 40130 type: string 40131 format: uint64 40132 description: >- 40133 Consensus captures the consensus rules for 40134 processing a block in the blockchain, 40135 40136 including all blockchain data structures and the 40137 rules of the application's 40138 40139 state transition machine. 40140 chain_id: 40141 type: string 40142 height: 40143 type: string 40144 format: int64 40145 time: 40146 type: string 40147 format: date-time 40148 last_block_id: 40149 type: object 40150 properties: 40151 hash: 40152 type: string 40153 format: byte 40154 part_set_header: 40155 type: object 40156 properties: 40157 total: 40158 type: integer 40159 format: int64 40160 hash: 40161 type: string 40162 format: byte 40163 title: PartsetHeader 40164 title: BlockID 40165 last_commit_hash: 40166 type: string 40167 format: byte 40168 title: hashes of block data 40169 data_hash: 40170 type: string 40171 format: byte 40172 validators_hash: 40173 type: string 40174 format: byte 40175 title: hashes from the app output from the prev block 40176 next_validators_hash: 40177 type: string 40178 format: byte 40179 consensus_hash: 40180 type: string 40181 format: byte 40182 app_hash: 40183 type: string 40184 format: byte 40185 last_results_hash: 40186 type: string 40187 format: byte 40188 evidence_hash: 40189 type: string 40190 format: byte 40191 title: consensus info 40192 proposer_address: 40193 type: string 40194 format: byte 40195 description: >- 40196 Header defines the structure of a Tendermint block 40197 header. 40198 commit: 40199 type: object 40200 properties: 40201 height: 40202 type: string 40203 format: int64 40204 round: 40205 type: integer 40206 format: int32 40207 block_id: 40208 type: object 40209 properties: 40210 hash: 40211 type: string 40212 format: byte 40213 part_set_header: 40214 type: object 40215 properties: 40216 total: 40217 type: integer 40218 format: int64 40219 hash: 40220 type: string 40221 format: byte 40222 title: PartsetHeader 40223 title: BlockID 40224 signatures: 40225 type: array 40226 items: 40227 type: object 40228 properties: 40229 block_id_flag: 40230 type: string 40231 enum: 40232 - BLOCK_ID_FLAG_UNKNOWN 40233 - BLOCK_ID_FLAG_ABSENT 40234 - BLOCK_ID_FLAG_COMMIT 40235 - BLOCK_ID_FLAG_NIL 40236 default: BLOCK_ID_FLAG_UNKNOWN 40237 title: >- 40238 BlockIdFlag indicates which BlcokID the 40239 signature is for 40240 validator_address: 40241 type: string 40242 format: byte 40243 timestamp: 40244 type: string 40245 format: date-time 40246 signature: 40247 type: string 40248 format: byte 40249 description: >- 40250 CommitSig is a part of the Vote included in a 40251 Commit. 40252 description: >- 40253 Commit contains the evidence that a block was 40254 committed by a set of validators. 40255 validator_set: 40256 type: object 40257 properties: 40258 validators: 40259 type: array 40260 items: 40261 type: object 40262 properties: 40263 address: 40264 type: string 40265 format: byte 40266 pub_key: 40267 type: object 40268 properties: 40269 ed25519: 40270 type: string 40271 format: byte 40272 secp256k1: 40273 type: string 40274 format: byte 40275 title: >- 40276 PublicKey defines the keys available for use 40277 with Tendermint Validators 40278 voting_power: 40279 type: string 40280 format: int64 40281 proposer_priority: 40282 type: string 40283 format: int64 40284 proposer: 40285 type: object 40286 properties: 40287 address: 40288 type: string 40289 format: byte 40290 pub_key: 40291 type: object 40292 properties: 40293 ed25519: 40294 type: string 40295 format: byte 40296 secp256k1: 40297 type: string 40298 format: byte 40299 title: >- 40300 PublicKey defines the keys available for use 40301 with Tendermint Validators 40302 voting_power: 40303 type: string 40304 format: int64 40305 proposer_priority: 40306 type: string 40307 format: int64 40308 total_voting_power: 40309 type: string 40310 format: int64 40311 common_height: 40312 type: string 40313 format: int64 40314 byzantine_validators: 40315 type: array 40316 items: 40317 type: object 40318 properties: 40319 address: 40320 type: string 40321 format: byte 40322 pub_key: 40323 type: object 40324 properties: 40325 ed25519: 40326 type: string 40327 format: byte 40328 secp256k1: 40329 type: string 40330 format: byte 40331 title: >- 40332 PublicKey defines the keys available for use with 40333 Tendermint Validators 40334 voting_power: 40335 type: string 40336 format: int64 40337 proposer_priority: 40338 type: string 40339 format: int64 40340 total_voting_power: 40341 type: string 40342 format: int64 40343 timestamp: 40344 type: string 40345 format: date-time 40346 description: >- 40347 LightClientAttackEvidence contains evidence of a set of 40348 validators attempting to mislead a light client. 40349 tendermint.types.EvidenceParams: 40350 type: object 40351 properties: 40352 max_age_num_blocks: 40353 type: string 40354 format: int64 40355 description: >- 40356 Max age of evidence, in blocks. 40357 40358 40359 The basic formula for calculating this is: MaxAgeDuration / {average 40360 block 40361 40362 time}. 40363 max_age_duration: 40364 type: string 40365 description: >- 40366 Max age of evidence, in time. 40367 40368 40369 It should correspond with an app's "unbonding period" or other similar 40370 40371 mechanism for handling [Nothing-At-Stake 40372 40373 attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). 40374 max_bytes: 40375 type: string 40376 format: int64 40377 title: >- 40378 This sets the maximum size of total evidence in bytes that can be 40379 committed in a single block. 40380 40381 and should fall comfortably under the max block bytes. 40382 40383 Default is 1048576 or 1MB 40384 description: EvidenceParams determine how we handle evidence of malfeasance. 40385 tendermint.types.Header: 40386 type: object 40387 properties: 40388 version: 40389 title: basic block info 40390 type: object 40391 properties: 40392 block: 40393 type: string 40394 format: uint64 40395 app: 40396 type: string 40397 format: uint64 40398 description: >- 40399 Consensus captures the consensus rules for processing a block in the 40400 blockchain, 40401 40402 including all blockchain data structures and the rules of the 40403 application's 40404 40405 state transition machine. 40406 chain_id: 40407 type: string 40408 height: 40409 type: string 40410 format: int64 40411 time: 40412 type: string 40413 format: date-time 40414 last_block_id: 40415 type: object 40416 properties: 40417 hash: 40418 type: string 40419 format: byte 40420 part_set_header: 40421 type: object 40422 properties: 40423 total: 40424 type: integer 40425 format: int64 40426 hash: 40427 type: string 40428 format: byte 40429 title: PartsetHeader 40430 title: BlockID 40431 last_commit_hash: 40432 type: string 40433 format: byte 40434 title: hashes of block data 40435 data_hash: 40436 type: string 40437 format: byte 40438 validators_hash: 40439 type: string 40440 format: byte 40441 title: hashes from the app output from the prev block 40442 next_validators_hash: 40443 type: string 40444 format: byte 40445 consensus_hash: 40446 type: string 40447 format: byte 40448 app_hash: 40449 type: string 40450 format: byte 40451 last_results_hash: 40452 type: string 40453 format: byte 40454 evidence_hash: 40455 type: string 40456 format: byte 40457 title: consensus info 40458 proposer_address: 40459 type: string 40460 format: byte 40461 description: Header defines the structure of a Tendermint block header. 40462 tendermint.types.LightBlock: 40463 type: object 40464 properties: 40465 signed_header: 40466 type: object 40467 properties: 40468 header: 40469 type: object 40470 properties: 40471 version: 40472 title: basic block info 40473 type: object 40474 properties: 40475 block: 40476 type: string 40477 format: uint64 40478 app: 40479 type: string 40480 format: uint64 40481 description: >- 40482 Consensus captures the consensus rules for processing a block 40483 in the blockchain, 40484 40485 including all blockchain data structures and the rules of the 40486 application's 40487 40488 state transition machine. 40489 chain_id: 40490 type: string 40491 height: 40492 type: string 40493 format: int64 40494 time: 40495 type: string 40496 format: date-time 40497 last_block_id: 40498 type: object 40499 properties: 40500 hash: 40501 type: string 40502 format: byte 40503 part_set_header: 40504 type: object 40505 properties: 40506 total: 40507 type: integer 40508 format: int64 40509 hash: 40510 type: string 40511 format: byte 40512 title: PartsetHeader 40513 title: BlockID 40514 last_commit_hash: 40515 type: string 40516 format: byte 40517 title: hashes of block data 40518 data_hash: 40519 type: string 40520 format: byte 40521 validators_hash: 40522 type: string 40523 format: byte 40524 title: hashes from the app output from the prev block 40525 next_validators_hash: 40526 type: string 40527 format: byte 40528 consensus_hash: 40529 type: string 40530 format: byte 40531 app_hash: 40532 type: string 40533 format: byte 40534 last_results_hash: 40535 type: string 40536 format: byte 40537 evidence_hash: 40538 type: string 40539 format: byte 40540 title: consensus info 40541 proposer_address: 40542 type: string 40543 format: byte 40544 description: Header defines the structure of a Tendermint block header. 40545 commit: 40546 type: object 40547 properties: 40548 height: 40549 type: string 40550 format: int64 40551 round: 40552 type: integer 40553 format: int32 40554 block_id: 40555 type: object 40556 properties: 40557 hash: 40558 type: string 40559 format: byte 40560 part_set_header: 40561 type: object 40562 properties: 40563 total: 40564 type: integer 40565 format: int64 40566 hash: 40567 type: string 40568 format: byte 40569 title: PartsetHeader 40570 title: BlockID 40571 signatures: 40572 type: array 40573 items: 40574 type: object 40575 properties: 40576 block_id_flag: 40577 type: string 40578 enum: 40579 - BLOCK_ID_FLAG_UNKNOWN 40580 - BLOCK_ID_FLAG_ABSENT 40581 - BLOCK_ID_FLAG_COMMIT 40582 - BLOCK_ID_FLAG_NIL 40583 default: BLOCK_ID_FLAG_UNKNOWN 40584 title: BlockIdFlag indicates which BlcokID the signature is for 40585 validator_address: 40586 type: string 40587 format: byte 40588 timestamp: 40589 type: string 40590 format: date-time 40591 signature: 40592 type: string 40593 format: byte 40594 description: CommitSig is a part of the Vote included in a Commit. 40595 description: >- 40596 Commit contains the evidence that a block was committed by a set 40597 of validators. 40598 validator_set: 40599 type: object 40600 properties: 40601 validators: 40602 type: array 40603 items: 40604 type: object 40605 properties: 40606 address: 40607 type: string 40608 format: byte 40609 pub_key: 40610 type: object 40611 properties: 40612 ed25519: 40613 type: string 40614 format: byte 40615 secp256k1: 40616 type: string 40617 format: byte 40618 title: >- 40619 PublicKey defines the keys available for use with Tendermint 40620 Validators 40621 voting_power: 40622 type: string 40623 format: int64 40624 proposer_priority: 40625 type: string 40626 format: int64 40627 proposer: 40628 type: object 40629 properties: 40630 address: 40631 type: string 40632 format: byte 40633 pub_key: 40634 type: object 40635 properties: 40636 ed25519: 40637 type: string 40638 format: byte 40639 secp256k1: 40640 type: string 40641 format: byte 40642 title: >- 40643 PublicKey defines the keys available for use with Tendermint 40644 Validators 40645 voting_power: 40646 type: string 40647 format: int64 40648 proposer_priority: 40649 type: string 40650 format: int64 40651 total_voting_power: 40652 type: string 40653 format: int64 40654 tendermint.types.LightClientAttackEvidence: 40655 type: object 40656 properties: 40657 conflicting_block: 40658 type: object 40659 properties: 40660 signed_header: 40661 type: object 40662 properties: 40663 header: 40664 type: object 40665 properties: 40666 version: 40667 title: basic block info 40668 type: object 40669 properties: 40670 block: 40671 type: string 40672 format: uint64 40673 app: 40674 type: string 40675 format: uint64 40676 description: >- 40677 Consensus captures the consensus rules for processing a 40678 block in the blockchain, 40679 40680 including all blockchain data structures and the rules of 40681 the application's 40682 40683 state transition machine. 40684 chain_id: 40685 type: string 40686 height: 40687 type: string 40688 format: int64 40689 time: 40690 type: string 40691 format: date-time 40692 last_block_id: 40693 type: object 40694 properties: 40695 hash: 40696 type: string 40697 format: byte 40698 part_set_header: 40699 type: object 40700 properties: 40701 total: 40702 type: integer 40703 format: int64 40704 hash: 40705 type: string 40706 format: byte 40707 title: PartsetHeader 40708 title: BlockID 40709 last_commit_hash: 40710 type: string 40711 format: byte 40712 title: hashes of block data 40713 data_hash: 40714 type: string 40715 format: byte 40716 validators_hash: 40717 type: string 40718 format: byte 40719 title: hashes from the app output from the prev block 40720 next_validators_hash: 40721 type: string 40722 format: byte 40723 consensus_hash: 40724 type: string 40725 format: byte 40726 app_hash: 40727 type: string 40728 format: byte 40729 last_results_hash: 40730 type: string 40731 format: byte 40732 evidence_hash: 40733 type: string 40734 format: byte 40735 title: consensus info 40736 proposer_address: 40737 type: string 40738 format: byte 40739 description: Header defines the structure of a Tendermint block header. 40740 commit: 40741 type: object 40742 properties: 40743 height: 40744 type: string 40745 format: int64 40746 round: 40747 type: integer 40748 format: int32 40749 block_id: 40750 type: object 40751 properties: 40752 hash: 40753 type: string 40754 format: byte 40755 part_set_header: 40756 type: object 40757 properties: 40758 total: 40759 type: integer 40760 format: int64 40761 hash: 40762 type: string 40763 format: byte 40764 title: PartsetHeader 40765 title: BlockID 40766 signatures: 40767 type: array 40768 items: 40769 type: object 40770 properties: 40771 block_id_flag: 40772 type: string 40773 enum: 40774 - BLOCK_ID_FLAG_UNKNOWN 40775 - BLOCK_ID_FLAG_ABSENT 40776 - BLOCK_ID_FLAG_COMMIT 40777 - BLOCK_ID_FLAG_NIL 40778 default: BLOCK_ID_FLAG_UNKNOWN 40779 title: >- 40780 BlockIdFlag indicates which BlcokID the signature is 40781 for 40782 validator_address: 40783 type: string 40784 format: byte 40785 timestamp: 40786 type: string 40787 format: date-time 40788 signature: 40789 type: string 40790 format: byte 40791 description: CommitSig is a part of the Vote included in a Commit. 40792 description: >- 40793 Commit contains the evidence that a block was committed by a 40794 set of validators. 40795 validator_set: 40796 type: object 40797 properties: 40798 validators: 40799 type: array 40800 items: 40801 type: object 40802 properties: 40803 address: 40804 type: string 40805 format: byte 40806 pub_key: 40807 type: object 40808 properties: 40809 ed25519: 40810 type: string 40811 format: byte 40812 secp256k1: 40813 type: string 40814 format: byte 40815 title: >- 40816 PublicKey defines the keys available for use with 40817 Tendermint Validators 40818 voting_power: 40819 type: string 40820 format: int64 40821 proposer_priority: 40822 type: string 40823 format: int64 40824 proposer: 40825 type: object 40826 properties: 40827 address: 40828 type: string 40829 format: byte 40830 pub_key: 40831 type: object 40832 properties: 40833 ed25519: 40834 type: string 40835 format: byte 40836 secp256k1: 40837 type: string 40838 format: byte 40839 title: >- 40840 PublicKey defines the keys available for use with 40841 Tendermint Validators 40842 voting_power: 40843 type: string 40844 format: int64 40845 proposer_priority: 40846 type: string 40847 format: int64 40848 total_voting_power: 40849 type: string 40850 format: int64 40851 common_height: 40852 type: string 40853 format: int64 40854 byzantine_validators: 40855 type: array 40856 items: 40857 type: object 40858 properties: 40859 address: 40860 type: string 40861 format: byte 40862 pub_key: 40863 type: object 40864 properties: 40865 ed25519: 40866 type: string 40867 format: byte 40868 secp256k1: 40869 type: string 40870 format: byte 40871 title: >- 40872 PublicKey defines the keys available for use with Tendermint 40873 Validators 40874 voting_power: 40875 type: string 40876 format: int64 40877 proposer_priority: 40878 type: string 40879 format: int64 40880 total_voting_power: 40881 type: string 40882 format: int64 40883 timestamp: 40884 type: string 40885 format: date-time 40886 description: >- 40887 LightClientAttackEvidence contains evidence of a set of validators 40888 attempting to mislead a light client. 40889 tendermint.types.PartSetHeader: 40890 type: object 40891 properties: 40892 total: 40893 type: integer 40894 format: int64 40895 hash: 40896 type: string 40897 format: byte 40898 title: PartsetHeader 40899 tendermint.types.SignedHeader: 40900 type: object 40901 properties: 40902 header: 40903 type: object 40904 properties: 40905 version: 40906 title: basic block info 40907 type: object 40908 properties: 40909 block: 40910 type: string 40911 format: uint64 40912 app: 40913 type: string 40914 format: uint64 40915 description: >- 40916 Consensus captures the consensus rules for processing a block in 40917 the blockchain, 40918 40919 including all blockchain data structures and the rules of the 40920 application's 40921 40922 state transition machine. 40923 chain_id: 40924 type: string 40925 height: 40926 type: string 40927 format: int64 40928 time: 40929 type: string 40930 format: date-time 40931 last_block_id: 40932 type: object 40933 properties: 40934 hash: 40935 type: string 40936 format: byte 40937 part_set_header: 40938 type: object 40939 properties: 40940 total: 40941 type: integer 40942 format: int64 40943 hash: 40944 type: string 40945 format: byte 40946 title: PartsetHeader 40947 title: BlockID 40948 last_commit_hash: 40949 type: string 40950 format: byte 40951 title: hashes of block data 40952 data_hash: 40953 type: string 40954 format: byte 40955 validators_hash: 40956 type: string 40957 format: byte 40958 title: hashes from the app output from the prev block 40959 next_validators_hash: 40960 type: string 40961 format: byte 40962 consensus_hash: 40963 type: string 40964 format: byte 40965 app_hash: 40966 type: string 40967 format: byte 40968 last_results_hash: 40969 type: string 40970 format: byte 40971 evidence_hash: 40972 type: string 40973 format: byte 40974 title: consensus info 40975 proposer_address: 40976 type: string 40977 format: byte 40978 description: Header defines the structure of a Tendermint block header. 40979 commit: 40980 type: object 40981 properties: 40982 height: 40983 type: string 40984 format: int64 40985 round: 40986 type: integer 40987 format: int32 40988 block_id: 40989 type: object 40990 properties: 40991 hash: 40992 type: string 40993 format: byte 40994 part_set_header: 40995 type: object 40996 properties: 40997 total: 40998 type: integer 40999 format: int64 41000 hash: 41001 type: string 41002 format: byte 41003 title: PartsetHeader 41004 title: BlockID 41005 signatures: 41006 type: array 41007 items: 41008 type: object 41009 properties: 41010 block_id_flag: 41011 type: string 41012 enum: 41013 - BLOCK_ID_FLAG_UNKNOWN 41014 - BLOCK_ID_FLAG_ABSENT 41015 - BLOCK_ID_FLAG_COMMIT 41016 - BLOCK_ID_FLAG_NIL 41017 default: BLOCK_ID_FLAG_UNKNOWN 41018 title: BlockIdFlag indicates which BlcokID the signature is for 41019 validator_address: 41020 type: string 41021 format: byte 41022 timestamp: 41023 type: string 41024 format: date-time 41025 signature: 41026 type: string 41027 format: byte 41028 description: CommitSig is a part of the Vote included in a Commit. 41029 description: >- 41030 Commit contains the evidence that a block was committed by a set of 41031 validators. 41032 tendermint.types.SignedMsgType: 41033 type: string 41034 enum: 41035 - SIGNED_MSG_TYPE_UNKNOWN 41036 - SIGNED_MSG_TYPE_PREVOTE 41037 - SIGNED_MSG_TYPE_PRECOMMIT 41038 - SIGNED_MSG_TYPE_PROPOSAL 41039 default: SIGNED_MSG_TYPE_UNKNOWN 41040 description: |- 41041 SignedMsgType is a type of signed message in the consensus. 41042 41043 - SIGNED_MSG_TYPE_PREVOTE: Votes 41044 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 41045 tendermint.types.Validator: 41046 type: object 41047 properties: 41048 address: 41049 type: string 41050 format: byte 41051 pub_key: 41052 type: object 41053 properties: 41054 ed25519: 41055 type: string 41056 format: byte 41057 secp256k1: 41058 type: string 41059 format: byte 41060 title: >- 41061 PublicKey defines the keys available for use with Tendermint 41062 Validators 41063 voting_power: 41064 type: string 41065 format: int64 41066 proposer_priority: 41067 type: string 41068 format: int64 41069 tendermint.types.ValidatorParams: 41070 type: object 41071 properties: 41072 pub_key_types: 41073 type: array 41074 items: 41075 type: string 41076 description: |- 41077 ValidatorParams restrict the public key types validators can use. 41078 NOTE: uses ABCI pubkey naming, not Amino names. 41079 tendermint.types.ValidatorSet: 41080 type: object 41081 properties: 41082 validators: 41083 type: array 41084 items: 41085 type: object 41086 properties: 41087 address: 41088 type: string 41089 format: byte 41090 pub_key: 41091 type: object 41092 properties: 41093 ed25519: 41094 type: string 41095 format: byte 41096 secp256k1: 41097 type: string 41098 format: byte 41099 title: >- 41100 PublicKey defines the keys available for use with Tendermint 41101 Validators 41102 voting_power: 41103 type: string 41104 format: int64 41105 proposer_priority: 41106 type: string 41107 format: int64 41108 proposer: 41109 type: object 41110 properties: 41111 address: 41112 type: string 41113 format: byte 41114 pub_key: 41115 type: object 41116 properties: 41117 ed25519: 41118 type: string 41119 format: byte 41120 secp256k1: 41121 type: string 41122 format: byte 41123 title: >- 41124 PublicKey defines the keys available for use with Tendermint 41125 Validators 41126 voting_power: 41127 type: string 41128 format: int64 41129 proposer_priority: 41130 type: string 41131 format: int64 41132 total_voting_power: 41133 type: string 41134 format: int64 41135 tendermint.types.VersionParams: 41136 type: object 41137 properties: 41138 app_version: 41139 type: string 41140 format: uint64 41141 description: VersionParams contains the ABCI application version. 41142 tendermint.types.Vote: 41143 type: object 41144 properties: 41145 type: 41146 type: string 41147 enum: 41148 - SIGNED_MSG_TYPE_UNKNOWN 41149 - SIGNED_MSG_TYPE_PREVOTE 41150 - SIGNED_MSG_TYPE_PRECOMMIT 41151 - SIGNED_MSG_TYPE_PROPOSAL 41152 default: SIGNED_MSG_TYPE_UNKNOWN 41153 description: |- 41154 SignedMsgType is a type of signed message in the consensus. 41155 41156 - SIGNED_MSG_TYPE_PREVOTE: Votes 41157 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 41158 height: 41159 type: string 41160 format: int64 41161 round: 41162 type: integer 41163 format: int32 41164 block_id: 41165 type: object 41166 properties: 41167 hash: 41168 type: string 41169 format: byte 41170 part_set_header: 41171 type: object 41172 properties: 41173 total: 41174 type: integer 41175 format: int64 41176 hash: 41177 type: string 41178 format: byte 41179 title: PartsetHeader 41180 title: BlockID 41181 timestamp: 41182 type: string 41183 format: date-time 41184 validator_address: 41185 type: string 41186 format: byte 41187 validator_index: 41188 type: integer 41189 format: int32 41190 signature: 41191 type: string 41192 format: byte 41193 description: |- 41194 Vote represents a prevote, precommit, or commit vote from validators for 41195 consensus. 41196 tendermint.version.Consensus: 41197 type: object 41198 properties: 41199 block: 41200 type: string 41201 format: uint64 41202 app: 41203 type: string 41204 format: uint64 41205 description: >- 41206 Consensus captures the consensus rules for processing a block in the 41207 blockchain, 41208 41209 including all blockchain data structures and the rules of the 41210 application's 41211 41212 state transition machine. 41213 cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse: 41214 type: object 41215 properties: 41216 block_id: 41217 type: object 41218 properties: 41219 hash: 41220 type: string 41221 format: byte 41222 part_set_header: 41223 type: object 41224 properties: 41225 total: 41226 type: integer 41227 format: int64 41228 hash: 41229 type: string 41230 format: byte 41231 title: PartsetHeader 41232 title: BlockID 41233 block: 41234 type: object 41235 properties: 41236 header: 41237 type: object 41238 properties: 41239 version: 41240 title: basic block info 41241 type: object 41242 properties: 41243 block: 41244 type: string 41245 format: uint64 41246 app: 41247 type: string 41248 format: uint64 41249 description: >- 41250 Consensus captures the consensus rules for processing a block 41251 in the blockchain, 41252 41253 including all blockchain data structures and the rules of the 41254 application's 41255 41256 state transition machine. 41257 chain_id: 41258 type: string 41259 height: 41260 type: string 41261 format: int64 41262 time: 41263 type: string 41264 format: date-time 41265 last_block_id: 41266 type: object 41267 properties: 41268 hash: 41269 type: string 41270 format: byte 41271 part_set_header: 41272 type: object 41273 properties: 41274 total: 41275 type: integer 41276 format: int64 41277 hash: 41278 type: string 41279 format: byte 41280 title: PartsetHeader 41281 title: BlockID 41282 last_commit_hash: 41283 type: string 41284 format: byte 41285 title: hashes of block data 41286 data_hash: 41287 type: string 41288 format: byte 41289 validators_hash: 41290 type: string 41291 format: byte 41292 title: hashes from the app output from the prev block 41293 next_validators_hash: 41294 type: string 41295 format: byte 41296 consensus_hash: 41297 type: string 41298 format: byte 41299 app_hash: 41300 type: string 41301 format: byte 41302 last_results_hash: 41303 type: string 41304 format: byte 41305 evidence_hash: 41306 type: string 41307 format: byte 41308 title: consensus info 41309 proposer_address: 41310 type: string 41311 format: byte 41312 description: Header defines the structure of a Tendermint block header. 41313 data: 41314 type: object 41315 properties: 41316 txs: 41317 type: array 41318 items: 41319 type: string 41320 format: byte 41321 description: >- 41322 Txs that will be applied by state @ block.Height+1. 41323 41324 NOTE: not all txs here are valid. We're just agreeing on the 41325 order first. 41326 41327 This means that block.AppHash does not include these txs. 41328 title: Data contains the set of transactions included in the block 41329 evidence: 41330 type: object 41331 properties: 41332 evidence: 41333 type: array 41334 items: 41335 type: object 41336 properties: 41337 duplicate_vote_evidence: 41338 type: object 41339 properties: 41340 vote_a: 41341 type: object 41342 properties: 41343 type: 41344 type: string 41345 enum: 41346 - SIGNED_MSG_TYPE_UNKNOWN 41347 - SIGNED_MSG_TYPE_PREVOTE 41348 - SIGNED_MSG_TYPE_PRECOMMIT 41349 - SIGNED_MSG_TYPE_PROPOSAL 41350 default: SIGNED_MSG_TYPE_UNKNOWN 41351 description: >- 41352 SignedMsgType is a type of signed message in the 41353 consensus. 41354 41355 - SIGNED_MSG_TYPE_PREVOTE: Votes 41356 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 41357 height: 41358 type: string 41359 format: int64 41360 round: 41361 type: integer 41362 format: int32 41363 block_id: 41364 type: object 41365 properties: 41366 hash: 41367 type: string 41368 format: byte 41369 part_set_header: 41370 type: object 41371 properties: 41372 total: 41373 type: integer 41374 format: int64 41375 hash: 41376 type: string 41377 format: byte 41378 title: PartsetHeader 41379 title: BlockID 41380 timestamp: 41381 type: string 41382 format: date-time 41383 validator_address: 41384 type: string 41385 format: byte 41386 validator_index: 41387 type: integer 41388 format: int32 41389 signature: 41390 type: string 41391 format: byte 41392 description: >- 41393 Vote represents a prevote, precommit, or commit vote 41394 from validators for 41395 41396 consensus. 41397 vote_b: 41398 type: object 41399 properties: 41400 type: 41401 type: string 41402 enum: 41403 - SIGNED_MSG_TYPE_UNKNOWN 41404 - SIGNED_MSG_TYPE_PREVOTE 41405 - SIGNED_MSG_TYPE_PRECOMMIT 41406 - SIGNED_MSG_TYPE_PROPOSAL 41407 default: SIGNED_MSG_TYPE_UNKNOWN 41408 description: >- 41409 SignedMsgType is a type of signed message in the 41410 consensus. 41411 41412 - SIGNED_MSG_TYPE_PREVOTE: Votes 41413 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 41414 height: 41415 type: string 41416 format: int64 41417 round: 41418 type: integer 41419 format: int32 41420 block_id: 41421 type: object 41422 properties: 41423 hash: 41424 type: string 41425 format: byte 41426 part_set_header: 41427 type: object 41428 properties: 41429 total: 41430 type: integer 41431 format: int64 41432 hash: 41433 type: string 41434 format: byte 41435 title: PartsetHeader 41436 title: BlockID 41437 timestamp: 41438 type: string 41439 format: date-time 41440 validator_address: 41441 type: string 41442 format: byte 41443 validator_index: 41444 type: integer 41445 format: int32 41446 signature: 41447 type: string 41448 format: byte 41449 description: >- 41450 Vote represents a prevote, precommit, or commit vote 41451 from validators for 41452 41453 consensus. 41454 total_voting_power: 41455 type: string 41456 format: int64 41457 validator_power: 41458 type: string 41459 format: int64 41460 timestamp: 41461 type: string 41462 format: date-time 41463 description: >- 41464 DuplicateVoteEvidence contains evidence of a validator 41465 signed two conflicting votes. 41466 light_client_attack_evidence: 41467 type: object 41468 properties: 41469 conflicting_block: 41470 type: object 41471 properties: 41472 signed_header: 41473 type: object 41474 properties: 41475 header: 41476 type: object 41477 properties: 41478 version: 41479 title: basic block info 41480 type: object 41481 properties: 41482 block: 41483 type: string 41484 format: uint64 41485 app: 41486 type: string 41487 format: uint64 41488 description: >- 41489 Consensus captures the consensus rules 41490 for processing a block in the 41491 blockchain, 41492 41493 including all blockchain data structures 41494 and the rules of the application's 41495 41496 state transition machine. 41497 chain_id: 41498 type: string 41499 height: 41500 type: string 41501 format: int64 41502 time: 41503 type: string 41504 format: date-time 41505 last_block_id: 41506 type: object 41507 properties: 41508 hash: 41509 type: string 41510 format: byte 41511 part_set_header: 41512 type: object 41513 properties: 41514 total: 41515 type: integer 41516 format: int64 41517 hash: 41518 type: string 41519 format: byte 41520 title: PartsetHeader 41521 title: BlockID 41522 last_commit_hash: 41523 type: string 41524 format: byte 41525 title: hashes of block data 41526 data_hash: 41527 type: string 41528 format: byte 41529 validators_hash: 41530 type: string 41531 format: byte 41532 title: >- 41533 hashes from the app output from the prev 41534 block 41535 next_validators_hash: 41536 type: string 41537 format: byte 41538 consensus_hash: 41539 type: string 41540 format: byte 41541 app_hash: 41542 type: string 41543 format: byte 41544 last_results_hash: 41545 type: string 41546 format: byte 41547 evidence_hash: 41548 type: string 41549 format: byte 41550 title: consensus info 41551 proposer_address: 41552 type: string 41553 format: byte 41554 description: >- 41555 Header defines the structure of a Tendermint 41556 block header. 41557 commit: 41558 type: object 41559 properties: 41560 height: 41561 type: string 41562 format: int64 41563 round: 41564 type: integer 41565 format: int32 41566 block_id: 41567 type: object 41568 properties: 41569 hash: 41570 type: string 41571 format: byte 41572 part_set_header: 41573 type: object 41574 properties: 41575 total: 41576 type: integer 41577 format: int64 41578 hash: 41579 type: string 41580 format: byte 41581 title: PartsetHeader 41582 title: BlockID 41583 signatures: 41584 type: array 41585 items: 41586 type: object 41587 properties: 41588 block_id_flag: 41589 type: string 41590 enum: 41591 - BLOCK_ID_FLAG_UNKNOWN 41592 - BLOCK_ID_FLAG_ABSENT 41593 - BLOCK_ID_FLAG_COMMIT 41594 - BLOCK_ID_FLAG_NIL 41595 default: BLOCK_ID_FLAG_UNKNOWN 41596 title: >- 41597 BlockIdFlag indicates which BlcokID the 41598 signature is for 41599 validator_address: 41600 type: string 41601 format: byte 41602 timestamp: 41603 type: string 41604 format: date-time 41605 signature: 41606 type: string 41607 format: byte 41608 description: >- 41609 CommitSig is a part of the Vote included 41610 in a Commit. 41611 description: >- 41612 Commit contains the evidence that a block 41613 was committed by a set of validators. 41614 validator_set: 41615 type: object 41616 properties: 41617 validators: 41618 type: array 41619 items: 41620 type: object 41621 properties: 41622 address: 41623 type: string 41624 format: byte 41625 pub_key: 41626 type: object 41627 properties: 41628 ed25519: 41629 type: string 41630 format: byte 41631 secp256k1: 41632 type: string 41633 format: byte 41634 title: >- 41635 PublicKey defines the keys available for 41636 use with Tendermint Validators 41637 voting_power: 41638 type: string 41639 format: int64 41640 proposer_priority: 41641 type: string 41642 format: int64 41643 proposer: 41644 type: object 41645 properties: 41646 address: 41647 type: string 41648 format: byte 41649 pub_key: 41650 type: object 41651 properties: 41652 ed25519: 41653 type: string 41654 format: byte 41655 secp256k1: 41656 type: string 41657 format: byte 41658 title: >- 41659 PublicKey defines the keys available for 41660 use with Tendermint Validators 41661 voting_power: 41662 type: string 41663 format: int64 41664 proposer_priority: 41665 type: string 41666 format: int64 41667 total_voting_power: 41668 type: string 41669 format: int64 41670 common_height: 41671 type: string 41672 format: int64 41673 byzantine_validators: 41674 type: array 41675 items: 41676 type: object 41677 properties: 41678 address: 41679 type: string 41680 format: byte 41681 pub_key: 41682 type: object 41683 properties: 41684 ed25519: 41685 type: string 41686 format: byte 41687 secp256k1: 41688 type: string 41689 format: byte 41690 title: >- 41691 PublicKey defines the keys available for use 41692 with Tendermint Validators 41693 voting_power: 41694 type: string 41695 format: int64 41696 proposer_priority: 41697 type: string 41698 format: int64 41699 total_voting_power: 41700 type: string 41701 format: int64 41702 timestamp: 41703 type: string 41704 format: date-time 41705 description: >- 41706 LightClientAttackEvidence contains evidence of a set of 41707 validators attempting to mislead a light client. 41708 last_commit: 41709 type: object 41710 properties: 41711 height: 41712 type: string 41713 format: int64 41714 round: 41715 type: integer 41716 format: int32 41717 block_id: 41718 type: object 41719 properties: 41720 hash: 41721 type: string 41722 format: byte 41723 part_set_header: 41724 type: object 41725 properties: 41726 total: 41727 type: integer 41728 format: int64 41729 hash: 41730 type: string 41731 format: byte 41732 title: PartsetHeader 41733 title: BlockID 41734 signatures: 41735 type: array 41736 items: 41737 type: object 41738 properties: 41739 block_id_flag: 41740 type: string 41741 enum: 41742 - BLOCK_ID_FLAG_UNKNOWN 41743 - BLOCK_ID_FLAG_ABSENT 41744 - BLOCK_ID_FLAG_COMMIT 41745 - BLOCK_ID_FLAG_NIL 41746 default: BLOCK_ID_FLAG_UNKNOWN 41747 title: BlockIdFlag indicates which BlcokID the signature is for 41748 validator_address: 41749 type: string 41750 format: byte 41751 timestamp: 41752 type: string 41753 format: date-time 41754 signature: 41755 type: string 41756 format: byte 41757 description: CommitSig is a part of the Vote included in a Commit. 41758 description: >- 41759 Commit contains the evidence that a block was committed by a set 41760 of validators. 41761 description: >- 41762 GetBlockByHeightResponse is the response type for the 41763 Query/GetBlockByHeight RPC method. 41764 cosmos.base.tendermint.v1beta1.GetLatestBlockResponse: 41765 type: object 41766 properties: 41767 block_id: 41768 type: object 41769 properties: 41770 hash: 41771 type: string 41772 format: byte 41773 part_set_header: 41774 type: object 41775 properties: 41776 total: 41777 type: integer 41778 format: int64 41779 hash: 41780 type: string 41781 format: byte 41782 title: PartsetHeader 41783 title: BlockID 41784 block: 41785 type: object 41786 properties: 41787 header: 41788 type: object 41789 properties: 41790 version: 41791 title: basic block info 41792 type: object 41793 properties: 41794 block: 41795 type: string 41796 format: uint64 41797 app: 41798 type: string 41799 format: uint64 41800 description: >- 41801 Consensus captures the consensus rules for processing a block 41802 in the blockchain, 41803 41804 including all blockchain data structures and the rules of the 41805 application's 41806 41807 state transition machine. 41808 chain_id: 41809 type: string 41810 height: 41811 type: string 41812 format: int64 41813 time: 41814 type: string 41815 format: date-time 41816 last_block_id: 41817 type: object 41818 properties: 41819 hash: 41820 type: string 41821 format: byte 41822 part_set_header: 41823 type: object 41824 properties: 41825 total: 41826 type: integer 41827 format: int64 41828 hash: 41829 type: string 41830 format: byte 41831 title: PartsetHeader 41832 title: BlockID 41833 last_commit_hash: 41834 type: string 41835 format: byte 41836 title: hashes of block data 41837 data_hash: 41838 type: string 41839 format: byte 41840 validators_hash: 41841 type: string 41842 format: byte 41843 title: hashes from the app output from the prev block 41844 next_validators_hash: 41845 type: string 41846 format: byte 41847 consensus_hash: 41848 type: string 41849 format: byte 41850 app_hash: 41851 type: string 41852 format: byte 41853 last_results_hash: 41854 type: string 41855 format: byte 41856 evidence_hash: 41857 type: string 41858 format: byte 41859 title: consensus info 41860 proposer_address: 41861 type: string 41862 format: byte 41863 description: Header defines the structure of a Tendermint block header. 41864 data: 41865 type: object 41866 properties: 41867 txs: 41868 type: array 41869 items: 41870 type: string 41871 format: byte 41872 description: >- 41873 Txs that will be applied by state @ block.Height+1. 41874 41875 NOTE: not all txs here are valid. We're just agreeing on the 41876 order first. 41877 41878 This means that block.AppHash does not include these txs. 41879 title: Data contains the set of transactions included in the block 41880 evidence: 41881 type: object 41882 properties: 41883 evidence: 41884 type: array 41885 items: 41886 type: object 41887 properties: 41888 duplicate_vote_evidence: 41889 type: object 41890 properties: 41891 vote_a: 41892 type: object 41893 properties: 41894 type: 41895 type: string 41896 enum: 41897 - SIGNED_MSG_TYPE_UNKNOWN 41898 - SIGNED_MSG_TYPE_PREVOTE 41899 - SIGNED_MSG_TYPE_PRECOMMIT 41900 - SIGNED_MSG_TYPE_PROPOSAL 41901 default: SIGNED_MSG_TYPE_UNKNOWN 41902 description: >- 41903 SignedMsgType is a type of signed message in the 41904 consensus. 41905 41906 - SIGNED_MSG_TYPE_PREVOTE: Votes 41907 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 41908 height: 41909 type: string 41910 format: int64 41911 round: 41912 type: integer 41913 format: int32 41914 block_id: 41915 type: object 41916 properties: 41917 hash: 41918 type: string 41919 format: byte 41920 part_set_header: 41921 type: object 41922 properties: 41923 total: 41924 type: integer 41925 format: int64 41926 hash: 41927 type: string 41928 format: byte 41929 title: PartsetHeader 41930 title: BlockID 41931 timestamp: 41932 type: string 41933 format: date-time 41934 validator_address: 41935 type: string 41936 format: byte 41937 validator_index: 41938 type: integer 41939 format: int32 41940 signature: 41941 type: string 41942 format: byte 41943 description: >- 41944 Vote represents a prevote, precommit, or commit vote 41945 from validators for 41946 41947 consensus. 41948 vote_b: 41949 type: object 41950 properties: 41951 type: 41952 type: string 41953 enum: 41954 - SIGNED_MSG_TYPE_UNKNOWN 41955 - SIGNED_MSG_TYPE_PREVOTE 41956 - SIGNED_MSG_TYPE_PRECOMMIT 41957 - SIGNED_MSG_TYPE_PROPOSAL 41958 default: SIGNED_MSG_TYPE_UNKNOWN 41959 description: >- 41960 SignedMsgType is a type of signed message in the 41961 consensus. 41962 41963 - SIGNED_MSG_TYPE_PREVOTE: Votes 41964 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 41965 height: 41966 type: string 41967 format: int64 41968 round: 41969 type: integer 41970 format: int32 41971 block_id: 41972 type: object 41973 properties: 41974 hash: 41975 type: string 41976 format: byte 41977 part_set_header: 41978 type: object 41979 properties: 41980 total: 41981 type: integer 41982 format: int64 41983 hash: 41984 type: string 41985 format: byte 41986 title: PartsetHeader 41987 title: BlockID 41988 timestamp: 41989 type: string 41990 format: date-time 41991 validator_address: 41992 type: string 41993 format: byte 41994 validator_index: 41995 type: integer 41996 format: int32 41997 signature: 41998 type: string 41999 format: byte 42000 description: >- 42001 Vote represents a prevote, precommit, or commit vote 42002 from validators for 42003 42004 consensus. 42005 total_voting_power: 42006 type: string 42007 format: int64 42008 validator_power: 42009 type: string 42010 format: int64 42011 timestamp: 42012 type: string 42013 format: date-time 42014 description: >- 42015 DuplicateVoteEvidence contains evidence of a validator 42016 signed two conflicting votes. 42017 light_client_attack_evidence: 42018 type: object 42019 properties: 42020 conflicting_block: 42021 type: object 42022 properties: 42023 signed_header: 42024 type: object 42025 properties: 42026 header: 42027 type: object 42028 properties: 42029 version: 42030 title: basic block info 42031 type: object 42032 properties: 42033 block: 42034 type: string 42035 format: uint64 42036 app: 42037 type: string 42038 format: uint64 42039 description: >- 42040 Consensus captures the consensus rules 42041 for processing a block in the 42042 blockchain, 42043 42044 including all blockchain data structures 42045 and the rules of the application's 42046 42047 state transition machine. 42048 chain_id: 42049 type: string 42050 height: 42051 type: string 42052 format: int64 42053 time: 42054 type: string 42055 format: date-time 42056 last_block_id: 42057 type: object 42058 properties: 42059 hash: 42060 type: string 42061 format: byte 42062 part_set_header: 42063 type: object 42064 properties: 42065 total: 42066 type: integer 42067 format: int64 42068 hash: 42069 type: string 42070 format: byte 42071 title: PartsetHeader 42072 title: BlockID 42073 last_commit_hash: 42074 type: string 42075 format: byte 42076 title: hashes of block data 42077 data_hash: 42078 type: string 42079 format: byte 42080 validators_hash: 42081 type: string 42082 format: byte 42083 title: >- 42084 hashes from the app output from the prev 42085 block 42086 next_validators_hash: 42087 type: string 42088 format: byte 42089 consensus_hash: 42090 type: string 42091 format: byte 42092 app_hash: 42093 type: string 42094 format: byte 42095 last_results_hash: 42096 type: string 42097 format: byte 42098 evidence_hash: 42099 type: string 42100 format: byte 42101 title: consensus info 42102 proposer_address: 42103 type: string 42104 format: byte 42105 description: >- 42106 Header defines the structure of a Tendermint 42107 block header. 42108 commit: 42109 type: object 42110 properties: 42111 height: 42112 type: string 42113 format: int64 42114 round: 42115 type: integer 42116 format: int32 42117 block_id: 42118 type: object 42119 properties: 42120 hash: 42121 type: string 42122 format: byte 42123 part_set_header: 42124 type: object 42125 properties: 42126 total: 42127 type: integer 42128 format: int64 42129 hash: 42130 type: string 42131 format: byte 42132 title: PartsetHeader 42133 title: BlockID 42134 signatures: 42135 type: array 42136 items: 42137 type: object 42138 properties: 42139 block_id_flag: 42140 type: string 42141 enum: 42142 - BLOCK_ID_FLAG_UNKNOWN 42143 - BLOCK_ID_FLAG_ABSENT 42144 - BLOCK_ID_FLAG_COMMIT 42145 - BLOCK_ID_FLAG_NIL 42146 default: BLOCK_ID_FLAG_UNKNOWN 42147 title: >- 42148 BlockIdFlag indicates which BlcokID the 42149 signature is for 42150 validator_address: 42151 type: string 42152 format: byte 42153 timestamp: 42154 type: string 42155 format: date-time 42156 signature: 42157 type: string 42158 format: byte 42159 description: >- 42160 CommitSig is a part of the Vote included 42161 in a Commit. 42162 description: >- 42163 Commit contains the evidence that a block 42164 was committed by a set of validators. 42165 validator_set: 42166 type: object 42167 properties: 42168 validators: 42169 type: array 42170 items: 42171 type: object 42172 properties: 42173 address: 42174 type: string 42175 format: byte 42176 pub_key: 42177 type: object 42178 properties: 42179 ed25519: 42180 type: string 42181 format: byte 42182 secp256k1: 42183 type: string 42184 format: byte 42185 title: >- 42186 PublicKey defines the keys available for 42187 use with Tendermint Validators 42188 voting_power: 42189 type: string 42190 format: int64 42191 proposer_priority: 42192 type: string 42193 format: int64 42194 proposer: 42195 type: object 42196 properties: 42197 address: 42198 type: string 42199 format: byte 42200 pub_key: 42201 type: object 42202 properties: 42203 ed25519: 42204 type: string 42205 format: byte 42206 secp256k1: 42207 type: string 42208 format: byte 42209 title: >- 42210 PublicKey defines the keys available for 42211 use with Tendermint Validators 42212 voting_power: 42213 type: string 42214 format: int64 42215 proposer_priority: 42216 type: string 42217 format: int64 42218 total_voting_power: 42219 type: string 42220 format: int64 42221 common_height: 42222 type: string 42223 format: int64 42224 byzantine_validators: 42225 type: array 42226 items: 42227 type: object 42228 properties: 42229 address: 42230 type: string 42231 format: byte 42232 pub_key: 42233 type: object 42234 properties: 42235 ed25519: 42236 type: string 42237 format: byte 42238 secp256k1: 42239 type: string 42240 format: byte 42241 title: >- 42242 PublicKey defines the keys available for use 42243 with Tendermint Validators 42244 voting_power: 42245 type: string 42246 format: int64 42247 proposer_priority: 42248 type: string 42249 format: int64 42250 total_voting_power: 42251 type: string 42252 format: int64 42253 timestamp: 42254 type: string 42255 format: date-time 42256 description: >- 42257 LightClientAttackEvidence contains evidence of a set of 42258 validators attempting to mislead a light client. 42259 last_commit: 42260 type: object 42261 properties: 42262 height: 42263 type: string 42264 format: int64 42265 round: 42266 type: integer 42267 format: int32 42268 block_id: 42269 type: object 42270 properties: 42271 hash: 42272 type: string 42273 format: byte 42274 part_set_header: 42275 type: object 42276 properties: 42277 total: 42278 type: integer 42279 format: int64 42280 hash: 42281 type: string 42282 format: byte 42283 title: PartsetHeader 42284 title: BlockID 42285 signatures: 42286 type: array 42287 items: 42288 type: object 42289 properties: 42290 block_id_flag: 42291 type: string 42292 enum: 42293 - BLOCK_ID_FLAG_UNKNOWN 42294 - BLOCK_ID_FLAG_ABSENT 42295 - BLOCK_ID_FLAG_COMMIT 42296 - BLOCK_ID_FLAG_NIL 42297 default: BLOCK_ID_FLAG_UNKNOWN 42298 title: BlockIdFlag indicates which BlcokID the signature is for 42299 validator_address: 42300 type: string 42301 format: byte 42302 timestamp: 42303 type: string 42304 format: date-time 42305 signature: 42306 type: string 42307 format: byte 42308 description: CommitSig is a part of the Vote included in a Commit. 42309 description: >- 42310 Commit contains the evidence that a block was committed by a set 42311 of validators. 42312 description: >- 42313 GetLatestBlockResponse is the response type for the Query/GetLatestBlock 42314 RPC method. 42315 cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse: 42316 type: object 42317 properties: 42318 block_height: 42319 type: string 42320 format: int64 42321 validators: 42322 type: array 42323 items: 42324 type: object 42325 properties: 42326 address: 42327 type: string 42328 pub_key: 42329 type: object 42330 properties: 42331 type_url: 42332 type: string 42333 description: >- 42334 A URL/resource name that uniquely identifies the type of the 42335 serialized 42336 42337 protocol buffer message. This string must contain at least 42338 42339 one "/" character. The last segment of the URL's path must 42340 represent 42341 42342 the fully qualified name of the type (as in 42343 42344 `path/google.protobuf.Duration`). The name should be in a 42345 canonical form 42346 42347 (e.g., leading "." is not accepted). 42348 42349 42350 In practice, teams usually precompile into the binary all 42351 types that they 42352 42353 expect it to use in the context of Any. However, for URLs 42354 which use the 42355 42356 scheme `http`, `https`, or no scheme, one can optionally set 42357 up a type 42358 42359 server that maps type URLs to message definitions as 42360 follows: 42361 42362 42363 * If no scheme is provided, `https` is assumed. 42364 42365 * An HTTP GET on the URL must yield a 42366 [google.protobuf.Type][] 42367 value in binary format, or produce an error. 42368 * Applications are allowed to cache lookup results based on 42369 the 42370 URL, or have them precompiled into a binary to avoid any 42371 lookup. Therefore, binary compatibility needs to be preserved 42372 on changes to types. (Use versioned type names to manage 42373 breaking changes.) 42374 42375 Note: this functionality is not currently available in the 42376 official 42377 42378 protobuf release, and it is not used for type URLs beginning 42379 with 42380 42381 type.googleapis.com. 42382 42383 42384 Schemes other than `http`, `https` (or the empty scheme) 42385 might be 42386 42387 used with implementation specific semantics. 42388 value: 42389 type: string 42390 format: byte 42391 description: >- 42392 Must be a valid serialized protocol buffer of the above 42393 specified type. 42394 description: >- 42395 `Any` contains an arbitrary serialized protocol buffer message 42396 along with a 42397 42398 URL that describes the type of the serialized message. 42399 42400 42401 Protobuf library provides support to pack/unpack Any values in 42402 the form 42403 42404 of utility functions or additional generated methods of the Any 42405 type. 42406 42407 42408 Example 1: Pack and unpack a message in C++. 42409 42410 Foo foo = ...; 42411 Any any; 42412 any.PackFrom(foo); 42413 ... 42414 if (any.UnpackTo(&foo)) { 42415 ... 42416 } 42417 42418 Example 2: Pack and unpack a message in Java. 42419 42420 Foo foo = ...; 42421 Any any = Any.pack(foo); 42422 ... 42423 if (any.is(Foo.class)) { 42424 foo = any.unpack(Foo.class); 42425 } 42426 42427 Example 3: Pack and unpack a message in Python. 42428 42429 foo = Foo(...) 42430 any = Any() 42431 any.Pack(foo) 42432 ... 42433 if any.Is(Foo.DESCRIPTOR): 42434 any.Unpack(foo) 42435 ... 42436 42437 Example 4: Pack and unpack a message in Go 42438 42439 foo := &pb.Foo{...} 42440 any, err := ptypes.MarshalAny(foo) 42441 ... 42442 foo := &pb.Foo{} 42443 if err := ptypes.UnmarshalAny(any, foo); err != nil { 42444 ... 42445 } 42446 42447 The pack methods provided by protobuf library will by default 42448 use 42449 42450 'type.googleapis.com/full.type.name' as the type URL and the 42451 unpack 42452 42453 methods only use the fully qualified type name after the last 42454 '/' 42455 42456 in the type URL, for example "foo.bar.com/x/y.z" will yield type 42457 42458 name "y.z". 42459 42460 42461 42462 JSON 42463 42464 ==== 42465 42466 The JSON representation of an `Any` value uses the regular 42467 42468 representation of the deserialized, embedded message, with an 42469 42470 additional field `@type` which contains the type URL. Example: 42471 42472 package google.profile; 42473 message Person { 42474 string first_name = 1; 42475 string last_name = 2; 42476 } 42477 42478 { 42479 "@type": "type.googleapis.com/google.profile.Person", 42480 "firstName": <string>, 42481 "lastName": <string> 42482 } 42483 42484 If the embedded message type is well-known and has a custom JSON 42485 42486 representation, that representation will be embedded adding a 42487 field 42488 42489 `value` which holds the custom JSON in addition to the `@type` 42490 42491 field. Example (for message [google.protobuf.Duration][]): 42492 42493 { 42494 "@type": "type.googleapis.com/google.protobuf.Duration", 42495 "value": "1.212s" 42496 } 42497 voting_power: 42498 type: string 42499 format: int64 42500 proposer_priority: 42501 type: string 42502 format: int64 42503 description: Validator is the type for the validator-set. 42504 pagination: 42505 description: pagination defines an pagination for the response. 42506 type: object 42507 properties: 42508 next_key: 42509 type: string 42510 format: byte 42511 title: |- 42512 next_key is the key to be passed to PageRequest.key to 42513 query the next page most efficiently 42514 total: 42515 type: string 42516 format: uint64 42517 title: >- 42518 total is total number of results available if 42519 PageRequest.count_total 42520 42521 was set, its value is undefined otherwise 42522 description: >- 42523 GetLatestValidatorSetResponse is the response type for the 42524 Query/GetValidatorSetByHeight RPC method. 42525 cosmos.base.tendermint.v1beta1.GetNodeInfoResponse: 42526 type: object 42527 properties: 42528 default_node_info: 42529 type: object 42530 properties: 42531 protocol_version: 42532 type: object 42533 properties: 42534 p2p: 42535 type: string 42536 format: uint64 42537 block: 42538 type: string 42539 format: uint64 42540 app: 42541 type: string 42542 format: uint64 42543 default_node_id: 42544 type: string 42545 listen_addr: 42546 type: string 42547 network: 42548 type: string 42549 version: 42550 type: string 42551 channels: 42552 type: string 42553 format: byte 42554 moniker: 42555 type: string 42556 other: 42557 type: object 42558 properties: 42559 tx_index: 42560 type: string 42561 rpc_address: 42562 type: string 42563 application_version: 42564 type: object 42565 properties: 42566 name: 42567 type: string 42568 app_name: 42569 type: string 42570 version: 42571 type: string 42572 git_commit: 42573 type: string 42574 build_tags: 42575 type: string 42576 go_version: 42577 type: string 42578 build_deps: 42579 type: array 42580 items: 42581 type: object 42582 properties: 42583 path: 42584 type: string 42585 title: module path 42586 version: 42587 type: string 42588 title: module version 42589 sum: 42590 type: string 42591 title: checksum 42592 title: Module is the type for VersionInfo 42593 cosmos_sdk_version: 42594 type: string 42595 title: 'Since: cosmos-sdk 0.43' 42596 description: VersionInfo is the type for the GetNodeInfoResponse message. 42597 description: >- 42598 GetNodeInfoResponse is the request type for the Query/GetNodeInfo RPC 42599 method. 42600 cosmos.base.tendermint.v1beta1.GetSyncingResponse: 42601 type: object 42602 properties: 42603 syncing: 42604 type: boolean 42605 format: boolean 42606 description: >- 42607 GetSyncingResponse is the response type for the Query/GetSyncing RPC 42608 method. 42609 cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse: 42610 type: object 42611 properties: 42612 block_height: 42613 type: string 42614 format: int64 42615 validators: 42616 type: array 42617 items: 42618 type: object 42619 properties: 42620 address: 42621 type: string 42622 pub_key: 42623 type: object 42624 properties: 42625 type_url: 42626 type: string 42627 description: >- 42628 A URL/resource name that uniquely identifies the type of the 42629 serialized 42630 42631 protocol buffer message. This string must contain at least 42632 42633 one "/" character. The last segment of the URL's path must 42634 represent 42635 42636 the fully qualified name of the type (as in 42637 42638 `path/google.protobuf.Duration`). The name should be in a 42639 canonical form 42640 42641 (e.g., leading "." is not accepted). 42642 42643 42644 In practice, teams usually precompile into the binary all 42645 types that they 42646 42647 expect it to use in the context of Any. However, for URLs 42648 which use the 42649 42650 scheme `http`, `https`, or no scheme, one can optionally set 42651 up a type 42652 42653 server that maps type URLs to message definitions as 42654 follows: 42655 42656 42657 * If no scheme is provided, `https` is assumed. 42658 42659 * An HTTP GET on the URL must yield a 42660 [google.protobuf.Type][] 42661 value in binary format, or produce an error. 42662 * Applications are allowed to cache lookup results based on 42663 the 42664 URL, or have them precompiled into a binary to avoid any 42665 lookup. Therefore, binary compatibility needs to be preserved 42666 on changes to types. (Use versioned type names to manage 42667 breaking changes.) 42668 42669 Note: this functionality is not currently available in the 42670 official 42671 42672 protobuf release, and it is not used for type URLs beginning 42673 with 42674 42675 type.googleapis.com. 42676 42677 42678 Schemes other than `http`, `https` (or the empty scheme) 42679 might be 42680 42681 used with implementation specific semantics. 42682 value: 42683 type: string 42684 format: byte 42685 description: >- 42686 Must be a valid serialized protocol buffer of the above 42687 specified type. 42688 description: >- 42689 `Any` contains an arbitrary serialized protocol buffer message 42690 along with a 42691 42692 URL that describes the type of the serialized message. 42693 42694 42695 Protobuf library provides support to pack/unpack Any values in 42696 the form 42697 42698 of utility functions or additional generated methods of the Any 42699 type. 42700 42701 42702 Example 1: Pack and unpack a message in C++. 42703 42704 Foo foo = ...; 42705 Any any; 42706 any.PackFrom(foo); 42707 ... 42708 if (any.UnpackTo(&foo)) { 42709 ... 42710 } 42711 42712 Example 2: Pack and unpack a message in Java. 42713 42714 Foo foo = ...; 42715 Any any = Any.pack(foo); 42716 ... 42717 if (any.is(Foo.class)) { 42718 foo = any.unpack(Foo.class); 42719 } 42720 42721 Example 3: Pack and unpack a message in Python. 42722 42723 foo = Foo(...) 42724 any = Any() 42725 any.Pack(foo) 42726 ... 42727 if any.Is(Foo.DESCRIPTOR): 42728 any.Unpack(foo) 42729 ... 42730 42731 Example 4: Pack and unpack a message in Go 42732 42733 foo := &pb.Foo{...} 42734 any, err := ptypes.MarshalAny(foo) 42735 ... 42736 foo := &pb.Foo{} 42737 if err := ptypes.UnmarshalAny(any, foo); err != nil { 42738 ... 42739 } 42740 42741 The pack methods provided by protobuf library will by default 42742 use 42743 42744 'type.googleapis.com/full.type.name' as the type URL and the 42745 unpack 42746 42747 methods only use the fully qualified type name after the last 42748 '/' 42749 42750 in the type URL, for example "foo.bar.com/x/y.z" will yield type 42751 42752 name "y.z". 42753 42754 42755 42756 JSON 42757 42758 ==== 42759 42760 The JSON representation of an `Any` value uses the regular 42761 42762 representation of the deserialized, embedded message, with an 42763 42764 additional field `@type` which contains the type URL. Example: 42765 42766 package google.profile; 42767 message Person { 42768 string first_name = 1; 42769 string last_name = 2; 42770 } 42771 42772 { 42773 "@type": "type.googleapis.com/google.profile.Person", 42774 "firstName": <string>, 42775 "lastName": <string> 42776 } 42777 42778 If the embedded message type is well-known and has a custom JSON 42779 42780 representation, that representation will be embedded adding a 42781 field 42782 42783 `value` which holds the custom JSON in addition to the `@type` 42784 42785 field. Example (for message [google.protobuf.Duration][]): 42786 42787 { 42788 "@type": "type.googleapis.com/google.protobuf.Duration", 42789 "value": "1.212s" 42790 } 42791 voting_power: 42792 type: string 42793 format: int64 42794 proposer_priority: 42795 type: string 42796 format: int64 42797 description: Validator is the type for the validator-set. 42798 pagination: 42799 description: pagination defines an pagination for the response. 42800 type: object 42801 properties: 42802 next_key: 42803 type: string 42804 format: byte 42805 title: |- 42806 next_key is the key to be passed to PageRequest.key to 42807 query the next page most efficiently 42808 total: 42809 type: string 42810 format: uint64 42811 title: >- 42812 total is total number of results available if 42813 PageRequest.count_total 42814 42815 was set, its value is undefined otherwise 42816 description: >- 42817 GetValidatorSetByHeightResponse is the response type for the 42818 Query/GetValidatorSetByHeight RPC method. 42819 cosmos.base.tendermint.v1beta1.Module: 42820 type: object 42821 properties: 42822 path: 42823 type: string 42824 title: module path 42825 version: 42826 type: string 42827 title: module version 42828 sum: 42829 type: string 42830 title: checksum 42831 title: Module is the type for VersionInfo 42832 cosmos.base.tendermint.v1beta1.Validator: 42833 type: object 42834 properties: 42835 address: 42836 type: string 42837 pub_key: 42838 type: object 42839 properties: 42840 type_url: 42841 type: string 42842 description: >- 42843 A URL/resource name that uniquely identifies the type of the 42844 serialized 42845 42846 protocol buffer message. This string must contain at least 42847 42848 one "/" character. The last segment of the URL's path must 42849 represent 42850 42851 the fully qualified name of the type (as in 42852 42853 `path/google.protobuf.Duration`). The name should be in a 42854 canonical form 42855 42856 (e.g., leading "." is not accepted). 42857 42858 42859 In practice, teams usually precompile into the binary all types 42860 that they 42861 42862 expect it to use in the context of Any. However, for URLs which 42863 use the 42864 42865 scheme `http`, `https`, or no scheme, one can optionally set up a 42866 type 42867 42868 server that maps type URLs to message definitions as follows: 42869 42870 42871 * If no scheme is provided, `https` is assumed. 42872 42873 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 42874 value in binary format, or produce an error. 42875 * Applications are allowed to cache lookup results based on the 42876 URL, or have them precompiled into a binary to avoid any 42877 lookup. Therefore, binary compatibility needs to be preserved 42878 on changes to types. (Use versioned type names to manage 42879 breaking changes.) 42880 42881 Note: this functionality is not currently available in the 42882 official 42883 42884 protobuf release, and it is not used for type URLs beginning with 42885 42886 type.googleapis.com. 42887 42888 42889 Schemes other than `http`, `https` (or the empty scheme) might be 42890 42891 used with implementation specific semantics. 42892 value: 42893 type: string 42894 format: byte 42895 description: >- 42896 Must be a valid serialized protocol buffer of the above specified 42897 type. 42898 description: >- 42899 `Any` contains an arbitrary serialized protocol buffer message along 42900 with a 42901 42902 URL that describes the type of the serialized message. 42903 42904 42905 Protobuf library provides support to pack/unpack Any values in the 42906 form 42907 42908 of utility functions or additional generated methods of the Any type. 42909 42910 42911 Example 1: Pack and unpack a message in C++. 42912 42913 Foo foo = ...; 42914 Any any; 42915 any.PackFrom(foo); 42916 ... 42917 if (any.UnpackTo(&foo)) { 42918 ... 42919 } 42920 42921 Example 2: Pack and unpack a message in Java. 42922 42923 Foo foo = ...; 42924 Any any = Any.pack(foo); 42925 ... 42926 if (any.is(Foo.class)) { 42927 foo = any.unpack(Foo.class); 42928 } 42929 42930 Example 3: Pack and unpack a message in Python. 42931 42932 foo = Foo(...) 42933 any = Any() 42934 any.Pack(foo) 42935 ... 42936 if any.Is(Foo.DESCRIPTOR): 42937 any.Unpack(foo) 42938 ... 42939 42940 Example 4: Pack and unpack a message in Go 42941 42942 foo := &pb.Foo{...} 42943 any, err := ptypes.MarshalAny(foo) 42944 ... 42945 foo := &pb.Foo{} 42946 if err := ptypes.UnmarshalAny(any, foo); err != nil { 42947 ... 42948 } 42949 42950 The pack methods provided by protobuf library will by default use 42951 42952 'type.googleapis.com/full.type.name' as the type URL and the unpack 42953 42954 methods only use the fully qualified type name after the last '/' 42955 42956 in the type URL, for example "foo.bar.com/x/y.z" will yield type 42957 42958 name "y.z". 42959 42960 42961 42962 JSON 42963 42964 ==== 42965 42966 The JSON representation of an `Any` value uses the regular 42967 42968 representation of the deserialized, embedded message, with an 42969 42970 additional field `@type` which contains the type URL. Example: 42971 42972 package google.profile; 42973 message Person { 42974 string first_name = 1; 42975 string last_name = 2; 42976 } 42977 42978 { 42979 "@type": "type.googleapis.com/google.profile.Person", 42980 "firstName": <string>, 42981 "lastName": <string> 42982 } 42983 42984 If the embedded message type is well-known and has a custom JSON 42985 42986 representation, that representation will be embedded adding a field 42987 42988 `value` which holds the custom JSON in addition to the `@type` 42989 42990 field. Example (for message [google.protobuf.Duration][]): 42991 42992 { 42993 "@type": "type.googleapis.com/google.protobuf.Duration", 42994 "value": "1.212s" 42995 } 42996 voting_power: 42997 type: string 42998 format: int64 42999 proposer_priority: 43000 type: string 43001 format: int64 43002 description: Validator is the type for the validator-set. 43003 cosmos.base.tendermint.v1beta1.VersionInfo: 43004 type: object 43005 properties: 43006 name: 43007 type: string 43008 app_name: 43009 type: string 43010 version: 43011 type: string 43012 git_commit: 43013 type: string 43014 build_tags: 43015 type: string 43016 go_version: 43017 type: string 43018 build_deps: 43019 type: array 43020 items: 43021 type: object 43022 properties: 43023 path: 43024 type: string 43025 title: module path 43026 version: 43027 type: string 43028 title: module version 43029 sum: 43030 type: string 43031 title: checksum 43032 title: Module is the type for VersionInfo 43033 cosmos_sdk_version: 43034 type: string 43035 title: 'Since: cosmos-sdk 0.43' 43036 description: VersionInfo is the type for the GetNodeInfoResponse message. 43037 tendermint.types.Block: 43038 type: object 43039 properties: 43040 header: 43041 type: object 43042 properties: 43043 version: 43044 title: basic block info 43045 type: object 43046 properties: 43047 block: 43048 type: string 43049 format: uint64 43050 app: 43051 type: string 43052 format: uint64 43053 description: >- 43054 Consensus captures the consensus rules for processing a block in 43055 the blockchain, 43056 43057 including all blockchain data structures and the rules of the 43058 application's 43059 43060 state transition machine. 43061 chain_id: 43062 type: string 43063 height: 43064 type: string 43065 format: int64 43066 time: 43067 type: string 43068 format: date-time 43069 last_block_id: 43070 type: object 43071 properties: 43072 hash: 43073 type: string 43074 format: byte 43075 part_set_header: 43076 type: object 43077 properties: 43078 total: 43079 type: integer 43080 format: int64 43081 hash: 43082 type: string 43083 format: byte 43084 title: PartsetHeader 43085 title: BlockID 43086 last_commit_hash: 43087 type: string 43088 format: byte 43089 title: hashes of block data 43090 data_hash: 43091 type: string 43092 format: byte 43093 validators_hash: 43094 type: string 43095 format: byte 43096 title: hashes from the app output from the prev block 43097 next_validators_hash: 43098 type: string 43099 format: byte 43100 consensus_hash: 43101 type: string 43102 format: byte 43103 app_hash: 43104 type: string 43105 format: byte 43106 last_results_hash: 43107 type: string 43108 format: byte 43109 evidence_hash: 43110 type: string 43111 format: byte 43112 title: consensus info 43113 proposer_address: 43114 type: string 43115 format: byte 43116 description: Header defines the structure of a Tendermint block header. 43117 data: 43118 type: object 43119 properties: 43120 txs: 43121 type: array 43122 items: 43123 type: string 43124 format: byte 43125 description: >- 43126 Txs that will be applied by state @ block.Height+1. 43127 43128 NOTE: not all txs here are valid. We're just agreeing on the 43129 order first. 43130 43131 This means that block.AppHash does not include these txs. 43132 title: Data contains the set of transactions included in the block 43133 evidence: 43134 type: object 43135 properties: 43136 evidence: 43137 type: array 43138 items: 43139 type: object 43140 properties: 43141 duplicate_vote_evidence: 43142 type: object 43143 properties: 43144 vote_a: 43145 type: object 43146 properties: 43147 type: 43148 type: string 43149 enum: 43150 - SIGNED_MSG_TYPE_UNKNOWN 43151 - SIGNED_MSG_TYPE_PREVOTE 43152 - SIGNED_MSG_TYPE_PRECOMMIT 43153 - SIGNED_MSG_TYPE_PROPOSAL 43154 default: SIGNED_MSG_TYPE_UNKNOWN 43155 description: >- 43156 SignedMsgType is a type of signed message in the 43157 consensus. 43158 43159 - SIGNED_MSG_TYPE_PREVOTE: Votes 43160 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 43161 height: 43162 type: string 43163 format: int64 43164 round: 43165 type: integer 43166 format: int32 43167 block_id: 43168 type: object 43169 properties: 43170 hash: 43171 type: string 43172 format: byte 43173 part_set_header: 43174 type: object 43175 properties: 43176 total: 43177 type: integer 43178 format: int64 43179 hash: 43180 type: string 43181 format: byte 43182 title: PartsetHeader 43183 title: BlockID 43184 timestamp: 43185 type: string 43186 format: date-time 43187 validator_address: 43188 type: string 43189 format: byte 43190 validator_index: 43191 type: integer 43192 format: int32 43193 signature: 43194 type: string 43195 format: byte 43196 description: >- 43197 Vote represents a prevote, precommit, or commit vote 43198 from validators for 43199 43200 consensus. 43201 vote_b: 43202 type: object 43203 properties: 43204 type: 43205 type: string 43206 enum: 43207 - SIGNED_MSG_TYPE_UNKNOWN 43208 - SIGNED_MSG_TYPE_PREVOTE 43209 - SIGNED_MSG_TYPE_PRECOMMIT 43210 - SIGNED_MSG_TYPE_PROPOSAL 43211 default: SIGNED_MSG_TYPE_UNKNOWN 43212 description: >- 43213 SignedMsgType is a type of signed message in the 43214 consensus. 43215 43216 - SIGNED_MSG_TYPE_PREVOTE: Votes 43217 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 43218 height: 43219 type: string 43220 format: int64 43221 round: 43222 type: integer 43223 format: int32 43224 block_id: 43225 type: object 43226 properties: 43227 hash: 43228 type: string 43229 format: byte 43230 part_set_header: 43231 type: object 43232 properties: 43233 total: 43234 type: integer 43235 format: int64 43236 hash: 43237 type: string 43238 format: byte 43239 title: PartsetHeader 43240 title: BlockID 43241 timestamp: 43242 type: string 43243 format: date-time 43244 validator_address: 43245 type: string 43246 format: byte 43247 validator_index: 43248 type: integer 43249 format: int32 43250 signature: 43251 type: string 43252 format: byte 43253 description: >- 43254 Vote represents a prevote, precommit, or commit vote 43255 from validators for 43256 43257 consensus. 43258 total_voting_power: 43259 type: string 43260 format: int64 43261 validator_power: 43262 type: string 43263 format: int64 43264 timestamp: 43265 type: string 43266 format: date-time 43267 description: >- 43268 DuplicateVoteEvidence contains evidence of a validator 43269 signed two conflicting votes. 43270 light_client_attack_evidence: 43271 type: object 43272 properties: 43273 conflicting_block: 43274 type: object 43275 properties: 43276 signed_header: 43277 type: object 43278 properties: 43279 header: 43280 type: object 43281 properties: 43282 version: 43283 title: basic block info 43284 type: object 43285 properties: 43286 block: 43287 type: string 43288 format: uint64 43289 app: 43290 type: string 43291 format: uint64 43292 description: >- 43293 Consensus captures the consensus rules for 43294 processing a block in the blockchain, 43295 43296 including all blockchain data structures and 43297 the rules of the application's 43298 43299 state transition machine. 43300 chain_id: 43301 type: string 43302 height: 43303 type: string 43304 format: int64 43305 time: 43306 type: string 43307 format: date-time 43308 last_block_id: 43309 type: object 43310 properties: 43311 hash: 43312 type: string 43313 format: byte 43314 part_set_header: 43315 type: object 43316 properties: 43317 total: 43318 type: integer 43319 format: int64 43320 hash: 43321 type: string 43322 format: byte 43323 title: PartsetHeader 43324 title: BlockID 43325 last_commit_hash: 43326 type: string 43327 format: byte 43328 title: hashes of block data 43329 data_hash: 43330 type: string 43331 format: byte 43332 validators_hash: 43333 type: string 43334 format: byte 43335 title: >- 43336 hashes from the app output from the prev 43337 block 43338 next_validators_hash: 43339 type: string 43340 format: byte 43341 consensus_hash: 43342 type: string 43343 format: byte 43344 app_hash: 43345 type: string 43346 format: byte 43347 last_results_hash: 43348 type: string 43349 format: byte 43350 evidence_hash: 43351 type: string 43352 format: byte 43353 title: consensus info 43354 proposer_address: 43355 type: string 43356 format: byte 43357 description: >- 43358 Header defines the structure of a Tendermint 43359 block header. 43360 commit: 43361 type: object 43362 properties: 43363 height: 43364 type: string 43365 format: int64 43366 round: 43367 type: integer 43368 format: int32 43369 block_id: 43370 type: object 43371 properties: 43372 hash: 43373 type: string 43374 format: byte 43375 part_set_header: 43376 type: object 43377 properties: 43378 total: 43379 type: integer 43380 format: int64 43381 hash: 43382 type: string 43383 format: byte 43384 title: PartsetHeader 43385 title: BlockID 43386 signatures: 43387 type: array 43388 items: 43389 type: object 43390 properties: 43391 block_id_flag: 43392 type: string 43393 enum: 43394 - BLOCK_ID_FLAG_UNKNOWN 43395 - BLOCK_ID_FLAG_ABSENT 43396 - BLOCK_ID_FLAG_COMMIT 43397 - BLOCK_ID_FLAG_NIL 43398 default: BLOCK_ID_FLAG_UNKNOWN 43399 title: >- 43400 BlockIdFlag indicates which BlcokID the 43401 signature is for 43402 validator_address: 43403 type: string 43404 format: byte 43405 timestamp: 43406 type: string 43407 format: date-time 43408 signature: 43409 type: string 43410 format: byte 43411 description: >- 43412 CommitSig is a part of the Vote included 43413 in a Commit. 43414 description: >- 43415 Commit contains the evidence that a block was 43416 committed by a set of validators. 43417 validator_set: 43418 type: object 43419 properties: 43420 validators: 43421 type: array 43422 items: 43423 type: object 43424 properties: 43425 address: 43426 type: string 43427 format: byte 43428 pub_key: 43429 type: object 43430 properties: 43431 ed25519: 43432 type: string 43433 format: byte 43434 secp256k1: 43435 type: string 43436 format: byte 43437 title: >- 43438 PublicKey defines the keys available for 43439 use with Tendermint Validators 43440 voting_power: 43441 type: string 43442 format: int64 43443 proposer_priority: 43444 type: string 43445 format: int64 43446 proposer: 43447 type: object 43448 properties: 43449 address: 43450 type: string 43451 format: byte 43452 pub_key: 43453 type: object 43454 properties: 43455 ed25519: 43456 type: string 43457 format: byte 43458 secp256k1: 43459 type: string 43460 format: byte 43461 title: >- 43462 PublicKey defines the keys available for use 43463 with Tendermint Validators 43464 voting_power: 43465 type: string 43466 format: int64 43467 proposer_priority: 43468 type: string 43469 format: int64 43470 total_voting_power: 43471 type: string 43472 format: int64 43473 common_height: 43474 type: string 43475 format: int64 43476 byzantine_validators: 43477 type: array 43478 items: 43479 type: object 43480 properties: 43481 address: 43482 type: string 43483 format: byte 43484 pub_key: 43485 type: object 43486 properties: 43487 ed25519: 43488 type: string 43489 format: byte 43490 secp256k1: 43491 type: string 43492 format: byte 43493 title: >- 43494 PublicKey defines the keys available for use with 43495 Tendermint Validators 43496 voting_power: 43497 type: string 43498 format: int64 43499 proposer_priority: 43500 type: string 43501 format: int64 43502 total_voting_power: 43503 type: string 43504 format: int64 43505 timestamp: 43506 type: string 43507 format: date-time 43508 description: >- 43509 LightClientAttackEvidence contains evidence of a set of 43510 validators attempting to mislead a light client. 43511 last_commit: 43512 type: object 43513 properties: 43514 height: 43515 type: string 43516 format: int64 43517 round: 43518 type: integer 43519 format: int32 43520 block_id: 43521 type: object 43522 properties: 43523 hash: 43524 type: string 43525 format: byte 43526 part_set_header: 43527 type: object 43528 properties: 43529 total: 43530 type: integer 43531 format: int64 43532 hash: 43533 type: string 43534 format: byte 43535 title: PartsetHeader 43536 title: BlockID 43537 signatures: 43538 type: array 43539 items: 43540 type: object 43541 properties: 43542 block_id_flag: 43543 type: string 43544 enum: 43545 - BLOCK_ID_FLAG_UNKNOWN 43546 - BLOCK_ID_FLAG_ABSENT 43547 - BLOCK_ID_FLAG_COMMIT 43548 - BLOCK_ID_FLAG_NIL 43549 default: BLOCK_ID_FLAG_UNKNOWN 43550 title: BlockIdFlag indicates which BlcokID the signature is for 43551 validator_address: 43552 type: string 43553 format: byte 43554 timestamp: 43555 type: string 43556 format: date-time 43557 signature: 43558 type: string 43559 format: byte 43560 description: CommitSig is a part of the Vote included in a Commit. 43561 description: >- 43562 Commit contains the evidence that a block was committed by a set of 43563 validators. 43564 cosmos.base.v1beta1.DecCoin: 43565 type: object 43566 properties: 43567 denom: 43568 type: string 43569 amount: 43570 type: string 43571 description: |- 43572 DecCoin defines a token with a denomination and a decimal amount. 43573 43574 NOTE: The amount field is an Dec which implements the custom method 43575 signatures required by gogoproto. 43576 cosmos.distribution.v1beta1.DelegationDelegatorReward: 43577 type: object 43578 properties: 43579 validator_address: 43580 type: string 43581 reward: 43582 type: array 43583 items: 43584 type: object 43585 properties: 43586 denom: 43587 type: string 43588 amount: 43589 type: string 43590 description: |- 43591 DecCoin defines a token with a denomination and a decimal amount. 43592 43593 NOTE: The amount field is an Dec which implements the custom method 43594 signatures required by gogoproto. 43595 description: |- 43596 DelegationDelegatorReward represents the properties 43597 of a delegator's delegation reward. 43598 cosmos.distribution.v1beta1.Params: 43599 type: object 43600 properties: 43601 community_tax: 43602 type: string 43603 base_proposer_reward: 43604 type: string 43605 bonus_proposer_reward: 43606 type: string 43607 withdraw_addr_enabled: 43608 type: boolean 43609 format: boolean 43610 description: Params defines the set of params for the distribution module. 43611 cosmos.distribution.v1beta1.QueryCommunityPoolResponse: 43612 type: object 43613 properties: 43614 pool: 43615 type: array 43616 items: 43617 type: object 43618 properties: 43619 denom: 43620 type: string 43621 amount: 43622 type: string 43623 description: |- 43624 DecCoin defines a token with a denomination and a decimal amount. 43625 43626 NOTE: The amount field is an Dec which implements the custom method 43627 signatures required by gogoproto. 43628 description: pool defines community pool's coins. 43629 description: >- 43630 QueryCommunityPoolResponse is the response type for the 43631 Query/CommunityPool 43632 43633 RPC method. 43634 cosmos.distribution.v1beta1.QueryDelegationRewardsResponse: 43635 type: object 43636 properties: 43637 rewards: 43638 type: array 43639 items: 43640 type: object 43641 properties: 43642 denom: 43643 type: string 43644 amount: 43645 type: string 43646 description: |- 43647 DecCoin defines a token with a denomination and a decimal amount. 43648 43649 NOTE: The amount field is an Dec which implements the custom method 43650 signatures required by gogoproto. 43651 description: rewards defines the rewards accrued by a delegation. 43652 description: |- 43653 QueryDelegationRewardsResponse is the response type for the 43654 Query/DelegationRewards RPC method. 43655 cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse: 43656 type: object 43657 properties: 43658 rewards: 43659 type: array 43660 items: 43661 type: object 43662 properties: 43663 validator_address: 43664 type: string 43665 reward: 43666 type: array 43667 items: 43668 type: object 43669 properties: 43670 denom: 43671 type: string 43672 amount: 43673 type: string 43674 description: >- 43675 DecCoin defines a token with a denomination and a decimal 43676 amount. 43677 43678 43679 NOTE: The amount field is an Dec which implements the custom 43680 method 43681 43682 signatures required by gogoproto. 43683 description: |- 43684 DelegationDelegatorReward represents the properties 43685 of a delegator's delegation reward. 43686 description: rewards defines all the rewards accrued by a delegator. 43687 total: 43688 type: array 43689 items: 43690 type: object 43691 properties: 43692 denom: 43693 type: string 43694 amount: 43695 type: string 43696 description: |- 43697 DecCoin defines a token with a denomination and a decimal amount. 43698 43699 NOTE: The amount field is an Dec which implements the custom method 43700 signatures required by gogoproto. 43701 description: total defines the sum of all the rewards. 43702 description: |- 43703 QueryDelegationTotalRewardsResponse is the response type for the 43704 Query/DelegationTotalRewards RPC method. 43705 cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse: 43706 type: object 43707 properties: 43708 validators: 43709 type: array 43710 items: 43711 type: string 43712 description: validators defines the validators a delegator is delegating for. 43713 description: |- 43714 QueryDelegatorValidatorsResponse is the response type for the 43715 Query/DelegatorValidators RPC method. 43716 cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse: 43717 type: object 43718 properties: 43719 withdraw_address: 43720 type: string 43721 description: withdraw_address defines the delegator address to query for. 43722 description: |- 43723 QueryDelegatorWithdrawAddressResponse is the response type for the 43724 Query/DelegatorWithdrawAddress RPC method. 43725 cosmos.distribution.v1beta1.QueryParamsResponse: 43726 type: object 43727 properties: 43728 params: 43729 description: params defines the parameters of the module. 43730 type: object 43731 properties: 43732 community_tax: 43733 type: string 43734 base_proposer_reward: 43735 type: string 43736 bonus_proposer_reward: 43737 type: string 43738 withdraw_addr_enabled: 43739 type: boolean 43740 format: boolean 43741 description: QueryParamsResponse is the response type for the Query/Params RPC method. 43742 cosmos.distribution.v1beta1.QueryValidatorCommissionResponse: 43743 type: object 43744 properties: 43745 commission: 43746 description: commission defines the commision the validator received. 43747 type: object 43748 properties: 43749 commission: 43750 type: array 43751 items: 43752 type: object 43753 properties: 43754 denom: 43755 type: string 43756 amount: 43757 type: string 43758 description: >- 43759 DecCoin defines a token with a denomination and a decimal 43760 amount. 43761 43762 43763 NOTE: The amount field is an Dec which implements the custom 43764 method 43765 43766 signatures required by gogoproto. 43767 title: |- 43768 QueryValidatorCommissionResponse is the response type for the 43769 Query/ValidatorCommission RPC method 43770 cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse: 43771 type: object 43772 properties: 43773 rewards: 43774 type: object 43775 properties: 43776 rewards: 43777 type: array 43778 items: 43779 type: object 43780 properties: 43781 denom: 43782 type: string 43783 amount: 43784 type: string 43785 description: >- 43786 DecCoin defines a token with a denomination and a decimal 43787 amount. 43788 43789 43790 NOTE: The amount field is an Dec which implements the custom 43791 method 43792 43793 signatures required by gogoproto. 43794 description: >- 43795 ValidatorOutstandingRewards represents outstanding (un-withdrawn) 43796 rewards 43797 43798 for a validator inexpensive to track, allows simple sanity checks. 43799 description: |- 43800 QueryValidatorOutstandingRewardsResponse is the response type for the 43801 Query/ValidatorOutstandingRewards RPC method. 43802 cosmos.distribution.v1beta1.QueryValidatorSlashesResponse: 43803 type: object 43804 properties: 43805 slashes: 43806 type: array 43807 items: 43808 type: object 43809 properties: 43810 validator_period: 43811 type: string 43812 format: uint64 43813 fraction: 43814 type: string 43815 description: |- 43816 ValidatorSlashEvent represents a validator slash event. 43817 Height is implicit within the store key. 43818 This is needed to calculate appropriate amount of staking tokens 43819 for delegations which are withdrawn after a slash has occurred. 43820 description: slashes defines the slashes the validator received. 43821 pagination: 43822 description: pagination defines the pagination in the response. 43823 type: object 43824 properties: 43825 next_key: 43826 type: string 43827 format: byte 43828 title: |- 43829 next_key is the key to be passed to PageRequest.key to 43830 query the next page most efficiently 43831 total: 43832 type: string 43833 format: uint64 43834 title: >- 43835 total is total number of results available if 43836 PageRequest.count_total 43837 43838 was set, its value is undefined otherwise 43839 description: |- 43840 QueryValidatorSlashesResponse is the response type for the 43841 Query/ValidatorSlashes RPC method. 43842 cosmos.distribution.v1beta1.ValidatorAccumulatedCommission: 43843 type: object 43844 properties: 43845 commission: 43846 type: array 43847 items: 43848 type: object 43849 properties: 43850 denom: 43851 type: string 43852 amount: 43853 type: string 43854 description: |- 43855 DecCoin defines a token with a denomination and a decimal amount. 43856 43857 NOTE: The amount field is an Dec which implements the custom method 43858 signatures required by gogoproto. 43859 description: |- 43860 ValidatorAccumulatedCommission represents accumulated commission 43861 for a validator kept as a running counter, can be withdrawn at any time. 43862 cosmos.distribution.v1beta1.ValidatorOutstandingRewards: 43863 type: object 43864 properties: 43865 rewards: 43866 type: array 43867 items: 43868 type: object 43869 properties: 43870 denom: 43871 type: string 43872 amount: 43873 type: string 43874 description: |- 43875 DecCoin defines a token with a denomination and a decimal amount. 43876 43877 NOTE: The amount field is an Dec which implements the custom method 43878 signatures required by gogoproto. 43879 description: |- 43880 ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards 43881 for a validator inexpensive to track, allows simple sanity checks. 43882 cosmos.distribution.v1beta1.ValidatorSlashEvent: 43883 type: object 43884 properties: 43885 validator_period: 43886 type: string 43887 format: uint64 43888 fraction: 43889 type: string 43890 description: |- 43891 ValidatorSlashEvent represents a validator slash event. 43892 Height is implicit within the store key. 43893 This is needed to calculate appropriate amount of staking tokens 43894 for delegations which are withdrawn after a slash has occurred. 43895 cosmos.evidence.v1beta1.QueryAllEvidenceResponse: 43896 type: object 43897 properties: 43898 evidence: 43899 type: array 43900 items: 43901 type: object 43902 properties: 43903 type_url: 43904 type: string 43905 description: >- 43906 A URL/resource name that uniquely identifies the type of the 43907 serialized 43908 43909 protocol buffer message. This string must contain at least 43910 43911 one "/" character. The last segment of the URL's path must 43912 represent 43913 43914 the fully qualified name of the type (as in 43915 43916 `path/google.protobuf.Duration`). The name should be in a 43917 canonical form 43918 43919 (e.g., leading "." is not accepted). 43920 43921 43922 In practice, teams usually precompile into the binary all types 43923 that they 43924 43925 expect it to use in the context of Any. However, for URLs which 43926 use the 43927 43928 scheme `http`, `https`, or no scheme, one can optionally set up 43929 a type 43930 43931 server that maps type URLs to message definitions as follows: 43932 43933 43934 * If no scheme is provided, `https` is assumed. 43935 43936 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 43937 value in binary format, or produce an error. 43938 * Applications are allowed to cache lookup results based on the 43939 URL, or have them precompiled into a binary to avoid any 43940 lookup. Therefore, binary compatibility needs to be preserved 43941 on changes to types. (Use versioned type names to manage 43942 breaking changes.) 43943 43944 Note: this functionality is not currently available in the 43945 official 43946 43947 protobuf release, and it is not used for type URLs beginning 43948 with 43949 43950 type.googleapis.com. 43951 43952 43953 Schemes other than `http`, `https` (or the empty scheme) might 43954 be 43955 43956 used with implementation specific semantics. 43957 value: 43958 type: string 43959 format: byte 43960 description: >- 43961 Must be a valid serialized protocol buffer of the above 43962 specified type. 43963 description: >- 43964 `Any` contains an arbitrary serialized protocol buffer message along 43965 with a 43966 43967 URL that describes the type of the serialized message. 43968 43969 43970 Protobuf library provides support to pack/unpack Any values in the 43971 form 43972 43973 of utility functions or additional generated methods of the Any 43974 type. 43975 43976 43977 Example 1: Pack and unpack a message in C++. 43978 43979 Foo foo = ...; 43980 Any any; 43981 any.PackFrom(foo); 43982 ... 43983 if (any.UnpackTo(&foo)) { 43984 ... 43985 } 43986 43987 Example 2: Pack and unpack a message in Java. 43988 43989 Foo foo = ...; 43990 Any any = Any.pack(foo); 43991 ... 43992 if (any.is(Foo.class)) { 43993 foo = any.unpack(Foo.class); 43994 } 43995 43996 Example 3: Pack and unpack a message in Python. 43997 43998 foo = Foo(...) 43999 any = Any() 44000 any.Pack(foo) 44001 ... 44002 if any.Is(Foo.DESCRIPTOR): 44003 any.Unpack(foo) 44004 ... 44005 44006 Example 4: Pack and unpack a message in Go 44007 44008 foo := &pb.Foo{...} 44009 any, err := ptypes.MarshalAny(foo) 44010 ... 44011 foo := &pb.Foo{} 44012 if err := ptypes.UnmarshalAny(any, foo); err != nil { 44013 ... 44014 } 44015 44016 The pack methods provided by protobuf library will by default use 44017 44018 'type.googleapis.com/full.type.name' as the type URL and the unpack 44019 44020 methods only use the fully qualified type name after the last '/' 44021 44022 in the type URL, for example "foo.bar.com/x/y.z" will yield type 44023 44024 name "y.z". 44025 44026 44027 44028 JSON 44029 44030 ==== 44031 44032 The JSON representation of an `Any` value uses the regular 44033 44034 representation of the deserialized, embedded message, with an 44035 44036 additional field `@type` which contains the type URL. Example: 44037 44038 package google.profile; 44039 message Person { 44040 string first_name = 1; 44041 string last_name = 2; 44042 } 44043 44044 { 44045 "@type": "type.googleapis.com/google.profile.Person", 44046 "firstName": <string>, 44047 "lastName": <string> 44048 } 44049 44050 If the embedded message type is well-known and has a custom JSON 44051 44052 representation, that representation will be embedded adding a field 44053 44054 `value` which holds the custom JSON in addition to the `@type` 44055 44056 field. Example (for message [google.protobuf.Duration][]): 44057 44058 { 44059 "@type": "type.googleapis.com/google.protobuf.Duration", 44060 "value": "1.212s" 44061 } 44062 description: evidence returns all evidences. 44063 pagination: 44064 description: pagination defines the pagination in the response. 44065 type: object 44066 properties: 44067 next_key: 44068 type: string 44069 format: byte 44070 title: |- 44071 next_key is the key to be passed to PageRequest.key to 44072 query the next page most efficiently 44073 total: 44074 type: string 44075 format: uint64 44076 title: >- 44077 total is total number of results available if 44078 PageRequest.count_total 44079 44080 was set, its value is undefined otherwise 44081 description: >- 44082 QueryAllEvidenceResponse is the response type for the Query/AllEvidence 44083 RPC 44084 44085 method. 44086 cosmos.evidence.v1beta1.QueryEvidenceResponse: 44087 type: object 44088 properties: 44089 evidence: 44090 type: object 44091 properties: 44092 type_url: 44093 type: string 44094 description: >- 44095 A URL/resource name that uniquely identifies the type of the 44096 serialized 44097 44098 protocol buffer message. This string must contain at least 44099 44100 one "/" character. The last segment of the URL's path must 44101 represent 44102 44103 the fully qualified name of the type (as in 44104 44105 `path/google.protobuf.Duration`). The name should be in a 44106 canonical form 44107 44108 (e.g., leading "." is not accepted). 44109 44110 44111 In practice, teams usually precompile into the binary all types 44112 that they 44113 44114 expect it to use in the context of Any. However, for URLs which 44115 use the 44116 44117 scheme `http`, `https`, or no scheme, one can optionally set up a 44118 type 44119 44120 server that maps type URLs to message definitions as follows: 44121 44122 44123 * If no scheme is provided, `https` is assumed. 44124 44125 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 44126 value in binary format, or produce an error. 44127 * Applications are allowed to cache lookup results based on the 44128 URL, or have them precompiled into a binary to avoid any 44129 lookup. Therefore, binary compatibility needs to be preserved 44130 on changes to types. (Use versioned type names to manage 44131 breaking changes.) 44132 44133 Note: this functionality is not currently available in the 44134 official 44135 44136 protobuf release, and it is not used for type URLs beginning with 44137 44138 type.googleapis.com. 44139 44140 44141 Schemes other than `http`, `https` (or the empty scheme) might be 44142 44143 used with implementation specific semantics. 44144 value: 44145 type: string 44146 format: byte 44147 description: >- 44148 Must be a valid serialized protocol buffer of the above specified 44149 type. 44150 description: >- 44151 `Any` contains an arbitrary serialized protocol buffer message along 44152 with a 44153 44154 URL that describes the type of the serialized message. 44155 44156 44157 Protobuf library provides support to pack/unpack Any values in the 44158 form 44159 44160 of utility functions or additional generated methods of the Any type. 44161 44162 44163 Example 1: Pack and unpack a message in C++. 44164 44165 Foo foo = ...; 44166 Any any; 44167 any.PackFrom(foo); 44168 ... 44169 if (any.UnpackTo(&foo)) { 44170 ... 44171 } 44172 44173 Example 2: Pack and unpack a message in Java. 44174 44175 Foo foo = ...; 44176 Any any = Any.pack(foo); 44177 ... 44178 if (any.is(Foo.class)) { 44179 foo = any.unpack(Foo.class); 44180 } 44181 44182 Example 3: Pack and unpack a message in Python. 44183 44184 foo = Foo(...) 44185 any = Any() 44186 any.Pack(foo) 44187 ... 44188 if any.Is(Foo.DESCRIPTOR): 44189 any.Unpack(foo) 44190 ... 44191 44192 Example 4: Pack and unpack a message in Go 44193 44194 foo := &pb.Foo{...} 44195 any, err := ptypes.MarshalAny(foo) 44196 ... 44197 foo := &pb.Foo{} 44198 if err := ptypes.UnmarshalAny(any, foo); err != nil { 44199 ... 44200 } 44201 44202 The pack methods provided by protobuf library will by default use 44203 44204 'type.googleapis.com/full.type.name' as the type URL and the unpack 44205 44206 methods only use the fully qualified type name after the last '/' 44207 44208 in the type URL, for example "foo.bar.com/x/y.z" will yield type 44209 44210 name "y.z". 44211 44212 44213 44214 JSON 44215 44216 ==== 44217 44218 The JSON representation of an `Any` value uses the regular 44219 44220 representation of the deserialized, embedded message, with an 44221 44222 additional field `@type` which contains the type URL. Example: 44223 44224 package google.profile; 44225 message Person { 44226 string first_name = 1; 44227 string last_name = 2; 44228 } 44229 44230 { 44231 "@type": "type.googleapis.com/google.profile.Person", 44232 "firstName": <string>, 44233 "lastName": <string> 44234 } 44235 44236 If the embedded message type is well-known and has a custom JSON 44237 44238 representation, that representation will be embedded adding a field 44239 44240 `value` which holds the custom JSON in addition to the `@type` 44241 44242 field. Example (for message [google.protobuf.Duration][]): 44243 44244 { 44245 "@type": "type.googleapis.com/google.protobuf.Duration", 44246 "value": "1.212s" 44247 } 44248 description: >- 44249 QueryEvidenceResponse is the response type for the Query/Evidence RPC 44250 method. 44251 cosmos.gov.v1beta1.Deposit: 44252 type: object 44253 properties: 44254 proposal_id: 44255 type: string 44256 format: uint64 44257 depositor: 44258 type: string 44259 amount: 44260 type: array 44261 items: 44262 type: object 44263 properties: 44264 denom: 44265 type: string 44266 amount: 44267 type: string 44268 description: |- 44269 Coin defines a token with a denomination and an amount. 44270 44271 NOTE: The amount field is an Int which implements the custom method 44272 signatures required by gogoproto. 44273 description: |- 44274 Deposit defines an amount deposited by an account address to an active 44275 proposal. 44276 cosmos.gov.v1beta1.DepositParams: 44277 type: object 44278 properties: 44279 min_deposit: 44280 type: array 44281 items: 44282 type: object 44283 properties: 44284 denom: 44285 type: string 44286 amount: 44287 type: string 44288 description: |- 44289 Coin defines a token with a denomination and an amount. 44290 44291 NOTE: The amount field is an Int which implements the custom method 44292 signatures required by gogoproto. 44293 description: Minimum deposit for a proposal to enter voting period. 44294 max_deposit_period: 44295 type: string 44296 description: >- 44297 Maximum period for Atom holders to deposit on a proposal. Initial 44298 value: 2 44299 months. 44300 description: DepositParams defines the params for deposits on governance proposals. 44301 cosmos.gov.v1beta1.Proposal: 44302 type: object 44303 properties: 44304 proposal_id: 44305 type: string 44306 format: uint64 44307 content: 44308 type: object 44309 properties: 44310 type_url: 44311 type: string 44312 description: >- 44313 A URL/resource name that uniquely identifies the type of the 44314 serialized 44315 44316 protocol buffer message. This string must contain at least 44317 44318 one "/" character. The last segment of the URL's path must 44319 represent 44320 44321 the fully qualified name of the type (as in 44322 44323 `path/google.protobuf.Duration`). The name should be in a 44324 canonical form 44325 44326 (e.g., leading "." is not accepted). 44327 44328 44329 In practice, teams usually precompile into the binary all types 44330 that they 44331 44332 expect it to use in the context of Any. However, for URLs which 44333 use the 44334 44335 scheme `http`, `https`, or no scheme, one can optionally set up a 44336 type 44337 44338 server that maps type URLs to message definitions as follows: 44339 44340 44341 * If no scheme is provided, `https` is assumed. 44342 44343 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 44344 value in binary format, or produce an error. 44345 * Applications are allowed to cache lookup results based on the 44346 URL, or have them precompiled into a binary to avoid any 44347 lookup. Therefore, binary compatibility needs to be preserved 44348 on changes to types. (Use versioned type names to manage 44349 breaking changes.) 44350 44351 Note: this functionality is not currently available in the 44352 official 44353 44354 protobuf release, and it is not used for type URLs beginning with 44355 44356 type.googleapis.com. 44357 44358 44359 Schemes other than `http`, `https` (or the empty scheme) might be 44360 44361 used with implementation specific semantics. 44362 value: 44363 type: string 44364 format: byte 44365 description: >- 44366 Must be a valid serialized protocol buffer of the above specified 44367 type. 44368 description: >- 44369 `Any` contains an arbitrary serialized protocol buffer message along 44370 with a 44371 44372 URL that describes the type of the serialized message. 44373 44374 44375 Protobuf library provides support to pack/unpack Any values in the 44376 form 44377 44378 of utility functions or additional generated methods of the Any type. 44379 44380 44381 Example 1: Pack and unpack a message in C++. 44382 44383 Foo foo = ...; 44384 Any any; 44385 any.PackFrom(foo); 44386 ... 44387 if (any.UnpackTo(&foo)) { 44388 ... 44389 } 44390 44391 Example 2: Pack and unpack a message in Java. 44392 44393 Foo foo = ...; 44394 Any any = Any.pack(foo); 44395 ... 44396 if (any.is(Foo.class)) { 44397 foo = any.unpack(Foo.class); 44398 } 44399 44400 Example 3: Pack and unpack a message in Python. 44401 44402 foo = Foo(...) 44403 any = Any() 44404 any.Pack(foo) 44405 ... 44406 if any.Is(Foo.DESCRIPTOR): 44407 any.Unpack(foo) 44408 ... 44409 44410 Example 4: Pack and unpack a message in Go 44411 44412 foo := &pb.Foo{...} 44413 any, err := ptypes.MarshalAny(foo) 44414 ... 44415 foo := &pb.Foo{} 44416 if err := ptypes.UnmarshalAny(any, foo); err != nil { 44417 ... 44418 } 44419 44420 The pack methods provided by protobuf library will by default use 44421 44422 'type.googleapis.com/full.type.name' as the type URL and the unpack 44423 44424 methods only use the fully qualified type name after the last '/' 44425 44426 in the type URL, for example "foo.bar.com/x/y.z" will yield type 44427 44428 name "y.z". 44429 44430 44431 44432 JSON 44433 44434 ==== 44435 44436 The JSON representation of an `Any` value uses the regular 44437 44438 representation of the deserialized, embedded message, with an 44439 44440 additional field `@type` which contains the type URL. Example: 44441 44442 package google.profile; 44443 message Person { 44444 string first_name = 1; 44445 string last_name = 2; 44446 } 44447 44448 { 44449 "@type": "type.googleapis.com/google.profile.Person", 44450 "firstName": <string>, 44451 "lastName": <string> 44452 } 44453 44454 If the embedded message type is well-known and has a custom JSON 44455 44456 representation, that representation will be embedded adding a field 44457 44458 `value` which holds the custom JSON in addition to the `@type` 44459 44460 field. Example (for message [google.protobuf.Duration][]): 44461 44462 { 44463 "@type": "type.googleapis.com/google.protobuf.Duration", 44464 "value": "1.212s" 44465 } 44466 status: 44467 type: string 44468 enum: 44469 - PROPOSAL_STATUS_UNSPECIFIED 44470 - PROPOSAL_STATUS_DEPOSIT_PERIOD 44471 - PROPOSAL_STATUS_VOTING_PERIOD 44472 - PROPOSAL_STATUS_PASSED 44473 - PROPOSAL_STATUS_REJECTED 44474 - PROPOSAL_STATUS_FAILED 44475 default: PROPOSAL_STATUS_UNSPECIFIED 44476 description: |- 44477 ProposalStatus enumerates the valid statuses of a proposal. 44478 44479 - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. 44480 - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit 44481 period. 44482 - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting 44483 period. 44484 - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has 44485 passed. 44486 - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has 44487 been rejected. 44488 - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has 44489 failed. 44490 final_tally_result: 44491 type: object 44492 properties: 44493 'yes': 44494 type: string 44495 abstain: 44496 type: string 44497 'no': 44498 type: string 44499 no_with_veto: 44500 type: string 44501 description: TallyResult defines a standard tally for a governance proposal. 44502 submit_time: 44503 type: string 44504 format: date-time 44505 deposit_end_time: 44506 type: string 44507 format: date-time 44508 total_deposit: 44509 type: array 44510 items: 44511 type: object 44512 properties: 44513 denom: 44514 type: string 44515 amount: 44516 type: string 44517 description: |- 44518 Coin defines a token with a denomination and an amount. 44519 44520 NOTE: The amount field is an Int which implements the custom method 44521 signatures required by gogoproto. 44522 voting_start_time: 44523 type: string 44524 format: date-time 44525 voting_end_time: 44526 type: string 44527 format: date-time 44528 description: Proposal defines the core field members of a governance proposal. 44529 cosmos.gov.v1beta1.ProposalStatus: 44530 type: string 44531 enum: 44532 - PROPOSAL_STATUS_UNSPECIFIED 44533 - PROPOSAL_STATUS_DEPOSIT_PERIOD 44534 - PROPOSAL_STATUS_VOTING_PERIOD 44535 - PROPOSAL_STATUS_PASSED 44536 - PROPOSAL_STATUS_REJECTED 44537 - PROPOSAL_STATUS_FAILED 44538 default: PROPOSAL_STATUS_UNSPECIFIED 44539 description: |- 44540 ProposalStatus enumerates the valid statuses of a proposal. 44541 44542 - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. 44543 - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit 44544 period. 44545 - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting 44546 period. 44547 - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has 44548 passed. 44549 - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has 44550 been rejected. 44551 - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has 44552 failed. 44553 cosmos.gov.v1beta1.QueryDepositResponse: 44554 type: object 44555 properties: 44556 deposit: 44557 type: object 44558 properties: 44559 proposal_id: 44560 type: string 44561 format: uint64 44562 depositor: 44563 type: string 44564 amount: 44565 type: array 44566 items: 44567 type: object 44568 properties: 44569 denom: 44570 type: string 44571 amount: 44572 type: string 44573 description: >- 44574 Coin defines a token with a denomination and an amount. 44575 44576 44577 NOTE: The amount field is an Int which implements the custom 44578 method 44579 44580 signatures required by gogoproto. 44581 description: |- 44582 Deposit defines an amount deposited by an account address to an active 44583 proposal. 44584 description: >- 44585 QueryDepositResponse is the response type for the Query/Deposit RPC 44586 method. 44587 cosmos.gov.v1beta1.QueryDepositsResponse: 44588 type: object 44589 properties: 44590 deposits: 44591 type: array 44592 items: 44593 type: object 44594 properties: 44595 proposal_id: 44596 type: string 44597 format: uint64 44598 depositor: 44599 type: string 44600 amount: 44601 type: array 44602 items: 44603 type: object 44604 properties: 44605 denom: 44606 type: string 44607 amount: 44608 type: string 44609 description: >- 44610 Coin defines a token with a denomination and an amount. 44611 44612 44613 NOTE: The amount field is an Int which implements the custom 44614 method 44615 44616 signatures required by gogoproto. 44617 description: >- 44618 Deposit defines an amount deposited by an account address to an 44619 active 44620 44621 proposal. 44622 pagination: 44623 description: pagination defines the pagination in the response. 44624 type: object 44625 properties: 44626 next_key: 44627 type: string 44628 format: byte 44629 title: |- 44630 next_key is the key to be passed to PageRequest.key to 44631 query the next page most efficiently 44632 total: 44633 type: string 44634 format: uint64 44635 title: >- 44636 total is total number of results available if 44637 PageRequest.count_total 44638 44639 was set, its value is undefined otherwise 44640 description: >- 44641 QueryDepositsResponse is the response type for the Query/Deposits RPC 44642 method. 44643 cosmos.gov.v1beta1.QueryParamsResponse: 44644 type: object 44645 properties: 44646 voting_params: 44647 description: voting_params defines the parameters related to voting. 44648 type: object 44649 properties: 44650 voting_period: 44651 type: string 44652 description: Length of the voting period. 44653 deposit_params: 44654 description: deposit_params defines the parameters related to deposit. 44655 type: object 44656 properties: 44657 min_deposit: 44658 type: array 44659 items: 44660 type: object 44661 properties: 44662 denom: 44663 type: string 44664 amount: 44665 type: string 44666 description: >- 44667 Coin defines a token with a denomination and an amount. 44668 44669 44670 NOTE: The amount field is an Int which implements the custom 44671 method 44672 44673 signatures required by gogoproto. 44674 description: Minimum deposit for a proposal to enter voting period. 44675 max_deposit_period: 44676 type: string 44677 description: >- 44678 Maximum period for Atom holders to deposit on a proposal. Initial 44679 value: 2 44680 months. 44681 tally_params: 44682 description: tally_params defines the parameters related to tally. 44683 type: object 44684 properties: 44685 quorum: 44686 type: string 44687 format: byte 44688 description: >- 44689 Minimum percentage of total stake needed to vote for a result to 44690 be 44691 considered valid. 44692 threshold: 44693 type: string 44694 format: byte 44695 description: >- 44696 Minimum proportion of Yes votes for proposal to pass. Default 44697 value: 0.5. 44698 veto_threshold: 44699 type: string 44700 format: byte 44701 description: >- 44702 Minimum value of Veto votes to Total votes ratio for proposal to 44703 be 44704 vetoed. Default value: 1/3. 44705 description: QueryParamsResponse is the response type for the Query/Params RPC method. 44706 cosmos.gov.v1beta1.QueryProposalResponse: 44707 type: object 44708 properties: 44709 proposal: 44710 type: object 44711 properties: 44712 proposal_id: 44713 type: string 44714 format: uint64 44715 content: 44716 type: object 44717 properties: 44718 type_url: 44719 type: string 44720 description: >- 44721 A URL/resource name that uniquely identifies the type of the 44722 serialized 44723 44724 protocol buffer message. This string must contain at least 44725 44726 one "/" character. The last segment of the URL's path must 44727 represent 44728 44729 the fully qualified name of the type (as in 44730 44731 `path/google.protobuf.Duration`). The name should be in a 44732 canonical form 44733 44734 (e.g., leading "." is not accepted). 44735 44736 44737 In practice, teams usually precompile into the binary all 44738 types that they 44739 44740 expect it to use in the context of Any. However, for URLs 44741 which use the 44742 44743 scheme `http`, `https`, or no scheme, one can optionally set 44744 up a type 44745 44746 server that maps type URLs to message definitions as follows: 44747 44748 44749 * If no scheme is provided, `https` is assumed. 44750 44751 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 44752 value in binary format, or produce an error. 44753 * Applications are allowed to cache lookup results based on 44754 the 44755 URL, or have them precompiled into a binary to avoid any 44756 lookup. Therefore, binary compatibility needs to be preserved 44757 on changes to types. (Use versioned type names to manage 44758 breaking changes.) 44759 44760 Note: this functionality is not currently available in the 44761 official 44762 44763 protobuf release, and it is not used for type URLs beginning 44764 with 44765 44766 type.googleapis.com. 44767 44768 44769 Schemes other than `http`, `https` (or the empty scheme) might 44770 be 44771 44772 used with implementation specific semantics. 44773 value: 44774 type: string 44775 format: byte 44776 description: >- 44777 Must be a valid serialized protocol buffer of the above 44778 specified type. 44779 description: >- 44780 `Any` contains an arbitrary serialized protocol buffer message 44781 along with a 44782 44783 URL that describes the type of the serialized message. 44784 44785 44786 Protobuf library provides support to pack/unpack Any values in the 44787 form 44788 44789 of utility functions or additional generated methods of the Any 44790 type. 44791 44792 44793 Example 1: Pack and unpack a message in C++. 44794 44795 Foo foo = ...; 44796 Any any; 44797 any.PackFrom(foo); 44798 ... 44799 if (any.UnpackTo(&foo)) { 44800 ... 44801 } 44802 44803 Example 2: Pack and unpack a message in Java. 44804 44805 Foo foo = ...; 44806 Any any = Any.pack(foo); 44807 ... 44808 if (any.is(Foo.class)) { 44809 foo = any.unpack(Foo.class); 44810 } 44811 44812 Example 3: Pack and unpack a message in Python. 44813 44814 foo = Foo(...) 44815 any = Any() 44816 any.Pack(foo) 44817 ... 44818 if any.Is(Foo.DESCRIPTOR): 44819 any.Unpack(foo) 44820 ... 44821 44822 Example 4: Pack and unpack a message in Go 44823 44824 foo := &pb.Foo{...} 44825 any, err := ptypes.MarshalAny(foo) 44826 ... 44827 foo := &pb.Foo{} 44828 if err := ptypes.UnmarshalAny(any, foo); err != nil { 44829 ... 44830 } 44831 44832 The pack methods provided by protobuf library will by default use 44833 44834 'type.googleapis.com/full.type.name' as the type URL and the 44835 unpack 44836 44837 methods only use the fully qualified type name after the last '/' 44838 44839 in the type URL, for example "foo.bar.com/x/y.z" will yield type 44840 44841 name "y.z". 44842 44843 44844 44845 JSON 44846 44847 ==== 44848 44849 The JSON representation of an `Any` value uses the regular 44850 44851 representation of the deserialized, embedded message, with an 44852 44853 additional field `@type` which contains the type URL. Example: 44854 44855 package google.profile; 44856 message Person { 44857 string first_name = 1; 44858 string last_name = 2; 44859 } 44860 44861 { 44862 "@type": "type.googleapis.com/google.profile.Person", 44863 "firstName": <string>, 44864 "lastName": <string> 44865 } 44866 44867 If the embedded message type is well-known and has a custom JSON 44868 44869 representation, that representation will be embedded adding a 44870 field 44871 44872 `value` which holds the custom JSON in addition to the `@type` 44873 44874 field. Example (for message [google.protobuf.Duration][]): 44875 44876 { 44877 "@type": "type.googleapis.com/google.protobuf.Duration", 44878 "value": "1.212s" 44879 } 44880 status: 44881 type: string 44882 enum: 44883 - PROPOSAL_STATUS_UNSPECIFIED 44884 - PROPOSAL_STATUS_DEPOSIT_PERIOD 44885 - PROPOSAL_STATUS_VOTING_PERIOD 44886 - PROPOSAL_STATUS_PASSED 44887 - PROPOSAL_STATUS_REJECTED 44888 - PROPOSAL_STATUS_FAILED 44889 default: PROPOSAL_STATUS_UNSPECIFIED 44890 description: |- 44891 ProposalStatus enumerates the valid statuses of a proposal. 44892 44893 - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. 44894 - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit 44895 period. 44896 - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting 44897 period. 44898 - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has 44899 passed. 44900 - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has 44901 been rejected. 44902 - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has 44903 failed. 44904 final_tally_result: 44905 type: object 44906 properties: 44907 'yes': 44908 type: string 44909 abstain: 44910 type: string 44911 'no': 44912 type: string 44913 no_with_veto: 44914 type: string 44915 description: TallyResult defines a standard tally for a governance proposal. 44916 submit_time: 44917 type: string 44918 format: date-time 44919 deposit_end_time: 44920 type: string 44921 format: date-time 44922 total_deposit: 44923 type: array 44924 items: 44925 type: object 44926 properties: 44927 denom: 44928 type: string 44929 amount: 44930 type: string 44931 description: >- 44932 Coin defines a token with a denomination and an amount. 44933 44934 44935 NOTE: The amount field is an Int which implements the custom 44936 method 44937 44938 signatures required by gogoproto. 44939 voting_start_time: 44940 type: string 44941 format: date-time 44942 voting_end_time: 44943 type: string 44944 format: date-time 44945 description: Proposal defines the core field members of a governance proposal. 44946 description: >- 44947 QueryProposalResponse is the response type for the Query/Proposal RPC 44948 method. 44949 cosmos.gov.v1beta1.QueryProposalsResponse: 44950 type: object 44951 properties: 44952 proposals: 44953 type: array 44954 items: 44955 type: object 44956 properties: 44957 proposal_id: 44958 type: string 44959 format: uint64 44960 content: 44961 type: object 44962 properties: 44963 type_url: 44964 type: string 44965 description: >- 44966 A URL/resource name that uniquely identifies the type of the 44967 serialized 44968 44969 protocol buffer message. This string must contain at least 44970 44971 one "/" character. The last segment of the URL's path must 44972 represent 44973 44974 the fully qualified name of the type (as in 44975 44976 `path/google.protobuf.Duration`). The name should be in a 44977 canonical form 44978 44979 (e.g., leading "." is not accepted). 44980 44981 44982 In practice, teams usually precompile into the binary all 44983 types that they 44984 44985 expect it to use in the context of Any. However, for URLs 44986 which use the 44987 44988 scheme `http`, `https`, or no scheme, one can optionally set 44989 up a type 44990 44991 server that maps type URLs to message definitions as 44992 follows: 44993 44994 44995 * If no scheme is provided, `https` is assumed. 44996 44997 * An HTTP GET on the URL must yield a 44998 [google.protobuf.Type][] 44999 value in binary format, or produce an error. 45000 * Applications are allowed to cache lookup results based on 45001 the 45002 URL, or have them precompiled into a binary to avoid any 45003 lookup. Therefore, binary compatibility needs to be preserved 45004 on changes to types. (Use versioned type names to manage 45005 breaking changes.) 45006 45007 Note: this functionality is not currently available in the 45008 official 45009 45010 protobuf release, and it is not used for type URLs beginning 45011 with 45012 45013 type.googleapis.com. 45014 45015 45016 Schemes other than `http`, `https` (or the empty scheme) 45017 might be 45018 45019 used with implementation specific semantics. 45020 value: 45021 type: string 45022 format: byte 45023 description: >- 45024 Must be a valid serialized protocol buffer of the above 45025 specified type. 45026 description: >- 45027 `Any` contains an arbitrary serialized protocol buffer message 45028 along with a 45029 45030 URL that describes the type of the serialized message. 45031 45032 45033 Protobuf library provides support to pack/unpack Any values in 45034 the form 45035 45036 of utility functions or additional generated methods of the Any 45037 type. 45038 45039 45040 Example 1: Pack and unpack a message in C++. 45041 45042 Foo foo = ...; 45043 Any any; 45044 any.PackFrom(foo); 45045 ... 45046 if (any.UnpackTo(&foo)) { 45047 ... 45048 } 45049 45050 Example 2: Pack and unpack a message in Java. 45051 45052 Foo foo = ...; 45053 Any any = Any.pack(foo); 45054 ... 45055 if (any.is(Foo.class)) { 45056 foo = any.unpack(Foo.class); 45057 } 45058 45059 Example 3: Pack and unpack a message in Python. 45060 45061 foo = Foo(...) 45062 any = Any() 45063 any.Pack(foo) 45064 ... 45065 if any.Is(Foo.DESCRIPTOR): 45066 any.Unpack(foo) 45067 ... 45068 45069 Example 4: Pack and unpack a message in Go 45070 45071 foo := &pb.Foo{...} 45072 any, err := ptypes.MarshalAny(foo) 45073 ... 45074 foo := &pb.Foo{} 45075 if err := ptypes.UnmarshalAny(any, foo); err != nil { 45076 ... 45077 } 45078 45079 The pack methods provided by protobuf library will by default 45080 use 45081 45082 'type.googleapis.com/full.type.name' as the type URL and the 45083 unpack 45084 45085 methods only use the fully qualified type name after the last 45086 '/' 45087 45088 in the type URL, for example "foo.bar.com/x/y.z" will yield type 45089 45090 name "y.z". 45091 45092 45093 45094 JSON 45095 45096 ==== 45097 45098 The JSON representation of an `Any` value uses the regular 45099 45100 representation of the deserialized, embedded message, with an 45101 45102 additional field `@type` which contains the type URL. Example: 45103 45104 package google.profile; 45105 message Person { 45106 string first_name = 1; 45107 string last_name = 2; 45108 } 45109 45110 { 45111 "@type": "type.googleapis.com/google.profile.Person", 45112 "firstName": <string>, 45113 "lastName": <string> 45114 } 45115 45116 If the embedded message type is well-known and has a custom JSON 45117 45118 representation, that representation will be embedded adding a 45119 field 45120 45121 `value` which holds the custom JSON in addition to the `@type` 45122 45123 field. Example (for message [google.protobuf.Duration][]): 45124 45125 { 45126 "@type": "type.googleapis.com/google.protobuf.Duration", 45127 "value": "1.212s" 45128 } 45129 status: 45130 type: string 45131 enum: 45132 - PROPOSAL_STATUS_UNSPECIFIED 45133 - PROPOSAL_STATUS_DEPOSIT_PERIOD 45134 - PROPOSAL_STATUS_VOTING_PERIOD 45135 - PROPOSAL_STATUS_PASSED 45136 - PROPOSAL_STATUS_REJECTED 45137 - PROPOSAL_STATUS_FAILED 45138 default: PROPOSAL_STATUS_UNSPECIFIED 45139 description: |- 45140 ProposalStatus enumerates the valid statuses of a proposal. 45141 45142 - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. 45143 - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit 45144 period. 45145 - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting 45146 period. 45147 - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has 45148 passed. 45149 - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has 45150 been rejected. 45151 - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has 45152 failed. 45153 final_tally_result: 45154 type: object 45155 properties: 45156 'yes': 45157 type: string 45158 abstain: 45159 type: string 45160 'no': 45161 type: string 45162 no_with_veto: 45163 type: string 45164 description: TallyResult defines a standard tally for a governance proposal. 45165 submit_time: 45166 type: string 45167 format: date-time 45168 deposit_end_time: 45169 type: string 45170 format: date-time 45171 total_deposit: 45172 type: array 45173 items: 45174 type: object 45175 properties: 45176 denom: 45177 type: string 45178 amount: 45179 type: string 45180 description: >- 45181 Coin defines a token with a denomination and an amount. 45182 45183 45184 NOTE: The amount field is an Int which implements the custom 45185 method 45186 45187 signatures required by gogoproto. 45188 voting_start_time: 45189 type: string 45190 format: date-time 45191 voting_end_time: 45192 type: string 45193 format: date-time 45194 description: Proposal defines the core field members of a governance proposal. 45195 pagination: 45196 description: pagination defines the pagination in the response. 45197 type: object 45198 properties: 45199 next_key: 45200 type: string 45201 format: byte 45202 title: |- 45203 next_key is the key to be passed to PageRequest.key to 45204 query the next page most efficiently 45205 total: 45206 type: string 45207 format: uint64 45208 title: >- 45209 total is total number of results available if 45210 PageRequest.count_total 45211 45212 was set, its value is undefined otherwise 45213 description: |- 45214 QueryProposalsResponse is the response type for the Query/Proposals RPC 45215 method. 45216 cosmos.gov.v1beta1.QueryTallyResultResponse: 45217 type: object 45218 properties: 45219 tally: 45220 type: object 45221 properties: 45222 'yes': 45223 type: string 45224 abstain: 45225 type: string 45226 'no': 45227 type: string 45228 no_with_veto: 45229 type: string 45230 description: TallyResult defines a standard tally for a governance proposal. 45231 description: >- 45232 QueryTallyResultResponse is the response type for the Query/Tally RPC 45233 method. 45234 cosmos.gov.v1beta1.QueryVoteResponse: 45235 type: object 45236 properties: 45237 vote: 45238 type: object 45239 properties: 45240 proposal_id: 45241 type: string 45242 format: uint64 45243 voter: 45244 type: string 45245 option: 45246 description: >- 45247 Deprecated: Prefer to use `options` instead. This field is set in 45248 queries 45249 45250 if and only if `len(options) == 1` and that option has weight 1. 45251 In all 45252 45253 other cases, this field will default to VOTE_OPTION_UNSPECIFIED. 45254 type: string 45255 enum: 45256 - VOTE_OPTION_UNSPECIFIED 45257 - VOTE_OPTION_YES 45258 - VOTE_OPTION_ABSTAIN 45259 - VOTE_OPTION_NO 45260 - VOTE_OPTION_NO_WITH_VETO 45261 default: VOTE_OPTION_UNSPECIFIED 45262 options: 45263 type: array 45264 items: 45265 type: object 45266 properties: 45267 option: 45268 type: string 45269 enum: 45270 - VOTE_OPTION_UNSPECIFIED 45271 - VOTE_OPTION_YES 45272 - VOTE_OPTION_ABSTAIN 45273 - VOTE_OPTION_NO 45274 - VOTE_OPTION_NO_WITH_VETO 45275 default: VOTE_OPTION_UNSPECIFIED 45276 description: >- 45277 VoteOption enumerates the valid vote options for a given 45278 governance proposal. 45279 45280 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 45281 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 45282 - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. 45283 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 45284 - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. 45285 weight: 45286 type: string 45287 description: |- 45288 WeightedVoteOption defines a unit of vote for vote split. 45289 45290 Since: cosmos-sdk 0.43 45291 title: 'Since: cosmos-sdk 0.43' 45292 description: |- 45293 Vote defines a vote on a governance proposal. 45294 A Vote consists of a proposal ID, the voter, and the vote option. 45295 description: QueryVoteResponse is the response type for the Query/Vote RPC method. 45296 cosmos.gov.v1beta1.QueryVotesResponse: 45297 type: object 45298 properties: 45299 votes: 45300 type: array 45301 items: 45302 type: object 45303 properties: 45304 proposal_id: 45305 type: string 45306 format: uint64 45307 voter: 45308 type: string 45309 option: 45310 description: >- 45311 Deprecated: Prefer to use `options` instead. This field is set 45312 in queries 45313 45314 if and only if `len(options) == 1` and that option has weight 1. 45315 In all 45316 45317 other cases, this field will default to VOTE_OPTION_UNSPECIFIED. 45318 type: string 45319 enum: 45320 - VOTE_OPTION_UNSPECIFIED 45321 - VOTE_OPTION_YES 45322 - VOTE_OPTION_ABSTAIN 45323 - VOTE_OPTION_NO 45324 - VOTE_OPTION_NO_WITH_VETO 45325 default: VOTE_OPTION_UNSPECIFIED 45326 options: 45327 type: array 45328 items: 45329 type: object 45330 properties: 45331 option: 45332 type: string 45333 enum: 45334 - VOTE_OPTION_UNSPECIFIED 45335 - VOTE_OPTION_YES 45336 - VOTE_OPTION_ABSTAIN 45337 - VOTE_OPTION_NO 45338 - VOTE_OPTION_NO_WITH_VETO 45339 default: VOTE_OPTION_UNSPECIFIED 45340 description: >- 45341 VoteOption enumerates the valid vote options for a given 45342 governance proposal. 45343 45344 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 45345 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 45346 - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. 45347 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 45348 - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. 45349 weight: 45350 type: string 45351 description: |- 45352 WeightedVoteOption defines a unit of vote for vote split. 45353 45354 Since: cosmos-sdk 0.43 45355 title: 'Since: cosmos-sdk 0.43' 45356 description: |- 45357 Vote defines a vote on a governance proposal. 45358 A Vote consists of a proposal ID, the voter, and the vote option. 45359 description: votes defined the queried votes. 45360 pagination: 45361 description: pagination defines the pagination in the response. 45362 type: object 45363 properties: 45364 next_key: 45365 type: string 45366 format: byte 45367 title: |- 45368 next_key is the key to be passed to PageRequest.key to 45369 query the next page most efficiently 45370 total: 45371 type: string 45372 format: uint64 45373 title: >- 45374 total is total number of results available if 45375 PageRequest.count_total 45376 45377 was set, its value is undefined otherwise 45378 description: QueryVotesResponse is the response type for the Query/Votes RPC method. 45379 cosmos.gov.v1beta1.TallyParams: 45380 type: object 45381 properties: 45382 quorum: 45383 type: string 45384 format: byte 45385 description: |- 45386 Minimum percentage of total stake needed to vote for a result to be 45387 considered valid. 45388 threshold: 45389 type: string 45390 format: byte 45391 description: >- 45392 Minimum proportion of Yes votes for proposal to pass. Default value: 45393 0.5. 45394 veto_threshold: 45395 type: string 45396 format: byte 45397 description: |- 45398 Minimum value of Veto votes to Total votes ratio for proposal to be 45399 vetoed. Default value: 1/3. 45400 description: TallyParams defines the params for tallying votes on governance proposals. 45401 cosmos.gov.v1beta1.TallyResult: 45402 type: object 45403 properties: 45404 'yes': 45405 type: string 45406 abstain: 45407 type: string 45408 'no': 45409 type: string 45410 no_with_veto: 45411 type: string 45412 description: TallyResult defines a standard tally for a governance proposal. 45413 cosmos.gov.v1beta1.Vote: 45414 type: object 45415 properties: 45416 proposal_id: 45417 type: string 45418 format: uint64 45419 voter: 45420 type: string 45421 option: 45422 description: >- 45423 Deprecated: Prefer to use `options` instead. This field is set in 45424 queries 45425 45426 if and only if `len(options) == 1` and that option has weight 1. In 45427 all 45428 45429 other cases, this field will default to VOTE_OPTION_UNSPECIFIED. 45430 type: string 45431 enum: 45432 - VOTE_OPTION_UNSPECIFIED 45433 - VOTE_OPTION_YES 45434 - VOTE_OPTION_ABSTAIN 45435 - VOTE_OPTION_NO 45436 - VOTE_OPTION_NO_WITH_VETO 45437 default: VOTE_OPTION_UNSPECIFIED 45438 options: 45439 type: array 45440 items: 45441 type: object 45442 properties: 45443 option: 45444 type: string 45445 enum: 45446 - VOTE_OPTION_UNSPECIFIED 45447 - VOTE_OPTION_YES 45448 - VOTE_OPTION_ABSTAIN 45449 - VOTE_OPTION_NO 45450 - VOTE_OPTION_NO_WITH_VETO 45451 default: VOTE_OPTION_UNSPECIFIED 45452 description: >- 45453 VoteOption enumerates the valid vote options for a given 45454 governance proposal. 45455 45456 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 45457 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 45458 - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. 45459 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 45460 - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. 45461 weight: 45462 type: string 45463 description: |- 45464 WeightedVoteOption defines a unit of vote for vote split. 45465 45466 Since: cosmos-sdk 0.43 45467 title: 'Since: cosmos-sdk 0.43' 45468 description: |- 45469 Vote defines a vote on a governance proposal. 45470 A Vote consists of a proposal ID, the voter, and the vote option. 45471 cosmos.gov.v1beta1.VoteOption: 45472 type: string 45473 enum: 45474 - VOTE_OPTION_UNSPECIFIED 45475 - VOTE_OPTION_YES 45476 - VOTE_OPTION_ABSTAIN 45477 - VOTE_OPTION_NO 45478 - VOTE_OPTION_NO_WITH_VETO 45479 default: VOTE_OPTION_UNSPECIFIED 45480 description: >- 45481 VoteOption enumerates the valid vote options for a given governance 45482 proposal. 45483 45484 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 45485 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 45486 - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. 45487 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 45488 - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. 45489 cosmos.gov.v1beta1.VotingParams: 45490 type: object 45491 properties: 45492 voting_period: 45493 type: string 45494 description: Length of the voting period. 45495 description: VotingParams defines the params for voting on governance proposals. 45496 cosmos.gov.v1beta1.WeightedVoteOption: 45497 type: object 45498 properties: 45499 option: 45500 type: string 45501 enum: 45502 - VOTE_OPTION_UNSPECIFIED 45503 - VOTE_OPTION_YES 45504 - VOTE_OPTION_ABSTAIN 45505 - VOTE_OPTION_NO 45506 - VOTE_OPTION_NO_WITH_VETO 45507 default: VOTE_OPTION_UNSPECIFIED 45508 description: >- 45509 VoteOption enumerates the valid vote options for a given governance 45510 proposal. 45511 45512 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 45513 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 45514 - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. 45515 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 45516 - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. 45517 weight: 45518 type: string 45519 description: |- 45520 WeightedVoteOption defines a unit of vote for vote split. 45521 45522 Since: cosmos-sdk 0.43 45523 cosmos.mint.v1beta1.Params: 45524 type: object 45525 properties: 45526 mint_denom: 45527 type: string 45528 title: type of coin to mint 45529 inflation_rate_change: 45530 type: string 45531 title: maximum annual change in inflation rate 45532 inflation_max: 45533 type: string 45534 title: maximum inflation rate 45535 inflation_min: 45536 type: string 45537 title: minimum inflation rate 45538 goal_bonded: 45539 type: string 45540 title: goal of percent bonded atoms 45541 blocks_per_year: 45542 type: string 45543 format: uint64 45544 title: expected blocks per year 45545 description: Params holds parameters for the mint module. 45546 cosmos.mint.v1beta1.QueryAnnualProvisionsResponse: 45547 type: object 45548 properties: 45549 annual_provisions: 45550 type: string 45551 format: byte 45552 description: annual_provisions is the current minting annual provisions value. 45553 description: |- 45554 QueryAnnualProvisionsResponse is the response type for the 45555 Query/AnnualProvisions RPC method. 45556 cosmos.mint.v1beta1.QueryInflationResponse: 45557 type: object 45558 properties: 45559 inflation: 45560 type: string 45561 format: byte 45562 description: inflation is the current minting inflation value. 45563 description: |- 45564 QueryInflationResponse is the response type for the Query/Inflation RPC 45565 method. 45566 cosmos.mint.v1beta1.QueryParamsResponse: 45567 type: object 45568 properties: 45569 params: 45570 description: params defines the parameters of the module. 45571 type: object 45572 properties: 45573 mint_denom: 45574 type: string 45575 title: type of coin to mint 45576 inflation_rate_change: 45577 type: string 45578 title: maximum annual change in inflation rate 45579 inflation_max: 45580 type: string 45581 title: maximum inflation rate 45582 inflation_min: 45583 type: string 45584 title: minimum inflation rate 45585 goal_bonded: 45586 type: string 45587 title: goal of percent bonded atoms 45588 blocks_per_year: 45589 type: string 45590 format: uint64 45591 title: expected blocks per year 45592 description: QueryParamsResponse is the response type for the Query/Params RPC method. 45593 cosmos.params.v1beta1.ParamChange: 45594 type: object 45595 properties: 45596 subspace: 45597 type: string 45598 key: 45599 type: string 45600 value: 45601 type: string 45602 description: |- 45603 ParamChange defines an individual parameter change, for use in 45604 ParameterChangeProposal. 45605 cosmos.params.v1beta1.QueryParamsResponse: 45606 type: object 45607 properties: 45608 param: 45609 description: param defines the queried parameter. 45610 type: object 45611 properties: 45612 subspace: 45613 type: string 45614 key: 45615 type: string 45616 value: 45617 type: string 45618 description: QueryParamsResponse is response type for the Query/Params RPC method. 45619 cosmos.slashing.v1beta1.Params: 45620 type: object 45621 properties: 45622 signed_blocks_window: 45623 type: string 45624 format: int64 45625 min_signed_per_window: 45626 type: string 45627 format: byte 45628 downtime_jail_duration: 45629 type: string 45630 slash_fraction_double_sign: 45631 type: string 45632 format: byte 45633 slash_fraction_downtime: 45634 type: string 45635 format: byte 45636 description: Params represents the parameters used for by the slashing module. 45637 cosmos.slashing.v1beta1.QueryParamsResponse: 45638 type: object 45639 properties: 45640 params: 45641 type: object 45642 properties: 45643 signed_blocks_window: 45644 type: string 45645 format: int64 45646 min_signed_per_window: 45647 type: string 45648 format: byte 45649 downtime_jail_duration: 45650 type: string 45651 slash_fraction_double_sign: 45652 type: string 45653 format: byte 45654 slash_fraction_downtime: 45655 type: string 45656 format: byte 45657 description: Params represents the parameters used for by the slashing module. 45658 title: QueryParamsResponse is the response type for the Query/Params RPC method 45659 cosmos.slashing.v1beta1.QuerySigningInfoResponse: 45660 type: object 45661 properties: 45662 val_signing_info: 45663 type: object 45664 properties: 45665 address: 45666 type: string 45667 start_height: 45668 type: string 45669 format: int64 45670 title: Height at which validator was first a candidate OR was unjailed 45671 index_offset: 45672 type: string 45673 format: int64 45674 description: >- 45675 Index which is incremented each time the validator was a bonded 45676 45677 in a block and may have signed a precommit or not. This in 45678 conjunction with the 45679 45680 `SignedBlocksWindow` param determines the index in the 45681 `MissedBlocksBitArray`. 45682 jailed_until: 45683 type: string 45684 format: date-time 45685 description: >- 45686 Timestamp until which the validator is jailed due to liveness 45687 downtime. 45688 tombstoned: 45689 type: boolean 45690 format: boolean 45691 description: >- 45692 Whether or not a validator has been tombstoned (killed out of 45693 validator set). It is set 45694 45695 once the validator commits an equivocation or for any other 45696 configured misbehiavor. 45697 missed_blocks_counter: 45698 type: string 45699 format: int64 45700 description: >- 45701 A counter kept to avoid unnecessary array reads. 45702 45703 Note that `Sum(MissedBlocksBitArray)` always equals 45704 `MissedBlocksCounter`. 45705 description: >- 45706 ValidatorSigningInfo defines a validator's signing info for monitoring 45707 their 45708 45709 liveness activity. 45710 title: val_signing_info is the signing info of requested val cons address 45711 title: >- 45712 QuerySigningInfoResponse is the response type for the Query/SigningInfo 45713 RPC 45714 45715 method 45716 cosmos.slashing.v1beta1.QuerySigningInfosResponse: 45717 type: object 45718 properties: 45719 info: 45720 type: array 45721 items: 45722 type: object 45723 properties: 45724 address: 45725 type: string 45726 start_height: 45727 type: string 45728 format: int64 45729 title: Height at which validator was first a candidate OR was unjailed 45730 index_offset: 45731 type: string 45732 format: int64 45733 description: >- 45734 Index which is incremented each time the validator was a bonded 45735 45736 in a block and may have signed a precommit or not. This in 45737 conjunction with the 45738 45739 `SignedBlocksWindow` param determines the index in the 45740 `MissedBlocksBitArray`. 45741 jailed_until: 45742 type: string 45743 format: date-time 45744 description: >- 45745 Timestamp until which the validator is jailed due to liveness 45746 downtime. 45747 tombstoned: 45748 type: boolean 45749 format: boolean 45750 description: >- 45751 Whether or not a validator has been tombstoned (killed out of 45752 validator set). It is set 45753 45754 once the validator commits an equivocation or for any other 45755 configured misbehiavor. 45756 missed_blocks_counter: 45757 type: string 45758 format: int64 45759 description: >- 45760 A counter kept to avoid unnecessary array reads. 45761 45762 Note that `Sum(MissedBlocksBitArray)` always equals 45763 `MissedBlocksCounter`. 45764 description: >- 45765 ValidatorSigningInfo defines a validator's signing info for 45766 monitoring their 45767 45768 liveness activity. 45769 title: info is the signing info of all validators 45770 pagination: 45771 type: object 45772 properties: 45773 next_key: 45774 type: string 45775 format: byte 45776 title: |- 45777 next_key is the key to be passed to PageRequest.key to 45778 query the next page most efficiently 45779 total: 45780 type: string 45781 format: uint64 45782 title: >- 45783 total is total number of results available if 45784 PageRequest.count_total 45785 45786 was set, its value is undefined otherwise 45787 description: |- 45788 PageResponse is to be embedded in gRPC response messages where the 45789 corresponding request message has used PageRequest. 45790 45791 message SomeResponse { 45792 repeated Bar results = 1; 45793 PageResponse page = 2; 45794 } 45795 title: >- 45796 QuerySigningInfosResponse is the response type for the Query/SigningInfos 45797 RPC 45798 45799 method 45800 cosmos.slashing.v1beta1.ValidatorSigningInfo: 45801 type: object 45802 properties: 45803 address: 45804 type: string 45805 start_height: 45806 type: string 45807 format: int64 45808 title: Height at which validator was first a candidate OR was unjailed 45809 index_offset: 45810 type: string 45811 format: int64 45812 description: >- 45813 Index which is incremented each time the validator was a bonded 45814 45815 in a block and may have signed a precommit or not. This in conjunction 45816 with the 45817 45818 `SignedBlocksWindow` param determines the index in the 45819 `MissedBlocksBitArray`. 45820 jailed_until: 45821 type: string 45822 format: date-time 45823 description: >- 45824 Timestamp until which the validator is jailed due to liveness 45825 downtime. 45826 tombstoned: 45827 type: boolean 45828 format: boolean 45829 description: >- 45830 Whether or not a validator has been tombstoned (killed out of 45831 validator set). It is set 45832 45833 once the validator commits an equivocation or for any other configured 45834 misbehiavor. 45835 missed_blocks_counter: 45836 type: string 45837 format: int64 45838 description: >- 45839 A counter kept to avoid unnecessary array reads. 45840 45841 Note that `Sum(MissedBlocksBitArray)` always equals 45842 `MissedBlocksCounter`. 45843 description: >- 45844 ValidatorSigningInfo defines a validator's signing info for monitoring 45845 their 45846 45847 liveness activity. 45848 cosmos.staking.v1beta1.BondStatus: 45849 type: string 45850 enum: 45851 - BOND_STATUS_UNSPECIFIED 45852 - BOND_STATUS_UNBONDED 45853 - BOND_STATUS_UNBONDING 45854 - BOND_STATUS_BONDED 45855 default: BOND_STATUS_UNSPECIFIED 45856 description: |- 45857 BondStatus is the status of a validator. 45858 45859 - BOND_STATUS_UNSPECIFIED: UNSPECIFIED defines an invalid validator status. 45860 - BOND_STATUS_UNBONDED: UNBONDED defines a validator that is not bonded. 45861 - BOND_STATUS_UNBONDING: UNBONDING defines a validator that is unbonding. 45862 - BOND_STATUS_BONDED: BONDED defines a validator that is bonded. 45863 cosmos.staking.v1beta1.Commission: 45864 type: object 45865 properties: 45866 commission_rates: 45867 description: >- 45868 commission_rates defines the initial commission rates to be used for 45869 creating a validator. 45870 type: object 45871 properties: 45872 rate: 45873 type: string 45874 description: 'rate is the commission rate charged to delegators, as a fraction.' 45875 max_rate: 45876 type: string 45877 description: >- 45878 max_rate defines the maximum commission rate which validator can 45879 ever charge, as a fraction. 45880 max_change_rate: 45881 type: string 45882 description: >- 45883 max_change_rate defines the maximum daily increase of the 45884 validator commission, as a fraction. 45885 update_time: 45886 type: string 45887 format: date-time 45888 description: update_time is the last time the commission rate was changed. 45889 description: Commission defines commission parameters for a given validator. 45890 cosmos.staking.v1beta1.CommissionRates: 45891 type: object 45892 properties: 45893 rate: 45894 type: string 45895 description: 'rate is the commission rate charged to delegators, as a fraction.' 45896 max_rate: 45897 type: string 45898 description: >- 45899 max_rate defines the maximum commission rate which validator can ever 45900 charge, as a fraction. 45901 max_change_rate: 45902 type: string 45903 description: >- 45904 max_change_rate defines the maximum daily increase of the validator 45905 commission, as a fraction. 45906 description: >- 45907 CommissionRates defines the initial commission rates to be used for 45908 creating 45909 45910 a validator. 45911 cosmos.staking.v1beta1.Delegation: 45912 type: object 45913 properties: 45914 delegator_address: 45915 type: string 45916 description: delegator_address is the bech32-encoded address of the delegator. 45917 validator_address: 45918 type: string 45919 description: validator_address is the bech32-encoded address of the validator. 45920 shares: 45921 type: string 45922 description: shares define the delegation shares received. 45923 description: |- 45924 Delegation represents the bond with tokens held by an account. It is 45925 owned by one delegator, and is associated with the voting power of one 45926 validator. 45927 cosmos.staking.v1beta1.DelegationResponse: 45928 type: object 45929 properties: 45930 delegation: 45931 type: object 45932 properties: 45933 delegator_address: 45934 type: string 45935 description: delegator_address is the bech32-encoded address of the delegator. 45936 validator_address: 45937 type: string 45938 description: validator_address is the bech32-encoded address of the validator. 45939 shares: 45940 type: string 45941 description: shares define the delegation shares received. 45942 description: |- 45943 Delegation represents the bond with tokens held by an account. It is 45944 owned by one delegator, and is associated with the voting power of one 45945 validator. 45946 balance: 45947 type: object 45948 properties: 45949 denom: 45950 type: string 45951 amount: 45952 type: string 45953 description: |- 45954 Coin defines a token with a denomination and an amount. 45955 45956 NOTE: The amount field is an Int which implements the custom method 45957 signatures required by gogoproto. 45958 description: |- 45959 DelegationResponse is equivalent to Delegation except that it contains a 45960 balance in addition to shares which is more suitable for client responses. 45961 cosmos.staking.v1beta1.Description: 45962 type: object 45963 properties: 45964 moniker: 45965 type: string 45966 description: moniker defines a human-readable name for the validator. 45967 identity: 45968 type: string 45969 description: >- 45970 identity defines an optional identity signature (ex. UPort or 45971 Keybase). 45972 website: 45973 type: string 45974 description: website defines an optional website link. 45975 security_contact: 45976 type: string 45977 description: security_contact defines an optional email for security contact. 45978 details: 45979 type: string 45980 description: details define other optional details. 45981 description: Description defines a validator description. 45982 cosmos.staking.v1beta1.HistoricalInfo: 45983 type: object 45984 properties: 45985 header: 45986 type: object 45987 properties: 45988 version: 45989 title: basic block info 45990 type: object 45991 properties: 45992 block: 45993 type: string 45994 format: uint64 45995 app: 45996 type: string 45997 format: uint64 45998 description: >- 45999 Consensus captures the consensus rules for processing a block in 46000 the blockchain, 46001 46002 including all blockchain data structures and the rules of the 46003 application's 46004 46005 state transition machine. 46006 chain_id: 46007 type: string 46008 height: 46009 type: string 46010 format: int64 46011 time: 46012 type: string 46013 format: date-time 46014 last_block_id: 46015 title: prev block info 46016 type: object 46017 properties: 46018 hash: 46019 type: string 46020 format: byte 46021 part_set_header: 46022 type: object 46023 properties: 46024 total: 46025 type: integer 46026 format: int64 46027 hash: 46028 type: string 46029 format: byte 46030 title: PartsetHeader 46031 last_commit_hash: 46032 type: string 46033 format: byte 46034 title: hashes of block data 46035 data_hash: 46036 type: string 46037 format: byte 46038 validators_hash: 46039 type: string 46040 format: byte 46041 title: hashes from the app output from the prev block 46042 next_validators_hash: 46043 type: string 46044 format: byte 46045 consensus_hash: 46046 type: string 46047 format: byte 46048 app_hash: 46049 type: string 46050 format: byte 46051 last_results_hash: 46052 type: string 46053 format: byte 46054 evidence_hash: 46055 type: string 46056 format: byte 46057 title: consensus info 46058 proposer_address: 46059 type: string 46060 format: byte 46061 description: Header defines the structure of a Tendermint block header. 46062 valset: 46063 type: array 46064 items: 46065 type: object 46066 properties: 46067 operator_address: 46068 type: string 46069 description: >- 46070 operator_address defines the address of the validator's 46071 operator; bech encoded in JSON. 46072 consensus_pubkey: 46073 type: object 46074 properties: 46075 type_url: 46076 type: string 46077 description: >- 46078 A URL/resource name that uniquely identifies the type of the 46079 serialized 46080 46081 protocol buffer message. This string must contain at least 46082 46083 one "/" character. The last segment of the URL's path must 46084 represent 46085 46086 the fully qualified name of the type (as in 46087 46088 `path/google.protobuf.Duration`). The name should be in a 46089 canonical form 46090 46091 (e.g., leading "." is not accepted). 46092 46093 46094 In practice, teams usually precompile into the binary all 46095 types that they 46096 46097 expect it to use in the context of Any. However, for URLs 46098 which use the 46099 46100 scheme `http`, `https`, or no scheme, one can optionally set 46101 up a type 46102 46103 server that maps type URLs to message definitions as 46104 follows: 46105 46106 46107 * If no scheme is provided, `https` is assumed. 46108 46109 * An HTTP GET on the URL must yield a 46110 [google.protobuf.Type][] 46111 value in binary format, or produce an error. 46112 * Applications are allowed to cache lookup results based on 46113 the 46114 URL, or have them precompiled into a binary to avoid any 46115 lookup. Therefore, binary compatibility needs to be preserved 46116 on changes to types. (Use versioned type names to manage 46117 breaking changes.) 46118 46119 Note: this functionality is not currently available in the 46120 official 46121 46122 protobuf release, and it is not used for type URLs beginning 46123 with 46124 46125 type.googleapis.com. 46126 46127 46128 Schemes other than `http`, `https` (or the empty scheme) 46129 might be 46130 46131 used with implementation specific semantics. 46132 value: 46133 type: string 46134 format: byte 46135 description: >- 46136 Must be a valid serialized protocol buffer of the above 46137 specified type. 46138 description: >- 46139 `Any` contains an arbitrary serialized protocol buffer message 46140 along with a 46141 46142 URL that describes the type of the serialized message. 46143 46144 46145 Protobuf library provides support to pack/unpack Any values in 46146 the form 46147 46148 of utility functions or additional generated methods of the Any 46149 type. 46150 46151 46152 Example 1: Pack and unpack a message in C++. 46153 46154 Foo foo = ...; 46155 Any any; 46156 any.PackFrom(foo); 46157 ... 46158 if (any.UnpackTo(&foo)) { 46159 ... 46160 } 46161 46162 Example 2: Pack and unpack a message in Java. 46163 46164 Foo foo = ...; 46165 Any any = Any.pack(foo); 46166 ... 46167 if (any.is(Foo.class)) { 46168 foo = any.unpack(Foo.class); 46169 } 46170 46171 Example 3: Pack and unpack a message in Python. 46172 46173 foo = Foo(...) 46174 any = Any() 46175 any.Pack(foo) 46176 ... 46177 if any.Is(Foo.DESCRIPTOR): 46178 any.Unpack(foo) 46179 ... 46180 46181 Example 4: Pack and unpack a message in Go 46182 46183 foo := &pb.Foo{...} 46184 any, err := ptypes.MarshalAny(foo) 46185 ... 46186 foo := &pb.Foo{} 46187 if err := ptypes.UnmarshalAny(any, foo); err != nil { 46188 ... 46189 } 46190 46191 The pack methods provided by protobuf library will by default 46192 use 46193 46194 'type.googleapis.com/full.type.name' as the type URL and the 46195 unpack 46196 46197 methods only use the fully qualified type name after the last 46198 '/' 46199 46200 in the type URL, for example "foo.bar.com/x/y.z" will yield type 46201 46202 name "y.z". 46203 46204 46205 46206 JSON 46207 46208 ==== 46209 46210 The JSON representation of an `Any` value uses the regular 46211 46212 representation of the deserialized, embedded message, with an 46213 46214 additional field `@type` which contains the type URL. Example: 46215 46216 package google.profile; 46217 message Person { 46218 string first_name = 1; 46219 string last_name = 2; 46220 } 46221 46222 { 46223 "@type": "type.googleapis.com/google.profile.Person", 46224 "firstName": <string>, 46225 "lastName": <string> 46226 } 46227 46228 If the embedded message type is well-known and has a custom JSON 46229 46230 representation, that representation will be embedded adding a 46231 field 46232 46233 `value` which holds the custom JSON in addition to the `@type` 46234 46235 field. Example (for message [google.protobuf.Duration][]): 46236 46237 { 46238 "@type": "type.googleapis.com/google.protobuf.Duration", 46239 "value": "1.212s" 46240 } 46241 jailed: 46242 type: boolean 46243 format: boolean 46244 description: >- 46245 jailed defined whether the validator has been jailed from bonded 46246 status or not. 46247 status: 46248 description: status is the validator status (bonded/unbonding/unbonded). 46249 type: string 46250 enum: 46251 - BOND_STATUS_UNSPECIFIED 46252 - BOND_STATUS_UNBONDED 46253 - BOND_STATUS_UNBONDING 46254 - BOND_STATUS_BONDED 46255 default: BOND_STATUS_UNSPECIFIED 46256 tokens: 46257 type: string 46258 description: tokens define the delegated tokens (incl. self-delegation). 46259 delegator_shares: 46260 type: string 46261 description: >- 46262 delegator_shares defines total shares issued to a validator's 46263 delegators. 46264 description: 46265 description: description defines the description terms for the validator. 46266 type: object 46267 properties: 46268 moniker: 46269 type: string 46270 description: moniker defines a human-readable name for the validator. 46271 identity: 46272 type: string 46273 description: >- 46274 identity defines an optional identity signature (ex. UPort 46275 or Keybase). 46276 website: 46277 type: string 46278 description: website defines an optional website link. 46279 security_contact: 46280 type: string 46281 description: >- 46282 security_contact defines an optional email for security 46283 contact. 46284 details: 46285 type: string 46286 description: details define other optional details. 46287 unbonding_height: 46288 type: string 46289 format: int64 46290 description: >- 46291 unbonding_height defines, if unbonding, the height at which this 46292 validator has begun unbonding. 46293 unbonding_time: 46294 type: string 46295 format: date-time 46296 description: >- 46297 unbonding_time defines, if unbonding, the min time for the 46298 validator to complete unbonding. 46299 commission: 46300 description: commission defines the commission parameters. 46301 type: object 46302 properties: 46303 commission_rates: 46304 description: >- 46305 commission_rates defines the initial commission rates to be 46306 used for creating a validator. 46307 type: object 46308 properties: 46309 rate: 46310 type: string 46311 description: >- 46312 rate is the commission rate charged to delegators, as a 46313 fraction. 46314 max_rate: 46315 type: string 46316 description: >- 46317 max_rate defines the maximum commission rate which 46318 validator can ever charge, as a fraction. 46319 max_change_rate: 46320 type: string 46321 description: >- 46322 max_change_rate defines the maximum daily increase of 46323 the validator commission, as a fraction. 46324 update_time: 46325 type: string 46326 format: date-time 46327 description: >- 46328 update_time is the last time the commission rate was 46329 changed. 46330 min_self_delegation: 46331 type: string 46332 description: >- 46333 min_self_delegation is the validator's self declared minimum 46334 self delegation. 46335 description: >- 46336 Validator defines a validator, together with the total amount of the 46337 46338 Validator's bond shares and their exchange rate to coins. Slashing 46339 results in 46340 46341 a decrease in the exchange rate, allowing correct calculation of 46342 future 46343 46344 undelegations without iterating over delegators. When coins are 46345 delegated to 46346 46347 this validator, the validator is credited with a delegation whose 46348 number of 46349 46350 bond shares is based on the amount of coins delegated divided by the 46351 current 46352 46353 exchange rate. Voting power can be calculated as total bonded shares 46354 46355 multiplied by exchange rate. 46356 description: >- 46357 HistoricalInfo contains header and validator, voter information for a 46358 given block. 46359 46360 It is stored as part of staking module's state, which persists the `n` 46361 most 46362 46363 recent HistoricalInfo 46364 46365 (`n` is set by the staking module's `historical_entries` parameter). 46366 cosmos.staking.v1beta1.Params: 46367 type: object 46368 properties: 46369 unbonding_time: 46370 type: string 46371 description: unbonding_time is the time duration of unbonding. 46372 max_validators: 46373 type: integer 46374 format: int64 46375 description: max_validators is the maximum number of validators. 46376 max_entries: 46377 type: integer 46378 format: int64 46379 description: >- 46380 max_entries is the max entries for either unbonding delegation or 46381 redelegation (per pair/trio). 46382 historical_entries: 46383 type: integer 46384 format: int64 46385 description: historical_entries is the number of historical entries to persist. 46386 bond_denom: 46387 type: string 46388 description: bond_denom defines the bondable coin denomination. 46389 description: Params defines the parameters for the staking module. 46390 cosmos.staking.v1beta1.Pool: 46391 type: object 46392 properties: 46393 not_bonded_tokens: 46394 type: string 46395 bonded_tokens: 46396 type: string 46397 description: |- 46398 Pool is used for tracking bonded and not-bonded token supply of the bond 46399 denomination. 46400 cosmos.staking.v1beta1.QueryDelegationResponse: 46401 type: object 46402 properties: 46403 delegation_response: 46404 type: object 46405 properties: 46406 delegation: 46407 type: object 46408 properties: 46409 delegator_address: 46410 type: string 46411 description: >- 46412 delegator_address is the bech32-encoded address of the 46413 delegator. 46414 validator_address: 46415 type: string 46416 description: >- 46417 validator_address is the bech32-encoded address of the 46418 validator. 46419 shares: 46420 type: string 46421 description: shares define the delegation shares received. 46422 description: >- 46423 Delegation represents the bond with tokens held by an account. It 46424 is 46425 46426 owned by one delegator, and is associated with the voting power of 46427 one 46428 46429 validator. 46430 balance: 46431 type: object 46432 properties: 46433 denom: 46434 type: string 46435 amount: 46436 type: string 46437 description: >- 46438 Coin defines a token with a denomination and an amount. 46439 46440 46441 NOTE: The amount field is an Int which implements the custom 46442 method 46443 46444 signatures required by gogoproto. 46445 description: >- 46446 DelegationResponse is equivalent to Delegation except that it contains 46447 a 46448 46449 balance in addition to shares which is more suitable for client 46450 responses. 46451 description: >- 46452 QueryDelegationResponse is response type for the Query/Delegation RPC 46453 method. 46454 cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse: 46455 type: object 46456 properties: 46457 delegation_responses: 46458 type: array 46459 items: 46460 type: object 46461 properties: 46462 delegation: 46463 type: object 46464 properties: 46465 delegator_address: 46466 type: string 46467 description: >- 46468 delegator_address is the bech32-encoded address of the 46469 delegator. 46470 validator_address: 46471 type: string 46472 description: >- 46473 validator_address is the bech32-encoded address of the 46474 validator. 46475 shares: 46476 type: string 46477 description: shares define the delegation shares received. 46478 description: >- 46479 Delegation represents the bond with tokens held by an account. 46480 It is 46481 46482 owned by one delegator, and is associated with the voting power 46483 of one 46484 46485 validator. 46486 balance: 46487 type: object 46488 properties: 46489 denom: 46490 type: string 46491 amount: 46492 type: string 46493 description: >- 46494 Coin defines a token with a denomination and an amount. 46495 46496 46497 NOTE: The amount field is an Int which implements the custom 46498 method 46499 46500 signatures required by gogoproto. 46501 description: >- 46502 DelegationResponse is equivalent to Delegation except that it 46503 contains a 46504 46505 balance in addition to shares which is more suitable for client 46506 responses. 46507 description: delegation_responses defines all the delegations' info of a delegator. 46508 pagination: 46509 description: pagination defines the pagination in the response. 46510 type: object 46511 properties: 46512 next_key: 46513 type: string 46514 format: byte 46515 title: |- 46516 next_key is the key to be passed to PageRequest.key to 46517 query the next page most efficiently 46518 total: 46519 type: string 46520 format: uint64 46521 title: >- 46522 total is total number of results available if 46523 PageRequest.count_total 46524 46525 was set, its value is undefined otherwise 46526 description: |- 46527 QueryDelegatorDelegationsResponse is response type for the 46528 Query/DelegatorDelegations RPC method. 46529 cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse: 46530 type: object 46531 properties: 46532 unbonding_responses: 46533 type: array 46534 items: 46535 type: object 46536 properties: 46537 delegator_address: 46538 type: string 46539 description: >- 46540 delegator_address is the bech32-encoded address of the 46541 delegator. 46542 validator_address: 46543 type: string 46544 description: >- 46545 validator_address is the bech32-encoded address of the 46546 validator. 46547 entries: 46548 type: array 46549 items: 46550 type: object 46551 properties: 46552 creation_height: 46553 type: string 46554 format: int64 46555 description: >- 46556 creation_height is the height which the unbonding took 46557 place. 46558 completion_time: 46559 type: string 46560 format: date-time 46561 description: completion_time is the unix time for unbonding completion. 46562 initial_balance: 46563 type: string 46564 description: >- 46565 initial_balance defines the tokens initially scheduled to 46566 receive at completion. 46567 balance: 46568 type: string 46569 description: balance defines the tokens to receive at completion. 46570 description: >- 46571 UnbondingDelegationEntry defines an unbonding object with 46572 relevant metadata. 46573 description: entries are the unbonding delegation entries. 46574 description: >- 46575 UnbondingDelegation stores all of a single delegator's unbonding 46576 bonds 46577 46578 for a single validator in an time-ordered list. 46579 pagination: 46580 description: pagination defines the pagination in the response. 46581 type: object 46582 properties: 46583 next_key: 46584 type: string 46585 format: byte 46586 title: |- 46587 next_key is the key to be passed to PageRequest.key to 46588 query the next page most efficiently 46589 total: 46590 type: string 46591 format: uint64 46592 title: >- 46593 total is total number of results available if 46594 PageRequest.count_total 46595 46596 was set, its value is undefined otherwise 46597 description: |- 46598 QueryUnbondingDelegatorDelegationsResponse is response type for the 46599 Query/UnbondingDelegatorDelegations RPC method. 46600 cosmos.staking.v1beta1.QueryDelegatorValidatorResponse: 46601 type: object 46602 properties: 46603 validator: 46604 type: object 46605 properties: 46606 operator_address: 46607 type: string 46608 description: >- 46609 operator_address defines the address of the validator's operator; 46610 bech encoded in JSON. 46611 consensus_pubkey: 46612 type: object 46613 properties: 46614 type_url: 46615 type: string 46616 description: >- 46617 A URL/resource name that uniquely identifies the type of the 46618 serialized 46619 46620 protocol buffer message. This string must contain at least 46621 46622 one "/" character. The last segment of the URL's path must 46623 represent 46624 46625 the fully qualified name of the type (as in 46626 46627 `path/google.protobuf.Duration`). The name should be in a 46628 canonical form 46629 46630 (e.g., leading "." is not accepted). 46631 46632 46633 In practice, teams usually precompile into the binary all 46634 types that they 46635 46636 expect it to use in the context of Any. However, for URLs 46637 which use the 46638 46639 scheme `http`, `https`, or no scheme, one can optionally set 46640 up a type 46641 46642 server that maps type URLs to message definitions as follows: 46643 46644 46645 * If no scheme is provided, `https` is assumed. 46646 46647 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 46648 value in binary format, or produce an error. 46649 * Applications are allowed to cache lookup results based on 46650 the 46651 URL, or have them precompiled into a binary to avoid any 46652 lookup. Therefore, binary compatibility needs to be preserved 46653 on changes to types. (Use versioned type names to manage 46654 breaking changes.) 46655 46656 Note: this functionality is not currently available in the 46657 official 46658 46659 protobuf release, and it is not used for type URLs beginning 46660 with 46661 46662 type.googleapis.com. 46663 46664 46665 Schemes other than `http`, `https` (or the empty scheme) might 46666 be 46667 46668 used with implementation specific semantics. 46669 value: 46670 type: string 46671 format: byte 46672 description: >- 46673 Must be a valid serialized protocol buffer of the above 46674 specified type. 46675 description: >- 46676 `Any` contains an arbitrary serialized protocol buffer message 46677 along with a 46678 46679 URL that describes the type of the serialized message. 46680 46681 46682 Protobuf library provides support to pack/unpack Any values in the 46683 form 46684 46685 of utility functions or additional generated methods of the Any 46686 type. 46687 46688 46689 Example 1: Pack and unpack a message in C++. 46690 46691 Foo foo = ...; 46692 Any any; 46693 any.PackFrom(foo); 46694 ... 46695 if (any.UnpackTo(&foo)) { 46696 ... 46697 } 46698 46699 Example 2: Pack and unpack a message in Java. 46700 46701 Foo foo = ...; 46702 Any any = Any.pack(foo); 46703 ... 46704 if (any.is(Foo.class)) { 46705 foo = any.unpack(Foo.class); 46706 } 46707 46708 Example 3: Pack and unpack a message in Python. 46709 46710 foo = Foo(...) 46711 any = Any() 46712 any.Pack(foo) 46713 ... 46714 if any.Is(Foo.DESCRIPTOR): 46715 any.Unpack(foo) 46716 ... 46717 46718 Example 4: Pack and unpack a message in Go 46719 46720 foo := &pb.Foo{...} 46721 any, err := ptypes.MarshalAny(foo) 46722 ... 46723 foo := &pb.Foo{} 46724 if err := ptypes.UnmarshalAny(any, foo); err != nil { 46725 ... 46726 } 46727 46728 The pack methods provided by protobuf library will by default use 46729 46730 'type.googleapis.com/full.type.name' as the type URL and the 46731 unpack 46732 46733 methods only use the fully qualified type name after the last '/' 46734 46735 in the type URL, for example "foo.bar.com/x/y.z" will yield type 46736 46737 name "y.z". 46738 46739 46740 46741 JSON 46742 46743 ==== 46744 46745 The JSON representation of an `Any` value uses the regular 46746 46747 representation of the deserialized, embedded message, with an 46748 46749 additional field `@type` which contains the type URL. Example: 46750 46751 package google.profile; 46752 message Person { 46753 string first_name = 1; 46754 string last_name = 2; 46755 } 46756 46757 { 46758 "@type": "type.googleapis.com/google.profile.Person", 46759 "firstName": <string>, 46760 "lastName": <string> 46761 } 46762 46763 If the embedded message type is well-known and has a custom JSON 46764 46765 representation, that representation will be embedded adding a 46766 field 46767 46768 `value` which holds the custom JSON in addition to the `@type` 46769 46770 field. Example (for message [google.protobuf.Duration][]): 46771 46772 { 46773 "@type": "type.googleapis.com/google.protobuf.Duration", 46774 "value": "1.212s" 46775 } 46776 jailed: 46777 type: boolean 46778 format: boolean 46779 description: >- 46780 jailed defined whether the validator has been jailed from bonded 46781 status or not. 46782 status: 46783 description: status is the validator status (bonded/unbonding/unbonded). 46784 type: string 46785 enum: 46786 - BOND_STATUS_UNSPECIFIED 46787 - BOND_STATUS_UNBONDED 46788 - BOND_STATUS_UNBONDING 46789 - BOND_STATUS_BONDED 46790 default: BOND_STATUS_UNSPECIFIED 46791 tokens: 46792 type: string 46793 description: tokens define the delegated tokens (incl. self-delegation). 46794 delegator_shares: 46795 type: string 46796 description: >- 46797 delegator_shares defines total shares issued to a validator's 46798 delegators. 46799 description: 46800 description: description defines the description terms for the validator. 46801 type: object 46802 properties: 46803 moniker: 46804 type: string 46805 description: moniker defines a human-readable name for the validator. 46806 identity: 46807 type: string 46808 description: >- 46809 identity defines an optional identity signature (ex. UPort or 46810 Keybase). 46811 website: 46812 type: string 46813 description: website defines an optional website link. 46814 security_contact: 46815 type: string 46816 description: >- 46817 security_contact defines an optional email for security 46818 contact. 46819 details: 46820 type: string 46821 description: details define other optional details. 46822 unbonding_height: 46823 type: string 46824 format: int64 46825 description: >- 46826 unbonding_height defines, if unbonding, the height at which this 46827 validator has begun unbonding. 46828 unbonding_time: 46829 type: string 46830 format: date-time 46831 description: >- 46832 unbonding_time defines, if unbonding, the min time for the 46833 validator to complete unbonding. 46834 commission: 46835 description: commission defines the commission parameters. 46836 type: object 46837 properties: 46838 commission_rates: 46839 description: >- 46840 commission_rates defines the initial commission rates to be 46841 used for creating a validator. 46842 type: object 46843 properties: 46844 rate: 46845 type: string 46846 description: >- 46847 rate is the commission rate charged to delegators, as a 46848 fraction. 46849 max_rate: 46850 type: string 46851 description: >- 46852 max_rate defines the maximum commission rate which 46853 validator can ever charge, as a fraction. 46854 max_change_rate: 46855 type: string 46856 description: >- 46857 max_change_rate defines the maximum daily increase of the 46858 validator commission, as a fraction. 46859 update_time: 46860 type: string 46861 format: date-time 46862 description: update_time is the last time the commission rate was changed. 46863 min_self_delegation: 46864 type: string 46865 description: >- 46866 min_self_delegation is the validator's self declared minimum self 46867 delegation. 46868 description: >- 46869 Validator defines a validator, together with the total amount of the 46870 46871 Validator's bond shares and their exchange rate to coins. Slashing 46872 results in 46873 46874 a decrease in the exchange rate, allowing correct calculation of 46875 future 46876 46877 undelegations without iterating over delegators. When coins are 46878 delegated to 46879 46880 this validator, the validator is credited with a delegation whose 46881 number of 46882 46883 bond shares is based on the amount of coins delegated divided by the 46884 current 46885 46886 exchange rate. Voting power can be calculated as total bonded shares 46887 46888 multiplied by exchange rate. 46889 description: |- 46890 QueryDelegatorValidatorResponse response type for the 46891 Query/DelegatorValidator RPC method. 46892 cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse: 46893 type: object 46894 properties: 46895 validators: 46896 type: array 46897 items: 46898 type: object 46899 properties: 46900 operator_address: 46901 type: string 46902 description: >- 46903 operator_address defines the address of the validator's 46904 operator; bech encoded in JSON. 46905 consensus_pubkey: 46906 type: object 46907 properties: 46908 type_url: 46909 type: string 46910 description: >- 46911 A URL/resource name that uniquely identifies the type of the 46912 serialized 46913 46914 protocol buffer message. This string must contain at least 46915 46916 one "/" character. The last segment of the URL's path must 46917 represent 46918 46919 the fully qualified name of the type (as in 46920 46921 `path/google.protobuf.Duration`). The name should be in a 46922 canonical form 46923 46924 (e.g., leading "." is not accepted). 46925 46926 46927 In practice, teams usually precompile into the binary all 46928 types that they 46929 46930 expect it to use in the context of Any. However, for URLs 46931 which use the 46932 46933 scheme `http`, `https`, or no scheme, one can optionally set 46934 up a type 46935 46936 server that maps type URLs to message definitions as 46937 follows: 46938 46939 46940 * If no scheme is provided, `https` is assumed. 46941 46942 * An HTTP GET on the URL must yield a 46943 [google.protobuf.Type][] 46944 value in binary format, or produce an error. 46945 * Applications are allowed to cache lookup results based on 46946 the 46947 URL, or have them precompiled into a binary to avoid any 46948 lookup. Therefore, binary compatibility needs to be preserved 46949 on changes to types. (Use versioned type names to manage 46950 breaking changes.) 46951 46952 Note: this functionality is not currently available in the 46953 official 46954 46955 protobuf release, and it is not used for type URLs beginning 46956 with 46957 46958 type.googleapis.com. 46959 46960 46961 Schemes other than `http`, `https` (or the empty scheme) 46962 might be 46963 46964 used with implementation specific semantics. 46965 value: 46966 type: string 46967 format: byte 46968 description: >- 46969 Must be a valid serialized protocol buffer of the above 46970 specified type. 46971 description: >- 46972 `Any` contains an arbitrary serialized protocol buffer message 46973 along with a 46974 46975 URL that describes the type of the serialized message. 46976 46977 46978 Protobuf library provides support to pack/unpack Any values in 46979 the form 46980 46981 of utility functions or additional generated methods of the Any 46982 type. 46983 46984 46985 Example 1: Pack and unpack a message in C++. 46986 46987 Foo foo = ...; 46988 Any any; 46989 any.PackFrom(foo); 46990 ... 46991 if (any.UnpackTo(&foo)) { 46992 ... 46993 } 46994 46995 Example 2: Pack and unpack a message in Java. 46996 46997 Foo foo = ...; 46998 Any any = Any.pack(foo); 46999 ... 47000 if (any.is(Foo.class)) { 47001 foo = any.unpack(Foo.class); 47002 } 47003 47004 Example 3: Pack and unpack a message in Python. 47005 47006 foo = Foo(...) 47007 any = Any() 47008 any.Pack(foo) 47009 ... 47010 if any.Is(Foo.DESCRIPTOR): 47011 any.Unpack(foo) 47012 ... 47013 47014 Example 4: Pack and unpack a message in Go 47015 47016 foo := &pb.Foo{...} 47017 any, err := ptypes.MarshalAny(foo) 47018 ... 47019 foo := &pb.Foo{} 47020 if err := ptypes.UnmarshalAny(any, foo); err != nil { 47021 ... 47022 } 47023 47024 The pack methods provided by protobuf library will by default 47025 use 47026 47027 'type.googleapis.com/full.type.name' as the type URL and the 47028 unpack 47029 47030 methods only use the fully qualified type name after the last 47031 '/' 47032 47033 in the type URL, for example "foo.bar.com/x/y.z" will yield type 47034 47035 name "y.z". 47036 47037 47038 47039 JSON 47040 47041 ==== 47042 47043 The JSON representation of an `Any` value uses the regular 47044 47045 representation of the deserialized, embedded message, with an 47046 47047 additional field `@type` which contains the type URL. Example: 47048 47049 package google.profile; 47050 message Person { 47051 string first_name = 1; 47052 string last_name = 2; 47053 } 47054 47055 { 47056 "@type": "type.googleapis.com/google.profile.Person", 47057 "firstName": <string>, 47058 "lastName": <string> 47059 } 47060 47061 If the embedded message type is well-known and has a custom JSON 47062 47063 representation, that representation will be embedded adding a 47064 field 47065 47066 `value` which holds the custom JSON in addition to the `@type` 47067 47068 field. Example (for message [google.protobuf.Duration][]): 47069 47070 { 47071 "@type": "type.googleapis.com/google.protobuf.Duration", 47072 "value": "1.212s" 47073 } 47074 jailed: 47075 type: boolean 47076 format: boolean 47077 description: >- 47078 jailed defined whether the validator has been jailed from bonded 47079 status or not. 47080 status: 47081 description: status is the validator status (bonded/unbonding/unbonded). 47082 type: string 47083 enum: 47084 - BOND_STATUS_UNSPECIFIED 47085 - BOND_STATUS_UNBONDED 47086 - BOND_STATUS_UNBONDING 47087 - BOND_STATUS_BONDED 47088 default: BOND_STATUS_UNSPECIFIED 47089 tokens: 47090 type: string 47091 description: tokens define the delegated tokens (incl. self-delegation). 47092 delegator_shares: 47093 type: string 47094 description: >- 47095 delegator_shares defines total shares issued to a validator's 47096 delegators. 47097 description: 47098 description: description defines the description terms for the validator. 47099 type: object 47100 properties: 47101 moniker: 47102 type: string 47103 description: moniker defines a human-readable name for the validator. 47104 identity: 47105 type: string 47106 description: >- 47107 identity defines an optional identity signature (ex. UPort 47108 or Keybase). 47109 website: 47110 type: string 47111 description: website defines an optional website link. 47112 security_contact: 47113 type: string 47114 description: >- 47115 security_contact defines an optional email for security 47116 contact. 47117 details: 47118 type: string 47119 description: details define other optional details. 47120 unbonding_height: 47121 type: string 47122 format: int64 47123 description: >- 47124 unbonding_height defines, if unbonding, the height at which this 47125 validator has begun unbonding. 47126 unbonding_time: 47127 type: string 47128 format: date-time 47129 description: >- 47130 unbonding_time defines, if unbonding, the min time for the 47131 validator to complete unbonding. 47132 commission: 47133 description: commission defines the commission parameters. 47134 type: object 47135 properties: 47136 commission_rates: 47137 description: >- 47138 commission_rates defines the initial commission rates to be 47139 used for creating a validator. 47140 type: object 47141 properties: 47142 rate: 47143 type: string 47144 description: >- 47145 rate is the commission rate charged to delegators, as a 47146 fraction. 47147 max_rate: 47148 type: string 47149 description: >- 47150 max_rate defines the maximum commission rate which 47151 validator can ever charge, as a fraction. 47152 max_change_rate: 47153 type: string 47154 description: >- 47155 max_change_rate defines the maximum daily increase of 47156 the validator commission, as a fraction. 47157 update_time: 47158 type: string 47159 format: date-time 47160 description: >- 47161 update_time is the last time the commission rate was 47162 changed. 47163 min_self_delegation: 47164 type: string 47165 description: >- 47166 min_self_delegation is the validator's self declared minimum 47167 self delegation. 47168 description: >- 47169 Validator defines a validator, together with the total amount of the 47170 47171 Validator's bond shares and their exchange rate to coins. Slashing 47172 results in 47173 47174 a decrease in the exchange rate, allowing correct calculation of 47175 future 47176 47177 undelegations without iterating over delegators. When coins are 47178 delegated to 47179 47180 this validator, the validator is credited with a delegation whose 47181 number of 47182 47183 bond shares is based on the amount of coins delegated divided by the 47184 current 47185 47186 exchange rate. Voting power can be calculated as total bonded shares 47187 47188 multiplied by exchange rate. 47189 description: validators defines the the validators' info of a delegator. 47190 pagination: 47191 description: pagination defines the pagination in the response. 47192 type: object 47193 properties: 47194 next_key: 47195 type: string 47196 format: byte 47197 title: |- 47198 next_key is the key to be passed to PageRequest.key to 47199 query the next page most efficiently 47200 total: 47201 type: string 47202 format: uint64 47203 title: >- 47204 total is total number of results available if 47205 PageRequest.count_total 47206 47207 was set, its value is undefined otherwise 47208 description: |- 47209 QueryDelegatorValidatorsResponse is response type for the 47210 Query/DelegatorValidators RPC method. 47211 cosmos.staking.v1beta1.QueryHistoricalInfoResponse: 47212 type: object 47213 properties: 47214 hist: 47215 description: hist defines the historical info at the given height. 47216 type: object 47217 properties: 47218 header: 47219 type: object 47220 properties: 47221 version: 47222 title: basic block info 47223 type: object 47224 properties: 47225 block: 47226 type: string 47227 format: uint64 47228 app: 47229 type: string 47230 format: uint64 47231 description: >- 47232 Consensus captures the consensus rules for processing a block 47233 in the blockchain, 47234 47235 including all blockchain data structures and the rules of the 47236 application's 47237 47238 state transition machine. 47239 chain_id: 47240 type: string 47241 height: 47242 type: string 47243 format: int64 47244 time: 47245 type: string 47246 format: date-time 47247 last_block_id: 47248 title: prev block info 47249 type: object 47250 properties: 47251 hash: 47252 type: string 47253 format: byte 47254 part_set_header: 47255 type: object 47256 properties: 47257 total: 47258 type: integer 47259 format: int64 47260 hash: 47261 type: string 47262 format: byte 47263 title: PartsetHeader 47264 last_commit_hash: 47265 type: string 47266 format: byte 47267 title: hashes of block data 47268 data_hash: 47269 type: string 47270 format: byte 47271 validators_hash: 47272 type: string 47273 format: byte 47274 title: hashes from the app output from the prev block 47275 next_validators_hash: 47276 type: string 47277 format: byte 47278 consensus_hash: 47279 type: string 47280 format: byte 47281 app_hash: 47282 type: string 47283 format: byte 47284 last_results_hash: 47285 type: string 47286 format: byte 47287 evidence_hash: 47288 type: string 47289 format: byte 47290 title: consensus info 47291 proposer_address: 47292 type: string 47293 format: byte 47294 description: Header defines the structure of a Tendermint block header. 47295 valset: 47296 type: array 47297 items: 47298 type: object 47299 properties: 47300 operator_address: 47301 type: string 47302 description: >- 47303 operator_address defines the address of the validator's 47304 operator; bech encoded in JSON. 47305 consensus_pubkey: 47306 type: object 47307 properties: 47308 type_url: 47309 type: string 47310 description: >- 47311 A URL/resource name that uniquely identifies the type of 47312 the serialized 47313 47314 protocol buffer message. This string must contain at 47315 least 47316 47317 one "/" character. The last segment of the URL's path 47318 must represent 47319 47320 the fully qualified name of the type (as in 47321 47322 `path/google.protobuf.Duration`). The name should be in 47323 a canonical form 47324 47325 (e.g., leading "." is not accepted). 47326 47327 47328 In practice, teams usually precompile into the binary 47329 all types that they 47330 47331 expect it to use in the context of Any. However, for 47332 URLs which use the 47333 47334 scheme `http`, `https`, or no scheme, one can optionally 47335 set up a type 47336 47337 server that maps type URLs to message definitions as 47338 follows: 47339 47340 47341 * If no scheme is provided, `https` is assumed. 47342 47343 * An HTTP GET on the URL must yield a 47344 [google.protobuf.Type][] 47345 value in binary format, or produce an error. 47346 * Applications are allowed to cache lookup results based 47347 on the 47348 URL, or have them precompiled into a binary to avoid any 47349 lookup. Therefore, binary compatibility needs to be preserved 47350 on changes to types. (Use versioned type names to manage 47351 breaking changes.) 47352 47353 Note: this functionality is not currently available in 47354 the official 47355 47356 protobuf release, and it is not used for type URLs 47357 beginning with 47358 47359 type.googleapis.com. 47360 47361 47362 Schemes other than `http`, `https` (or the empty scheme) 47363 might be 47364 47365 used with implementation specific semantics. 47366 value: 47367 type: string 47368 format: byte 47369 description: >- 47370 Must be a valid serialized protocol buffer of the above 47371 specified type. 47372 description: >- 47373 `Any` contains an arbitrary serialized protocol buffer 47374 message along with a 47375 47376 URL that describes the type of the serialized message. 47377 47378 47379 Protobuf library provides support to pack/unpack Any values 47380 in the form 47381 47382 of utility functions or additional generated methods of the 47383 Any type. 47384 47385 47386 Example 1: Pack and unpack a message in C++. 47387 47388 Foo foo = ...; 47389 Any any; 47390 any.PackFrom(foo); 47391 ... 47392 if (any.UnpackTo(&foo)) { 47393 ... 47394 } 47395 47396 Example 2: Pack and unpack a message in Java. 47397 47398 Foo foo = ...; 47399 Any any = Any.pack(foo); 47400 ... 47401 if (any.is(Foo.class)) { 47402 foo = any.unpack(Foo.class); 47403 } 47404 47405 Example 3: Pack and unpack a message in Python. 47406 47407 foo = Foo(...) 47408 any = Any() 47409 any.Pack(foo) 47410 ... 47411 if any.Is(Foo.DESCRIPTOR): 47412 any.Unpack(foo) 47413 ... 47414 47415 Example 4: Pack and unpack a message in Go 47416 47417 foo := &pb.Foo{...} 47418 any, err := ptypes.MarshalAny(foo) 47419 ... 47420 foo := &pb.Foo{} 47421 if err := ptypes.UnmarshalAny(any, foo); err != nil { 47422 ... 47423 } 47424 47425 The pack methods provided by protobuf library will by 47426 default use 47427 47428 'type.googleapis.com/full.type.name' as the type URL and the 47429 unpack 47430 47431 methods only use the fully qualified type name after the 47432 last '/' 47433 47434 in the type URL, for example "foo.bar.com/x/y.z" will yield 47435 type 47436 47437 name "y.z". 47438 47439 47440 47441 JSON 47442 47443 ==== 47444 47445 The JSON representation of an `Any` value uses the regular 47446 47447 representation of the deserialized, embedded message, with 47448 an 47449 47450 additional field `@type` which contains the type URL. 47451 Example: 47452 47453 package google.profile; 47454 message Person { 47455 string first_name = 1; 47456 string last_name = 2; 47457 } 47458 47459 { 47460 "@type": "type.googleapis.com/google.profile.Person", 47461 "firstName": <string>, 47462 "lastName": <string> 47463 } 47464 47465 If the embedded message type is well-known and has a custom 47466 JSON 47467 47468 representation, that representation will be embedded adding 47469 a field 47470 47471 `value` which holds the custom JSON in addition to the 47472 `@type` 47473 47474 field. Example (for message [google.protobuf.Duration][]): 47475 47476 { 47477 "@type": "type.googleapis.com/google.protobuf.Duration", 47478 "value": "1.212s" 47479 } 47480 jailed: 47481 type: boolean 47482 format: boolean 47483 description: >- 47484 jailed defined whether the validator has been jailed from 47485 bonded status or not. 47486 status: 47487 description: status is the validator status (bonded/unbonding/unbonded). 47488 type: string 47489 enum: 47490 - BOND_STATUS_UNSPECIFIED 47491 - BOND_STATUS_UNBONDED 47492 - BOND_STATUS_UNBONDING 47493 - BOND_STATUS_BONDED 47494 default: BOND_STATUS_UNSPECIFIED 47495 tokens: 47496 type: string 47497 description: tokens define the delegated tokens (incl. self-delegation). 47498 delegator_shares: 47499 type: string 47500 description: >- 47501 delegator_shares defines total shares issued to a 47502 validator's delegators. 47503 description: 47504 description: description defines the description terms for the validator. 47505 type: object 47506 properties: 47507 moniker: 47508 type: string 47509 description: moniker defines a human-readable name for the validator. 47510 identity: 47511 type: string 47512 description: >- 47513 identity defines an optional identity signature (ex. 47514 UPort or Keybase). 47515 website: 47516 type: string 47517 description: website defines an optional website link. 47518 security_contact: 47519 type: string 47520 description: >- 47521 security_contact defines an optional email for security 47522 contact. 47523 details: 47524 type: string 47525 description: details define other optional details. 47526 unbonding_height: 47527 type: string 47528 format: int64 47529 description: >- 47530 unbonding_height defines, if unbonding, the height at which 47531 this validator has begun unbonding. 47532 unbonding_time: 47533 type: string 47534 format: date-time 47535 description: >- 47536 unbonding_time defines, if unbonding, the min time for the 47537 validator to complete unbonding. 47538 commission: 47539 description: commission defines the commission parameters. 47540 type: object 47541 properties: 47542 commission_rates: 47543 description: >- 47544 commission_rates defines the initial commission rates to 47545 be used for creating a validator. 47546 type: object 47547 properties: 47548 rate: 47549 type: string 47550 description: >- 47551 rate is the commission rate charged to delegators, 47552 as a fraction. 47553 max_rate: 47554 type: string 47555 description: >- 47556 max_rate defines the maximum commission rate which 47557 validator can ever charge, as a fraction. 47558 max_change_rate: 47559 type: string 47560 description: >- 47561 max_change_rate defines the maximum daily increase 47562 of the validator commission, as a fraction. 47563 update_time: 47564 type: string 47565 format: date-time 47566 description: >- 47567 update_time is the last time the commission rate was 47568 changed. 47569 min_self_delegation: 47570 type: string 47571 description: >- 47572 min_self_delegation is the validator's self declared minimum 47573 self delegation. 47574 description: >- 47575 Validator defines a validator, together with the total amount of 47576 the 47577 47578 Validator's bond shares and their exchange rate to coins. 47579 Slashing results in 47580 47581 a decrease in the exchange rate, allowing correct calculation of 47582 future 47583 47584 undelegations without iterating over delegators. When coins are 47585 delegated to 47586 47587 this validator, the validator is credited with a delegation 47588 whose number of 47589 47590 bond shares is based on the amount of coins delegated divided by 47591 the current 47592 47593 exchange rate. Voting power can be calculated as total bonded 47594 shares 47595 47596 multiplied by exchange rate. 47597 description: >- 47598 QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo 47599 RPC 47600 47601 method. 47602 cosmos.staking.v1beta1.QueryParamsResponse: 47603 type: object 47604 properties: 47605 params: 47606 description: params holds all the parameters of this module. 47607 type: object 47608 properties: 47609 unbonding_time: 47610 type: string 47611 description: unbonding_time is the time duration of unbonding. 47612 max_validators: 47613 type: integer 47614 format: int64 47615 description: max_validators is the maximum number of validators. 47616 max_entries: 47617 type: integer 47618 format: int64 47619 description: >- 47620 max_entries is the max entries for either unbonding delegation or 47621 redelegation (per pair/trio). 47622 historical_entries: 47623 type: integer 47624 format: int64 47625 description: historical_entries is the number of historical entries to persist. 47626 bond_denom: 47627 type: string 47628 description: bond_denom defines the bondable coin denomination. 47629 description: QueryParamsResponse is response type for the Query/Params RPC method. 47630 cosmos.staking.v1beta1.QueryPoolResponse: 47631 type: object 47632 properties: 47633 pool: 47634 description: pool defines the pool info. 47635 type: object 47636 properties: 47637 not_bonded_tokens: 47638 type: string 47639 bonded_tokens: 47640 type: string 47641 description: QueryPoolResponse is response type for the Query/Pool RPC method. 47642 cosmos.staking.v1beta1.QueryRedelegationsResponse: 47643 type: object 47644 properties: 47645 redelegation_responses: 47646 type: array 47647 items: 47648 type: object 47649 properties: 47650 redelegation: 47651 type: object 47652 properties: 47653 delegator_address: 47654 type: string 47655 description: >- 47656 delegator_address is the bech32-encoded address of the 47657 delegator. 47658 validator_src_address: 47659 type: string 47660 description: >- 47661 validator_src_address is the validator redelegation source 47662 operator address. 47663 validator_dst_address: 47664 type: string 47665 description: >- 47666 validator_dst_address is the validator redelegation 47667 destination operator address. 47668 entries: 47669 type: array 47670 items: 47671 type: object 47672 properties: 47673 creation_height: 47674 type: string 47675 format: int64 47676 description: >- 47677 creation_height defines the height which the 47678 redelegation took place. 47679 completion_time: 47680 type: string 47681 format: date-time 47682 description: >- 47683 completion_time defines the unix time for redelegation 47684 completion. 47685 initial_balance: 47686 type: string 47687 description: >- 47688 initial_balance defines the initial balance when 47689 redelegation started. 47690 shares_dst: 47691 type: string 47692 description: >- 47693 shares_dst is the amount of destination-validator 47694 shares created by redelegation. 47695 description: >- 47696 RedelegationEntry defines a redelegation object with 47697 relevant metadata. 47698 description: entries are the redelegation entries. 47699 description: >- 47700 Redelegation contains the list of a particular delegator's 47701 redelegating bonds 47702 47703 from a particular source validator to a particular destination 47704 validator. 47705 entries: 47706 type: array 47707 items: 47708 type: object 47709 properties: 47710 redelegation_entry: 47711 type: object 47712 properties: 47713 creation_height: 47714 type: string 47715 format: int64 47716 description: >- 47717 creation_height defines the height which the 47718 redelegation took place. 47719 completion_time: 47720 type: string 47721 format: date-time 47722 description: >- 47723 completion_time defines the unix time for redelegation 47724 completion. 47725 initial_balance: 47726 type: string 47727 description: >- 47728 initial_balance defines the initial balance when 47729 redelegation started. 47730 shares_dst: 47731 type: string 47732 description: >- 47733 shares_dst is the amount of destination-validator 47734 shares created by redelegation. 47735 description: >- 47736 RedelegationEntry defines a redelegation object with 47737 relevant metadata. 47738 balance: 47739 type: string 47740 description: >- 47741 RedelegationEntryResponse is equivalent to a RedelegationEntry 47742 except that it 47743 47744 contains a balance in addition to shares which is more 47745 suitable for client 47746 47747 responses. 47748 description: >- 47749 RedelegationResponse is equivalent to a Redelegation except that its 47750 entries 47751 47752 contain a balance in addition to shares which is more suitable for 47753 client 47754 47755 responses. 47756 pagination: 47757 description: pagination defines the pagination in the response. 47758 type: object 47759 properties: 47760 next_key: 47761 type: string 47762 format: byte 47763 title: |- 47764 next_key is the key to be passed to PageRequest.key to 47765 query the next page most efficiently 47766 total: 47767 type: string 47768 format: uint64 47769 title: >- 47770 total is total number of results available if 47771 PageRequest.count_total 47772 47773 was set, its value is undefined otherwise 47774 description: >- 47775 QueryRedelegationsResponse is response type for the Query/Redelegations 47776 RPC 47777 47778 method. 47779 cosmos.staking.v1beta1.QueryUnbondingDelegationResponse: 47780 type: object 47781 properties: 47782 unbond: 47783 type: object 47784 properties: 47785 delegator_address: 47786 type: string 47787 description: delegator_address is the bech32-encoded address of the delegator. 47788 validator_address: 47789 type: string 47790 description: validator_address is the bech32-encoded address of the validator. 47791 entries: 47792 type: array 47793 items: 47794 type: object 47795 properties: 47796 creation_height: 47797 type: string 47798 format: int64 47799 description: >- 47800 creation_height is the height which the unbonding took 47801 place. 47802 completion_time: 47803 type: string 47804 format: date-time 47805 description: completion_time is the unix time for unbonding completion. 47806 initial_balance: 47807 type: string 47808 description: >- 47809 initial_balance defines the tokens initially scheduled to 47810 receive at completion. 47811 balance: 47812 type: string 47813 description: balance defines the tokens to receive at completion. 47814 description: >- 47815 UnbondingDelegationEntry defines an unbonding object with 47816 relevant metadata. 47817 description: entries are the unbonding delegation entries. 47818 description: |- 47819 UnbondingDelegation stores all of a single delegator's unbonding bonds 47820 for a single validator in an time-ordered list. 47821 description: |- 47822 QueryDelegationResponse is response type for the Query/UnbondingDelegation 47823 RPC method. 47824 cosmos.staking.v1beta1.QueryValidatorDelegationsResponse: 47825 type: object 47826 properties: 47827 delegation_responses: 47828 type: array 47829 items: 47830 type: object 47831 properties: 47832 delegation: 47833 type: object 47834 properties: 47835 delegator_address: 47836 type: string 47837 description: >- 47838 delegator_address is the bech32-encoded address of the 47839 delegator. 47840 validator_address: 47841 type: string 47842 description: >- 47843 validator_address is the bech32-encoded address of the 47844 validator. 47845 shares: 47846 type: string 47847 description: shares define the delegation shares received. 47848 description: >- 47849 Delegation represents the bond with tokens held by an account. 47850 It is 47851 47852 owned by one delegator, and is associated with the voting power 47853 of one 47854 47855 validator. 47856 balance: 47857 type: object 47858 properties: 47859 denom: 47860 type: string 47861 amount: 47862 type: string 47863 description: >- 47864 Coin defines a token with a denomination and an amount. 47865 47866 47867 NOTE: The amount field is an Int which implements the custom 47868 method 47869 47870 signatures required by gogoproto. 47871 description: >- 47872 DelegationResponse is equivalent to Delegation except that it 47873 contains a 47874 47875 balance in addition to shares which is more suitable for client 47876 responses. 47877 pagination: 47878 description: pagination defines the pagination in the response. 47879 type: object 47880 properties: 47881 next_key: 47882 type: string 47883 format: byte 47884 title: |- 47885 next_key is the key to be passed to PageRequest.key to 47886 query the next page most efficiently 47887 total: 47888 type: string 47889 format: uint64 47890 title: >- 47891 total is total number of results available if 47892 PageRequest.count_total 47893 47894 was set, its value is undefined otherwise 47895 title: |- 47896 QueryValidatorDelegationsResponse is response type for the 47897 Query/ValidatorDelegations RPC method 47898 cosmos.staking.v1beta1.QueryValidatorResponse: 47899 type: object 47900 properties: 47901 validator: 47902 type: object 47903 properties: 47904 operator_address: 47905 type: string 47906 description: >- 47907 operator_address defines the address of the validator's operator; 47908 bech encoded in JSON. 47909 consensus_pubkey: 47910 type: object 47911 properties: 47912 type_url: 47913 type: string 47914 description: >- 47915 A URL/resource name that uniquely identifies the type of the 47916 serialized 47917 47918 protocol buffer message. This string must contain at least 47919 47920 one "/" character. The last segment of the URL's path must 47921 represent 47922 47923 the fully qualified name of the type (as in 47924 47925 `path/google.protobuf.Duration`). The name should be in a 47926 canonical form 47927 47928 (e.g., leading "." is not accepted). 47929 47930 47931 In practice, teams usually precompile into the binary all 47932 types that they 47933 47934 expect it to use in the context of Any. However, for URLs 47935 which use the 47936 47937 scheme `http`, `https`, or no scheme, one can optionally set 47938 up a type 47939 47940 server that maps type URLs to message definitions as follows: 47941 47942 47943 * If no scheme is provided, `https` is assumed. 47944 47945 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 47946 value in binary format, or produce an error. 47947 * Applications are allowed to cache lookup results based on 47948 the 47949 URL, or have them precompiled into a binary to avoid any 47950 lookup. Therefore, binary compatibility needs to be preserved 47951 on changes to types. (Use versioned type names to manage 47952 breaking changes.) 47953 47954 Note: this functionality is not currently available in the 47955 official 47956 47957 protobuf release, and it is not used for type URLs beginning 47958 with 47959 47960 type.googleapis.com. 47961 47962 47963 Schemes other than `http`, `https` (or the empty scheme) might 47964 be 47965 47966 used with implementation specific semantics. 47967 value: 47968 type: string 47969 format: byte 47970 description: >- 47971 Must be a valid serialized protocol buffer of the above 47972 specified type. 47973 description: >- 47974 `Any` contains an arbitrary serialized protocol buffer message 47975 along with a 47976 47977 URL that describes the type of the serialized message. 47978 47979 47980 Protobuf library provides support to pack/unpack Any values in the 47981 form 47982 47983 of utility functions or additional generated methods of the Any 47984 type. 47985 47986 47987 Example 1: Pack and unpack a message in C++. 47988 47989 Foo foo = ...; 47990 Any any; 47991 any.PackFrom(foo); 47992 ... 47993 if (any.UnpackTo(&foo)) { 47994 ... 47995 } 47996 47997 Example 2: Pack and unpack a message in Java. 47998 47999 Foo foo = ...; 48000 Any any = Any.pack(foo); 48001 ... 48002 if (any.is(Foo.class)) { 48003 foo = any.unpack(Foo.class); 48004 } 48005 48006 Example 3: Pack and unpack a message in Python. 48007 48008 foo = Foo(...) 48009 any = Any() 48010 any.Pack(foo) 48011 ... 48012 if any.Is(Foo.DESCRIPTOR): 48013 any.Unpack(foo) 48014 ... 48015 48016 Example 4: Pack and unpack a message in Go 48017 48018 foo := &pb.Foo{...} 48019 any, err := ptypes.MarshalAny(foo) 48020 ... 48021 foo := &pb.Foo{} 48022 if err := ptypes.UnmarshalAny(any, foo); err != nil { 48023 ... 48024 } 48025 48026 The pack methods provided by protobuf library will by default use 48027 48028 'type.googleapis.com/full.type.name' as the type URL and the 48029 unpack 48030 48031 methods only use the fully qualified type name after the last '/' 48032 48033 in the type URL, for example "foo.bar.com/x/y.z" will yield type 48034 48035 name "y.z". 48036 48037 48038 48039 JSON 48040 48041 ==== 48042 48043 The JSON representation of an `Any` value uses the regular 48044 48045 representation of the deserialized, embedded message, with an 48046 48047 additional field `@type` which contains the type URL. Example: 48048 48049 package google.profile; 48050 message Person { 48051 string first_name = 1; 48052 string last_name = 2; 48053 } 48054 48055 { 48056 "@type": "type.googleapis.com/google.profile.Person", 48057 "firstName": <string>, 48058 "lastName": <string> 48059 } 48060 48061 If the embedded message type is well-known and has a custom JSON 48062 48063 representation, that representation will be embedded adding a 48064 field 48065 48066 `value` which holds the custom JSON in addition to the `@type` 48067 48068 field. Example (for message [google.protobuf.Duration][]): 48069 48070 { 48071 "@type": "type.googleapis.com/google.protobuf.Duration", 48072 "value": "1.212s" 48073 } 48074 jailed: 48075 type: boolean 48076 format: boolean 48077 description: >- 48078 jailed defined whether the validator has been jailed from bonded 48079 status or not. 48080 status: 48081 description: status is the validator status (bonded/unbonding/unbonded). 48082 type: string 48083 enum: 48084 - BOND_STATUS_UNSPECIFIED 48085 - BOND_STATUS_UNBONDED 48086 - BOND_STATUS_UNBONDING 48087 - BOND_STATUS_BONDED 48088 default: BOND_STATUS_UNSPECIFIED 48089 tokens: 48090 type: string 48091 description: tokens define the delegated tokens (incl. self-delegation). 48092 delegator_shares: 48093 type: string 48094 description: >- 48095 delegator_shares defines total shares issued to a validator's 48096 delegators. 48097 description: 48098 description: description defines the description terms for the validator. 48099 type: object 48100 properties: 48101 moniker: 48102 type: string 48103 description: moniker defines a human-readable name for the validator. 48104 identity: 48105 type: string 48106 description: >- 48107 identity defines an optional identity signature (ex. UPort or 48108 Keybase). 48109 website: 48110 type: string 48111 description: website defines an optional website link. 48112 security_contact: 48113 type: string 48114 description: >- 48115 security_contact defines an optional email for security 48116 contact. 48117 details: 48118 type: string 48119 description: details define other optional details. 48120 unbonding_height: 48121 type: string 48122 format: int64 48123 description: >- 48124 unbonding_height defines, if unbonding, the height at which this 48125 validator has begun unbonding. 48126 unbonding_time: 48127 type: string 48128 format: date-time 48129 description: >- 48130 unbonding_time defines, if unbonding, the min time for the 48131 validator to complete unbonding. 48132 commission: 48133 description: commission defines the commission parameters. 48134 type: object 48135 properties: 48136 commission_rates: 48137 description: >- 48138 commission_rates defines the initial commission rates to be 48139 used for creating a validator. 48140 type: object 48141 properties: 48142 rate: 48143 type: string 48144 description: >- 48145 rate is the commission rate charged to delegators, as a 48146 fraction. 48147 max_rate: 48148 type: string 48149 description: >- 48150 max_rate defines the maximum commission rate which 48151 validator can ever charge, as a fraction. 48152 max_change_rate: 48153 type: string 48154 description: >- 48155 max_change_rate defines the maximum daily increase of the 48156 validator commission, as a fraction. 48157 update_time: 48158 type: string 48159 format: date-time 48160 description: update_time is the last time the commission rate was changed. 48161 min_self_delegation: 48162 type: string 48163 description: >- 48164 min_self_delegation is the validator's self declared minimum self 48165 delegation. 48166 description: >- 48167 Validator defines a validator, together with the total amount of the 48168 48169 Validator's bond shares and their exchange rate to coins. Slashing 48170 results in 48171 48172 a decrease in the exchange rate, allowing correct calculation of 48173 future 48174 48175 undelegations without iterating over delegators. When coins are 48176 delegated to 48177 48178 this validator, the validator is credited with a delegation whose 48179 number of 48180 48181 bond shares is based on the amount of coins delegated divided by the 48182 current 48183 48184 exchange rate. Voting power can be calculated as total bonded shares 48185 48186 multiplied by exchange rate. 48187 title: QueryValidatorResponse is response type for the Query/Validator RPC method 48188 cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse: 48189 type: object 48190 properties: 48191 unbonding_responses: 48192 type: array 48193 items: 48194 type: object 48195 properties: 48196 delegator_address: 48197 type: string 48198 description: >- 48199 delegator_address is the bech32-encoded address of the 48200 delegator. 48201 validator_address: 48202 type: string 48203 description: >- 48204 validator_address is the bech32-encoded address of the 48205 validator. 48206 entries: 48207 type: array 48208 items: 48209 type: object 48210 properties: 48211 creation_height: 48212 type: string 48213 format: int64 48214 description: >- 48215 creation_height is the height which the unbonding took 48216 place. 48217 completion_time: 48218 type: string 48219 format: date-time 48220 description: completion_time is the unix time for unbonding completion. 48221 initial_balance: 48222 type: string 48223 description: >- 48224 initial_balance defines the tokens initially scheduled to 48225 receive at completion. 48226 balance: 48227 type: string 48228 description: balance defines the tokens to receive at completion. 48229 description: >- 48230 UnbondingDelegationEntry defines an unbonding object with 48231 relevant metadata. 48232 description: entries are the unbonding delegation entries. 48233 description: >- 48234 UnbondingDelegation stores all of a single delegator's unbonding 48235 bonds 48236 48237 for a single validator in an time-ordered list. 48238 pagination: 48239 description: pagination defines the pagination in the response. 48240 type: object 48241 properties: 48242 next_key: 48243 type: string 48244 format: byte 48245 title: |- 48246 next_key is the key to be passed to PageRequest.key to 48247 query the next page most efficiently 48248 total: 48249 type: string 48250 format: uint64 48251 title: >- 48252 total is total number of results available if 48253 PageRequest.count_total 48254 48255 was set, its value is undefined otherwise 48256 description: |- 48257 QueryValidatorUnbondingDelegationsResponse is response type for the 48258 Query/ValidatorUnbondingDelegations RPC method. 48259 cosmos.staking.v1beta1.QueryValidatorsResponse: 48260 type: object 48261 properties: 48262 validators: 48263 type: array 48264 items: 48265 type: object 48266 properties: 48267 operator_address: 48268 type: string 48269 description: >- 48270 operator_address defines the address of the validator's 48271 operator; bech encoded in JSON. 48272 consensus_pubkey: 48273 type: object 48274 properties: 48275 type_url: 48276 type: string 48277 description: >- 48278 A URL/resource name that uniquely identifies the type of the 48279 serialized 48280 48281 protocol buffer message. This string must contain at least 48282 48283 one "/" character. The last segment of the URL's path must 48284 represent 48285 48286 the fully qualified name of the type (as in 48287 48288 `path/google.protobuf.Duration`). The name should be in a 48289 canonical form 48290 48291 (e.g., leading "." is not accepted). 48292 48293 48294 In practice, teams usually precompile into the binary all 48295 types that they 48296 48297 expect it to use in the context of Any. However, for URLs 48298 which use the 48299 48300 scheme `http`, `https`, or no scheme, one can optionally set 48301 up a type 48302 48303 server that maps type URLs to message definitions as 48304 follows: 48305 48306 48307 * If no scheme is provided, `https` is assumed. 48308 48309 * An HTTP GET on the URL must yield a 48310 [google.protobuf.Type][] 48311 value in binary format, or produce an error. 48312 * Applications are allowed to cache lookup results based on 48313 the 48314 URL, or have them precompiled into a binary to avoid any 48315 lookup. Therefore, binary compatibility needs to be preserved 48316 on changes to types. (Use versioned type names to manage 48317 breaking changes.) 48318 48319 Note: this functionality is not currently available in the 48320 official 48321 48322 protobuf release, and it is not used for type URLs beginning 48323 with 48324 48325 type.googleapis.com. 48326 48327 48328 Schemes other than `http`, `https` (or the empty scheme) 48329 might be 48330 48331 used with implementation specific semantics. 48332 value: 48333 type: string 48334 format: byte 48335 description: >- 48336 Must be a valid serialized protocol buffer of the above 48337 specified type. 48338 description: >- 48339 `Any` contains an arbitrary serialized protocol buffer message 48340 along with a 48341 48342 URL that describes the type of the serialized message. 48343 48344 48345 Protobuf library provides support to pack/unpack Any values in 48346 the form 48347 48348 of utility functions or additional generated methods of the Any 48349 type. 48350 48351 48352 Example 1: Pack and unpack a message in C++. 48353 48354 Foo foo = ...; 48355 Any any; 48356 any.PackFrom(foo); 48357 ... 48358 if (any.UnpackTo(&foo)) { 48359 ... 48360 } 48361 48362 Example 2: Pack and unpack a message in Java. 48363 48364 Foo foo = ...; 48365 Any any = Any.pack(foo); 48366 ... 48367 if (any.is(Foo.class)) { 48368 foo = any.unpack(Foo.class); 48369 } 48370 48371 Example 3: Pack and unpack a message in Python. 48372 48373 foo = Foo(...) 48374 any = Any() 48375 any.Pack(foo) 48376 ... 48377 if any.Is(Foo.DESCRIPTOR): 48378 any.Unpack(foo) 48379 ... 48380 48381 Example 4: Pack and unpack a message in Go 48382 48383 foo := &pb.Foo{...} 48384 any, err := ptypes.MarshalAny(foo) 48385 ... 48386 foo := &pb.Foo{} 48387 if err := ptypes.UnmarshalAny(any, foo); err != nil { 48388 ... 48389 } 48390 48391 The pack methods provided by protobuf library will by default 48392 use 48393 48394 'type.googleapis.com/full.type.name' as the type URL and the 48395 unpack 48396 48397 methods only use the fully qualified type name after the last 48398 '/' 48399 48400 in the type URL, for example "foo.bar.com/x/y.z" will yield type 48401 48402 name "y.z". 48403 48404 48405 48406 JSON 48407 48408 ==== 48409 48410 The JSON representation of an `Any` value uses the regular 48411 48412 representation of the deserialized, embedded message, with an 48413 48414 additional field `@type` which contains the type URL. Example: 48415 48416 package google.profile; 48417 message Person { 48418 string first_name = 1; 48419 string last_name = 2; 48420 } 48421 48422 { 48423 "@type": "type.googleapis.com/google.profile.Person", 48424 "firstName": <string>, 48425 "lastName": <string> 48426 } 48427 48428 If the embedded message type is well-known and has a custom JSON 48429 48430 representation, that representation will be embedded adding a 48431 field 48432 48433 `value` which holds the custom JSON in addition to the `@type` 48434 48435 field. Example (for message [google.protobuf.Duration][]): 48436 48437 { 48438 "@type": "type.googleapis.com/google.protobuf.Duration", 48439 "value": "1.212s" 48440 } 48441 jailed: 48442 type: boolean 48443 format: boolean 48444 description: >- 48445 jailed defined whether the validator has been jailed from bonded 48446 status or not. 48447 status: 48448 description: status is the validator status (bonded/unbonding/unbonded). 48449 type: string 48450 enum: 48451 - BOND_STATUS_UNSPECIFIED 48452 - BOND_STATUS_UNBONDED 48453 - BOND_STATUS_UNBONDING 48454 - BOND_STATUS_BONDED 48455 default: BOND_STATUS_UNSPECIFIED 48456 tokens: 48457 type: string 48458 description: tokens define the delegated tokens (incl. self-delegation). 48459 delegator_shares: 48460 type: string 48461 description: >- 48462 delegator_shares defines total shares issued to a validator's 48463 delegators. 48464 description: 48465 description: description defines the description terms for the validator. 48466 type: object 48467 properties: 48468 moniker: 48469 type: string 48470 description: moniker defines a human-readable name for the validator. 48471 identity: 48472 type: string 48473 description: >- 48474 identity defines an optional identity signature (ex. UPort 48475 or Keybase). 48476 website: 48477 type: string 48478 description: website defines an optional website link. 48479 security_contact: 48480 type: string 48481 description: >- 48482 security_contact defines an optional email for security 48483 contact. 48484 details: 48485 type: string 48486 description: details define other optional details. 48487 unbonding_height: 48488 type: string 48489 format: int64 48490 description: >- 48491 unbonding_height defines, if unbonding, the height at which this 48492 validator has begun unbonding. 48493 unbonding_time: 48494 type: string 48495 format: date-time 48496 description: >- 48497 unbonding_time defines, if unbonding, the min time for the 48498 validator to complete unbonding. 48499 commission: 48500 description: commission defines the commission parameters. 48501 type: object 48502 properties: 48503 commission_rates: 48504 description: >- 48505 commission_rates defines the initial commission rates to be 48506 used for creating a validator. 48507 type: object 48508 properties: 48509 rate: 48510 type: string 48511 description: >- 48512 rate is the commission rate charged to delegators, as a 48513 fraction. 48514 max_rate: 48515 type: string 48516 description: >- 48517 max_rate defines the maximum commission rate which 48518 validator can ever charge, as a fraction. 48519 max_change_rate: 48520 type: string 48521 description: >- 48522 max_change_rate defines the maximum daily increase of 48523 the validator commission, as a fraction. 48524 update_time: 48525 type: string 48526 format: date-time 48527 description: >- 48528 update_time is the last time the commission rate was 48529 changed. 48530 min_self_delegation: 48531 type: string 48532 description: >- 48533 min_self_delegation is the validator's self declared minimum 48534 self delegation. 48535 description: >- 48536 Validator defines a validator, together with the total amount of the 48537 48538 Validator's bond shares and their exchange rate to coins. Slashing 48539 results in 48540 48541 a decrease in the exchange rate, allowing correct calculation of 48542 future 48543 48544 undelegations without iterating over delegators. When coins are 48545 delegated to 48546 48547 this validator, the validator is credited with a delegation whose 48548 number of 48549 48550 bond shares is based on the amount of coins delegated divided by the 48551 current 48552 48553 exchange rate. Voting power can be calculated as total bonded shares 48554 48555 multiplied by exchange rate. 48556 description: validators contains all the queried validators. 48557 pagination: 48558 description: pagination defines the pagination in the response. 48559 type: object 48560 properties: 48561 next_key: 48562 type: string 48563 format: byte 48564 title: |- 48565 next_key is the key to be passed to PageRequest.key to 48566 query the next page most efficiently 48567 total: 48568 type: string 48569 format: uint64 48570 title: >- 48571 total is total number of results available if 48572 PageRequest.count_total 48573 48574 was set, its value is undefined otherwise 48575 title: >- 48576 QueryValidatorsResponse is response type for the Query/Validators RPC 48577 method 48578 cosmos.staking.v1beta1.Redelegation: 48579 type: object 48580 properties: 48581 delegator_address: 48582 type: string 48583 description: delegator_address is the bech32-encoded address of the delegator. 48584 validator_src_address: 48585 type: string 48586 description: >- 48587 validator_src_address is the validator redelegation source operator 48588 address. 48589 validator_dst_address: 48590 type: string 48591 description: >- 48592 validator_dst_address is the validator redelegation destination 48593 operator address. 48594 entries: 48595 type: array 48596 items: 48597 type: object 48598 properties: 48599 creation_height: 48600 type: string 48601 format: int64 48602 description: >- 48603 creation_height defines the height which the redelegation took 48604 place. 48605 completion_time: 48606 type: string 48607 format: date-time 48608 description: >- 48609 completion_time defines the unix time for redelegation 48610 completion. 48611 initial_balance: 48612 type: string 48613 description: >- 48614 initial_balance defines the initial balance when redelegation 48615 started. 48616 shares_dst: 48617 type: string 48618 description: >- 48619 shares_dst is the amount of destination-validator shares created 48620 by redelegation. 48621 description: >- 48622 RedelegationEntry defines a redelegation object with relevant 48623 metadata. 48624 description: entries are the redelegation entries. 48625 description: >- 48626 Redelegation contains the list of a particular delegator's redelegating 48627 bonds 48628 48629 from a particular source validator to a particular destination validator. 48630 cosmos.staking.v1beta1.RedelegationEntry: 48631 type: object 48632 properties: 48633 creation_height: 48634 type: string 48635 format: int64 48636 description: creation_height defines the height which the redelegation took place. 48637 completion_time: 48638 type: string 48639 format: date-time 48640 description: completion_time defines the unix time for redelegation completion. 48641 initial_balance: 48642 type: string 48643 description: initial_balance defines the initial balance when redelegation started. 48644 shares_dst: 48645 type: string 48646 description: >- 48647 shares_dst is the amount of destination-validator shares created by 48648 redelegation. 48649 description: RedelegationEntry defines a redelegation object with relevant metadata. 48650 cosmos.staking.v1beta1.RedelegationEntryResponse: 48651 type: object 48652 properties: 48653 redelegation_entry: 48654 type: object 48655 properties: 48656 creation_height: 48657 type: string 48658 format: int64 48659 description: >- 48660 creation_height defines the height which the redelegation took 48661 place. 48662 completion_time: 48663 type: string 48664 format: date-time 48665 description: completion_time defines the unix time for redelegation completion. 48666 initial_balance: 48667 type: string 48668 description: >- 48669 initial_balance defines the initial balance when redelegation 48670 started. 48671 shares_dst: 48672 type: string 48673 description: >- 48674 shares_dst is the amount of destination-validator shares created 48675 by redelegation. 48676 description: >- 48677 RedelegationEntry defines a redelegation object with relevant 48678 metadata. 48679 balance: 48680 type: string 48681 description: >- 48682 RedelegationEntryResponse is equivalent to a RedelegationEntry except that 48683 it 48684 48685 contains a balance in addition to shares which is more suitable for client 48686 48687 responses. 48688 cosmos.staking.v1beta1.RedelegationResponse: 48689 type: object 48690 properties: 48691 redelegation: 48692 type: object 48693 properties: 48694 delegator_address: 48695 type: string 48696 description: delegator_address is the bech32-encoded address of the delegator. 48697 validator_src_address: 48698 type: string 48699 description: >- 48700 validator_src_address is the validator redelegation source 48701 operator address. 48702 validator_dst_address: 48703 type: string 48704 description: >- 48705 validator_dst_address is the validator redelegation destination 48706 operator address. 48707 entries: 48708 type: array 48709 items: 48710 type: object 48711 properties: 48712 creation_height: 48713 type: string 48714 format: int64 48715 description: >- 48716 creation_height defines the height which the redelegation 48717 took place. 48718 completion_time: 48719 type: string 48720 format: date-time 48721 description: >- 48722 completion_time defines the unix time for redelegation 48723 completion. 48724 initial_balance: 48725 type: string 48726 description: >- 48727 initial_balance defines the initial balance when 48728 redelegation started. 48729 shares_dst: 48730 type: string 48731 description: >- 48732 shares_dst is the amount of destination-validator shares 48733 created by redelegation. 48734 description: >- 48735 RedelegationEntry defines a redelegation object with relevant 48736 metadata. 48737 description: entries are the redelegation entries. 48738 description: >- 48739 Redelegation contains the list of a particular delegator's 48740 redelegating bonds 48741 48742 from a particular source validator to a particular destination 48743 validator. 48744 entries: 48745 type: array 48746 items: 48747 type: object 48748 properties: 48749 redelegation_entry: 48750 type: object 48751 properties: 48752 creation_height: 48753 type: string 48754 format: int64 48755 description: >- 48756 creation_height defines the height which the redelegation 48757 took place. 48758 completion_time: 48759 type: string 48760 format: date-time 48761 description: >- 48762 completion_time defines the unix time for redelegation 48763 completion. 48764 initial_balance: 48765 type: string 48766 description: >- 48767 initial_balance defines the initial balance when 48768 redelegation started. 48769 shares_dst: 48770 type: string 48771 description: >- 48772 shares_dst is the amount of destination-validator shares 48773 created by redelegation. 48774 description: >- 48775 RedelegationEntry defines a redelegation object with relevant 48776 metadata. 48777 balance: 48778 type: string 48779 description: >- 48780 RedelegationEntryResponse is equivalent to a RedelegationEntry 48781 except that it 48782 48783 contains a balance in addition to shares which is more suitable for 48784 client 48785 48786 responses. 48787 description: >- 48788 RedelegationResponse is equivalent to a Redelegation except that its 48789 entries 48790 48791 contain a balance in addition to shares which is more suitable for client 48792 48793 responses. 48794 cosmos.staking.v1beta1.UnbondingDelegation: 48795 type: object 48796 properties: 48797 delegator_address: 48798 type: string 48799 description: delegator_address is the bech32-encoded address of the delegator. 48800 validator_address: 48801 type: string 48802 description: validator_address is the bech32-encoded address of the validator. 48803 entries: 48804 type: array 48805 items: 48806 type: object 48807 properties: 48808 creation_height: 48809 type: string 48810 format: int64 48811 description: creation_height is the height which the unbonding took place. 48812 completion_time: 48813 type: string 48814 format: date-time 48815 description: completion_time is the unix time for unbonding completion. 48816 initial_balance: 48817 type: string 48818 description: >- 48819 initial_balance defines the tokens initially scheduled to 48820 receive at completion. 48821 balance: 48822 type: string 48823 description: balance defines the tokens to receive at completion. 48824 description: >- 48825 UnbondingDelegationEntry defines an unbonding object with relevant 48826 metadata. 48827 description: entries are the unbonding delegation entries. 48828 description: |- 48829 UnbondingDelegation stores all of a single delegator's unbonding bonds 48830 for a single validator in an time-ordered list. 48831 cosmos.staking.v1beta1.UnbondingDelegationEntry: 48832 type: object 48833 properties: 48834 creation_height: 48835 type: string 48836 format: int64 48837 description: creation_height is the height which the unbonding took place. 48838 completion_time: 48839 type: string 48840 format: date-time 48841 description: completion_time is the unix time for unbonding completion. 48842 initial_balance: 48843 type: string 48844 description: >- 48845 initial_balance defines the tokens initially scheduled to receive at 48846 completion. 48847 balance: 48848 type: string 48849 description: balance defines the tokens to receive at completion. 48850 description: >- 48851 UnbondingDelegationEntry defines an unbonding object with relevant 48852 metadata. 48853 cosmos.staking.v1beta1.Validator: 48854 type: object 48855 properties: 48856 operator_address: 48857 type: string 48858 description: >- 48859 operator_address defines the address of the validator's operator; bech 48860 encoded in JSON. 48861 consensus_pubkey: 48862 type: object 48863 properties: 48864 type_url: 48865 type: string 48866 description: >- 48867 A URL/resource name that uniquely identifies the type of the 48868 serialized 48869 48870 protocol buffer message. This string must contain at least 48871 48872 one "/" character. The last segment of the URL's path must 48873 represent 48874 48875 the fully qualified name of the type (as in 48876 48877 `path/google.protobuf.Duration`). The name should be in a 48878 canonical form 48879 48880 (e.g., leading "." is not accepted). 48881 48882 48883 In practice, teams usually precompile into the binary all types 48884 that they 48885 48886 expect it to use in the context of Any. However, for URLs which 48887 use the 48888 48889 scheme `http`, `https`, or no scheme, one can optionally set up a 48890 type 48891 48892 server that maps type URLs to message definitions as follows: 48893 48894 48895 * If no scheme is provided, `https` is assumed. 48896 48897 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 48898 value in binary format, or produce an error. 48899 * Applications are allowed to cache lookup results based on the 48900 URL, or have them precompiled into a binary to avoid any 48901 lookup. Therefore, binary compatibility needs to be preserved 48902 on changes to types. (Use versioned type names to manage 48903 breaking changes.) 48904 48905 Note: this functionality is not currently available in the 48906 official 48907 48908 protobuf release, and it is not used for type URLs beginning with 48909 48910 type.googleapis.com. 48911 48912 48913 Schemes other than `http`, `https` (or the empty scheme) might be 48914 48915 used with implementation specific semantics. 48916 value: 48917 type: string 48918 format: byte 48919 description: >- 48920 Must be a valid serialized protocol buffer of the above specified 48921 type. 48922 description: >- 48923 `Any` contains an arbitrary serialized protocol buffer message along 48924 with a 48925 48926 URL that describes the type of the serialized message. 48927 48928 48929 Protobuf library provides support to pack/unpack Any values in the 48930 form 48931 48932 of utility functions or additional generated methods of the Any type. 48933 48934 48935 Example 1: Pack and unpack a message in C++. 48936 48937 Foo foo = ...; 48938 Any any; 48939 any.PackFrom(foo); 48940 ... 48941 if (any.UnpackTo(&foo)) { 48942 ... 48943 } 48944 48945 Example 2: Pack and unpack a message in Java. 48946 48947 Foo foo = ...; 48948 Any any = Any.pack(foo); 48949 ... 48950 if (any.is(Foo.class)) { 48951 foo = any.unpack(Foo.class); 48952 } 48953 48954 Example 3: Pack and unpack a message in Python. 48955 48956 foo = Foo(...) 48957 any = Any() 48958 any.Pack(foo) 48959 ... 48960 if any.Is(Foo.DESCRIPTOR): 48961 any.Unpack(foo) 48962 ... 48963 48964 Example 4: Pack and unpack a message in Go 48965 48966 foo := &pb.Foo{...} 48967 any, err := ptypes.MarshalAny(foo) 48968 ... 48969 foo := &pb.Foo{} 48970 if err := ptypes.UnmarshalAny(any, foo); err != nil { 48971 ... 48972 } 48973 48974 The pack methods provided by protobuf library will by default use 48975 48976 'type.googleapis.com/full.type.name' as the type URL and the unpack 48977 48978 methods only use the fully qualified type name after the last '/' 48979 48980 in the type URL, for example "foo.bar.com/x/y.z" will yield type 48981 48982 name "y.z". 48983 48984 48985 48986 JSON 48987 48988 ==== 48989 48990 The JSON representation of an `Any` value uses the regular 48991 48992 representation of the deserialized, embedded message, with an 48993 48994 additional field `@type` which contains the type URL. Example: 48995 48996 package google.profile; 48997 message Person { 48998 string first_name = 1; 48999 string last_name = 2; 49000 } 49001 49002 { 49003 "@type": "type.googleapis.com/google.profile.Person", 49004 "firstName": <string>, 49005 "lastName": <string> 49006 } 49007 49008 If the embedded message type is well-known and has a custom JSON 49009 49010 representation, that representation will be embedded adding a field 49011 49012 `value` which holds the custom JSON in addition to the `@type` 49013 49014 field. Example (for message [google.protobuf.Duration][]): 49015 49016 { 49017 "@type": "type.googleapis.com/google.protobuf.Duration", 49018 "value": "1.212s" 49019 } 49020 jailed: 49021 type: boolean 49022 format: boolean 49023 description: >- 49024 jailed defined whether the validator has been jailed from bonded 49025 status or not. 49026 status: 49027 description: status is the validator status (bonded/unbonding/unbonded). 49028 type: string 49029 enum: 49030 - BOND_STATUS_UNSPECIFIED 49031 - BOND_STATUS_UNBONDED 49032 - BOND_STATUS_UNBONDING 49033 - BOND_STATUS_BONDED 49034 default: BOND_STATUS_UNSPECIFIED 49035 tokens: 49036 type: string 49037 description: tokens define the delegated tokens (incl. self-delegation). 49038 delegator_shares: 49039 type: string 49040 description: >- 49041 delegator_shares defines total shares issued to a validator's 49042 delegators. 49043 description: 49044 description: description defines the description terms for the validator. 49045 type: object 49046 properties: 49047 moniker: 49048 type: string 49049 description: moniker defines a human-readable name for the validator. 49050 identity: 49051 type: string 49052 description: >- 49053 identity defines an optional identity signature (ex. UPort or 49054 Keybase). 49055 website: 49056 type: string 49057 description: website defines an optional website link. 49058 security_contact: 49059 type: string 49060 description: security_contact defines an optional email for security contact. 49061 details: 49062 type: string 49063 description: details define other optional details. 49064 unbonding_height: 49065 type: string 49066 format: int64 49067 description: >- 49068 unbonding_height defines, if unbonding, the height at which this 49069 validator has begun unbonding. 49070 unbonding_time: 49071 type: string 49072 format: date-time 49073 description: >- 49074 unbonding_time defines, if unbonding, the min time for the validator 49075 to complete unbonding. 49076 commission: 49077 description: commission defines the commission parameters. 49078 type: object 49079 properties: 49080 commission_rates: 49081 description: >- 49082 commission_rates defines the initial commission rates to be used 49083 for creating a validator. 49084 type: object 49085 properties: 49086 rate: 49087 type: string 49088 description: >- 49089 rate is the commission rate charged to delegators, as a 49090 fraction. 49091 max_rate: 49092 type: string 49093 description: >- 49094 max_rate defines the maximum commission rate which validator 49095 can ever charge, as a fraction. 49096 max_change_rate: 49097 type: string 49098 description: >- 49099 max_change_rate defines the maximum daily increase of the 49100 validator commission, as a fraction. 49101 update_time: 49102 type: string 49103 format: date-time 49104 description: update_time is the last time the commission rate was changed. 49105 min_self_delegation: 49106 type: string 49107 description: >- 49108 min_self_delegation is the validator's self declared minimum self 49109 delegation. 49110 description: >- 49111 Validator defines a validator, together with the total amount of the 49112 49113 Validator's bond shares and their exchange rate to coins. Slashing results 49114 in 49115 49116 a decrease in the exchange rate, allowing correct calculation of future 49117 49118 undelegations without iterating over delegators. When coins are delegated 49119 to 49120 49121 this validator, the validator is credited with a delegation whose number 49122 of 49123 49124 bond shares is based on the amount of coins delegated divided by the 49125 current 49126 49127 exchange rate. Voting power can be calculated as total bonded shares 49128 49129 multiplied by exchange rate. 49130 cosmos.base.abci.v1beta1.ABCIMessageLog: 49131 type: object 49132 properties: 49133 msg_index: 49134 type: integer 49135 format: int64 49136 log: 49137 type: string 49138 events: 49139 type: array 49140 items: 49141 type: object 49142 properties: 49143 type: 49144 type: string 49145 attributes: 49146 type: array 49147 items: 49148 type: object 49149 properties: 49150 key: 49151 type: string 49152 value: 49153 type: string 49154 description: >- 49155 Attribute defines an attribute wrapper where the key and value 49156 are 49157 49158 strings instead of raw bytes. 49159 description: |- 49160 StringEvent defines en Event object wrapper where all the attributes 49161 contain key/value pairs that are strings instead of raw bytes. 49162 description: |- 49163 Events contains a slice of Event objects that were emitted during some 49164 execution. 49165 description: >- 49166 ABCIMessageLog defines a structure containing an indexed tx ABCI message 49167 log. 49168 cosmos.base.abci.v1beta1.Attribute: 49169 type: object 49170 properties: 49171 key: 49172 type: string 49173 value: 49174 type: string 49175 description: |- 49176 Attribute defines an attribute wrapper where the key and value are 49177 strings instead of raw bytes. 49178 cosmos.base.abci.v1beta1.GasInfo: 49179 type: object 49180 properties: 49181 gas_wanted: 49182 type: string 49183 format: uint64 49184 description: GasWanted is the maximum units of work we allow this tx to perform. 49185 gas_used: 49186 type: string 49187 format: uint64 49188 description: GasUsed is the amount of gas actually consumed. 49189 description: GasInfo defines tx execution gas context. 49190 cosmos.base.abci.v1beta1.Result: 49191 type: object 49192 properties: 49193 data: 49194 type: string 49195 format: byte 49196 description: >- 49197 Data is any data returned from message or handler execution. It MUST 49198 be 49199 49200 length prefixed in order to separate data from multiple message 49201 executions. 49202 log: 49203 type: string 49204 description: Log contains the log information from message or handler execution. 49205 events: 49206 type: array 49207 items: 49208 type: object 49209 properties: 49210 type: 49211 type: string 49212 attributes: 49213 type: array 49214 items: 49215 type: object 49216 properties: 49217 key: 49218 type: string 49219 format: byte 49220 value: 49221 type: string 49222 format: byte 49223 index: 49224 type: boolean 49225 format: boolean 49226 description: >- 49227 EventAttribute is a single key-value pair, associated with an 49228 event. 49229 description: >- 49230 Event allows application developers to attach additional information 49231 to 49232 49233 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 49234 ResponseDeliverTx. 49235 49236 Later, transactions may be queried using these events. 49237 description: >- 49238 Events contains a slice of Event objects that were emitted during 49239 message 49240 49241 or handler execution. 49242 description: Result is the union of ResponseFormat and ResponseCheckTx. 49243 cosmos.base.abci.v1beta1.StringEvent: 49244 type: object 49245 properties: 49246 type: 49247 type: string 49248 attributes: 49249 type: array 49250 items: 49251 type: object 49252 properties: 49253 key: 49254 type: string 49255 value: 49256 type: string 49257 description: |- 49258 Attribute defines an attribute wrapper where the key and value are 49259 strings instead of raw bytes. 49260 description: |- 49261 StringEvent defines en Event object wrapper where all the attributes 49262 contain key/value pairs that are strings instead of raw bytes. 49263 cosmos.base.abci.v1beta1.TxResponse: 49264 type: object 49265 properties: 49266 height: 49267 type: string 49268 format: int64 49269 title: The block height 49270 txhash: 49271 type: string 49272 description: The transaction hash. 49273 codespace: 49274 type: string 49275 title: Namespace for the Code 49276 code: 49277 type: integer 49278 format: int64 49279 description: Response code. 49280 data: 49281 type: string 49282 description: 'Result bytes, if any.' 49283 raw_log: 49284 type: string 49285 description: |- 49286 The output of the application's logger (raw string). May be 49287 non-deterministic. 49288 logs: 49289 type: array 49290 items: 49291 type: object 49292 properties: 49293 msg_index: 49294 type: integer 49295 format: int64 49296 log: 49297 type: string 49298 events: 49299 type: array 49300 items: 49301 type: object 49302 properties: 49303 type: 49304 type: string 49305 attributes: 49306 type: array 49307 items: 49308 type: object 49309 properties: 49310 key: 49311 type: string 49312 value: 49313 type: string 49314 description: >- 49315 Attribute defines an attribute wrapper where the key and 49316 value are 49317 49318 strings instead of raw bytes. 49319 description: >- 49320 StringEvent defines en Event object wrapper where all the 49321 attributes 49322 49323 contain key/value pairs that are strings instead of raw bytes. 49324 description: >- 49325 Events contains a slice of Event objects that were emitted 49326 during some 49327 49328 execution. 49329 description: >- 49330 ABCIMessageLog defines a structure containing an indexed tx ABCI 49331 message log. 49332 description: >- 49333 The output of the application's logger (typed). May be 49334 non-deterministic. 49335 info: 49336 type: string 49337 description: Additional information. May be non-deterministic. 49338 gas_wanted: 49339 type: string 49340 format: int64 49341 description: Amount of gas requested for transaction. 49342 gas_used: 49343 type: string 49344 format: int64 49345 description: Amount of gas consumed by transaction. 49346 tx: 49347 type: object 49348 properties: 49349 type_url: 49350 type: string 49351 description: >- 49352 A URL/resource name that uniquely identifies the type of the 49353 serialized 49354 49355 protocol buffer message. This string must contain at least 49356 49357 one "/" character. The last segment of the URL's path must 49358 represent 49359 49360 the fully qualified name of the type (as in 49361 49362 `path/google.protobuf.Duration`). The name should be in a 49363 canonical form 49364 49365 (e.g., leading "." is not accepted). 49366 49367 49368 In practice, teams usually precompile into the binary all types 49369 that they 49370 49371 expect it to use in the context of Any. However, for URLs which 49372 use the 49373 49374 scheme `http`, `https`, or no scheme, one can optionally set up a 49375 type 49376 49377 server that maps type URLs to message definitions as follows: 49378 49379 49380 * If no scheme is provided, `https` is assumed. 49381 49382 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 49383 value in binary format, or produce an error. 49384 * Applications are allowed to cache lookup results based on the 49385 URL, or have them precompiled into a binary to avoid any 49386 lookup. Therefore, binary compatibility needs to be preserved 49387 on changes to types. (Use versioned type names to manage 49388 breaking changes.) 49389 49390 Note: this functionality is not currently available in the 49391 official 49392 49393 protobuf release, and it is not used for type URLs beginning with 49394 49395 type.googleapis.com. 49396 49397 49398 Schemes other than `http`, `https` (or the empty scheme) might be 49399 49400 used with implementation specific semantics. 49401 value: 49402 type: string 49403 format: byte 49404 description: >- 49405 Must be a valid serialized protocol buffer of the above specified 49406 type. 49407 description: >- 49408 `Any` contains an arbitrary serialized protocol buffer message along 49409 with a 49410 49411 URL that describes the type of the serialized message. 49412 49413 49414 Protobuf library provides support to pack/unpack Any values in the 49415 form 49416 49417 of utility functions or additional generated methods of the Any type. 49418 49419 49420 Example 1: Pack and unpack a message in C++. 49421 49422 Foo foo = ...; 49423 Any any; 49424 any.PackFrom(foo); 49425 ... 49426 if (any.UnpackTo(&foo)) { 49427 ... 49428 } 49429 49430 Example 2: Pack and unpack a message in Java. 49431 49432 Foo foo = ...; 49433 Any any = Any.pack(foo); 49434 ... 49435 if (any.is(Foo.class)) { 49436 foo = any.unpack(Foo.class); 49437 } 49438 49439 Example 3: Pack and unpack a message in Python. 49440 49441 foo = Foo(...) 49442 any = Any() 49443 any.Pack(foo) 49444 ... 49445 if any.Is(Foo.DESCRIPTOR): 49446 any.Unpack(foo) 49447 ... 49448 49449 Example 4: Pack and unpack a message in Go 49450 49451 foo := &pb.Foo{...} 49452 any, err := ptypes.MarshalAny(foo) 49453 ... 49454 foo := &pb.Foo{} 49455 if err := ptypes.UnmarshalAny(any, foo); err != nil { 49456 ... 49457 } 49458 49459 The pack methods provided by protobuf library will by default use 49460 49461 'type.googleapis.com/full.type.name' as the type URL and the unpack 49462 49463 methods only use the fully qualified type name after the last '/' 49464 49465 in the type URL, for example "foo.bar.com/x/y.z" will yield type 49466 49467 name "y.z". 49468 49469 49470 49471 JSON 49472 49473 ==== 49474 49475 The JSON representation of an `Any` value uses the regular 49476 49477 representation of the deserialized, embedded message, with an 49478 49479 additional field `@type` which contains the type URL. Example: 49480 49481 package google.profile; 49482 message Person { 49483 string first_name = 1; 49484 string last_name = 2; 49485 } 49486 49487 { 49488 "@type": "type.googleapis.com/google.profile.Person", 49489 "firstName": <string>, 49490 "lastName": <string> 49491 } 49492 49493 If the embedded message type is well-known and has a custom JSON 49494 49495 representation, that representation will be embedded adding a field 49496 49497 `value` which holds the custom JSON in addition to the `@type` 49498 49499 field. Example (for message [google.protobuf.Duration][]): 49500 49501 { 49502 "@type": "type.googleapis.com/google.protobuf.Duration", 49503 "value": "1.212s" 49504 } 49505 timestamp: 49506 type: string 49507 description: >- 49508 Time of the previous block. For heights > 1, it's the weighted median 49509 of 49510 49511 the timestamps of the valid votes in the block.LastCommit. For height 49512 == 1, 49513 49514 it's genesis time. 49515 events: 49516 type: array 49517 items: 49518 type: object 49519 properties: 49520 type: 49521 type: string 49522 attributes: 49523 type: array 49524 items: 49525 type: object 49526 properties: 49527 key: 49528 type: string 49529 format: byte 49530 value: 49531 type: string 49532 format: byte 49533 index: 49534 type: boolean 49535 format: boolean 49536 description: >- 49537 EventAttribute is a single key-value pair, associated with an 49538 event. 49539 description: >- 49540 Event allows application developers to attach additional information 49541 to 49542 49543 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 49544 ResponseDeliverTx. 49545 49546 Later, transactions may be queried using these events. 49547 description: >- 49548 Events defines all the events emitted by processing a transaction. 49549 Note, 49550 49551 these events include those emitted by processing all the messages and 49552 those 49553 49554 emitted from the ante handler. Whereas Logs contains the events, with 49555 49556 additional metadata, emitted only by processing the messages. 49557 49558 49559 Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 49560 description: >- 49561 TxResponse defines a structure containing relevant tx data and metadata. 49562 The 49563 49564 tags are stringified and the log is JSON decoded. 49565 cosmos.crypto.multisig.v1beta1.CompactBitArray: 49566 type: object 49567 properties: 49568 extra_bits_stored: 49569 type: integer 49570 format: int64 49571 elems: 49572 type: string 49573 format: byte 49574 description: |- 49575 CompactBitArray is an implementation of a space efficient bit array. 49576 This is used to ensure that the encoded data takes up a minimal amount of 49577 space after proto encoding. 49578 This is not thread safe, and is not intended for concurrent usage. 49579 cosmos.tx.signing.v1beta1.SignMode: 49580 type: string 49581 enum: 49582 - SIGN_MODE_UNSPECIFIED 49583 - SIGN_MODE_DIRECT 49584 - SIGN_MODE_TEXTUAL 49585 - SIGN_MODE_LEGACY_AMINO_JSON 49586 - SIGN_MODE_EIP_191 49587 default: SIGN_MODE_UNSPECIFIED 49588 description: |- 49589 SignMode represents a signing mode with its own security guarantees. 49590 49591 - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be 49592 rejected 49593 - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is 49594 verified with raw bytes from Tx 49595 - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some 49596 human-readable textual representation on top of the binary representation 49597 from SIGN_MODE_DIRECT 49598 - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses 49599 Amino JSON and will be removed in the future 49600 - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos 49601 SDK. Ref: https://eips.ethereum.org/EIPS/eip-191 49602 49603 Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant, 49604 but is not implemented on the SDK by default. To enable EIP-191, you need 49605 to pass a custom `TxConfig` that has an implementation of 49606 `SignModeHandler` for EIP-191. The SDK may decide to fully support 49607 EIP-191 in the future. 49608 49609 Since: cosmos-sdk 0.45.2 49610 cosmos.tx.v1beta1.AuthInfo: 49611 type: object 49612 properties: 49613 signer_infos: 49614 type: array 49615 items: 49616 $ref: '#/definitions/cosmos.tx.v1beta1.SignerInfo' 49617 description: >- 49618 signer_infos defines the signing modes for the required signers. The 49619 number 49620 49621 and order of elements must match the required signers from TxBody's 49622 49623 messages. The first element is the primary signer and the one which 49624 pays 49625 49626 the fee. 49627 fee: 49628 description: >- 49629 Fee is the fee and gas limit for the transaction. The first signer is 49630 the 49631 49632 primary signer and the one which pays the fee. The fee can be 49633 calculated 49634 49635 based on the cost of evaluating the body and doing signature 49636 verification 49637 49638 of the signers. This can be estimated via simulation. 49639 type: object 49640 properties: 49641 amount: 49642 type: array 49643 items: 49644 type: object 49645 properties: 49646 denom: 49647 type: string 49648 amount: 49649 type: string 49650 description: >- 49651 Coin defines a token with a denomination and an amount. 49652 49653 49654 NOTE: The amount field is an Int which implements the custom 49655 method 49656 49657 signatures required by gogoproto. 49658 title: amount is the amount of coins to be paid as a fee 49659 gas_limit: 49660 type: string 49661 format: uint64 49662 title: >- 49663 gas_limit is the maximum gas that can be used in transaction 49664 processing 49665 49666 before an out of gas error occurs 49667 payer: 49668 type: string 49669 description: >- 49670 if unset, the first signer is responsible for paying the fees. If 49671 set, the specified account must pay the fees. 49672 49673 the payer must be a tx signer (and thus have signed this field in 49674 AuthInfo). 49675 49676 setting this field does *not* change the ordering of required 49677 signers for the transaction. 49678 granter: 49679 type: string 49680 title: >- 49681 if set, the fee payer (either the first signer or the value of the 49682 payer field) requests that a fee grant be used 49683 49684 to pay fees instead of the fee payer's own balance. If an 49685 appropriate fee grant does not exist or the chain does 49686 49687 not support fee grants, this will fail 49688 description: |- 49689 AuthInfo describes the fee and signer modes that are used to sign a 49690 transaction. 49691 cosmos.tx.v1beta1.BroadcastMode: 49692 type: string 49693 enum: 49694 - BROADCAST_MODE_UNSPECIFIED 49695 - BROADCAST_MODE_BLOCK 49696 - BROADCAST_MODE_SYNC 49697 - BROADCAST_MODE_ASYNC 49698 default: BROADCAST_MODE_UNSPECIFIED 49699 description: >- 49700 BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC 49701 method. 49702 49703 - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering 49704 - BROADCAST_MODE_BLOCK: DEPRECATED: use BROADCAST_MODE_SYNC instead, 49705 - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for 49706 a CheckTx execution response only. 49707 - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns 49708 immediately. 49709 cosmos.tx.v1beta1.BroadcastTxRequest: 49710 type: object 49711 properties: 49712 tx_bytes: 49713 type: string 49714 format: byte 49715 description: tx_bytes is the raw transaction. 49716 mode: 49717 type: string 49718 enum: 49719 - BROADCAST_MODE_UNSPECIFIED 49720 - BROADCAST_MODE_BLOCK 49721 - BROADCAST_MODE_SYNC 49722 - BROADCAST_MODE_ASYNC 49723 default: BROADCAST_MODE_UNSPECIFIED 49724 description: >- 49725 BroadcastMode specifies the broadcast mode for the TxService.Broadcast 49726 RPC method. 49727 49728 - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering 49729 - BROADCAST_MODE_BLOCK: DEPRECATED: use BROADCAST_MODE_SYNC instead, 49730 - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for 49731 a CheckTx execution response only. 49732 - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns 49733 immediately. 49734 description: |- 49735 BroadcastTxRequest is the request type for the Service.BroadcastTxRequest 49736 RPC method. 49737 cosmos.tx.v1beta1.BroadcastTxResponse: 49738 type: object 49739 properties: 49740 tx_response: 49741 type: object 49742 properties: 49743 height: 49744 type: string 49745 format: int64 49746 title: The block height 49747 txhash: 49748 type: string 49749 description: The transaction hash. 49750 codespace: 49751 type: string 49752 title: Namespace for the Code 49753 code: 49754 type: integer 49755 format: int64 49756 description: Response code. 49757 data: 49758 type: string 49759 description: 'Result bytes, if any.' 49760 raw_log: 49761 type: string 49762 description: |- 49763 The output of the application's logger (raw string). May be 49764 non-deterministic. 49765 logs: 49766 type: array 49767 items: 49768 type: object 49769 properties: 49770 msg_index: 49771 type: integer 49772 format: int64 49773 log: 49774 type: string 49775 events: 49776 type: array 49777 items: 49778 type: object 49779 properties: 49780 type: 49781 type: string 49782 attributes: 49783 type: array 49784 items: 49785 type: object 49786 properties: 49787 key: 49788 type: string 49789 value: 49790 type: string 49791 description: >- 49792 Attribute defines an attribute wrapper where the key 49793 and value are 49794 49795 strings instead of raw bytes. 49796 description: >- 49797 StringEvent defines en Event object wrapper where all the 49798 attributes 49799 49800 contain key/value pairs that are strings instead of raw 49801 bytes. 49802 description: >- 49803 Events contains a slice of Event objects that were emitted 49804 during some 49805 49806 execution. 49807 description: >- 49808 ABCIMessageLog defines a structure containing an indexed tx ABCI 49809 message log. 49810 description: >- 49811 The output of the application's logger (typed). May be 49812 non-deterministic. 49813 info: 49814 type: string 49815 description: Additional information. May be non-deterministic. 49816 gas_wanted: 49817 type: string 49818 format: int64 49819 description: Amount of gas requested for transaction. 49820 gas_used: 49821 type: string 49822 format: int64 49823 description: Amount of gas consumed by transaction. 49824 tx: 49825 type: object 49826 properties: 49827 type_url: 49828 type: string 49829 description: >- 49830 A URL/resource name that uniquely identifies the type of the 49831 serialized 49832 49833 protocol buffer message. This string must contain at least 49834 49835 one "/" character. The last segment of the URL's path must 49836 represent 49837 49838 the fully qualified name of the type (as in 49839 49840 `path/google.protobuf.Duration`). The name should be in a 49841 canonical form 49842 49843 (e.g., leading "." is not accepted). 49844 49845 49846 In practice, teams usually precompile into the binary all 49847 types that they 49848 49849 expect it to use in the context of Any. However, for URLs 49850 which use the 49851 49852 scheme `http`, `https`, or no scheme, one can optionally set 49853 up a type 49854 49855 server that maps type URLs to message definitions as follows: 49856 49857 49858 * If no scheme is provided, `https` is assumed. 49859 49860 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 49861 value in binary format, or produce an error. 49862 * Applications are allowed to cache lookup results based on 49863 the 49864 URL, or have them precompiled into a binary to avoid any 49865 lookup. Therefore, binary compatibility needs to be preserved 49866 on changes to types. (Use versioned type names to manage 49867 breaking changes.) 49868 49869 Note: this functionality is not currently available in the 49870 official 49871 49872 protobuf release, and it is not used for type URLs beginning 49873 with 49874 49875 type.googleapis.com. 49876 49877 49878 Schemes other than `http`, `https` (or the empty scheme) might 49879 be 49880 49881 used with implementation specific semantics. 49882 value: 49883 type: string 49884 format: byte 49885 description: >- 49886 Must be a valid serialized protocol buffer of the above 49887 specified type. 49888 description: >- 49889 `Any` contains an arbitrary serialized protocol buffer message 49890 along with a 49891 49892 URL that describes the type of the serialized message. 49893 49894 49895 Protobuf library provides support to pack/unpack Any values in the 49896 form 49897 49898 of utility functions or additional generated methods of the Any 49899 type. 49900 49901 49902 Example 1: Pack and unpack a message in C++. 49903 49904 Foo foo = ...; 49905 Any any; 49906 any.PackFrom(foo); 49907 ... 49908 if (any.UnpackTo(&foo)) { 49909 ... 49910 } 49911 49912 Example 2: Pack and unpack a message in Java. 49913 49914 Foo foo = ...; 49915 Any any = Any.pack(foo); 49916 ... 49917 if (any.is(Foo.class)) { 49918 foo = any.unpack(Foo.class); 49919 } 49920 49921 Example 3: Pack and unpack a message in Python. 49922 49923 foo = Foo(...) 49924 any = Any() 49925 any.Pack(foo) 49926 ... 49927 if any.Is(Foo.DESCRIPTOR): 49928 any.Unpack(foo) 49929 ... 49930 49931 Example 4: Pack and unpack a message in Go 49932 49933 foo := &pb.Foo{...} 49934 any, err := ptypes.MarshalAny(foo) 49935 ... 49936 foo := &pb.Foo{} 49937 if err := ptypes.UnmarshalAny(any, foo); err != nil { 49938 ... 49939 } 49940 49941 The pack methods provided by protobuf library will by default use 49942 49943 'type.googleapis.com/full.type.name' as the type URL and the 49944 unpack 49945 49946 methods only use the fully qualified type name after the last '/' 49947 49948 in the type URL, for example "foo.bar.com/x/y.z" will yield type 49949 49950 name "y.z". 49951 49952 49953 49954 JSON 49955 49956 ==== 49957 49958 The JSON representation of an `Any` value uses the regular 49959 49960 representation of the deserialized, embedded message, with an 49961 49962 additional field `@type` which contains the type URL. Example: 49963 49964 package google.profile; 49965 message Person { 49966 string first_name = 1; 49967 string last_name = 2; 49968 } 49969 49970 { 49971 "@type": "type.googleapis.com/google.profile.Person", 49972 "firstName": <string>, 49973 "lastName": <string> 49974 } 49975 49976 If the embedded message type is well-known and has a custom JSON 49977 49978 representation, that representation will be embedded adding a 49979 field 49980 49981 `value` which holds the custom JSON in addition to the `@type` 49982 49983 field. Example (for message [google.protobuf.Duration][]): 49984 49985 { 49986 "@type": "type.googleapis.com/google.protobuf.Duration", 49987 "value": "1.212s" 49988 } 49989 timestamp: 49990 type: string 49991 description: >- 49992 Time of the previous block. For heights > 1, it's the weighted 49993 median of 49994 49995 the timestamps of the valid votes in the block.LastCommit. For 49996 height == 1, 49997 49998 it's genesis time. 49999 events: 50000 type: array 50001 items: 50002 type: object 50003 properties: 50004 type: 50005 type: string 50006 attributes: 50007 type: array 50008 items: 50009 type: object 50010 properties: 50011 key: 50012 type: string 50013 format: byte 50014 value: 50015 type: string 50016 format: byte 50017 index: 50018 type: boolean 50019 format: boolean 50020 description: >- 50021 EventAttribute is a single key-value pair, associated with 50022 an event. 50023 description: >- 50024 Event allows application developers to attach additional 50025 information to 50026 50027 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 50028 ResponseDeliverTx. 50029 50030 Later, transactions may be queried using these events. 50031 description: >- 50032 Events defines all the events emitted by processing a transaction. 50033 Note, 50034 50035 these events include those emitted by processing all the messages 50036 and those 50037 50038 emitted from the ante handler. Whereas Logs contains the events, 50039 with 50040 50041 additional metadata, emitted only by processing the messages. 50042 50043 50044 Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 50045 description: >- 50046 TxResponse defines a structure containing relevant tx data and 50047 metadata. The 50048 50049 tags are stringified and the log is JSON decoded. 50050 description: |- 50051 BroadcastTxResponse is the response type for the 50052 Service.BroadcastTx method. 50053 cosmos.tx.v1beta1.Fee: 50054 type: object 50055 properties: 50056 amount: 50057 type: array 50058 items: 50059 type: object 50060 properties: 50061 denom: 50062 type: string 50063 amount: 50064 type: string 50065 description: |- 50066 Coin defines a token with a denomination and an amount. 50067 50068 NOTE: The amount field is an Int which implements the custom method 50069 signatures required by gogoproto. 50070 title: amount is the amount of coins to be paid as a fee 50071 gas_limit: 50072 type: string 50073 format: uint64 50074 title: >- 50075 gas_limit is the maximum gas that can be used in transaction 50076 processing 50077 50078 before an out of gas error occurs 50079 payer: 50080 type: string 50081 description: >- 50082 if unset, the first signer is responsible for paying the fees. If set, 50083 the specified account must pay the fees. 50084 50085 the payer must be a tx signer (and thus have signed this field in 50086 AuthInfo). 50087 50088 setting this field does *not* change the ordering of required signers 50089 for the transaction. 50090 granter: 50091 type: string 50092 title: >- 50093 if set, the fee payer (either the first signer or the value of the 50094 payer field) requests that a fee grant be used 50095 50096 to pay fees instead of the fee payer's own balance. If an appropriate 50097 fee grant does not exist or the chain does 50098 50099 not support fee grants, this will fail 50100 description: >- 50101 Fee includes the amount of coins paid in fees and the maximum 50102 50103 gas to be used by the transaction. The ratio yields an effective 50104 "gasprice", 50105 50106 which must be above some miminum to be accepted into the mempool. 50107 cosmos.tx.v1beta1.GetBlockWithTxsResponse: 50108 type: object 50109 properties: 50110 txs: 50111 type: array 50112 items: 50113 $ref: '#/definitions/cosmos.tx.v1beta1.Tx' 50114 description: txs are the transactions in the block. 50115 block_id: 50116 type: object 50117 properties: 50118 hash: 50119 type: string 50120 format: byte 50121 part_set_header: 50122 type: object 50123 properties: 50124 total: 50125 type: integer 50126 format: int64 50127 hash: 50128 type: string 50129 format: byte 50130 title: PartsetHeader 50131 title: BlockID 50132 block: 50133 type: object 50134 properties: 50135 header: 50136 type: object 50137 properties: 50138 version: 50139 title: basic block info 50140 type: object 50141 properties: 50142 block: 50143 type: string 50144 format: uint64 50145 app: 50146 type: string 50147 format: uint64 50148 description: >- 50149 Consensus captures the consensus rules for processing a block 50150 in the blockchain, 50151 50152 including all blockchain data structures and the rules of the 50153 application's 50154 50155 state transition machine. 50156 chain_id: 50157 type: string 50158 height: 50159 type: string 50160 format: int64 50161 time: 50162 type: string 50163 format: date-time 50164 last_block_id: 50165 type: object 50166 properties: 50167 hash: 50168 type: string 50169 format: byte 50170 part_set_header: 50171 type: object 50172 properties: 50173 total: 50174 type: integer 50175 format: int64 50176 hash: 50177 type: string 50178 format: byte 50179 title: PartsetHeader 50180 title: BlockID 50181 last_commit_hash: 50182 type: string 50183 format: byte 50184 title: hashes of block data 50185 data_hash: 50186 type: string 50187 format: byte 50188 validators_hash: 50189 type: string 50190 format: byte 50191 title: hashes from the app output from the prev block 50192 next_validators_hash: 50193 type: string 50194 format: byte 50195 consensus_hash: 50196 type: string 50197 format: byte 50198 app_hash: 50199 type: string 50200 format: byte 50201 last_results_hash: 50202 type: string 50203 format: byte 50204 evidence_hash: 50205 type: string 50206 format: byte 50207 title: consensus info 50208 proposer_address: 50209 type: string 50210 format: byte 50211 description: Header defines the structure of a Tendermint block header. 50212 data: 50213 type: object 50214 properties: 50215 txs: 50216 type: array 50217 items: 50218 type: string 50219 format: byte 50220 description: >- 50221 Txs that will be applied by state @ block.Height+1. 50222 50223 NOTE: not all txs here are valid. We're just agreeing on the 50224 order first. 50225 50226 This means that block.AppHash does not include these txs. 50227 title: Data contains the set of transactions included in the block 50228 evidence: 50229 type: object 50230 properties: 50231 evidence: 50232 type: array 50233 items: 50234 type: object 50235 properties: 50236 duplicate_vote_evidence: 50237 type: object 50238 properties: 50239 vote_a: 50240 type: object 50241 properties: 50242 type: 50243 type: string 50244 enum: 50245 - SIGNED_MSG_TYPE_UNKNOWN 50246 - SIGNED_MSG_TYPE_PREVOTE 50247 - SIGNED_MSG_TYPE_PRECOMMIT 50248 - SIGNED_MSG_TYPE_PROPOSAL 50249 default: SIGNED_MSG_TYPE_UNKNOWN 50250 description: >- 50251 SignedMsgType is a type of signed message in the 50252 consensus. 50253 50254 - SIGNED_MSG_TYPE_PREVOTE: Votes 50255 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 50256 height: 50257 type: string 50258 format: int64 50259 round: 50260 type: integer 50261 format: int32 50262 block_id: 50263 type: object 50264 properties: 50265 hash: 50266 type: string 50267 format: byte 50268 part_set_header: 50269 type: object 50270 properties: 50271 total: 50272 type: integer 50273 format: int64 50274 hash: 50275 type: string 50276 format: byte 50277 title: PartsetHeader 50278 title: BlockID 50279 timestamp: 50280 type: string 50281 format: date-time 50282 validator_address: 50283 type: string 50284 format: byte 50285 validator_index: 50286 type: integer 50287 format: int32 50288 signature: 50289 type: string 50290 format: byte 50291 description: >- 50292 Vote represents a prevote, precommit, or commit vote 50293 from validators for 50294 50295 consensus. 50296 vote_b: 50297 type: object 50298 properties: 50299 type: 50300 type: string 50301 enum: 50302 - SIGNED_MSG_TYPE_UNKNOWN 50303 - SIGNED_MSG_TYPE_PREVOTE 50304 - SIGNED_MSG_TYPE_PRECOMMIT 50305 - SIGNED_MSG_TYPE_PROPOSAL 50306 default: SIGNED_MSG_TYPE_UNKNOWN 50307 description: >- 50308 SignedMsgType is a type of signed message in the 50309 consensus. 50310 50311 - SIGNED_MSG_TYPE_PREVOTE: Votes 50312 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 50313 height: 50314 type: string 50315 format: int64 50316 round: 50317 type: integer 50318 format: int32 50319 block_id: 50320 type: object 50321 properties: 50322 hash: 50323 type: string 50324 format: byte 50325 part_set_header: 50326 type: object 50327 properties: 50328 total: 50329 type: integer 50330 format: int64 50331 hash: 50332 type: string 50333 format: byte 50334 title: PartsetHeader 50335 title: BlockID 50336 timestamp: 50337 type: string 50338 format: date-time 50339 validator_address: 50340 type: string 50341 format: byte 50342 validator_index: 50343 type: integer 50344 format: int32 50345 signature: 50346 type: string 50347 format: byte 50348 description: >- 50349 Vote represents a prevote, precommit, or commit vote 50350 from validators for 50351 50352 consensus. 50353 total_voting_power: 50354 type: string 50355 format: int64 50356 validator_power: 50357 type: string 50358 format: int64 50359 timestamp: 50360 type: string 50361 format: date-time 50362 description: >- 50363 DuplicateVoteEvidence contains evidence of a validator 50364 signed two conflicting votes. 50365 light_client_attack_evidence: 50366 type: object 50367 properties: 50368 conflicting_block: 50369 type: object 50370 properties: 50371 signed_header: 50372 type: object 50373 properties: 50374 header: 50375 type: object 50376 properties: 50377 version: 50378 title: basic block info 50379 type: object 50380 properties: 50381 block: 50382 type: string 50383 format: uint64 50384 app: 50385 type: string 50386 format: uint64 50387 description: >- 50388 Consensus captures the consensus rules 50389 for processing a block in the 50390 blockchain, 50391 50392 including all blockchain data structures 50393 and the rules of the application's 50394 50395 state transition machine. 50396 chain_id: 50397 type: string 50398 height: 50399 type: string 50400 format: int64 50401 time: 50402 type: string 50403 format: date-time 50404 last_block_id: 50405 type: object 50406 properties: 50407 hash: 50408 type: string 50409 format: byte 50410 part_set_header: 50411 type: object 50412 properties: 50413 total: 50414 type: integer 50415 format: int64 50416 hash: 50417 type: string 50418 format: byte 50419 title: PartsetHeader 50420 title: BlockID 50421 last_commit_hash: 50422 type: string 50423 format: byte 50424 title: hashes of block data 50425 data_hash: 50426 type: string 50427 format: byte 50428 validators_hash: 50429 type: string 50430 format: byte 50431 title: >- 50432 hashes from the app output from the prev 50433 block 50434 next_validators_hash: 50435 type: string 50436 format: byte 50437 consensus_hash: 50438 type: string 50439 format: byte 50440 app_hash: 50441 type: string 50442 format: byte 50443 last_results_hash: 50444 type: string 50445 format: byte 50446 evidence_hash: 50447 type: string 50448 format: byte 50449 title: consensus info 50450 proposer_address: 50451 type: string 50452 format: byte 50453 description: >- 50454 Header defines the structure of a Tendermint 50455 block header. 50456 commit: 50457 type: object 50458 properties: 50459 height: 50460 type: string 50461 format: int64 50462 round: 50463 type: integer 50464 format: int32 50465 block_id: 50466 type: object 50467 properties: 50468 hash: 50469 type: string 50470 format: byte 50471 part_set_header: 50472 type: object 50473 properties: 50474 total: 50475 type: integer 50476 format: int64 50477 hash: 50478 type: string 50479 format: byte 50480 title: PartsetHeader 50481 title: BlockID 50482 signatures: 50483 type: array 50484 items: 50485 type: object 50486 properties: 50487 block_id_flag: 50488 type: string 50489 enum: 50490 - BLOCK_ID_FLAG_UNKNOWN 50491 - BLOCK_ID_FLAG_ABSENT 50492 - BLOCK_ID_FLAG_COMMIT 50493 - BLOCK_ID_FLAG_NIL 50494 default: BLOCK_ID_FLAG_UNKNOWN 50495 title: >- 50496 BlockIdFlag indicates which BlcokID the 50497 signature is for 50498 validator_address: 50499 type: string 50500 format: byte 50501 timestamp: 50502 type: string 50503 format: date-time 50504 signature: 50505 type: string 50506 format: byte 50507 description: >- 50508 CommitSig is a part of the Vote included 50509 in a Commit. 50510 description: >- 50511 Commit contains the evidence that a block 50512 was committed by a set of validators. 50513 validator_set: 50514 type: object 50515 properties: 50516 validators: 50517 type: array 50518 items: 50519 type: object 50520 properties: 50521 address: 50522 type: string 50523 format: byte 50524 pub_key: 50525 type: object 50526 properties: 50527 ed25519: 50528 type: string 50529 format: byte 50530 secp256k1: 50531 type: string 50532 format: byte 50533 title: >- 50534 PublicKey defines the keys available for 50535 use with Tendermint Validators 50536 voting_power: 50537 type: string 50538 format: int64 50539 proposer_priority: 50540 type: string 50541 format: int64 50542 proposer: 50543 type: object 50544 properties: 50545 address: 50546 type: string 50547 format: byte 50548 pub_key: 50549 type: object 50550 properties: 50551 ed25519: 50552 type: string 50553 format: byte 50554 secp256k1: 50555 type: string 50556 format: byte 50557 title: >- 50558 PublicKey defines the keys available for 50559 use with Tendermint Validators 50560 voting_power: 50561 type: string 50562 format: int64 50563 proposer_priority: 50564 type: string 50565 format: int64 50566 total_voting_power: 50567 type: string 50568 format: int64 50569 common_height: 50570 type: string 50571 format: int64 50572 byzantine_validators: 50573 type: array 50574 items: 50575 type: object 50576 properties: 50577 address: 50578 type: string 50579 format: byte 50580 pub_key: 50581 type: object 50582 properties: 50583 ed25519: 50584 type: string 50585 format: byte 50586 secp256k1: 50587 type: string 50588 format: byte 50589 title: >- 50590 PublicKey defines the keys available for use 50591 with Tendermint Validators 50592 voting_power: 50593 type: string 50594 format: int64 50595 proposer_priority: 50596 type: string 50597 format: int64 50598 total_voting_power: 50599 type: string 50600 format: int64 50601 timestamp: 50602 type: string 50603 format: date-time 50604 description: >- 50605 LightClientAttackEvidence contains evidence of a set of 50606 validators attempting to mislead a light client. 50607 last_commit: 50608 type: object 50609 properties: 50610 height: 50611 type: string 50612 format: int64 50613 round: 50614 type: integer 50615 format: int32 50616 block_id: 50617 type: object 50618 properties: 50619 hash: 50620 type: string 50621 format: byte 50622 part_set_header: 50623 type: object 50624 properties: 50625 total: 50626 type: integer 50627 format: int64 50628 hash: 50629 type: string 50630 format: byte 50631 title: PartsetHeader 50632 title: BlockID 50633 signatures: 50634 type: array 50635 items: 50636 type: object 50637 properties: 50638 block_id_flag: 50639 type: string 50640 enum: 50641 - BLOCK_ID_FLAG_UNKNOWN 50642 - BLOCK_ID_FLAG_ABSENT 50643 - BLOCK_ID_FLAG_COMMIT 50644 - BLOCK_ID_FLAG_NIL 50645 default: BLOCK_ID_FLAG_UNKNOWN 50646 title: BlockIdFlag indicates which BlcokID the signature is for 50647 validator_address: 50648 type: string 50649 format: byte 50650 timestamp: 50651 type: string 50652 format: date-time 50653 signature: 50654 type: string 50655 format: byte 50656 description: CommitSig is a part of the Vote included in a Commit. 50657 description: >- 50658 Commit contains the evidence that a block was committed by a set 50659 of validators. 50660 pagination: 50661 description: pagination defines a pagination for the response. 50662 type: object 50663 properties: 50664 next_key: 50665 type: string 50666 format: byte 50667 title: |- 50668 next_key is the key to be passed to PageRequest.key to 50669 query the next page most efficiently 50670 total: 50671 type: string 50672 format: uint64 50673 title: >- 50674 total is total number of results available if 50675 PageRequest.count_total 50676 50677 was set, its value is undefined otherwise 50678 description: >- 50679 GetBlockWithTxsResponse is the response type for the 50680 Service.GetBlockWithTxs method. 50681 50682 50683 Since: cosmos-sdk 0.45.2 50684 cosmos.tx.v1beta1.GetTxResponse: 50685 type: object 50686 properties: 50687 tx: 50688 $ref: '#/definitions/cosmos.tx.v1beta1.Tx' 50689 description: tx is the queried transaction. 50690 tx_response: 50691 type: object 50692 properties: 50693 height: 50694 type: string 50695 format: int64 50696 title: The block height 50697 txhash: 50698 type: string 50699 description: The transaction hash. 50700 codespace: 50701 type: string 50702 title: Namespace for the Code 50703 code: 50704 type: integer 50705 format: int64 50706 description: Response code. 50707 data: 50708 type: string 50709 description: 'Result bytes, if any.' 50710 raw_log: 50711 type: string 50712 description: |- 50713 The output of the application's logger (raw string). May be 50714 non-deterministic. 50715 logs: 50716 type: array 50717 items: 50718 type: object 50719 properties: 50720 msg_index: 50721 type: integer 50722 format: int64 50723 log: 50724 type: string 50725 events: 50726 type: array 50727 items: 50728 type: object 50729 properties: 50730 type: 50731 type: string 50732 attributes: 50733 type: array 50734 items: 50735 type: object 50736 properties: 50737 key: 50738 type: string 50739 value: 50740 type: string 50741 description: >- 50742 Attribute defines an attribute wrapper where the key 50743 and value are 50744 50745 strings instead of raw bytes. 50746 description: >- 50747 StringEvent defines en Event object wrapper where all the 50748 attributes 50749 50750 contain key/value pairs that are strings instead of raw 50751 bytes. 50752 description: >- 50753 Events contains a slice of Event objects that were emitted 50754 during some 50755 50756 execution. 50757 description: >- 50758 ABCIMessageLog defines a structure containing an indexed tx ABCI 50759 message log. 50760 description: >- 50761 The output of the application's logger (typed). May be 50762 non-deterministic. 50763 info: 50764 type: string 50765 description: Additional information. May be non-deterministic. 50766 gas_wanted: 50767 type: string 50768 format: int64 50769 description: Amount of gas requested for transaction. 50770 gas_used: 50771 type: string 50772 format: int64 50773 description: Amount of gas consumed by transaction. 50774 tx: 50775 type: object 50776 properties: 50777 type_url: 50778 type: string 50779 description: >- 50780 A URL/resource name that uniquely identifies the type of the 50781 serialized 50782 50783 protocol buffer message. This string must contain at least 50784 50785 one "/" character. The last segment of the URL's path must 50786 represent 50787 50788 the fully qualified name of the type (as in 50789 50790 `path/google.protobuf.Duration`). The name should be in a 50791 canonical form 50792 50793 (e.g., leading "." is not accepted). 50794 50795 50796 In practice, teams usually precompile into the binary all 50797 types that they 50798 50799 expect it to use in the context of Any. However, for URLs 50800 which use the 50801 50802 scheme `http`, `https`, or no scheme, one can optionally set 50803 up a type 50804 50805 server that maps type URLs to message definitions as follows: 50806 50807 50808 * If no scheme is provided, `https` is assumed. 50809 50810 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 50811 value in binary format, or produce an error. 50812 * Applications are allowed to cache lookup results based on 50813 the 50814 URL, or have them precompiled into a binary to avoid any 50815 lookup. Therefore, binary compatibility needs to be preserved 50816 on changes to types. (Use versioned type names to manage 50817 breaking changes.) 50818 50819 Note: this functionality is not currently available in the 50820 official 50821 50822 protobuf release, and it is not used for type URLs beginning 50823 with 50824 50825 type.googleapis.com. 50826 50827 50828 Schemes other than `http`, `https` (or the empty scheme) might 50829 be 50830 50831 used with implementation specific semantics. 50832 value: 50833 type: string 50834 format: byte 50835 description: >- 50836 Must be a valid serialized protocol buffer of the above 50837 specified type. 50838 description: >- 50839 `Any` contains an arbitrary serialized protocol buffer message 50840 along with a 50841 50842 URL that describes the type of the serialized message. 50843 50844 50845 Protobuf library provides support to pack/unpack Any values in the 50846 form 50847 50848 of utility functions or additional generated methods of the Any 50849 type. 50850 50851 50852 Example 1: Pack and unpack a message in C++. 50853 50854 Foo foo = ...; 50855 Any any; 50856 any.PackFrom(foo); 50857 ... 50858 if (any.UnpackTo(&foo)) { 50859 ... 50860 } 50861 50862 Example 2: Pack and unpack a message in Java. 50863 50864 Foo foo = ...; 50865 Any any = Any.pack(foo); 50866 ... 50867 if (any.is(Foo.class)) { 50868 foo = any.unpack(Foo.class); 50869 } 50870 50871 Example 3: Pack and unpack a message in Python. 50872 50873 foo = Foo(...) 50874 any = Any() 50875 any.Pack(foo) 50876 ... 50877 if any.Is(Foo.DESCRIPTOR): 50878 any.Unpack(foo) 50879 ... 50880 50881 Example 4: Pack and unpack a message in Go 50882 50883 foo := &pb.Foo{...} 50884 any, err := ptypes.MarshalAny(foo) 50885 ... 50886 foo := &pb.Foo{} 50887 if err := ptypes.UnmarshalAny(any, foo); err != nil { 50888 ... 50889 } 50890 50891 The pack methods provided by protobuf library will by default use 50892 50893 'type.googleapis.com/full.type.name' as the type URL and the 50894 unpack 50895 50896 methods only use the fully qualified type name after the last '/' 50897 50898 in the type URL, for example "foo.bar.com/x/y.z" will yield type 50899 50900 name "y.z". 50901 50902 50903 50904 JSON 50905 50906 ==== 50907 50908 The JSON representation of an `Any` value uses the regular 50909 50910 representation of the deserialized, embedded message, with an 50911 50912 additional field `@type` which contains the type URL. Example: 50913 50914 package google.profile; 50915 message Person { 50916 string first_name = 1; 50917 string last_name = 2; 50918 } 50919 50920 { 50921 "@type": "type.googleapis.com/google.profile.Person", 50922 "firstName": <string>, 50923 "lastName": <string> 50924 } 50925 50926 If the embedded message type is well-known and has a custom JSON 50927 50928 representation, that representation will be embedded adding a 50929 field 50930 50931 `value` which holds the custom JSON in addition to the `@type` 50932 50933 field. Example (for message [google.protobuf.Duration][]): 50934 50935 { 50936 "@type": "type.googleapis.com/google.protobuf.Duration", 50937 "value": "1.212s" 50938 } 50939 timestamp: 50940 type: string 50941 description: >- 50942 Time of the previous block. For heights > 1, it's the weighted 50943 median of 50944 50945 the timestamps of the valid votes in the block.LastCommit. For 50946 height == 1, 50947 50948 it's genesis time. 50949 events: 50950 type: array 50951 items: 50952 type: object 50953 properties: 50954 type: 50955 type: string 50956 attributes: 50957 type: array 50958 items: 50959 type: object 50960 properties: 50961 key: 50962 type: string 50963 format: byte 50964 value: 50965 type: string 50966 format: byte 50967 index: 50968 type: boolean 50969 format: boolean 50970 description: >- 50971 EventAttribute is a single key-value pair, associated with 50972 an event. 50973 description: >- 50974 Event allows application developers to attach additional 50975 information to 50976 50977 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 50978 ResponseDeliverTx. 50979 50980 Later, transactions may be queried using these events. 50981 description: >- 50982 Events defines all the events emitted by processing a transaction. 50983 Note, 50984 50985 these events include those emitted by processing all the messages 50986 and those 50987 50988 emitted from the ante handler. Whereas Logs contains the events, 50989 with 50990 50991 additional metadata, emitted only by processing the messages. 50992 50993 50994 Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 50995 description: >- 50996 TxResponse defines a structure containing relevant tx data and 50997 metadata. The 50998 50999 tags are stringified and the log is JSON decoded. 51000 description: GetTxResponse is the response type for the Service.GetTx method. 51001 cosmos.tx.v1beta1.GetTxsEventResponse: 51002 type: object 51003 properties: 51004 txs: 51005 type: array 51006 items: 51007 $ref: '#/definitions/cosmos.tx.v1beta1.Tx' 51008 description: txs is the list of queried transactions. 51009 tx_responses: 51010 type: array 51011 items: 51012 type: object 51013 properties: 51014 height: 51015 type: string 51016 format: int64 51017 title: The block height 51018 txhash: 51019 type: string 51020 description: The transaction hash. 51021 codespace: 51022 type: string 51023 title: Namespace for the Code 51024 code: 51025 type: integer 51026 format: int64 51027 description: Response code. 51028 data: 51029 type: string 51030 description: 'Result bytes, if any.' 51031 raw_log: 51032 type: string 51033 description: |- 51034 The output of the application's logger (raw string). May be 51035 non-deterministic. 51036 logs: 51037 type: array 51038 items: 51039 type: object 51040 properties: 51041 msg_index: 51042 type: integer 51043 format: int64 51044 log: 51045 type: string 51046 events: 51047 type: array 51048 items: 51049 type: object 51050 properties: 51051 type: 51052 type: string 51053 attributes: 51054 type: array 51055 items: 51056 type: object 51057 properties: 51058 key: 51059 type: string 51060 value: 51061 type: string 51062 description: >- 51063 Attribute defines an attribute wrapper where the 51064 key and value are 51065 51066 strings instead of raw bytes. 51067 description: >- 51068 StringEvent defines en Event object wrapper where all 51069 the attributes 51070 51071 contain key/value pairs that are strings instead of raw 51072 bytes. 51073 description: >- 51074 Events contains a slice of Event objects that were emitted 51075 during some 51076 51077 execution. 51078 description: >- 51079 ABCIMessageLog defines a structure containing an indexed tx 51080 ABCI message log. 51081 description: >- 51082 The output of the application's logger (typed). May be 51083 non-deterministic. 51084 info: 51085 type: string 51086 description: Additional information. May be non-deterministic. 51087 gas_wanted: 51088 type: string 51089 format: int64 51090 description: Amount of gas requested for transaction. 51091 gas_used: 51092 type: string 51093 format: int64 51094 description: Amount of gas consumed by transaction. 51095 tx: 51096 type: object 51097 properties: 51098 type_url: 51099 type: string 51100 description: >- 51101 A URL/resource name that uniquely identifies the type of the 51102 serialized 51103 51104 protocol buffer message. This string must contain at least 51105 51106 one "/" character. The last segment of the URL's path must 51107 represent 51108 51109 the fully qualified name of the type (as in 51110 51111 `path/google.protobuf.Duration`). The name should be in a 51112 canonical form 51113 51114 (e.g., leading "." is not accepted). 51115 51116 51117 In practice, teams usually precompile into the binary all 51118 types that they 51119 51120 expect it to use in the context of Any. However, for URLs 51121 which use the 51122 51123 scheme `http`, `https`, or no scheme, one can optionally set 51124 up a type 51125 51126 server that maps type URLs to message definitions as 51127 follows: 51128 51129 51130 * If no scheme is provided, `https` is assumed. 51131 51132 * An HTTP GET on the URL must yield a 51133 [google.protobuf.Type][] 51134 value in binary format, or produce an error. 51135 * Applications are allowed to cache lookup results based on 51136 the 51137 URL, or have them precompiled into a binary to avoid any 51138 lookup. Therefore, binary compatibility needs to be preserved 51139 on changes to types. (Use versioned type names to manage 51140 breaking changes.) 51141 51142 Note: this functionality is not currently available in the 51143 official 51144 51145 protobuf release, and it is not used for type URLs beginning 51146 with 51147 51148 type.googleapis.com. 51149 51150 51151 Schemes other than `http`, `https` (or the empty scheme) 51152 might be 51153 51154 used with implementation specific semantics. 51155 value: 51156 type: string 51157 format: byte 51158 description: >- 51159 Must be a valid serialized protocol buffer of the above 51160 specified type. 51161 description: >- 51162 `Any` contains an arbitrary serialized protocol buffer message 51163 along with a 51164 51165 URL that describes the type of the serialized message. 51166 51167 51168 Protobuf library provides support to pack/unpack Any values in 51169 the form 51170 51171 of utility functions or additional generated methods of the Any 51172 type. 51173 51174 51175 Example 1: Pack and unpack a message in C++. 51176 51177 Foo foo = ...; 51178 Any any; 51179 any.PackFrom(foo); 51180 ... 51181 if (any.UnpackTo(&foo)) { 51182 ... 51183 } 51184 51185 Example 2: Pack and unpack a message in Java. 51186 51187 Foo foo = ...; 51188 Any any = Any.pack(foo); 51189 ... 51190 if (any.is(Foo.class)) { 51191 foo = any.unpack(Foo.class); 51192 } 51193 51194 Example 3: Pack and unpack a message in Python. 51195 51196 foo = Foo(...) 51197 any = Any() 51198 any.Pack(foo) 51199 ... 51200 if any.Is(Foo.DESCRIPTOR): 51201 any.Unpack(foo) 51202 ... 51203 51204 Example 4: Pack and unpack a message in Go 51205 51206 foo := &pb.Foo{...} 51207 any, err := ptypes.MarshalAny(foo) 51208 ... 51209 foo := &pb.Foo{} 51210 if err := ptypes.UnmarshalAny(any, foo); err != nil { 51211 ... 51212 } 51213 51214 The pack methods provided by protobuf library will by default 51215 use 51216 51217 'type.googleapis.com/full.type.name' as the type URL and the 51218 unpack 51219 51220 methods only use the fully qualified type name after the last 51221 '/' 51222 51223 in the type URL, for example "foo.bar.com/x/y.z" will yield type 51224 51225 name "y.z". 51226 51227 51228 51229 JSON 51230 51231 ==== 51232 51233 The JSON representation of an `Any` value uses the regular 51234 51235 representation of the deserialized, embedded message, with an 51236 51237 additional field `@type` which contains the type URL. Example: 51238 51239 package google.profile; 51240 message Person { 51241 string first_name = 1; 51242 string last_name = 2; 51243 } 51244 51245 { 51246 "@type": "type.googleapis.com/google.profile.Person", 51247 "firstName": <string>, 51248 "lastName": <string> 51249 } 51250 51251 If the embedded message type is well-known and has a custom JSON 51252 51253 representation, that representation will be embedded adding a 51254 field 51255 51256 `value` which holds the custom JSON in addition to the `@type` 51257 51258 field. Example (for message [google.protobuf.Duration][]): 51259 51260 { 51261 "@type": "type.googleapis.com/google.protobuf.Duration", 51262 "value": "1.212s" 51263 } 51264 timestamp: 51265 type: string 51266 description: >- 51267 Time of the previous block. For heights > 1, it's the weighted 51268 median of 51269 51270 the timestamps of the valid votes in the block.LastCommit. For 51271 height == 1, 51272 51273 it's genesis time. 51274 events: 51275 type: array 51276 items: 51277 type: object 51278 properties: 51279 type: 51280 type: string 51281 attributes: 51282 type: array 51283 items: 51284 type: object 51285 properties: 51286 key: 51287 type: string 51288 format: byte 51289 value: 51290 type: string 51291 format: byte 51292 index: 51293 type: boolean 51294 format: boolean 51295 description: >- 51296 EventAttribute is a single key-value pair, associated 51297 with an event. 51298 description: >- 51299 Event allows application developers to attach additional 51300 information to 51301 51302 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 51303 ResponseDeliverTx. 51304 51305 Later, transactions may be queried using these events. 51306 description: >- 51307 Events defines all the events emitted by processing a 51308 transaction. Note, 51309 51310 these events include those emitted by processing all the 51311 messages and those 51312 51313 emitted from the ante handler. Whereas Logs contains the events, 51314 with 51315 51316 additional metadata, emitted only by processing the messages. 51317 51318 51319 Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 51320 description: >- 51321 TxResponse defines a structure containing relevant tx data and 51322 metadata. The 51323 51324 tags are stringified and the log is JSON decoded. 51325 description: tx_responses is the list of queried TxResponses. 51326 pagination: 51327 description: pagination defines a pagination for the response. 51328 type: object 51329 properties: 51330 next_key: 51331 type: string 51332 format: byte 51333 title: |- 51334 next_key is the key to be passed to PageRequest.key to 51335 query the next page most efficiently 51336 total: 51337 type: string 51338 format: uint64 51339 title: >- 51340 total is total number of results available if 51341 PageRequest.count_total 51342 51343 was set, its value is undefined otherwise 51344 description: |- 51345 GetTxsEventResponse is the response type for the Service.TxsByEvents 51346 RPC method. 51347 cosmos.tx.v1beta1.ModeInfo: 51348 type: object 51349 properties: 51350 single: 51351 title: single represents a single signer 51352 type: object 51353 properties: 51354 mode: 51355 title: mode is the signing mode of the single signer 51356 type: string 51357 enum: 51358 - SIGN_MODE_UNSPECIFIED 51359 - SIGN_MODE_DIRECT 51360 - SIGN_MODE_TEXTUAL 51361 - SIGN_MODE_LEGACY_AMINO_JSON 51362 - SIGN_MODE_EIP_191 51363 default: SIGN_MODE_UNSPECIFIED 51364 description: >- 51365 SignMode represents a signing mode with its own security 51366 guarantees. 51367 51368 - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be 51369 rejected 51370 - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is 51371 verified with raw bytes from Tx 51372 - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some 51373 human-readable textual representation on top of the binary 51374 representation 51375 51376 from SIGN_MODE_DIRECT 51377 - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses 51378 Amino JSON and will be removed in the future 51379 - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos 51380 SDK. Ref: https://eips.ethereum.org/EIPS/eip-191 51381 51382 51383 Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum 51384 variant, 51385 51386 but is not implemented on the SDK by default. To enable EIP-191, 51387 you need 51388 51389 to pass a custom `TxConfig` that has an implementation of 51390 51391 `SignModeHandler` for EIP-191. The SDK may decide to fully support 51392 51393 EIP-191 in the future. 51394 51395 51396 Since: cosmos-sdk 0.45.2 51397 multi: 51398 $ref: '#/definitions/cosmos.tx.v1beta1.ModeInfo.Multi' 51399 title: multi represents a nested multisig signer 51400 description: ModeInfo describes the signing mode of a single or nested multisig signer. 51401 cosmos.tx.v1beta1.ModeInfo.Multi: 51402 type: object 51403 properties: 51404 bitarray: 51405 title: bitarray specifies which keys within the multisig are signing 51406 type: object 51407 properties: 51408 extra_bits_stored: 51409 type: integer 51410 format: int64 51411 elems: 51412 type: string 51413 format: byte 51414 description: >- 51415 CompactBitArray is an implementation of a space efficient bit array. 51416 51417 This is used to ensure that the encoded data takes up a minimal amount 51418 of 51419 51420 space after proto encoding. 51421 51422 This is not thread safe, and is not intended for concurrent usage. 51423 mode_infos: 51424 type: array 51425 items: 51426 $ref: '#/definitions/cosmos.tx.v1beta1.ModeInfo' 51427 title: |- 51428 mode_infos is the corresponding modes of the signers of the multisig 51429 which could include nested multisig public keys 51430 title: Multi is the mode info for a multisig public key 51431 cosmos.tx.v1beta1.ModeInfo.Single: 51432 type: object 51433 properties: 51434 mode: 51435 title: mode is the signing mode of the single signer 51436 type: string 51437 enum: 51438 - SIGN_MODE_UNSPECIFIED 51439 - SIGN_MODE_DIRECT 51440 - SIGN_MODE_TEXTUAL 51441 - SIGN_MODE_LEGACY_AMINO_JSON 51442 - SIGN_MODE_EIP_191 51443 default: SIGN_MODE_UNSPECIFIED 51444 description: >- 51445 SignMode represents a signing mode with its own security guarantees. 51446 51447 - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be 51448 rejected 51449 - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is 51450 verified with raw bytes from Tx 51451 - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some 51452 human-readable textual representation on top of the binary 51453 representation 51454 51455 from SIGN_MODE_DIRECT 51456 - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses 51457 Amino JSON and will be removed in the future 51458 - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos 51459 SDK. Ref: https://eips.ethereum.org/EIPS/eip-191 51460 51461 51462 Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant, 51463 51464 but is not implemented on the SDK by default. To enable EIP-191, you 51465 need 51466 51467 to pass a custom `TxConfig` that has an implementation of 51468 51469 `SignModeHandler` for EIP-191. The SDK may decide to fully support 51470 51471 EIP-191 in the future. 51472 51473 51474 Since: cosmos-sdk 0.45.2 51475 title: |- 51476 Single is the mode info for a single signer. It is structured as a message 51477 to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the 51478 future 51479 cosmos.tx.v1beta1.OrderBy: 51480 type: string 51481 enum: 51482 - ORDER_BY_UNSPECIFIED 51483 - ORDER_BY_ASC 51484 - ORDER_BY_DESC 51485 default: ORDER_BY_UNSPECIFIED 51486 description: >- 51487 - ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting 51488 order. OrderBy defaults to ASC in this case. 51489 - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order 51490 - ORDER_BY_DESC: ORDER_BY_DESC defines descending order 51491 title: OrderBy defines the sorting order 51492 cosmos.tx.v1beta1.SignerInfo: 51493 type: object 51494 properties: 51495 public_key: 51496 type: object 51497 properties: 51498 type_url: 51499 type: string 51500 description: >- 51501 A URL/resource name that uniquely identifies the type of the 51502 serialized 51503 51504 protocol buffer message. This string must contain at least 51505 51506 one "/" character. The last segment of the URL's path must 51507 represent 51508 51509 the fully qualified name of the type (as in 51510 51511 `path/google.protobuf.Duration`). The name should be in a 51512 canonical form 51513 51514 (e.g., leading "." is not accepted). 51515 51516 51517 In practice, teams usually precompile into the binary all types 51518 that they 51519 51520 expect it to use in the context of Any. However, for URLs which 51521 use the 51522 51523 scheme `http`, `https`, or no scheme, one can optionally set up a 51524 type 51525 51526 server that maps type URLs to message definitions as follows: 51527 51528 51529 * If no scheme is provided, `https` is assumed. 51530 51531 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 51532 value in binary format, or produce an error. 51533 * Applications are allowed to cache lookup results based on the 51534 URL, or have them precompiled into a binary to avoid any 51535 lookup. Therefore, binary compatibility needs to be preserved 51536 on changes to types. (Use versioned type names to manage 51537 breaking changes.) 51538 51539 Note: this functionality is not currently available in the 51540 official 51541 51542 protobuf release, and it is not used for type URLs beginning with 51543 51544 type.googleapis.com. 51545 51546 51547 Schemes other than `http`, `https` (or the empty scheme) might be 51548 51549 used with implementation specific semantics. 51550 value: 51551 type: string 51552 format: byte 51553 description: >- 51554 Must be a valid serialized protocol buffer of the above specified 51555 type. 51556 description: >- 51557 `Any` contains an arbitrary serialized protocol buffer message along 51558 with a 51559 51560 URL that describes the type of the serialized message. 51561 51562 51563 Protobuf library provides support to pack/unpack Any values in the 51564 form 51565 51566 of utility functions or additional generated methods of the Any type. 51567 51568 51569 Example 1: Pack and unpack a message in C++. 51570 51571 Foo foo = ...; 51572 Any any; 51573 any.PackFrom(foo); 51574 ... 51575 if (any.UnpackTo(&foo)) { 51576 ... 51577 } 51578 51579 Example 2: Pack and unpack a message in Java. 51580 51581 Foo foo = ...; 51582 Any any = Any.pack(foo); 51583 ... 51584 if (any.is(Foo.class)) { 51585 foo = any.unpack(Foo.class); 51586 } 51587 51588 Example 3: Pack and unpack a message in Python. 51589 51590 foo = Foo(...) 51591 any = Any() 51592 any.Pack(foo) 51593 ... 51594 if any.Is(Foo.DESCRIPTOR): 51595 any.Unpack(foo) 51596 ... 51597 51598 Example 4: Pack and unpack a message in Go 51599 51600 foo := &pb.Foo{...} 51601 any, err := ptypes.MarshalAny(foo) 51602 ... 51603 foo := &pb.Foo{} 51604 if err := ptypes.UnmarshalAny(any, foo); err != nil { 51605 ... 51606 } 51607 51608 The pack methods provided by protobuf library will by default use 51609 51610 'type.googleapis.com/full.type.name' as the type URL and the unpack 51611 51612 methods only use the fully qualified type name after the last '/' 51613 51614 in the type URL, for example "foo.bar.com/x/y.z" will yield type 51615 51616 name "y.z". 51617 51618 51619 51620 JSON 51621 51622 ==== 51623 51624 The JSON representation of an `Any` value uses the regular 51625 51626 representation of the deserialized, embedded message, with an 51627 51628 additional field `@type` which contains the type URL. Example: 51629 51630 package google.profile; 51631 message Person { 51632 string first_name = 1; 51633 string last_name = 2; 51634 } 51635 51636 { 51637 "@type": "type.googleapis.com/google.profile.Person", 51638 "firstName": <string>, 51639 "lastName": <string> 51640 } 51641 51642 If the embedded message type is well-known and has a custom JSON 51643 51644 representation, that representation will be embedded adding a field 51645 51646 `value` which holds the custom JSON in addition to the `@type` 51647 51648 field. Example (for message [google.protobuf.Duration][]): 51649 51650 { 51651 "@type": "type.googleapis.com/google.protobuf.Duration", 51652 "value": "1.212s" 51653 } 51654 mode_info: 51655 $ref: '#/definitions/cosmos.tx.v1beta1.ModeInfo' 51656 title: |- 51657 mode_info describes the signing mode of the signer and is a nested 51658 structure to support nested multisig pubkey's 51659 sequence: 51660 type: string 51661 format: uint64 51662 description: >- 51663 sequence is the sequence of the account, which describes the 51664 51665 number of committed transactions signed by a given address. It is used 51666 to 51667 51668 prevent replay attacks. 51669 description: |- 51670 SignerInfo describes the public key and signing mode of a single top-level 51671 signer. 51672 cosmos.tx.v1beta1.SimulateRequest: 51673 type: object 51674 properties: 51675 tx: 51676 $ref: '#/definitions/cosmos.tx.v1beta1.Tx' 51677 description: |- 51678 tx is the transaction to simulate. 51679 Deprecated. Send raw tx bytes instead. 51680 tx_bytes: 51681 type: string 51682 format: byte 51683 description: |- 51684 tx_bytes is the raw transaction. 51685 51686 Since: cosmos-sdk 0.43 51687 description: |- 51688 SimulateRequest is the request type for the Service.Simulate 51689 RPC method. 51690 cosmos.tx.v1beta1.SimulateResponse: 51691 type: object 51692 properties: 51693 gas_info: 51694 description: gas_info is the information about gas used in the simulation. 51695 type: object 51696 properties: 51697 gas_wanted: 51698 type: string 51699 format: uint64 51700 description: >- 51701 GasWanted is the maximum units of work we allow this tx to 51702 perform. 51703 gas_used: 51704 type: string 51705 format: uint64 51706 description: GasUsed is the amount of gas actually consumed. 51707 result: 51708 description: result is the result of the simulation. 51709 type: object 51710 properties: 51711 data: 51712 type: string 51713 format: byte 51714 description: >- 51715 Data is any data returned from message or handler execution. It 51716 MUST be 51717 51718 length prefixed in order to separate data from multiple message 51719 executions. 51720 log: 51721 type: string 51722 description: >- 51723 Log contains the log information from message or handler 51724 execution. 51725 events: 51726 type: array 51727 items: 51728 type: object 51729 properties: 51730 type: 51731 type: string 51732 attributes: 51733 type: array 51734 items: 51735 type: object 51736 properties: 51737 key: 51738 type: string 51739 format: byte 51740 value: 51741 type: string 51742 format: byte 51743 index: 51744 type: boolean 51745 format: boolean 51746 description: >- 51747 EventAttribute is a single key-value pair, associated with 51748 an event. 51749 description: >- 51750 Event allows application developers to attach additional 51751 information to 51752 51753 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 51754 ResponseDeliverTx. 51755 51756 Later, transactions may be queried using these events. 51757 description: >- 51758 Events contains a slice of Event objects that were emitted during 51759 message 51760 51761 or handler execution. 51762 description: |- 51763 SimulateResponse is the response type for the 51764 Service.SimulateRPC method. 51765 cosmos.tx.v1beta1.Tx: 51766 type: object 51767 properties: 51768 body: 51769 title: body is the processable content of the transaction 51770 type: object 51771 properties: 51772 messages: 51773 type: array 51774 items: 51775 type: object 51776 properties: 51777 type_url: 51778 type: string 51779 description: >- 51780 A URL/resource name that uniquely identifies the type of the 51781 serialized 51782 51783 protocol buffer message. This string must contain at least 51784 51785 one "/" character. The last segment of the URL's path must 51786 represent 51787 51788 the fully qualified name of the type (as in 51789 51790 `path/google.protobuf.Duration`). The name should be in a 51791 canonical form 51792 51793 (e.g., leading "." is not accepted). 51794 51795 51796 In practice, teams usually precompile into the binary all 51797 types that they 51798 51799 expect it to use in the context of Any. However, for URLs 51800 which use the 51801 51802 scheme `http`, `https`, or no scheme, one can optionally set 51803 up a type 51804 51805 server that maps type URLs to message definitions as 51806 follows: 51807 51808 51809 * If no scheme is provided, `https` is assumed. 51810 51811 * An HTTP GET on the URL must yield a 51812 [google.protobuf.Type][] 51813 value in binary format, or produce an error. 51814 * Applications are allowed to cache lookup results based on 51815 the 51816 URL, or have them precompiled into a binary to avoid any 51817 lookup. Therefore, binary compatibility needs to be preserved 51818 on changes to types. (Use versioned type names to manage 51819 breaking changes.) 51820 51821 Note: this functionality is not currently available in the 51822 official 51823 51824 protobuf release, and it is not used for type URLs beginning 51825 with 51826 51827 type.googleapis.com. 51828 51829 51830 Schemes other than `http`, `https` (or the empty scheme) 51831 might be 51832 51833 used with implementation specific semantics. 51834 value: 51835 type: string 51836 format: byte 51837 description: >- 51838 Must be a valid serialized protocol buffer of the above 51839 specified type. 51840 description: >- 51841 `Any` contains an arbitrary serialized protocol buffer message 51842 along with a 51843 51844 URL that describes the type of the serialized message. 51845 51846 51847 Protobuf library provides support to pack/unpack Any values in 51848 the form 51849 51850 of utility functions or additional generated methods of the Any 51851 type. 51852 51853 51854 Example 1: Pack and unpack a message in C++. 51855 51856 Foo foo = ...; 51857 Any any; 51858 any.PackFrom(foo); 51859 ... 51860 if (any.UnpackTo(&foo)) { 51861 ... 51862 } 51863 51864 Example 2: Pack and unpack a message in Java. 51865 51866 Foo foo = ...; 51867 Any any = Any.pack(foo); 51868 ... 51869 if (any.is(Foo.class)) { 51870 foo = any.unpack(Foo.class); 51871 } 51872 51873 Example 3: Pack and unpack a message in Python. 51874 51875 foo = Foo(...) 51876 any = Any() 51877 any.Pack(foo) 51878 ... 51879 if any.Is(Foo.DESCRIPTOR): 51880 any.Unpack(foo) 51881 ... 51882 51883 Example 4: Pack and unpack a message in Go 51884 51885 foo := &pb.Foo{...} 51886 any, err := ptypes.MarshalAny(foo) 51887 ... 51888 foo := &pb.Foo{} 51889 if err := ptypes.UnmarshalAny(any, foo); err != nil { 51890 ... 51891 } 51892 51893 The pack methods provided by protobuf library will by default 51894 use 51895 51896 'type.googleapis.com/full.type.name' as the type URL and the 51897 unpack 51898 51899 methods only use the fully qualified type name after the last 51900 '/' 51901 51902 in the type URL, for example "foo.bar.com/x/y.z" will yield type 51903 51904 name "y.z". 51905 51906 51907 51908 JSON 51909 51910 ==== 51911 51912 The JSON representation of an `Any` value uses the regular 51913 51914 representation of the deserialized, embedded message, with an 51915 51916 additional field `@type` which contains the type URL. Example: 51917 51918 package google.profile; 51919 message Person { 51920 string first_name = 1; 51921 string last_name = 2; 51922 } 51923 51924 { 51925 "@type": "type.googleapis.com/google.profile.Person", 51926 "firstName": <string>, 51927 "lastName": <string> 51928 } 51929 51930 If the embedded message type is well-known and has a custom JSON 51931 51932 representation, that representation will be embedded adding a 51933 field 51934 51935 `value` which holds the custom JSON in addition to the `@type` 51936 51937 field. Example (for message [google.protobuf.Duration][]): 51938 51939 { 51940 "@type": "type.googleapis.com/google.protobuf.Duration", 51941 "value": "1.212s" 51942 } 51943 description: >- 51944 messages is a list of messages to be executed. The required 51945 signers of 51946 51947 those messages define the number and order of elements in 51948 AuthInfo's 51949 51950 signer_infos and Tx's signatures. Each required signer address is 51951 added to 51952 51953 the list only the first time it occurs. 51954 51955 By convention, the first required signer (usually from the first 51956 message) 51957 51958 is referred to as the primary signer and pays the fee for the 51959 whole 51960 51961 transaction. 51962 memo: 51963 type: string 51964 description: >- 51965 memo is any arbitrary note/comment to be added to the transaction. 51966 51967 WARNING: in clients, any publicly exposed text should not be 51968 called memo, 51969 51970 but should be called `note` instead (see 51971 https://github.com/cosmos/cosmos-sdk/issues/9122). 51972 timeout_height: 51973 type: string 51974 format: uint64 51975 title: |- 51976 timeout is the block height after which this transaction will not 51977 be processed by the chain 51978 extension_options: 51979 type: array 51980 items: 51981 type: object 51982 properties: 51983 type_url: 51984 type: string 51985 description: >- 51986 A URL/resource name that uniquely identifies the type of the 51987 serialized 51988 51989 protocol buffer message. This string must contain at least 51990 51991 one "/" character. The last segment of the URL's path must 51992 represent 51993 51994 the fully qualified name of the type (as in 51995 51996 `path/google.protobuf.Duration`). The name should be in a 51997 canonical form 51998 51999 (e.g., leading "." is not accepted). 52000 52001 52002 In practice, teams usually precompile into the binary all 52003 types that they 52004 52005 expect it to use in the context of Any. However, for URLs 52006 which use the 52007 52008 scheme `http`, `https`, or no scheme, one can optionally set 52009 up a type 52010 52011 server that maps type URLs to message definitions as 52012 follows: 52013 52014 52015 * If no scheme is provided, `https` is assumed. 52016 52017 * An HTTP GET on the URL must yield a 52018 [google.protobuf.Type][] 52019 value in binary format, or produce an error. 52020 * Applications are allowed to cache lookup results based on 52021 the 52022 URL, or have them precompiled into a binary to avoid any 52023 lookup. Therefore, binary compatibility needs to be preserved 52024 on changes to types. (Use versioned type names to manage 52025 breaking changes.) 52026 52027 Note: this functionality is not currently available in the 52028 official 52029 52030 protobuf release, and it is not used for type URLs beginning 52031 with 52032 52033 type.googleapis.com. 52034 52035 52036 Schemes other than `http`, `https` (or the empty scheme) 52037 might be 52038 52039 used with implementation specific semantics. 52040 value: 52041 type: string 52042 format: byte 52043 description: >- 52044 Must be a valid serialized protocol buffer of the above 52045 specified type. 52046 description: >- 52047 `Any` contains an arbitrary serialized protocol buffer message 52048 along with a 52049 52050 URL that describes the type of the serialized message. 52051 52052 52053 Protobuf library provides support to pack/unpack Any values in 52054 the form 52055 52056 of utility functions or additional generated methods of the Any 52057 type. 52058 52059 52060 Example 1: Pack and unpack a message in C++. 52061 52062 Foo foo = ...; 52063 Any any; 52064 any.PackFrom(foo); 52065 ... 52066 if (any.UnpackTo(&foo)) { 52067 ... 52068 } 52069 52070 Example 2: Pack and unpack a message in Java. 52071 52072 Foo foo = ...; 52073 Any any = Any.pack(foo); 52074 ... 52075 if (any.is(Foo.class)) { 52076 foo = any.unpack(Foo.class); 52077 } 52078 52079 Example 3: Pack and unpack a message in Python. 52080 52081 foo = Foo(...) 52082 any = Any() 52083 any.Pack(foo) 52084 ... 52085 if any.Is(Foo.DESCRIPTOR): 52086 any.Unpack(foo) 52087 ... 52088 52089 Example 4: Pack and unpack a message in Go 52090 52091 foo := &pb.Foo{...} 52092 any, err := ptypes.MarshalAny(foo) 52093 ... 52094 foo := &pb.Foo{} 52095 if err := ptypes.UnmarshalAny(any, foo); err != nil { 52096 ... 52097 } 52098 52099 The pack methods provided by protobuf library will by default 52100 use 52101 52102 'type.googleapis.com/full.type.name' as the type URL and the 52103 unpack 52104 52105 methods only use the fully qualified type name after the last 52106 '/' 52107 52108 in the type URL, for example "foo.bar.com/x/y.z" will yield type 52109 52110 name "y.z". 52111 52112 52113 52114 JSON 52115 52116 ==== 52117 52118 The JSON representation of an `Any` value uses the regular 52119 52120 representation of the deserialized, embedded message, with an 52121 52122 additional field `@type` which contains the type URL. Example: 52123 52124 package google.profile; 52125 message Person { 52126 string first_name = 1; 52127 string last_name = 2; 52128 } 52129 52130 { 52131 "@type": "type.googleapis.com/google.profile.Person", 52132 "firstName": <string>, 52133 "lastName": <string> 52134 } 52135 52136 If the embedded message type is well-known and has a custom JSON 52137 52138 representation, that representation will be embedded adding a 52139 field 52140 52141 `value` which holds the custom JSON in addition to the `@type` 52142 52143 field. Example (for message [google.protobuf.Duration][]): 52144 52145 { 52146 "@type": "type.googleapis.com/google.protobuf.Duration", 52147 "value": "1.212s" 52148 } 52149 title: >- 52150 extension_options are arbitrary options that can be added by 52151 chains 52152 52153 when the default options are not sufficient. If any of these are 52154 present 52155 52156 and can't be handled, the transaction will be rejected 52157 non_critical_extension_options: 52158 type: array 52159 items: 52160 type: object 52161 properties: 52162 type_url: 52163 type: string 52164 description: >- 52165 A URL/resource name that uniquely identifies the type of the 52166 serialized 52167 52168 protocol buffer message. This string must contain at least 52169 52170 one "/" character. The last segment of the URL's path must 52171 represent 52172 52173 the fully qualified name of the type (as in 52174 52175 `path/google.protobuf.Duration`). The name should be in a 52176 canonical form 52177 52178 (e.g., leading "." is not accepted). 52179 52180 52181 In practice, teams usually precompile into the binary all 52182 types that they 52183 52184 expect it to use in the context of Any. However, for URLs 52185 which use the 52186 52187 scheme `http`, `https`, or no scheme, one can optionally set 52188 up a type 52189 52190 server that maps type URLs to message definitions as 52191 follows: 52192 52193 52194 * If no scheme is provided, `https` is assumed. 52195 52196 * An HTTP GET on the URL must yield a 52197 [google.protobuf.Type][] 52198 value in binary format, or produce an error. 52199 * Applications are allowed to cache lookup results based on 52200 the 52201 URL, or have them precompiled into a binary to avoid any 52202 lookup. Therefore, binary compatibility needs to be preserved 52203 on changes to types. (Use versioned type names to manage 52204 breaking changes.) 52205 52206 Note: this functionality is not currently available in the 52207 official 52208 52209 protobuf release, and it is not used for type URLs beginning 52210 with 52211 52212 type.googleapis.com. 52213 52214 52215 Schemes other than `http`, `https` (or the empty scheme) 52216 might be 52217 52218 used with implementation specific semantics. 52219 value: 52220 type: string 52221 format: byte 52222 description: >- 52223 Must be a valid serialized protocol buffer of the above 52224 specified type. 52225 description: >- 52226 `Any` contains an arbitrary serialized protocol buffer message 52227 along with a 52228 52229 URL that describes the type of the serialized message. 52230 52231 52232 Protobuf library provides support to pack/unpack Any values in 52233 the form 52234 52235 of utility functions or additional generated methods of the Any 52236 type. 52237 52238 52239 Example 1: Pack and unpack a message in C++. 52240 52241 Foo foo = ...; 52242 Any any; 52243 any.PackFrom(foo); 52244 ... 52245 if (any.UnpackTo(&foo)) { 52246 ... 52247 } 52248 52249 Example 2: Pack and unpack a message in Java. 52250 52251 Foo foo = ...; 52252 Any any = Any.pack(foo); 52253 ... 52254 if (any.is(Foo.class)) { 52255 foo = any.unpack(Foo.class); 52256 } 52257 52258 Example 3: Pack and unpack a message in Python. 52259 52260 foo = Foo(...) 52261 any = Any() 52262 any.Pack(foo) 52263 ... 52264 if any.Is(Foo.DESCRIPTOR): 52265 any.Unpack(foo) 52266 ... 52267 52268 Example 4: Pack and unpack a message in Go 52269 52270 foo := &pb.Foo{...} 52271 any, err := ptypes.MarshalAny(foo) 52272 ... 52273 foo := &pb.Foo{} 52274 if err := ptypes.UnmarshalAny(any, foo); err != nil { 52275 ... 52276 } 52277 52278 The pack methods provided by protobuf library will by default 52279 use 52280 52281 'type.googleapis.com/full.type.name' as the type URL and the 52282 unpack 52283 52284 methods only use the fully qualified type name after the last 52285 '/' 52286 52287 in the type URL, for example "foo.bar.com/x/y.z" will yield type 52288 52289 name "y.z". 52290 52291 52292 52293 JSON 52294 52295 ==== 52296 52297 The JSON representation of an `Any` value uses the regular 52298 52299 representation of the deserialized, embedded message, with an 52300 52301 additional field `@type` which contains the type URL. Example: 52302 52303 package google.profile; 52304 message Person { 52305 string first_name = 1; 52306 string last_name = 2; 52307 } 52308 52309 { 52310 "@type": "type.googleapis.com/google.profile.Person", 52311 "firstName": <string>, 52312 "lastName": <string> 52313 } 52314 52315 If the embedded message type is well-known and has a custom JSON 52316 52317 representation, that representation will be embedded adding a 52318 field 52319 52320 `value` which holds the custom JSON in addition to the `@type` 52321 52322 field. Example (for message [google.protobuf.Duration][]): 52323 52324 { 52325 "@type": "type.googleapis.com/google.protobuf.Duration", 52326 "value": "1.212s" 52327 } 52328 title: >- 52329 extension_options are arbitrary options that can be added by 52330 chains 52331 52332 when the default options are not sufficient. If any of these are 52333 present 52334 52335 and can't be handled, they will be ignored 52336 description: TxBody is the body of a transaction that all signers sign over. 52337 auth_info: 52338 $ref: '#/definitions/cosmos.tx.v1beta1.AuthInfo' 52339 title: |- 52340 auth_info is the authorization related content of the transaction, 52341 specifically signers, signer modes and fee 52342 signatures: 52343 type: array 52344 items: 52345 type: string 52346 format: byte 52347 description: >- 52348 signatures is a list of signatures that matches the length and order 52349 of 52350 52351 AuthInfo's signer_infos to allow connecting signature meta information 52352 like 52353 52354 public key and signing mode by position. 52355 description: Tx is the standard type used for broadcasting transactions. 52356 cosmos.tx.v1beta1.TxBody: 52357 type: object 52358 properties: 52359 messages: 52360 type: array 52361 items: 52362 type: object 52363 properties: 52364 type_url: 52365 type: string 52366 description: >- 52367 A URL/resource name that uniquely identifies the type of the 52368 serialized 52369 52370 protocol buffer message. This string must contain at least 52371 52372 one "/" character. The last segment of the URL's path must 52373 represent 52374 52375 the fully qualified name of the type (as in 52376 52377 `path/google.protobuf.Duration`). The name should be in a 52378 canonical form 52379 52380 (e.g., leading "." is not accepted). 52381 52382 52383 In practice, teams usually precompile into the binary all types 52384 that they 52385 52386 expect it to use in the context of Any. However, for URLs which 52387 use the 52388 52389 scheme `http`, `https`, or no scheme, one can optionally set up 52390 a type 52391 52392 server that maps type URLs to message definitions as follows: 52393 52394 52395 * If no scheme is provided, `https` is assumed. 52396 52397 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 52398 value in binary format, or produce an error. 52399 * Applications are allowed to cache lookup results based on the 52400 URL, or have them precompiled into a binary to avoid any 52401 lookup. Therefore, binary compatibility needs to be preserved 52402 on changes to types. (Use versioned type names to manage 52403 breaking changes.) 52404 52405 Note: this functionality is not currently available in the 52406 official 52407 52408 protobuf release, and it is not used for type URLs beginning 52409 with 52410 52411 type.googleapis.com. 52412 52413 52414 Schemes other than `http`, `https` (or the empty scheme) might 52415 be 52416 52417 used with implementation specific semantics. 52418 value: 52419 type: string 52420 format: byte 52421 description: >- 52422 Must be a valid serialized protocol buffer of the above 52423 specified type. 52424 description: >- 52425 `Any` contains an arbitrary serialized protocol buffer message along 52426 with a 52427 52428 URL that describes the type of the serialized message. 52429 52430 52431 Protobuf library provides support to pack/unpack Any values in the 52432 form 52433 52434 of utility functions or additional generated methods of the Any 52435 type. 52436 52437 52438 Example 1: Pack and unpack a message in C++. 52439 52440 Foo foo = ...; 52441 Any any; 52442 any.PackFrom(foo); 52443 ... 52444 if (any.UnpackTo(&foo)) { 52445 ... 52446 } 52447 52448 Example 2: Pack and unpack a message in Java. 52449 52450 Foo foo = ...; 52451 Any any = Any.pack(foo); 52452 ... 52453 if (any.is(Foo.class)) { 52454 foo = any.unpack(Foo.class); 52455 } 52456 52457 Example 3: Pack and unpack a message in Python. 52458 52459 foo = Foo(...) 52460 any = Any() 52461 any.Pack(foo) 52462 ... 52463 if any.Is(Foo.DESCRIPTOR): 52464 any.Unpack(foo) 52465 ... 52466 52467 Example 4: Pack and unpack a message in Go 52468 52469 foo := &pb.Foo{...} 52470 any, err := ptypes.MarshalAny(foo) 52471 ... 52472 foo := &pb.Foo{} 52473 if err := ptypes.UnmarshalAny(any, foo); err != nil { 52474 ... 52475 } 52476 52477 The pack methods provided by protobuf library will by default use 52478 52479 'type.googleapis.com/full.type.name' as the type URL and the unpack 52480 52481 methods only use the fully qualified type name after the last '/' 52482 52483 in the type URL, for example "foo.bar.com/x/y.z" will yield type 52484 52485 name "y.z". 52486 52487 52488 52489 JSON 52490 52491 ==== 52492 52493 The JSON representation of an `Any` value uses the regular 52494 52495 representation of the deserialized, embedded message, with an 52496 52497 additional field `@type` which contains the type URL. Example: 52498 52499 package google.profile; 52500 message Person { 52501 string first_name = 1; 52502 string last_name = 2; 52503 } 52504 52505 { 52506 "@type": "type.googleapis.com/google.profile.Person", 52507 "firstName": <string>, 52508 "lastName": <string> 52509 } 52510 52511 If the embedded message type is well-known and has a custom JSON 52512 52513 representation, that representation will be embedded adding a field 52514 52515 `value` which holds the custom JSON in addition to the `@type` 52516 52517 field. Example (for message [google.protobuf.Duration][]): 52518 52519 { 52520 "@type": "type.googleapis.com/google.protobuf.Duration", 52521 "value": "1.212s" 52522 } 52523 description: >- 52524 messages is a list of messages to be executed. The required signers of 52525 52526 those messages define the number and order of elements in AuthInfo's 52527 52528 signer_infos and Tx's signatures. Each required signer address is 52529 added to 52530 52531 the list only the first time it occurs. 52532 52533 By convention, the first required signer (usually from the first 52534 message) 52535 52536 is referred to as the primary signer and pays the fee for the whole 52537 52538 transaction. 52539 memo: 52540 type: string 52541 description: >- 52542 memo is any arbitrary note/comment to be added to the transaction. 52543 52544 WARNING: in clients, any publicly exposed text should not be called 52545 memo, 52546 52547 but should be called `note` instead (see 52548 https://github.com/cosmos/cosmos-sdk/issues/9122). 52549 timeout_height: 52550 type: string 52551 format: uint64 52552 title: |- 52553 timeout is the block height after which this transaction will not 52554 be processed by the chain 52555 extension_options: 52556 type: array 52557 items: 52558 type: object 52559 properties: 52560 type_url: 52561 type: string 52562 description: >- 52563 A URL/resource name that uniquely identifies the type of the 52564 serialized 52565 52566 protocol buffer message. This string must contain at least 52567 52568 one "/" character. The last segment of the URL's path must 52569 represent 52570 52571 the fully qualified name of the type (as in 52572 52573 `path/google.protobuf.Duration`). The name should be in a 52574 canonical form 52575 52576 (e.g., leading "." is not accepted). 52577 52578 52579 In practice, teams usually precompile into the binary all types 52580 that they 52581 52582 expect it to use in the context of Any. However, for URLs which 52583 use the 52584 52585 scheme `http`, `https`, or no scheme, one can optionally set up 52586 a type 52587 52588 server that maps type URLs to message definitions as follows: 52589 52590 52591 * If no scheme is provided, `https` is assumed. 52592 52593 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 52594 value in binary format, or produce an error. 52595 * Applications are allowed to cache lookup results based on the 52596 URL, or have them precompiled into a binary to avoid any 52597 lookup. Therefore, binary compatibility needs to be preserved 52598 on changes to types. (Use versioned type names to manage 52599 breaking changes.) 52600 52601 Note: this functionality is not currently available in the 52602 official 52603 52604 protobuf release, and it is not used for type URLs beginning 52605 with 52606 52607 type.googleapis.com. 52608 52609 52610 Schemes other than `http`, `https` (or the empty scheme) might 52611 be 52612 52613 used with implementation specific semantics. 52614 value: 52615 type: string 52616 format: byte 52617 description: >- 52618 Must be a valid serialized protocol buffer of the above 52619 specified type. 52620 description: >- 52621 `Any` contains an arbitrary serialized protocol buffer message along 52622 with a 52623 52624 URL that describes the type of the serialized message. 52625 52626 52627 Protobuf library provides support to pack/unpack Any values in the 52628 form 52629 52630 of utility functions or additional generated methods of the Any 52631 type. 52632 52633 52634 Example 1: Pack and unpack a message in C++. 52635 52636 Foo foo = ...; 52637 Any any; 52638 any.PackFrom(foo); 52639 ... 52640 if (any.UnpackTo(&foo)) { 52641 ... 52642 } 52643 52644 Example 2: Pack and unpack a message in Java. 52645 52646 Foo foo = ...; 52647 Any any = Any.pack(foo); 52648 ... 52649 if (any.is(Foo.class)) { 52650 foo = any.unpack(Foo.class); 52651 } 52652 52653 Example 3: Pack and unpack a message in Python. 52654 52655 foo = Foo(...) 52656 any = Any() 52657 any.Pack(foo) 52658 ... 52659 if any.Is(Foo.DESCRIPTOR): 52660 any.Unpack(foo) 52661 ... 52662 52663 Example 4: Pack and unpack a message in Go 52664 52665 foo := &pb.Foo{...} 52666 any, err := ptypes.MarshalAny(foo) 52667 ... 52668 foo := &pb.Foo{} 52669 if err := ptypes.UnmarshalAny(any, foo); err != nil { 52670 ... 52671 } 52672 52673 The pack methods provided by protobuf library will by default use 52674 52675 'type.googleapis.com/full.type.name' as the type URL and the unpack 52676 52677 methods only use the fully qualified type name after the last '/' 52678 52679 in the type URL, for example "foo.bar.com/x/y.z" will yield type 52680 52681 name "y.z". 52682 52683 52684 52685 JSON 52686 52687 ==== 52688 52689 The JSON representation of an `Any` value uses the regular 52690 52691 representation of the deserialized, embedded message, with an 52692 52693 additional field `@type` which contains the type URL. Example: 52694 52695 package google.profile; 52696 message Person { 52697 string first_name = 1; 52698 string last_name = 2; 52699 } 52700 52701 { 52702 "@type": "type.googleapis.com/google.profile.Person", 52703 "firstName": <string>, 52704 "lastName": <string> 52705 } 52706 52707 If the embedded message type is well-known and has a custom JSON 52708 52709 representation, that representation will be embedded adding a field 52710 52711 `value` which holds the custom JSON in addition to the `@type` 52712 52713 field. Example (for message [google.protobuf.Duration][]): 52714 52715 { 52716 "@type": "type.googleapis.com/google.protobuf.Duration", 52717 "value": "1.212s" 52718 } 52719 title: >- 52720 extension_options are arbitrary options that can be added by chains 52721 52722 when the default options are not sufficient. If any of these are 52723 present 52724 52725 and can't be handled, the transaction will be rejected 52726 non_critical_extension_options: 52727 type: array 52728 items: 52729 type: object 52730 properties: 52731 type_url: 52732 type: string 52733 description: >- 52734 A URL/resource name that uniquely identifies the type of the 52735 serialized 52736 52737 protocol buffer message. This string must contain at least 52738 52739 one "/" character. The last segment of the URL's path must 52740 represent 52741 52742 the fully qualified name of the type (as in 52743 52744 `path/google.protobuf.Duration`). The name should be in a 52745 canonical form 52746 52747 (e.g., leading "." is not accepted). 52748 52749 52750 In practice, teams usually precompile into the binary all types 52751 that they 52752 52753 expect it to use in the context of Any. However, for URLs which 52754 use the 52755 52756 scheme `http`, `https`, or no scheme, one can optionally set up 52757 a type 52758 52759 server that maps type URLs to message definitions as follows: 52760 52761 52762 * If no scheme is provided, `https` is assumed. 52763 52764 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 52765 value in binary format, or produce an error. 52766 * Applications are allowed to cache lookup results based on the 52767 URL, or have them precompiled into a binary to avoid any 52768 lookup. Therefore, binary compatibility needs to be preserved 52769 on changes to types. (Use versioned type names to manage 52770 breaking changes.) 52771 52772 Note: this functionality is not currently available in the 52773 official 52774 52775 protobuf release, and it is not used for type URLs beginning 52776 with 52777 52778 type.googleapis.com. 52779 52780 52781 Schemes other than `http`, `https` (or the empty scheme) might 52782 be 52783 52784 used with implementation specific semantics. 52785 value: 52786 type: string 52787 format: byte 52788 description: >- 52789 Must be a valid serialized protocol buffer of the above 52790 specified type. 52791 description: >- 52792 `Any` contains an arbitrary serialized protocol buffer message along 52793 with a 52794 52795 URL that describes the type of the serialized message. 52796 52797 52798 Protobuf library provides support to pack/unpack Any values in the 52799 form 52800 52801 of utility functions or additional generated methods of the Any 52802 type. 52803 52804 52805 Example 1: Pack and unpack a message in C++. 52806 52807 Foo foo = ...; 52808 Any any; 52809 any.PackFrom(foo); 52810 ... 52811 if (any.UnpackTo(&foo)) { 52812 ... 52813 } 52814 52815 Example 2: Pack and unpack a message in Java. 52816 52817 Foo foo = ...; 52818 Any any = Any.pack(foo); 52819 ... 52820 if (any.is(Foo.class)) { 52821 foo = any.unpack(Foo.class); 52822 } 52823 52824 Example 3: Pack and unpack a message in Python. 52825 52826 foo = Foo(...) 52827 any = Any() 52828 any.Pack(foo) 52829 ... 52830 if any.Is(Foo.DESCRIPTOR): 52831 any.Unpack(foo) 52832 ... 52833 52834 Example 4: Pack and unpack a message in Go 52835 52836 foo := &pb.Foo{...} 52837 any, err := ptypes.MarshalAny(foo) 52838 ... 52839 foo := &pb.Foo{} 52840 if err := ptypes.UnmarshalAny(any, foo); err != nil { 52841 ... 52842 } 52843 52844 The pack methods provided by protobuf library will by default use 52845 52846 'type.googleapis.com/full.type.name' as the type URL and the unpack 52847 52848 methods only use the fully qualified type name after the last '/' 52849 52850 in the type URL, for example "foo.bar.com/x/y.z" will yield type 52851 52852 name "y.z". 52853 52854 52855 52856 JSON 52857 52858 ==== 52859 52860 The JSON representation of an `Any` value uses the regular 52861 52862 representation of the deserialized, embedded message, with an 52863 52864 additional field `@type` which contains the type URL. Example: 52865 52866 package google.profile; 52867 message Person { 52868 string first_name = 1; 52869 string last_name = 2; 52870 } 52871 52872 { 52873 "@type": "type.googleapis.com/google.profile.Person", 52874 "firstName": <string>, 52875 "lastName": <string> 52876 } 52877 52878 If the embedded message type is well-known and has a custom JSON 52879 52880 representation, that representation will be embedded adding a field 52881 52882 `value` which holds the custom JSON in addition to the `@type` 52883 52884 field. Example (for message [google.protobuf.Duration][]): 52885 52886 { 52887 "@type": "type.googleapis.com/google.protobuf.Duration", 52888 "value": "1.212s" 52889 } 52890 title: >- 52891 extension_options are arbitrary options that can be added by chains 52892 52893 when the default options are not sufficient. If any of these are 52894 present 52895 52896 and can't be handled, they will be ignored 52897 description: TxBody is the body of a transaction that all signers sign over. 52898 cosmos.upgrade.v1beta1.ModuleVersion: 52899 type: object 52900 properties: 52901 name: 52902 type: string 52903 title: name of the app module 52904 version: 52905 type: string 52906 format: uint64 52907 title: consensus version of the app module 52908 description: |- 52909 ModuleVersion specifies a module and its consensus version. 52910 52911 Since: cosmos-sdk 0.43 52912 cosmos.upgrade.v1beta1.Plan: 52913 type: object 52914 properties: 52915 name: 52916 type: string 52917 description: >- 52918 Sets the name for the upgrade. This name will be used by the upgraded 52919 52920 version of the software to apply any special "on-upgrade" commands 52921 during 52922 52923 the first BeginBlock method after the upgrade is applied. It is also 52924 used 52925 52926 to detect whether a software version can handle a given upgrade. If no 52927 52928 upgrade handler with this name has been set in the software, it will 52929 be 52930 52931 assumed that the software is out-of-date when the upgrade Time or 52932 Height is 52933 52934 reached and the software will exit. 52935 time: 52936 type: string 52937 format: date-time 52938 description: >- 52939 Deprecated: Time based upgrades have been deprecated. Time based 52940 upgrade logic 52941 52942 has been removed from the SDK. 52943 52944 If this field is not empty, an error will be thrown. 52945 height: 52946 type: string 52947 format: int64 52948 description: |- 52949 The height at which the upgrade must be performed. 52950 Only used if Time is not set. 52951 info: 52952 type: string 52953 title: |- 52954 Any application specific upgrade info to be included on-chain 52955 such as a git commit that validators could automatically upgrade to 52956 upgraded_client_state: 52957 type: object 52958 properties: 52959 type_url: 52960 type: string 52961 description: >- 52962 A URL/resource name that uniquely identifies the type of the 52963 serialized 52964 52965 protocol buffer message. This string must contain at least 52966 52967 one "/" character. The last segment of the URL's path must 52968 represent 52969 52970 the fully qualified name of the type (as in 52971 52972 `path/google.protobuf.Duration`). The name should be in a 52973 canonical form 52974 52975 (e.g., leading "." is not accepted). 52976 52977 52978 In practice, teams usually precompile into the binary all types 52979 that they 52980 52981 expect it to use in the context of Any. However, for URLs which 52982 use the 52983 52984 scheme `http`, `https`, or no scheme, one can optionally set up a 52985 type 52986 52987 server that maps type URLs to message definitions as follows: 52988 52989 52990 * If no scheme is provided, `https` is assumed. 52991 52992 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 52993 value in binary format, or produce an error. 52994 * Applications are allowed to cache lookup results based on the 52995 URL, or have them precompiled into a binary to avoid any 52996 lookup. Therefore, binary compatibility needs to be preserved 52997 on changes to types. (Use versioned type names to manage 52998 breaking changes.) 52999 53000 Note: this functionality is not currently available in the 53001 official 53002 53003 protobuf release, and it is not used for type URLs beginning with 53004 53005 type.googleapis.com. 53006 53007 53008 Schemes other than `http`, `https` (or the empty scheme) might be 53009 53010 used with implementation specific semantics. 53011 value: 53012 type: string 53013 format: byte 53014 description: >- 53015 Must be a valid serialized protocol buffer of the above specified 53016 type. 53017 description: >- 53018 `Any` contains an arbitrary serialized protocol buffer message along 53019 with a 53020 53021 URL that describes the type of the serialized message. 53022 53023 53024 Protobuf library provides support to pack/unpack Any values in the 53025 form 53026 53027 of utility functions or additional generated methods of the Any type. 53028 53029 53030 Example 1: Pack and unpack a message in C++. 53031 53032 Foo foo = ...; 53033 Any any; 53034 any.PackFrom(foo); 53035 ... 53036 if (any.UnpackTo(&foo)) { 53037 ... 53038 } 53039 53040 Example 2: Pack and unpack a message in Java. 53041 53042 Foo foo = ...; 53043 Any any = Any.pack(foo); 53044 ... 53045 if (any.is(Foo.class)) { 53046 foo = any.unpack(Foo.class); 53047 } 53048 53049 Example 3: Pack and unpack a message in Python. 53050 53051 foo = Foo(...) 53052 any = Any() 53053 any.Pack(foo) 53054 ... 53055 if any.Is(Foo.DESCRIPTOR): 53056 any.Unpack(foo) 53057 ... 53058 53059 Example 4: Pack and unpack a message in Go 53060 53061 foo := &pb.Foo{...} 53062 any, err := ptypes.MarshalAny(foo) 53063 ... 53064 foo := &pb.Foo{} 53065 if err := ptypes.UnmarshalAny(any, foo); err != nil { 53066 ... 53067 } 53068 53069 The pack methods provided by protobuf library will by default use 53070 53071 'type.googleapis.com/full.type.name' as the type URL and the unpack 53072 53073 methods only use the fully qualified type name after the last '/' 53074 53075 in the type URL, for example "foo.bar.com/x/y.z" will yield type 53076 53077 name "y.z". 53078 53079 53080 53081 JSON 53082 53083 ==== 53084 53085 The JSON representation of an `Any` value uses the regular 53086 53087 representation of the deserialized, embedded message, with an 53088 53089 additional field `@type` which contains the type URL. Example: 53090 53091 package google.profile; 53092 message Person { 53093 string first_name = 1; 53094 string last_name = 2; 53095 } 53096 53097 { 53098 "@type": "type.googleapis.com/google.profile.Person", 53099 "firstName": <string>, 53100 "lastName": <string> 53101 } 53102 53103 If the embedded message type is well-known and has a custom JSON 53104 53105 representation, that representation will be embedded adding a field 53106 53107 `value` which holds the custom JSON in addition to the `@type` 53108 53109 field. Example (for message [google.protobuf.Duration][]): 53110 53111 { 53112 "@type": "type.googleapis.com/google.protobuf.Duration", 53113 "value": "1.212s" 53114 } 53115 description: >- 53116 Plan specifies information about a planned upgrade and when it should 53117 occur. 53118 cosmos.upgrade.v1beta1.QueryAppliedPlanResponse: 53119 type: object 53120 properties: 53121 height: 53122 type: string 53123 format: int64 53124 description: height is the block height at which the plan was applied. 53125 description: >- 53126 QueryAppliedPlanResponse is the response type for the Query/AppliedPlan 53127 RPC 53128 53129 method. 53130 cosmos.upgrade.v1beta1.QueryCurrentPlanResponse: 53131 type: object 53132 properties: 53133 plan: 53134 description: plan is the current upgrade plan. 53135 type: object 53136 properties: 53137 name: 53138 type: string 53139 description: >- 53140 Sets the name for the upgrade. This name will be used by the 53141 upgraded 53142 53143 version of the software to apply any special "on-upgrade" commands 53144 during 53145 53146 the first BeginBlock method after the upgrade is applied. It is 53147 also used 53148 53149 to detect whether a software version can handle a given upgrade. 53150 If no 53151 53152 upgrade handler with this name has been set in the software, it 53153 will be 53154 53155 assumed that the software is out-of-date when the upgrade Time or 53156 Height is 53157 53158 reached and the software will exit. 53159 time: 53160 type: string 53161 format: date-time 53162 description: >- 53163 Deprecated: Time based upgrades have been deprecated. Time based 53164 upgrade logic 53165 53166 has been removed from the SDK. 53167 53168 If this field is not empty, an error will be thrown. 53169 height: 53170 type: string 53171 format: int64 53172 description: |- 53173 The height at which the upgrade must be performed. 53174 Only used if Time is not set. 53175 info: 53176 type: string 53177 title: >- 53178 Any application specific upgrade info to be included on-chain 53179 53180 such as a git commit that validators could automatically upgrade 53181 to 53182 upgraded_client_state: 53183 type: object 53184 properties: 53185 type_url: 53186 type: string 53187 description: >- 53188 A URL/resource name that uniquely identifies the type of the 53189 serialized 53190 53191 protocol buffer message. This string must contain at least 53192 53193 one "/" character. The last segment of the URL's path must 53194 represent 53195 53196 the fully qualified name of the type (as in 53197 53198 `path/google.protobuf.Duration`). The name should be in a 53199 canonical form 53200 53201 (e.g., leading "." is not accepted). 53202 53203 53204 In practice, teams usually precompile into the binary all 53205 types that they 53206 53207 expect it to use in the context of Any. However, for URLs 53208 which use the 53209 53210 scheme `http`, `https`, or no scheme, one can optionally set 53211 up a type 53212 53213 server that maps type URLs to message definitions as follows: 53214 53215 53216 * If no scheme is provided, `https` is assumed. 53217 53218 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 53219 value in binary format, or produce an error. 53220 * Applications are allowed to cache lookup results based on 53221 the 53222 URL, or have them precompiled into a binary to avoid any 53223 lookup. Therefore, binary compatibility needs to be preserved 53224 on changes to types. (Use versioned type names to manage 53225 breaking changes.) 53226 53227 Note: this functionality is not currently available in the 53228 official 53229 53230 protobuf release, and it is not used for type URLs beginning 53231 with 53232 53233 type.googleapis.com. 53234 53235 53236 Schemes other than `http`, `https` (or the empty scheme) might 53237 be 53238 53239 used with implementation specific semantics. 53240 value: 53241 type: string 53242 format: byte 53243 description: >- 53244 Must be a valid serialized protocol buffer of the above 53245 specified type. 53246 description: >- 53247 `Any` contains an arbitrary serialized protocol buffer message 53248 along with a 53249 53250 URL that describes the type of the serialized message. 53251 53252 53253 Protobuf library provides support to pack/unpack Any values in the 53254 form 53255 53256 of utility functions or additional generated methods of the Any 53257 type. 53258 53259 53260 Example 1: Pack and unpack a message in C++. 53261 53262 Foo foo = ...; 53263 Any any; 53264 any.PackFrom(foo); 53265 ... 53266 if (any.UnpackTo(&foo)) { 53267 ... 53268 } 53269 53270 Example 2: Pack and unpack a message in Java. 53271 53272 Foo foo = ...; 53273 Any any = Any.pack(foo); 53274 ... 53275 if (any.is(Foo.class)) { 53276 foo = any.unpack(Foo.class); 53277 } 53278 53279 Example 3: Pack and unpack a message in Python. 53280 53281 foo = Foo(...) 53282 any = Any() 53283 any.Pack(foo) 53284 ... 53285 if any.Is(Foo.DESCRIPTOR): 53286 any.Unpack(foo) 53287 ... 53288 53289 Example 4: Pack and unpack a message in Go 53290 53291 foo := &pb.Foo{...} 53292 any, err := ptypes.MarshalAny(foo) 53293 ... 53294 foo := &pb.Foo{} 53295 if err := ptypes.UnmarshalAny(any, foo); err != nil { 53296 ... 53297 } 53298 53299 The pack methods provided by protobuf library will by default use 53300 53301 'type.googleapis.com/full.type.name' as the type URL and the 53302 unpack 53303 53304 methods only use the fully qualified type name after the last '/' 53305 53306 in the type URL, for example "foo.bar.com/x/y.z" will yield type 53307 53308 name "y.z". 53309 53310 53311 53312 JSON 53313 53314 ==== 53315 53316 The JSON representation of an `Any` value uses the regular 53317 53318 representation of the deserialized, embedded message, with an 53319 53320 additional field `@type` which contains the type URL. Example: 53321 53322 package google.profile; 53323 message Person { 53324 string first_name = 1; 53325 string last_name = 2; 53326 } 53327 53328 { 53329 "@type": "type.googleapis.com/google.profile.Person", 53330 "firstName": <string>, 53331 "lastName": <string> 53332 } 53333 53334 If the embedded message type is well-known and has a custom JSON 53335 53336 representation, that representation will be embedded adding a 53337 field 53338 53339 `value` which holds the custom JSON in addition to the `@type` 53340 53341 field. Example (for message [google.protobuf.Duration][]): 53342 53343 { 53344 "@type": "type.googleapis.com/google.protobuf.Duration", 53345 "value": "1.212s" 53346 } 53347 description: >- 53348 QueryCurrentPlanResponse is the response type for the Query/CurrentPlan 53349 RPC 53350 53351 method. 53352 cosmos.upgrade.v1beta1.QueryModuleVersionsResponse: 53353 type: object 53354 properties: 53355 module_versions: 53356 type: array 53357 items: 53358 type: object 53359 properties: 53360 name: 53361 type: string 53362 title: name of the app module 53363 version: 53364 type: string 53365 format: uint64 53366 title: consensus version of the app module 53367 description: |- 53368 ModuleVersion specifies a module and its consensus version. 53369 53370 Since: cosmos-sdk 0.43 53371 description: >- 53372 module_versions is a list of module names with their consensus 53373 versions. 53374 description: >- 53375 QueryModuleVersionsResponse is the response type for the 53376 Query/ModuleVersions 53377 53378 RPC method. 53379 53380 53381 Since: cosmos-sdk 0.43 53382 cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse: 53383 type: object 53384 properties: 53385 upgraded_consensus_state: 53386 type: string 53387 format: byte 53388 title: 'Since: cosmos-sdk 0.43' 53389 description: >- 53390 QueryUpgradedConsensusStateResponse is the response type for the 53391 Query/UpgradedConsensusState 53392 53393 RPC method. 53394 cosmos.authz.v1beta1.Grant: 53395 type: object 53396 properties: 53397 authorization: 53398 type: object 53399 properties: 53400 type_url: 53401 type: string 53402 description: >- 53403 A URL/resource name that uniquely identifies the type of the 53404 serialized 53405 53406 protocol buffer message. This string must contain at least 53407 53408 one "/" character. The last segment of the URL's path must 53409 represent 53410 53411 the fully qualified name of the type (as in 53412 53413 `path/google.protobuf.Duration`). The name should be in a 53414 canonical form 53415 53416 (e.g., leading "." is not accepted). 53417 53418 53419 In practice, teams usually precompile into the binary all types 53420 that they 53421 53422 expect it to use in the context of Any. However, for URLs which 53423 use the 53424 53425 scheme `http`, `https`, or no scheme, one can optionally set up a 53426 type 53427 53428 server that maps type URLs to message definitions as follows: 53429 53430 53431 * If no scheme is provided, `https` is assumed. 53432 53433 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 53434 value in binary format, or produce an error. 53435 * Applications are allowed to cache lookup results based on the 53436 URL, or have them precompiled into a binary to avoid any 53437 lookup. Therefore, binary compatibility needs to be preserved 53438 on changes to types. (Use versioned type names to manage 53439 breaking changes.) 53440 53441 Note: this functionality is not currently available in the 53442 official 53443 53444 protobuf release, and it is not used for type URLs beginning with 53445 53446 type.googleapis.com. 53447 53448 53449 Schemes other than `http`, `https` (or the empty scheme) might be 53450 53451 used with implementation specific semantics. 53452 value: 53453 type: string 53454 format: byte 53455 description: >- 53456 Must be a valid serialized protocol buffer of the above specified 53457 type. 53458 description: >- 53459 `Any` contains an arbitrary serialized protocol buffer message along 53460 with a 53461 53462 URL that describes the type of the serialized message. 53463 53464 53465 Protobuf library provides support to pack/unpack Any values in the 53466 form 53467 53468 of utility functions or additional generated methods of the Any type. 53469 53470 53471 Example 1: Pack and unpack a message in C++. 53472 53473 Foo foo = ...; 53474 Any any; 53475 any.PackFrom(foo); 53476 ... 53477 if (any.UnpackTo(&foo)) { 53478 ... 53479 } 53480 53481 Example 2: Pack and unpack a message in Java. 53482 53483 Foo foo = ...; 53484 Any any = Any.pack(foo); 53485 ... 53486 if (any.is(Foo.class)) { 53487 foo = any.unpack(Foo.class); 53488 } 53489 53490 Example 3: Pack and unpack a message in Python. 53491 53492 foo = Foo(...) 53493 any = Any() 53494 any.Pack(foo) 53495 ... 53496 if any.Is(Foo.DESCRIPTOR): 53497 any.Unpack(foo) 53498 ... 53499 53500 Example 4: Pack and unpack a message in Go 53501 53502 foo := &pb.Foo{...} 53503 any, err := ptypes.MarshalAny(foo) 53504 ... 53505 foo := &pb.Foo{} 53506 if err := ptypes.UnmarshalAny(any, foo); err != nil { 53507 ... 53508 } 53509 53510 The pack methods provided by protobuf library will by default use 53511 53512 'type.googleapis.com/full.type.name' as the type URL and the unpack 53513 53514 methods only use the fully qualified type name after the last '/' 53515 53516 in the type URL, for example "foo.bar.com/x/y.z" will yield type 53517 53518 name "y.z". 53519 53520 53521 53522 JSON 53523 53524 ==== 53525 53526 The JSON representation of an `Any` value uses the regular 53527 53528 representation of the deserialized, embedded message, with an 53529 53530 additional field `@type` which contains the type URL. Example: 53531 53532 package google.profile; 53533 message Person { 53534 string first_name = 1; 53535 string last_name = 2; 53536 } 53537 53538 { 53539 "@type": "type.googleapis.com/google.profile.Person", 53540 "firstName": <string>, 53541 "lastName": <string> 53542 } 53543 53544 If the embedded message type is well-known and has a custom JSON 53545 53546 representation, that representation will be embedded adding a field 53547 53548 `value` which holds the custom JSON in addition to the `@type` 53549 53550 field. Example (for message [google.protobuf.Duration][]): 53551 53552 { 53553 "@type": "type.googleapis.com/google.protobuf.Duration", 53554 "value": "1.212s" 53555 } 53556 expiration: 53557 type: string 53558 format: date-time 53559 description: |- 53560 Grant gives permissions to execute 53561 the provide method with expiration time. 53562 cosmos.authz.v1beta1.GrantAuthorization: 53563 type: object 53564 properties: 53565 granter: 53566 type: string 53567 grantee: 53568 type: string 53569 authorization: 53570 type: object 53571 properties: 53572 type_url: 53573 type: string 53574 description: >- 53575 A URL/resource name that uniquely identifies the type of the 53576 serialized 53577 53578 protocol buffer message. This string must contain at least 53579 53580 one "/" character. The last segment of the URL's path must 53581 represent 53582 53583 the fully qualified name of the type (as in 53584 53585 `path/google.protobuf.Duration`). The name should be in a 53586 canonical form 53587 53588 (e.g., leading "." is not accepted). 53589 53590 53591 In practice, teams usually precompile into the binary all types 53592 that they 53593 53594 expect it to use in the context of Any. However, for URLs which 53595 use the 53596 53597 scheme `http`, `https`, or no scheme, one can optionally set up a 53598 type 53599 53600 server that maps type URLs to message definitions as follows: 53601 53602 53603 * If no scheme is provided, `https` is assumed. 53604 53605 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 53606 value in binary format, or produce an error. 53607 * Applications are allowed to cache lookup results based on the 53608 URL, or have them precompiled into a binary to avoid any 53609 lookup. Therefore, binary compatibility needs to be preserved 53610 on changes to types. (Use versioned type names to manage 53611 breaking changes.) 53612 53613 Note: this functionality is not currently available in the 53614 official 53615 53616 protobuf release, and it is not used for type URLs beginning with 53617 53618 type.googleapis.com. 53619 53620 53621 Schemes other than `http`, `https` (or the empty scheme) might be 53622 53623 used with implementation specific semantics. 53624 value: 53625 type: string 53626 format: byte 53627 description: >- 53628 Must be a valid serialized protocol buffer of the above specified 53629 type. 53630 description: >- 53631 `Any` contains an arbitrary serialized protocol buffer message along 53632 with a 53633 53634 URL that describes the type of the serialized message. 53635 53636 53637 Protobuf library provides support to pack/unpack Any values in the 53638 form 53639 53640 of utility functions or additional generated methods of the Any type. 53641 53642 53643 Example 1: Pack and unpack a message in C++. 53644 53645 Foo foo = ...; 53646 Any any; 53647 any.PackFrom(foo); 53648 ... 53649 if (any.UnpackTo(&foo)) { 53650 ... 53651 } 53652 53653 Example 2: Pack and unpack a message in Java. 53654 53655 Foo foo = ...; 53656 Any any = Any.pack(foo); 53657 ... 53658 if (any.is(Foo.class)) { 53659 foo = any.unpack(Foo.class); 53660 } 53661 53662 Example 3: Pack and unpack a message in Python. 53663 53664 foo = Foo(...) 53665 any = Any() 53666 any.Pack(foo) 53667 ... 53668 if any.Is(Foo.DESCRIPTOR): 53669 any.Unpack(foo) 53670 ... 53671 53672 Example 4: Pack and unpack a message in Go 53673 53674 foo := &pb.Foo{...} 53675 any, err := ptypes.MarshalAny(foo) 53676 ... 53677 foo := &pb.Foo{} 53678 if err := ptypes.UnmarshalAny(any, foo); err != nil { 53679 ... 53680 } 53681 53682 The pack methods provided by protobuf library will by default use 53683 53684 'type.googleapis.com/full.type.name' as the type URL and the unpack 53685 53686 methods only use the fully qualified type name after the last '/' 53687 53688 in the type URL, for example "foo.bar.com/x/y.z" will yield type 53689 53690 name "y.z". 53691 53692 53693 53694 JSON 53695 53696 ==== 53697 53698 The JSON representation of an `Any` value uses the regular 53699 53700 representation of the deserialized, embedded message, with an 53701 53702 additional field `@type` which contains the type URL. Example: 53703 53704 package google.profile; 53705 message Person { 53706 string first_name = 1; 53707 string last_name = 2; 53708 } 53709 53710 { 53711 "@type": "type.googleapis.com/google.profile.Person", 53712 "firstName": <string>, 53713 "lastName": <string> 53714 } 53715 53716 If the embedded message type is well-known and has a custom JSON 53717 53718 representation, that representation will be embedded adding a field 53719 53720 `value` which holds the custom JSON in addition to the `@type` 53721 53722 field. Example (for message [google.protobuf.Duration][]): 53723 53724 { 53725 "@type": "type.googleapis.com/google.protobuf.Duration", 53726 "value": "1.212s" 53727 } 53728 expiration: 53729 type: string 53730 format: date-time 53731 description: 'Since: cosmos-sdk 0.45.2' 53732 title: >- 53733 GrantAuthorization extends a grant with both the addresses of the grantee 53734 and granter. 53735 53736 It is used in genesis.proto and query.proto 53737 cosmos.authz.v1beta1.QueryGranteeGrantsResponse: 53738 type: object 53739 properties: 53740 grants: 53741 type: array 53742 items: 53743 type: object 53744 properties: 53745 granter: 53746 type: string 53747 grantee: 53748 type: string 53749 authorization: 53750 type: object 53751 properties: 53752 type_url: 53753 type: string 53754 description: >- 53755 A URL/resource name that uniquely identifies the type of the 53756 serialized 53757 53758 protocol buffer message. This string must contain at least 53759 53760 one "/" character. The last segment of the URL's path must 53761 represent 53762 53763 the fully qualified name of the type (as in 53764 53765 `path/google.protobuf.Duration`). The name should be in a 53766 canonical form 53767 53768 (e.g., leading "." is not accepted). 53769 53770 53771 In practice, teams usually precompile into the binary all 53772 types that they 53773 53774 expect it to use in the context of Any. However, for URLs 53775 which use the 53776 53777 scheme `http`, `https`, or no scheme, one can optionally set 53778 up a type 53779 53780 server that maps type URLs to message definitions as 53781 follows: 53782 53783 53784 * If no scheme is provided, `https` is assumed. 53785 53786 * An HTTP GET on the URL must yield a 53787 [google.protobuf.Type][] 53788 value in binary format, or produce an error. 53789 * Applications are allowed to cache lookup results based on 53790 the 53791 URL, or have them precompiled into a binary to avoid any 53792 lookup. Therefore, binary compatibility needs to be preserved 53793 on changes to types. (Use versioned type names to manage 53794 breaking changes.) 53795 53796 Note: this functionality is not currently available in the 53797 official 53798 53799 protobuf release, and it is not used for type URLs beginning 53800 with 53801 53802 type.googleapis.com. 53803 53804 53805 Schemes other than `http`, `https` (or the empty scheme) 53806 might be 53807 53808 used with implementation specific semantics. 53809 value: 53810 type: string 53811 format: byte 53812 description: >- 53813 Must be a valid serialized protocol buffer of the above 53814 specified type. 53815 description: >- 53816 `Any` contains an arbitrary serialized protocol buffer message 53817 along with a 53818 53819 URL that describes the type of the serialized message. 53820 53821 53822 Protobuf library provides support to pack/unpack Any values in 53823 the form 53824 53825 of utility functions or additional generated methods of the Any 53826 type. 53827 53828 53829 Example 1: Pack and unpack a message in C++. 53830 53831 Foo foo = ...; 53832 Any any; 53833 any.PackFrom(foo); 53834 ... 53835 if (any.UnpackTo(&foo)) { 53836 ... 53837 } 53838 53839 Example 2: Pack and unpack a message in Java. 53840 53841 Foo foo = ...; 53842 Any any = Any.pack(foo); 53843 ... 53844 if (any.is(Foo.class)) { 53845 foo = any.unpack(Foo.class); 53846 } 53847 53848 Example 3: Pack and unpack a message in Python. 53849 53850 foo = Foo(...) 53851 any = Any() 53852 any.Pack(foo) 53853 ... 53854 if any.Is(Foo.DESCRIPTOR): 53855 any.Unpack(foo) 53856 ... 53857 53858 Example 4: Pack and unpack a message in Go 53859 53860 foo := &pb.Foo{...} 53861 any, err := ptypes.MarshalAny(foo) 53862 ... 53863 foo := &pb.Foo{} 53864 if err := ptypes.UnmarshalAny(any, foo); err != nil { 53865 ... 53866 } 53867 53868 The pack methods provided by protobuf library will by default 53869 use 53870 53871 'type.googleapis.com/full.type.name' as the type URL and the 53872 unpack 53873 53874 methods only use the fully qualified type name after the last 53875 '/' 53876 53877 in the type URL, for example "foo.bar.com/x/y.z" will yield type 53878 53879 name "y.z". 53880 53881 53882 53883 JSON 53884 53885 ==== 53886 53887 The JSON representation of an `Any` value uses the regular 53888 53889 representation of the deserialized, embedded message, with an 53890 53891 additional field `@type` which contains the type URL. Example: 53892 53893 package google.profile; 53894 message Person { 53895 string first_name = 1; 53896 string last_name = 2; 53897 } 53898 53899 { 53900 "@type": "type.googleapis.com/google.profile.Person", 53901 "firstName": <string>, 53902 "lastName": <string> 53903 } 53904 53905 If the embedded message type is well-known and has a custom JSON 53906 53907 representation, that representation will be embedded adding a 53908 field 53909 53910 `value` which holds the custom JSON in addition to the `@type` 53911 53912 field. Example (for message [google.protobuf.Duration][]): 53913 53914 { 53915 "@type": "type.googleapis.com/google.protobuf.Duration", 53916 "value": "1.212s" 53917 } 53918 expiration: 53919 type: string 53920 format: date-time 53921 description: 'Since: cosmos-sdk 0.45.2' 53922 title: >- 53923 GrantAuthorization extends a grant with both the addresses of the 53924 grantee and granter. 53925 53926 It is used in genesis.proto and query.proto 53927 description: grants is a list of grants granted to the grantee. 53928 pagination: 53929 description: pagination defines an pagination for the response. 53930 type: object 53931 properties: 53932 next_key: 53933 type: string 53934 format: byte 53935 title: |- 53936 next_key is the key to be passed to PageRequest.key to 53937 query the next page most efficiently 53938 total: 53939 type: string 53940 format: uint64 53941 title: >- 53942 total is total number of results available if 53943 PageRequest.count_total 53944 53945 was set, its value is undefined otherwise 53946 description: >- 53947 QueryGranteeGrantsResponse is the response type for the 53948 Query/GranteeGrants RPC method. 53949 cosmos.authz.v1beta1.QueryGranterGrantsResponse: 53950 type: object 53951 properties: 53952 grants: 53953 type: array 53954 items: 53955 type: object 53956 properties: 53957 granter: 53958 type: string 53959 grantee: 53960 type: string 53961 authorization: 53962 type: object 53963 properties: 53964 type_url: 53965 type: string 53966 description: >- 53967 A URL/resource name that uniquely identifies the type of the 53968 serialized 53969 53970 protocol buffer message. This string must contain at least 53971 53972 one "/" character. The last segment of the URL's path must 53973 represent 53974 53975 the fully qualified name of the type (as in 53976 53977 `path/google.protobuf.Duration`). The name should be in a 53978 canonical form 53979 53980 (e.g., leading "." is not accepted). 53981 53982 53983 In practice, teams usually precompile into the binary all 53984 types that they 53985 53986 expect it to use in the context of Any. However, for URLs 53987 which use the 53988 53989 scheme `http`, `https`, or no scheme, one can optionally set 53990 up a type 53991 53992 server that maps type URLs to message definitions as 53993 follows: 53994 53995 53996 * If no scheme is provided, `https` is assumed. 53997 53998 * An HTTP GET on the URL must yield a 53999 [google.protobuf.Type][] 54000 value in binary format, or produce an error. 54001 * Applications are allowed to cache lookup results based on 54002 the 54003 URL, or have them precompiled into a binary to avoid any 54004 lookup. Therefore, binary compatibility needs to be preserved 54005 on changes to types. (Use versioned type names to manage 54006 breaking changes.) 54007 54008 Note: this functionality is not currently available in the 54009 official 54010 54011 protobuf release, and it is not used for type URLs beginning 54012 with 54013 54014 type.googleapis.com. 54015 54016 54017 Schemes other than `http`, `https` (or the empty scheme) 54018 might be 54019 54020 used with implementation specific semantics. 54021 value: 54022 type: string 54023 format: byte 54024 description: >- 54025 Must be a valid serialized protocol buffer of the above 54026 specified type. 54027 description: >- 54028 `Any` contains an arbitrary serialized protocol buffer message 54029 along with a 54030 54031 URL that describes the type of the serialized message. 54032 54033 54034 Protobuf library provides support to pack/unpack Any values in 54035 the form 54036 54037 of utility functions or additional generated methods of the Any 54038 type. 54039 54040 54041 Example 1: Pack and unpack a message in C++. 54042 54043 Foo foo = ...; 54044 Any any; 54045 any.PackFrom(foo); 54046 ... 54047 if (any.UnpackTo(&foo)) { 54048 ... 54049 } 54050 54051 Example 2: Pack and unpack a message in Java. 54052 54053 Foo foo = ...; 54054 Any any = Any.pack(foo); 54055 ... 54056 if (any.is(Foo.class)) { 54057 foo = any.unpack(Foo.class); 54058 } 54059 54060 Example 3: Pack and unpack a message in Python. 54061 54062 foo = Foo(...) 54063 any = Any() 54064 any.Pack(foo) 54065 ... 54066 if any.Is(Foo.DESCRIPTOR): 54067 any.Unpack(foo) 54068 ... 54069 54070 Example 4: Pack and unpack a message in Go 54071 54072 foo := &pb.Foo{...} 54073 any, err := ptypes.MarshalAny(foo) 54074 ... 54075 foo := &pb.Foo{} 54076 if err := ptypes.UnmarshalAny(any, foo); err != nil { 54077 ... 54078 } 54079 54080 The pack methods provided by protobuf library will by default 54081 use 54082 54083 'type.googleapis.com/full.type.name' as the type URL and the 54084 unpack 54085 54086 methods only use the fully qualified type name after the last 54087 '/' 54088 54089 in the type URL, for example "foo.bar.com/x/y.z" will yield type 54090 54091 name "y.z". 54092 54093 54094 54095 JSON 54096 54097 ==== 54098 54099 The JSON representation of an `Any` value uses the regular 54100 54101 representation of the deserialized, embedded message, with an 54102 54103 additional field `@type` which contains the type URL. Example: 54104 54105 package google.profile; 54106 message Person { 54107 string first_name = 1; 54108 string last_name = 2; 54109 } 54110 54111 { 54112 "@type": "type.googleapis.com/google.profile.Person", 54113 "firstName": <string>, 54114 "lastName": <string> 54115 } 54116 54117 If the embedded message type is well-known and has a custom JSON 54118 54119 representation, that representation will be embedded adding a 54120 field 54121 54122 `value` which holds the custom JSON in addition to the `@type` 54123 54124 field. Example (for message [google.protobuf.Duration][]): 54125 54126 { 54127 "@type": "type.googleapis.com/google.protobuf.Duration", 54128 "value": "1.212s" 54129 } 54130 expiration: 54131 type: string 54132 format: date-time 54133 description: 'Since: cosmos-sdk 0.45.2' 54134 title: >- 54135 GrantAuthorization extends a grant with both the addresses of the 54136 grantee and granter. 54137 54138 It is used in genesis.proto and query.proto 54139 description: grants is a list of grants granted by the granter. 54140 pagination: 54141 description: pagination defines an pagination for the response. 54142 type: object 54143 properties: 54144 next_key: 54145 type: string 54146 format: byte 54147 title: |- 54148 next_key is the key to be passed to PageRequest.key to 54149 query the next page most efficiently 54150 total: 54151 type: string 54152 format: uint64 54153 title: >- 54154 total is total number of results available if 54155 PageRequest.count_total 54156 54157 was set, its value is undefined otherwise 54158 description: >- 54159 QueryGranterGrantsResponse is the response type for the 54160 Query/GranterGrants RPC method. 54161 cosmos.authz.v1beta1.QueryGrantsResponse: 54162 type: object 54163 properties: 54164 grants: 54165 type: array 54166 items: 54167 type: object 54168 properties: 54169 authorization: 54170 type: object 54171 properties: 54172 type_url: 54173 type: string 54174 description: >- 54175 A URL/resource name that uniquely identifies the type of the 54176 serialized 54177 54178 protocol buffer message. This string must contain at least 54179 54180 one "/" character. The last segment of the URL's path must 54181 represent 54182 54183 the fully qualified name of the type (as in 54184 54185 `path/google.protobuf.Duration`). The name should be in a 54186 canonical form 54187 54188 (e.g., leading "." is not accepted). 54189 54190 54191 In practice, teams usually precompile into the binary all 54192 types that they 54193 54194 expect it to use in the context of Any. However, for URLs 54195 which use the 54196 54197 scheme `http`, `https`, or no scheme, one can optionally set 54198 up a type 54199 54200 server that maps type URLs to message definitions as 54201 follows: 54202 54203 54204 * If no scheme is provided, `https` is assumed. 54205 54206 * An HTTP GET on the URL must yield a 54207 [google.protobuf.Type][] 54208 value in binary format, or produce an error. 54209 * Applications are allowed to cache lookup results based on 54210 the 54211 URL, or have them precompiled into a binary to avoid any 54212 lookup. Therefore, binary compatibility needs to be preserved 54213 on changes to types. (Use versioned type names to manage 54214 breaking changes.) 54215 54216 Note: this functionality is not currently available in the 54217 official 54218 54219 protobuf release, and it is not used for type URLs beginning 54220 with 54221 54222 type.googleapis.com. 54223 54224 54225 Schemes other than `http`, `https` (or the empty scheme) 54226 might be 54227 54228 used with implementation specific semantics. 54229 value: 54230 type: string 54231 format: byte 54232 description: >- 54233 Must be a valid serialized protocol buffer of the above 54234 specified type. 54235 description: >- 54236 `Any` contains an arbitrary serialized protocol buffer message 54237 along with a 54238 54239 URL that describes the type of the serialized message. 54240 54241 54242 Protobuf library provides support to pack/unpack Any values in 54243 the form 54244 54245 of utility functions or additional generated methods of the Any 54246 type. 54247 54248 54249 Example 1: Pack and unpack a message in C++. 54250 54251 Foo foo = ...; 54252 Any any; 54253 any.PackFrom(foo); 54254 ... 54255 if (any.UnpackTo(&foo)) { 54256 ... 54257 } 54258 54259 Example 2: Pack and unpack a message in Java. 54260 54261 Foo foo = ...; 54262 Any any = Any.pack(foo); 54263 ... 54264 if (any.is(Foo.class)) { 54265 foo = any.unpack(Foo.class); 54266 } 54267 54268 Example 3: Pack and unpack a message in Python. 54269 54270 foo = Foo(...) 54271 any = Any() 54272 any.Pack(foo) 54273 ... 54274 if any.Is(Foo.DESCRIPTOR): 54275 any.Unpack(foo) 54276 ... 54277 54278 Example 4: Pack and unpack a message in Go 54279 54280 foo := &pb.Foo{...} 54281 any, err := ptypes.MarshalAny(foo) 54282 ... 54283 foo := &pb.Foo{} 54284 if err := ptypes.UnmarshalAny(any, foo); err != nil { 54285 ... 54286 } 54287 54288 The pack methods provided by protobuf library will by default 54289 use 54290 54291 'type.googleapis.com/full.type.name' as the type URL and the 54292 unpack 54293 54294 methods only use the fully qualified type name after the last 54295 '/' 54296 54297 in the type URL, for example "foo.bar.com/x/y.z" will yield type 54298 54299 name "y.z". 54300 54301 54302 54303 JSON 54304 54305 ==== 54306 54307 The JSON representation of an `Any` value uses the regular 54308 54309 representation of the deserialized, embedded message, with an 54310 54311 additional field `@type` which contains the type URL. Example: 54312 54313 package google.profile; 54314 message Person { 54315 string first_name = 1; 54316 string last_name = 2; 54317 } 54318 54319 { 54320 "@type": "type.googleapis.com/google.profile.Person", 54321 "firstName": <string>, 54322 "lastName": <string> 54323 } 54324 54325 If the embedded message type is well-known and has a custom JSON 54326 54327 representation, that representation will be embedded adding a 54328 field 54329 54330 `value` which holds the custom JSON in addition to the `@type` 54331 54332 field. Example (for message [google.protobuf.Duration][]): 54333 54334 { 54335 "@type": "type.googleapis.com/google.protobuf.Duration", 54336 "value": "1.212s" 54337 } 54338 expiration: 54339 type: string 54340 format: date-time 54341 description: |- 54342 Grant gives permissions to execute 54343 the provide method with expiration time. 54344 description: authorizations is a list of grants granted for grantee by granter. 54345 pagination: 54346 description: pagination defines an pagination for the response. 54347 type: object 54348 properties: 54349 next_key: 54350 type: string 54351 format: byte 54352 title: |- 54353 next_key is the key to be passed to PageRequest.key to 54354 query the next page most efficiently 54355 total: 54356 type: string 54357 format: uint64 54358 title: >- 54359 total is total number of results available if 54360 PageRequest.count_total 54361 54362 was set, its value is undefined otherwise 54363 description: >- 54364 QueryGrantsResponse is the response type for the Query/Authorizations RPC 54365 method. 54366 lbm.foundation.v1.Censorship: 54367 type: object 54368 properties: 54369 msg_type_url: 54370 type: string 54371 authority: 54372 type: string 54373 enum: 54374 - CENSORSHIP_AUTHORITY_UNSPECIFIED 54375 - CENSORSHIP_AUTHORITY_GOVERNANCE 54376 - CENSORSHIP_AUTHORITY_FOUNDATION 54377 default: CENSORSHIP_AUTHORITY_UNSPECIFIED 54378 description: |2- 54379 - CENSORSHIP_AUTHORITY_UNSPECIFIED: CENSORSHIP_AUTHORITY_UNSPECIFIED defines an invalid authority. 54380 - CENSORSHIP_AUTHORITY_GOVERNANCE: CENSORSHIP_AUTHORITY_GOVERNANCE defines x/gov authority. 54381 - CENSORSHIP_AUTHORITY_FOUNDATION: CENSORSHIP_AUTHORITY_FOUNDATION defines x/foundation authority. 54382 lbm.foundation.v1.CensorshipAuthority: 54383 type: string 54384 enum: 54385 - CENSORSHIP_AUTHORITY_UNSPECIFIED 54386 - CENSORSHIP_AUTHORITY_GOVERNANCE 54387 - CENSORSHIP_AUTHORITY_FOUNDATION 54388 default: CENSORSHIP_AUTHORITY_UNSPECIFIED 54389 description: |2- 54390 - CENSORSHIP_AUTHORITY_UNSPECIFIED: CENSORSHIP_AUTHORITY_UNSPECIFIED defines an invalid authority. 54391 - CENSORSHIP_AUTHORITY_GOVERNANCE: CENSORSHIP_AUTHORITY_GOVERNANCE defines x/gov authority. 54392 - CENSORSHIP_AUTHORITY_FOUNDATION: CENSORSHIP_AUTHORITY_FOUNDATION defines x/foundation authority. 54393 lbm.foundation.v1.FoundationInfo: 54394 type: object 54395 properties: 54396 version: 54397 type: string 54398 format: uint64 54399 title: >- 54400 version is used to track changes to the foundation's membership 54401 structure that 54402 54403 would break existing proposals. Whenever any member is added or 54404 removed, 54405 54406 this version is incremented and will cause proposals based on older 54407 versions 54408 54409 of the foundation to fail 54410 total_weight: 54411 type: string 54412 description: total_weight is the number of the foundation members. 54413 decision_policy: 54414 type: object 54415 properties: 54416 type_url: 54417 type: string 54418 description: >- 54419 A URL/resource name that uniquely identifies the type of the 54420 serialized 54421 54422 protocol buffer message. This string must contain at least 54423 54424 one "/" character. The last segment of the URL's path must 54425 represent 54426 54427 the fully qualified name of the type (as in 54428 54429 `path/google.protobuf.Duration`). The name should be in a 54430 canonical form 54431 54432 (e.g., leading "." is not accepted). 54433 54434 54435 In practice, teams usually precompile into the binary all types 54436 that they 54437 54438 expect it to use in the context of Any. However, for URLs which 54439 use the 54440 54441 scheme `http`, `https`, or no scheme, one can optionally set up a 54442 type 54443 54444 server that maps type URLs to message definitions as follows: 54445 54446 54447 * If no scheme is provided, `https` is assumed. 54448 54449 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 54450 value in binary format, or produce an error. 54451 * Applications are allowed to cache lookup results based on the 54452 URL, or have them precompiled into a binary to avoid any 54453 lookup. Therefore, binary compatibility needs to be preserved 54454 on changes to types. (Use versioned type names to manage 54455 breaking changes.) 54456 54457 Note: this functionality is not currently available in the 54458 official 54459 54460 protobuf release, and it is not used for type URLs beginning with 54461 54462 type.googleapis.com. 54463 54464 54465 Schemes other than `http`, `https` (or the empty scheme) might be 54466 54467 used with implementation specific semantics. 54468 value: 54469 type: string 54470 format: byte 54471 description: >- 54472 Must be a valid serialized protocol buffer of the above specified 54473 type. 54474 description: >- 54475 `Any` contains an arbitrary serialized protocol buffer message along 54476 with a 54477 54478 URL that describes the type of the serialized message. 54479 54480 54481 Protobuf library provides support to pack/unpack Any values in the 54482 form 54483 54484 of utility functions or additional generated methods of the Any type. 54485 54486 54487 Example 1: Pack and unpack a message in C++. 54488 54489 Foo foo = ...; 54490 Any any; 54491 any.PackFrom(foo); 54492 ... 54493 if (any.UnpackTo(&foo)) { 54494 ... 54495 } 54496 54497 Example 2: Pack and unpack a message in Java. 54498 54499 Foo foo = ...; 54500 Any any = Any.pack(foo); 54501 ... 54502 if (any.is(Foo.class)) { 54503 foo = any.unpack(Foo.class); 54504 } 54505 54506 Example 3: Pack and unpack a message in Python. 54507 54508 foo = Foo(...) 54509 any = Any() 54510 any.Pack(foo) 54511 ... 54512 if any.Is(Foo.DESCRIPTOR): 54513 any.Unpack(foo) 54514 ... 54515 54516 Example 4: Pack and unpack a message in Go 54517 54518 foo := &pb.Foo{...} 54519 any, err := ptypes.MarshalAny(foo) 54520 ... 54521 foo := &pb.Foo{} 54522 if err := ptypes.UnmarshalAny(any, foo); err != nil { 54523 ... 54524 } 54525 54526 The pack methods provided by protobuf library will by default use 54527 54528 'type.googleapis.com/full.type.name' as the type URL and the unpack 54529 54530 methods only use the fully qualified type name after the last '/' 54531 54532 in the type URL, for example "foo.bar.com/x/y.z" will yield type 54533 54534 name "y.z". 54535 54536 54537 54538 JSON 54539 54540 ==== 54541 54542 The JSON representation of an `Any` value uses the regular 54543 54544 representation of the deserialized, embedded message, with an 54545 54546 additional field `@type` which contains the type URL. Example: 54547 54548 package google.profile; 54549 message Person { 54550 string first_name = 1; 54551 string last_name = 2; 54552 } 54553 54554 { 54555 "@type": "type.googleapis.com/google.profile.Person", 54556 "firstName": <string>, 54557 "lastName": <string> 54558 } 54559 54560 If the embedded message type is well-known and has a custom JSON 54561 54562 representation, that representation will be embedded adding a field 54563 54564 `value` which holds the custom JSON in addition to the `@type` 54565 54566 field. Example (for message [google.protobuf.Duration][]): 54567 54568 { 54569 "@type": "type.googleapis.com/google.protobuf.Duration", 54570 "value": "1.212s" 54571 } 54572 description: >- 54573 FoundationInfo represents the high-level on-chain information for the 54574 foundation. 54575 lbm.foundation.v1.Member: 54576 type: object 54577 properties: 54578 address: 54579 type: string 54580 description: address is the member's account address. 54581 metadata: 54582 type: string 54583 description: metadata is any arbitrary metadata to attached to the member. 54584 added_at: 54585 type: string 54586 format: date-time 54587 description: added_at is a timestamp specifying when a member was added. 54588 description: >- 54589 Member represents a foundation member with an account address and 54590 metadata. 54591 lbm.foundation.v1.Params: 54592 type: object 54593 properties: 54594 foundation_tax: 54595 type: string 54596 description: Params defines the parameters for the foundation module. 54597 lbm.foundation.v1.Proposal: 54598 type: object 54599 properties: 54600 id: 54601 type: string 54602 format: uint64 54603 description: id is the unique id of the proposal. 54604 metadata: 54605 type: string 54606 description: metadata is any arbitrary metadata to attached to the proposal. 54607 proposers: 54608 type: array 54609 items: 54610 type: string 54611 description: proposers are the account addresses of the proposers. 54612 submit_time: 54613 type: string 54614 format: date-time 54615 description: submit_time is a timestamp specifying when a proposal was submitted. 54616 foundation_version: 54617 type: string 54618 format: uint64 54619 description: >- 54620 foundation_version tracks the version of the foundation that this 54621 proposal corresponds to. 54622 54623 When foundation info is changed, existing proposals from previous 54624 foundation versions will become invalid. 54625 status: 54626 description: >- 54627 status represents the high level position in the life cycle of the 54628 proposal. Initial value is Submitted. 54629 type: string 54630 enum: 54631 - PROPOSAL_STATUS_UNSPECIFIED 54632 - PROPOSAL_STATUS_SUBMITTED 54633 - PROPOSAL_STATUS_ACCEPTED 54634 - PROPOSAL_STATUS_REJECTED 54635 - PROPOSAL_STATUS_ABORTED 54636 - PROPOSAL_STATUS_WITHDRAWN 54637 default: PROPOSAL_STATUS_UNSPECIFIED 54638 final_tally_result: 54639 description: >- 54640 final_tally_result contains the sums of all votes for this 54641 54642 proposal for each vote option, after tallying. When querying a 54643 proposal 54644 54645 via gRPC, this field is not populated until the proposal's voting 54646 period 54647 54648 has ended. 54649 type: object 54650 properties: 54651 yes_count: 54652 type: string 54653 description: yes_count is the sum of yes votes. 54654 abstain_count: 54655 type: string 54656 description: abstain_count is the sum of abstainers. 54657 no_count: 54658 type: string 54659 description: no is the sum of no votes. 54660 no_with_veto_count: 54661 type: string 54662 description: no_with_veto_count is the sum of veto. 54663 voting_period_end: 54664 type: string 54665 format: date-time 54666 description: >- 54667 voting_period_end is the timestamp before which voting must be done. 54668 54669 Unless a successfull MsgExec is called before (to execute a proposal 54670 whose 54671 54672 tally is successful before the voting period ends), tallying will be 54673 done 54674 54675 at this point, and the `final_tally_result`, as well 54676 54677 as `status` and `result` fields will be accordingly updated. 54678 executor_result: 54679 description: >- 54680 executor_result is the final result based on the votes and election 54681 rule. Initial value is NotRun. 54682 type: string 54683 enum: 54684 - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 54685 - PROPOSAL_EXECUTOR_RESULT_NOT_RUN 54686 - PROPOSAL_EXECUTOR_RESULT_SUCCESS 54687 - PROPOSAL_EXECUTOR_RESULT_FAILURE 54688 default: PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 54689 messages: 54690 type: array 54691 items: 54692 type: object 54693 properties: 54694 type_url: 54695 type: string 54696 description: >- 54697 A URL/resource name that uniquely identifies the type of the 54698 serialized 54699 54700 protocol buffer message. This string must contain at least 54701 54702 one "/" character. The last segment of the URL's path must 54703 represent 54704 54705 the fully qualified name of the type (as in 54706 54707 `path/google.protobuf.Duration`). The name should be in a 54708 canonical form 54709 54710 (e.g., leading "." is not accepted). 54711 54712 54713 In practice, teams usually precompile into the binary all types 54714 that they 54715 54716 expect it to use in the context of Any. However, for URLs which 54717 use the 54718 54719 scheme `http`, `https`, or no scheme, one can optionally set up 54720 a type 54721 54722 server that maps type URLs to message definitions as follows: 54723 54724 54725 * If no scheme is provided, `https` is assumed. 54726 54727 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 54728 value in binary format, or produce an error. 54729 * Applications are allowed to cache lookup results based on the 54730 URL, or have them precompiled into a binary to avoid any 54731 lookup. Therefore, binary compatibility needs to be preserved 54732 on changes to types. (Use versioned type names to manage 54733 breaking changes.) 54734 54735 Note: this functionality is not currently available in the 54736 official 54737 54738 protobuf release, and it is not used for type URLs beginning 54739 with 54740 54741 type.googleapis.com. 54742 54743 54744 Schemes other than `http`, `https` (or the empty scheme) might 54745 be 54746 54747 used with implementation specific semantics. 54748 value: 54749 type: string 54750 format: byte 54751 description: >- 54752 Must be a valid serialized protocol buffer of the above 54753 specified type. 54754 description: >- 54755 `Any` contains an arbitrary serialized protocol buffer message along 54756 with a 54757 54758 URL that describes the type of the serialized message. 54759 54760 54761 Protobuf library provides support to pack/unpack Any values in the 54762 form 54763 54764 of utility functions or additional generated methods of the Any 54765 type. 54766 54767 54768 Example 1: Pack and unpack a message in C++. 54769 54770 Foo foo = ...; 54771 Any any; 54772 any.PackFrom(foo); 54773 ... 54774 if (any.UnpackTo(&foo)) { 54775 ... 54776 } 54777 54778 Example 2: Pack and unpack a message in Java. 54779 54780 Foo foo = ...; 54781 Any any = Any.pack(foo); 54782 ... 54783 if (any.is(Foo.class)) { 54784 foo = any.unpack(Foo.class); 54785 } 54786 54787 Example 3: Pack and unpack a message in Python. 54788 54789 foo = Foo(...) 54790 any = Any() 54791 any.Pack(foo) 54792 ... 54793 if any.Is(Foo.DESCRIPTOR): 54794 any.Unpack(foo) 54795 ... 54796 54797 Example 4: Pack and unpack a message in Go 54798 54799 foo := &pb.Foo{...} 54800 any, err := ptypes.MarshalAny(foo) 54801 ... 54802 foo := &pb.Foo{} 54803 if err := ptypes.UnmarshalAny(any, foo); err != nil { 54804 ... 54805 } 54806 54807 The pack methods provided by protobuf library will by default use 54808 54809 'type.googleapis.com/full.type.name' as the type URL and the unpack 54810 54811 methods only use the fully qualified type name after the last '/' 54812 54813 in the type URL, for example "foo.bar.com/x/y.z" will yield type 54814 54815 name "y.z". 54816 54817 54818 54819 JSON 54820 54821 ==== 54822 54823 The JSON representation of an `Any` value uses the regular 54824 54825 representation of the deserialized, embedded message, with an 54826 54827 additional field `@type` which contains the type URL. Example: 54828 54829 package google.profile; 54830 message Person { 54831 string first_name = 1; 54832 string last_name = 2; 54833 } 54834 54835 { 54836 "@type": "type.googleapis.com/google.profile.Person", 54837 "firstName": <string>, 54838 "lastName": <string> 54839 } 54840 54841 If the embedded message type is well-known and has a custom JSON 54842 54843 representation, that representation will be embedded adding a field 54844 54845 `value` which holds the custom JSON in addition to the `@type` 54846 54847 field. Example (for message [google.protobuf.Duration][]): 54848 54849 { 54850 "@type": "type.googleapis.com/google.protobuf.Duration", 54851 "value": "1.212s" 54852 } 54853 description: >- 54854 messages is a list of Msgs that will be executed if the proposal 54855 passes. 54856 description: >- 54857 Proposal defines a foundation proposal. Any member of the foundation can 54858 submit a proposal 54859 54860 for a group policy to decide upon. 54861 54862 A proposal consists of a set of `sdk.Msg`s that will be executed if the 54863 proposal 54864 54865 passes as well as some optional metadata associated with the proposal. 54866 lbm.foundation.v1.ProposalExecutorResult: 54867 type: string 54868 enum: 54869 - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 54870 - PROPOSAL_EXECUTOR_RESULT_NOT_RUN 54871 - PROPOSAL_EXECUTOR_RESULT_SUCCESS 54872 - PROPOSAL_EXECUTOR_RESULT_FAILURE 54873 default: PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 54874 description: |- 54875 ProposalExecutorResult defines types of proposal executor results. 54876 54877 - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED: An empty value is not allowed. 54878 - PROPOSAL_EXECUTOR_RESULT_NOT_RUN: We have not yet run the executor. 54879 - PROPOSAL_EXECUTOR_RESULT_SUCCESS: The executor was successful and proposed action updated state. 54880 - PROPOSAL_EXECUTOR_RESULT_FAILURE: The executor returned an error and proposed action didn't update state. 54881 lbm.foundation.v1.ProposalStatus: 54882 type: string 54883 enum: 54884 - PROPOSAL_STATUS_UNSPECIFIED 54885 - PROPOSAL_STATUS_SUBMITTED 54886 - PROPOSAL_STATUS_ACCEPTED 54887 - PROPOSAL_STATUS_REJECTED 54888 - PROPOSAL_STATUS_ABORTED 54889 - PROPOSAL_STATUS_WITHDRAWN 54890 default: PROPOSAL_STATUS_UNSPECIFIED 54891 description: |- 54892 ProposalStatus defines proposal statuses. 54893 54894 - PROPOSAL_STATUS_UNSPECIFIED: An empty value is invalid and not allowed. 54895 - PROPOSAL_STATUS_SUBMITTED: Initial status of a proposal when submitted. 54896 - PROPOSAL_STATUS_ACCEPTED: Final status of a proposal when the final tally is done and the outcome 54897 passes the foundation's decision policy. 54898 - PROPOSAL_STATUS_REJECTED: Final status of a proposal when the final tally is done and the outcome 54899 is rejected by the foundation's decision policy. 54900 - PROPOSAL_STATUS_ABORTED: Final status of a proposal when the decision policy is modified before the 54901 final tally. 54902 - PROPOSAL_STATUS_WITHDRAWN: A proposal can be withdrawn before the voting start time by the owner. 54903 When this happens the final status is Withdrawn. 54904 lbm.foundation.v1.QueryCensorshipsResponse: 54905 type: object 54906 properties: 54907 censorships: 54908 type: array 54909 items: 54910 type: object 54911 properties: 54912 msg_type_url: 54913 type: string 54914 authority: 54915 type: string 54916 enum: 54917 - CENSORSHIP_AUTHORITY_UNSPECIFIED 54918 - CENSORSHIP_AUTHORITY_GOVERNANCE 54919 - CENSORSHIP_AUTHORITY_FOUNDATION 54920 default: CENSORSHIP_AUTHORITY_UNSPECIFIED 54921 description: |2- 54922 - CENSORSHIP_AUTHORITY_UNSPECIFIED: CENSORSHIP_AUTHORITY_UNSPECIFIED defines an invalid authority. 54923 - CENSORSHIP_AUTHORITY_GOVERNANCE: CENSORSHIP_AUTHORITY_GOVERNANCE defines x/gov authority. 54924 - CENSORSHIP_AUTHORITY_FOUNDATION: CENSORSHIP_AUTHORITY_FOUNDATION defines x/foundation authority. 54925 description: authorizations is a list of grants granted for grantee. 54926 pagination: 54927 description: pagination defines the pagination in the response. 54928 type: object 54929 properties: 54930 next_key: 54931 type: string 54932 format: byte 54933 title: |- 54934 next_key is the key to be passed to PageRequest.key to 54935 query the next page most efficiently 54936 total: 54937 type: string 54938 format: uint64 54939 title: >- 54940 total is total number of results available if 54941 PageRequest.count_total 54942 54943 was set, its value is undefined otherwise 54944 description: >- 54945 QueryCensorshipsResponse is the response type for the Query/Censorships 54946 RPC method. 54947 lbm.foundation.v1.QueryFoundationInfoResponse: 54948 type: object 54949 properties: 54950 info: 54951 description: info is the FoundationInfo for the foundation. 54952 type: object 54953 properties: 54954 version: 54955 type: string 54956 format: uint64 54957 title: >- 54958 version is used to track changes to the foundation's membership 54959 structure that 54960 54961 would break existing proposals. Whenever any member is added or 54962 removed, 54963 54964 this version is incremented and will cause proposals based on 54965 older versions 54966 54967 of the foundation to fail 54968 total_weight: 54969 type: string 54970 description: total_weight is the number of the foundation members. 54971 decision_policy: 54972 type: object 54973 properties: 54974 type_url: 54975 type: string 54976 description: >- 54977 A URL/resource name that uniquely identifies the type of the 54978 serialized 54979 54980 protocol buffer message. This string must contain at least 54981 54982 one "/" character. The last segment of the URL's path must 54983 represent 54984 54985 the fully qualified name of the type (as in 54986 54987 `path/google.protobuf.Duration`). The name should be in a 54988 canonical form 54989 54990 (e.g., leading "." is not accepted). 54991 54992 54993 In practice, teams usually precompile into the binary all 54994 types that they 54995 54996 expect it to use in the context of Any. However, for URLs 54997 which use the 54998 54999 scheme `http`, `https`, or no scheme, one can optionally set 55000 up a type 55001 55002 server that maps type URLs to message definitions as follows: 55003 55004 55005 * If no scheme is provided, `https` is assumed. 55006 55007 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 55008 value in binary format, or produce an error. 55009 * Applications are allowed to cache lookup results based on 55010 the 55011 URL, or have them precompiled into a binary to avoid any 55012 lookup. Therefore, binary compatibility needs to be preserved 55013 on changes to types. (Use versioned type names to manage 55014 breaking changes.) 55015 55016 Note: this functionality is not currently available in the 55017 official 55018 55019 protobuf release, and it is not used for type URLs beginning 55020 with 55021 55022 type.googleapis.com. 55023 55024 55025 Schemes other than `http`, `https` (or the empty scheme) might 55026 be 55027 55028 used with implementation specific semantics. 55029 value: 55030 type: string 55031 format: byte 55032 description: >- 55033 Must be a valid serialized protocol buffer of the above 55034 specified type. 55035 description: >- 55036 `Any` contains an arbitrary serialized protocol buffer message 55037 along with a 55038 55039 URL that describes the type of the serialized message. 55040 55041 55042 Protobuf library provides support to pack/unpack Any values in the 55043 form 55044 55045 of utility functions or additional generated methods of the Any 55046 type. 55047 55048 55049 Example 1: Pack and unpack a message in C++. 55050 55051 Foo foo = ...; 55052 Any any; 55053 any.PackFrom(foo); 55054 ... 55055 if (any.UnpackTo(&foo)) { 55056 ... 55057 } 55058 55059 Example 2: Pack and unpack a message in Java. 55060 55061 Foo foo = ...; 55062 Any any = Any.pack(foo); 55063 ... 55064 if (any.is(Foo.class)) { 55065 foo = any.unpack(Foo.class); 55066 } 55067 55068 Example 3: Pack and unpack a message in Python. 55069 55070 foo = Foo(...) 55071 any = Any() 55072 any.Pack(foo) 55073 ... 55074 if any.Is(Foo.DESCRIPTOR): 55075 any.Unpack(foo) 55076 ... 55077 55078 Example 4: Pack and unpack a message in Go 55079 55080 foo := &pb.Foo{...} 55081 any, err := ptypes.MarshalAny(foo) 55082 ... 55083 foo := &pb.Foo{} 55084 if err := ptypes.UnmarshalAny(any, foo); err != nil { 55085 ... 55086 } 55087 55088 The pack methods provided by protobuf library will by default use 55089 55090 'type.googleapis.com/full.type.name' as the type URL and the 55091 unpack 55092 55093 methods only use the fully qualified type name after the last '/' 55094 55095 in the type URL, for example "foo.bar.com/x/y.z" will yield type 55096 55097 name "y.z". 55098 55099 55100 55101 JSON 55102 55103 ==== 55104 55105 The JSON representation of an `Any` value uses the regular 55106 55107 representation of the deserialized, embedded message, with an 55108 55109 additional field `@type` which contains the type URL. Example: 55110 55111 package google.profile; 55112 message Person { 55113 string first_name = 1; 55114 string last_name = 2; 55115 } 55116 55117 { 55118 "@type": "type.googleapis.com/google.profile.Person", 55119 "firstName": <string>, 55120 "lastName": <string> 55121 } 55122 55123 If the embedded message type is well-known and has a custom JSON 55124 55125 representation, that representation will be embedded adding a 55126 field 55127 55128 `value` which holds the custom JSON in addition to the `@type` 55129 55130 field. Example (for message [google.protobuf.Duration][]): 55131 55132 { 55133 "@type": "type.googleapis.com/google.protobuf.Duration", 55134 "value": "1.212s" 55135 } 55136 description: QueryFoundationInfoResponse is the Query/FoundationInfo response type. 55137 lbm.foundation.v1.QueryGrantsResponse: 55138 type: object 55139 properties: 55140 authorizations: 55141 type: array 55142 items: 55143 type: object 55144 properties: 55145 type_url: 55146 type: string 55147 description: >- 55148 A URL/resource name that uniquely identifies the type of the 55149 serialized 55150 55151 protocol buffer message. This string must contain at least 55152 55153 one "/" character. The last segment of the URL's path must 55154 represent 55155 55156 the fully qualified name of the type (as in 55157 55158 `path/google.protobuf.Duration`). The name should be in a 55159 canonical form 55160 55161 (e.g., leading "." is not accepted). 55162 55163 55164 In practice, teams usually precompile into the binary all types 55165 that they 55166 55167 expect it to use in the context of Any. However, for URLs which 55168 use the 55169 55170 scheme `http`, `https`, or no scheme, one can optionally set up 55171 a type 55172 55173 server that maps type URLs to message definitions as follows: 55174 55175 55176 * If no scheme is provided, `https` is assumed. 55177 55178 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 55179 value in binary format, or produce an error. 55180 * Applications are allowed to cache lookup results based on the 55181 URL, or have them precompiled into a binary to avoid any 55182 lookup. Therefore, binary compatibility needs to be preserved 55183 on changes to types. (Use versioned type names to manage 55184 breaking changes.) 55185 55186 Note: this functionality is not currently available in the 55187 official 55188 55189 protobuf release, and it is not used for type URLs beginning 55190 with 55191 55192 type.googleapis.com. 55193 55194 55195 Schemes other than `http`, `https` (or the empty scheme) might 55196 be 55197 55198 used with implementation specific semantics. 55199 value: 55200 type: string 55201 format: byte 55202 description: >- 55203 Must be a valid serialized protocol buffer of the above 55204 specified type. 55205 description: >- 55206 `Any` contains an arbitrary serialized protocol buffer message along 55207 with a 55208 55209 URL that describes the type of the serialized message. 55210 55211 55212 Protobuf library provides support to pack/unpack Any values in the 55213 form 55214 55215 of utility functions or additional generated methods of the Any 55216 type. 55217 55218 55219 Example 1: Pack and unpack a message in C++. 55220 55221 Foo foo = ...; 55222 Any any; 55223 any.PackFrom(foo); 55224 ... 55225 if (any.UnpackTo(&foo)) { 55226 ... 55227 } 55228 55229 Example 2: Pack and unpack a message in Java. 55230 55231 Foo foo = ...; 55232 Any any = Any.pack(foo); 55233 ... 55234 if (any.is(Foo.class)) { 55235 foo = any.unpack(Foo.class); 55236 } 55237 55238 Example 3: Pack and unpack a message in Python. 55239 55240 foo = Foo(...) 55241 any = Any() 55242 any.Pack(foo) 55243 ... 55244 if any.Is(Foo.DESCRIPTOR): 55245 any.Unpack(foo) 55246 ... 55247 55248 Example 4: Pack and unpack a message in Go 55249 55250 foo := &pb.Foo{...} 55251 any, err := ptypes.MarshalAny(foo) 55252 ... 55253 foo := &pb.Foo{} 55254 if err := ptypes.UnmarshalAny(any, foo); err != nil { 55255 ... 55256 } 55257 55258 The pack methods provided by protobuf library will by default use 55259 55260 'type.googleapis.com/full.type.name' as the type URL and the unpack 55261 55262 methods only use the fully qualified type name after the last '/' 55263 55264 in the type URL, for example "foo.bar.com/x/y.z" will yield type 55265 55266 name "y.z". 55267 55268 55269 55270 JSON 55271 55272 ==== 55273 55274 The JSON representation of an `Any` value uses the regular 55275 55276 representation of the deserialized, embedded message, with an 55277 55278 additional field `@type` which contains the type URL. Example: 55279 55280 package google.profile; 55281 message Person { 55282 string first_name = 1; 55283 string last_name = 2; 55284 } 55285 55286 { 55287 "@type": "type.googleapis.com/google.profile.Person", 55288 "firstName": <string>, 55289 "lastName": <string> 55290 } 55291 55292 If the embedded message type is well-known and has a custom JSON 55293 55294 representation, that representation will be embedded adding a field 55295 55296 `value` which holds the custom JSON in addition to the `@type` 55297 55298 field. Example (for message [google.protobuf.Duration][]): 55299 55300 { 55301 "@type": "type.googleapis.com/google.protobuf.Duration", 55302 "value": "1.212s" 55303 } 55304 description: authorizations is a list of grants granted for grantee. 55305 pagination: 55306 description: pagination defines the pagination in the response. 55307 type: object 55308 properties: 55309 next_key: 55310 type: string 55311 format: byte 55312 title: |- 55313 next_key is the key to be passed to PageRequest.key to 55314 query the next page most efficiently 55315 total: 55316 type: string 55317 format: uint64 55318 title: >- 55319 total is total number of results available if 55320 PageRequest.count_total 55321 55322 was set, its value is undefined otherwise 55323 description: QueryGrantsResponse is the response type for the Query/Grants RPC method. 55324 lbm.foundation.v1.QueryMemberResponse: 55325 type: object 55326 properties: 55327 member: 55328 type: object 55329 properties: 55330 address: 55331 type: string 55332 description: address is the member's account address. 55333 metadata: 55334 type: string 55335 description: metadata is any arbitrary metadata to attached to the member. 55336 added_at: 55337 type: string 55338 format: date-time 55339 description: added_at is a timestamp specifying when a member was added. 55340 description: >- 55341 Member represents a foundation member with an account address and 55342 metadata. 55343 description: QueryMemberResponse is the Query/MemberResponse response type. 55344 lbm.foundation.v1.QueryMembersResponse: 55345 type: object 55346 properties: 55347 members: 55348 type: array 55349 items: 55350 type: object 55351 properties: 55352 address: 55353 type: string 55354 description: address is the member's account address. 55355 metadata: 55356 type: string 55357 description: metadata is any arbitrary metadata to attached to the member. 55358 added_at: 55359 type: string 55360 format: date-time 55361 description: added_at is a timestamp specifying when a member was added. 55362 description: >- 55363 Member represents a foundation member with an account address and 55364 metadata. 55365 description: members are the members of the foundation. 55366 pagination: 55367 description: pagination defines the pagination in the response. 55368 type: object 55369 properties: 55370 next_key: 55371 type: string 55372 format: byte 55373 title: |- 55374 next_key is the key to be passed to PageRequest.key to 55375 query the next page most efficiently 55376 total: 55377 type: string 55378 format: uint64 55379 title: >- 55380 total is total number of results available if 55381 PageRequest.count_total 55382 55383 was set, its value is undefined otherwise 55384 description: QueryMembersResponse is the Query/MembersResponse response type. 55385 lbm.foundation.v1.QueryParamsResponse: 55386 type: object 55387 properties: 55388 params: 55389 type: object 55390 properties: 55391 foundation_tax: 55392 type: string 55393 description: Params defines the parameters for the foundation module. 55394 description: QueryParamsResponse is the response type for the Query/Params RPC method. 55395 lbm.foundation.v1.QueryProposalResponse: 55396 type: object 55397 properties: 55398 proposal: 55399 type: object 55400 properties: 55401 id: 55402 type: string 55403 format: uint64 55404 description: id is the unique id of the proposal. 55405 metadata: 55406 type: string 55407 description: metadata is any arbitrary metadata to attached to the proposal. 55408 proposers: 55409 type: array 55410 items: 55411 type: string 55412 description: proposers are the account addresses of the proposers. 55413 submit_time: 55414 type: string 55415 format: date-time 55416 description: >- 55417 submit_time is a timestamp specifying when a proposal was 55418 submitted. 55419 foundation_version: 55420 type: string 55421 format: uint64 55422 description: >- 55423 foundation_version tracks the version of the foundation that this 55424 proposal corresponds to. 55425 55426 When foundation info is changed, existing proposals from previous 55427 foundation versions will become invalid. 55428 status: 55429 description: >- 55430 status represents the high level position in the life cycle of the 55431 proposal. Initial value is Submitted. 55432 type: string 55433 enum: 55434 - PROPOSAL_STATUS_UNSPECIFIED 55435 - PROPOSAL_STATUS_SUBMITTED 55436 - PROPOSAL_STATUS_ACCEPTED 55437 - PROPOSAL_STATUS_REJECTED 55438 - PROPOSAL_STATUS_ABORTED 55439 - PROPOSAL_STATUS_WITHDRAWN 55440 default: PROPOSAL_STATUS_UNSPECIFIED 55441 final_tally_result: 55442 description: >- 55443 final_tally_result contains the sums of all votes for this 55444 55445 proposal for each vote option, after tallying. When querying a 55446 proposal 55447 55448 via gRPC, this field is not populated until the proposal's voting 55449 period 55450 55451 has ended. 55452 type: object 55453 properties: 55454 yes_count: 55455 type: string 55456 description: yes_count is the sum of yes votes. 55457 abstain_count: 55458 type: string 55459 description: abstain_count is the sum of abstainers. 55460 no_count: 55461 type: string 55462 description: no is the sum of no votes. 55463 no_with_veto_count: 55464 type: string 55465 description: no_with_veto_count is the sum of veto. 55466 voting_period_end: 55467 type: string 55468 format: date-time 55469 description: >- 55470 voting_period_end is the timestamp before which voting must be 55471 done. 55472 55473 Unless a successfull MsgExec is called before (to execute a 55474 proposal whose 55475 55476 tally is successful before the voting period ends), tallying will 55477 be done 55478 55479 at this point, and the `final_tally_result`, as well 55480 55481 as `status` and `result` fields will be accordingly updated. 55482 executor_result: 55483 description: >- 55484 executor_result is the final result based on the votes and 55485 election rule. Initial value is NotRun. 55486 type: string 55487 enum: 55488 - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 55489 - PROPOSAL_EXECUTOR_RESULT_NOT_RUN 55490 - PROPOSAL_EXECUTOR_RESULT_SUCCESS 55491 - PROPOSAL_EXECUTOR_RESULT_FAILURE 55492 default: PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 55493 messages: 55494 type: array 55495 items: 55496 type: object 55497 properties: 55498 type_url: 55499 type: string 55500 description: >- 55501 A URL/resource name that uniquely identifies the type of the 55502 serialized 55503 55504 protocol buffer message. This string must contain at least 55505 55506 one "/" character. The last segment of the URL's path must 55507 represent 55508 55509 the fully qualified name of the type (as in 55510 55511 `path/google.protobuf.Duration`). The name should be in a 55512 canonical form 55513 55514 (e.g., leading "." is not accepted). 55515 55516 55517 In practice, teams usually precompile into the binary all 55518 types that they 55519 55520 expect it to use in the context of Any. However, for URLs 55521 which use the 55522 55523 scheme `http`, `https`, or no scheme, one can optionally set 55524 up a type 55525 55526 server that maps type URLs to message definitions as 55527 follows: 55528 55529 55530 * If no scheme is provided, `https` is assumed. 55531 55532 * An HTTP GET on the URL must yield a 55533 [google.protobuf.Type][] 55534 value in binary format, or produce an error. 55535 * Applications are allowed to cache lookup results based on 55536 the 55537 URL, or have them precompiled into a binary to avoid any 55538 lookup. Therefore, binary compatibility needs to be preserved 55539 on changes to types. (Use versioned type names to manage 55540 breaking changes.) 55541 55542 Note: this functionality is not currently available in the 55543 official 55544 55545 protobuf release, and it is not used for type URLs beginning 55546 with 55547 55548 type.googleapis.com. 55549 55550 55551 Schemes other than `http`, `https` (or the empty scheme) 55552 might be 55553 55554 used with implementation specific semantics. 55555 value: 55556 type: string 55557 format: byte 55558 description: >- 55559 Must be a valid serialized protocol buffer of the above 55560 specified type. 55561 description: >- 55562 `Any` contains an arbitrary serialized protocol buffer message 55563 along with a 55564 55565 URL that describes the type of the serialized message. 55566 55567 55568 Protobuf library provides support to pack/unpack Any values in 55569 the form 55570 55571 of utility functions or additional generated methods of the Any 55572 type. 55573 55574 55575 Example 1: Pack and unpack a message in C++. 55576 55577 Foo foo = ...; 55578 Any any; 55579 any.PackFrom(foo); 55580 ... 55581 if (any.UnpackTo(&foo)) { 55582 ... 55583 } 55584 55585 Example 2: Pack and unpack a message in Java. 55586 55587 Foo foo = ...; 55588 Any any = Any.pack(foo); 55589 ... 55590 if (any.is(Foo.class)) { 55591 foo = any.unpack(Foo.class); 55592 } 55593 55594 Example 3: Pack and unpack a message in Python. 55595 55596 foo = Foo(...) 55597 any = Any() 55598 any.Pack(foo) 55599 ... 55600 if any.Is(Foo.DESCRIPTOR): 55601 any.Unpack(foo) 55602 ... 55603 55604 Example 4: Pack and unpack a message in Go 55605 55606 foo := &pb.Foo{...} 55607 any, err := ptypes.MarshalAny(foo) 55608 ... 55609 foo := &pb.Foo{} 55610 if err := ptypes.UnmarshalAny(any, foo); err != nil { 55611 ... 55612 } 55613 55614 The pack methods provided by protobuf library will by default 55615 use 55616 55617 'type.googleapis.com/full.type.name' as the type URL and the 55618 unpack 55619 55620 methods only use the fully qualified type name after the last 55621 '/' 55622 55623 in the type URL, for example "foo.bar.com/x/y.z" will yield type 55624 55625 name "y.z". 55626 55627 55628 55629 JSON 55630 55631 ==== 55632 55633 The JSON representation of an `Any` value uses the regular 55634 55635 representation of the deserialized, embedded message, with an 55636 55637 additional field `@type` which contains the type URL. Example: 55638 55639 package google.profile; 55640 message Person { 55641 string first_name = 1; 55642 string last_name = 2; 55643 } 55644 55645 { 55646 "@type": "type.googleapis.com/google.profile.Person", 55647 "firstName": <string>, 55648 "lastName": <string> 55649 } 55650 55651 If the embedded message type is well-known and has a custom JSON 55652 55653 representation, that representation will be embedded adding a 55654 field 55655 55656 `value` which holds the custom JSON in addition to the `@type` 55657 55658 field. Example (for message [google.protobuf.Duration][]): 55659 55660 { 55661 "@type": "type.googleapis.com/google.protobuf.Duration", 55662 "value": "1.212s" 55663 } 55664 description: >- 55665 messages is a list of Msgs that will be executed if the proposal 55666 passes. 55667 description: >- 55668 Proposal defines a foundation proposal. Any member of the foundation 55669 can submit a proposal 55670 55671 for a group policy to decide upon. 55672 55673 A proposal consists of a set of `sdk.Msg`s that will be executed if 55674 the proposal 55675 55676 passes as well as some optional metadata associated with the proposal. 55677 description: QueryProposalResponse is the Query/Proposal response type. 55678 lbm.foundation.v1.QueryProposalsResponse: 55679 type: object 55680 properties: 55681 proposals: 55682 type: array 55683 items: 55684 type: object 55685 properties: 55686 id: 55687 type: string 55688 format: uint64 55689 description: id is the unique id of the proposal. 55690 metadata: 55691 type: string 55692 description: metadata is any arbitrary metadata to attached to the proposal. 55693 proposers: 55694 type: array 55695 items: 55696 type: string 55697 description: proposers are the account addresses of the proposers. 55698 submit_time: 55699 type: string 55700 format: date-time 55701 description: >- 55702 submit_time is a timestamp specifying when a proposal was 55703 submitted. 55704 foundation_version: 55705 type: string 55706 format: uint64 55707 description: >- 55708 foundation_version tracks the version of the foundation that 55709 this proposal corresponds to. 55710 55711 When foundation info is changed, existing proposals from 55712 previous foundation versions will become invalid. 55713 status: 55714 description: >- 55715 status represents the high level position in the life cycle of 55716 the proposal. Initial value is Submitted. 55717 type: string 55718 enum: 55719 - PROPOSAL_STATUS_UNSPECIFIED 55720 - PROPOSAL_STATUS_SUBMITTED 55721 - PROPOSAL_STATUS_ACCEPTED 55722 - PROPOSAL_STATUS_REJECTED 55723 - PROPOSAL_STATUS_ABORTED 55724 - PROPOSAL_STATUS_WITHDRAWN 55725 default: PROPOSAL_STATUS_UNSPECIFIED 55726 final_tally_result: 55727 description: >- 55728 final_tally_result contains the sums of all votes for this 55729 55730 proposal for each vote option, after tallying. When querying a 55731 proposal 55732 55733 via gRPC, this field is not populated until the proposal's 55734 voting period 55735 55736 has ended. 55737 type: object 55738 properties: 55739 yes_count: 55740 type: string 55741 description: yes_count is the sum of yes votes. 55742 abstain_count: 55743 type: string 55744 description: abstain_count is the sum of abstainers. 55745 no_count: 55746 type: string 55747 description: no is the sum of no votes. 55748 no_with_veto_count: 55749 type: string 55750 description: no_with_veto_count is the sum of veto. 55751 voting_period_end: 55752 type: string 55753 format: date-time 55754 description: >- 55755 voting_period_end is the timestamp before which voting must be 55756 done. 55757 55758 Unless a successfull MsgExec is called before (to execute a 55759 proposal whose 55760 55761 tally is successful before the voting period ends), tallying 55762 will be done 55763 55764 at this point, and the `final_tally_result`, as well 55765 55766 as `status` and `result` fields will be accordingly updated. 55767 executor_result: 55768 description: >- 55769 executor_result is the final result based on the votes and 55770 election rule. Initial value is NotRun. 55771 type: string 55772 enum: 55773 - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 55774 - PROPOSAL_EXECUTOR_RESULT_NOT_RUN 55775 - PROPOSAL_EXECUTOR_RESULT_SUCCESS 55776 - PROPOSAL_EXECUTOR_RESULT_FAILURE 55777 default: PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 55778 messages: 55779 type: array 55780 items: 55781 type: object 55782 properties: 55783 type_url: 55784 type: string 55785 description: >- 55786 A URL/resource name that uniquely identifies the type of 55787 the serialized 55788 55789 protocol buffer message. This string must contain at least 55790 55791 one "/" character. The last segment of the URL's path must 55792 represent 55793 55794 the fully qualified name of the type (as in 55795 55796 `path/google.protobuf.Duration`). The name should be in a 55797 canonical form 55798 55799 (e.g., leading "." is not accepted). 55800 55801 55802 In practice, teams usually precompile into the binary all 55803 types that they 55804 55805 expect it to use in the context of Any. However, for URLs 55806 which use the 55807 55808 scheme `http`, `https`, or no scheme, one can optionally 55809 set up a type 55810 55811 server that maps type URLs to message definitions as 55812 follows: 55813 55814 55815 * If no scheme is provided, `https` is assumed. 55816 55817 * An HTTP GET on the URL must yield a 55818 [google.protobuf.Type][] 55819 value in binary format, or produce an error. 55820 * Applications are allowed to cache lookup results based 55821 on the 55822 URL, or have them precompiled into a binary to avoid any 55823 lookup. Therefore, binary compatibility needs to be preserved 55824 on changes to types. (Use versioned type names to manage 55825 breaking changes.) 55826 55827 Note: this functionality is not currently available in the 55828 official 55829 55830 protobuf release, and it is not used for type URLs 55831 beginning with 55832 55833 type.googleapis.com. 55834 55835 55836 Schemes other than `http`, `https` (or the empty scheme) 55837 might be 55838 55839 used with implementation specific semantics. 55840 value: 55841 type: string 55842 format: byte 55843 description: >- 55844 Must be a valid serialized protocol buffer of the above 55845 specified type. 55846 description: >- 55847 `Any` contains an arbitrary serialized protocol buffer message 55848 along with a 55849 55850 URL that describes the type of the serialized message. 55851 55852 55853 Protobuf library provides support to pack/unpack Any values in 55854 the form 55855 55856 of utility functions or additional generated methods of the 55857 Any type. 55858 55859 55860 Example 1: Pack and unpack a message in C++. 55861 55862 Foo foo = ...; 55863 Any any; 55864 any.PackFrom(foo); 55865 ... 55866 if (any.UnpackTo(&foo)) { 55867 ... 55868 } 55869 55870 Example 2: Pack and unpack a message in Java. 55871 55872 Foo foo = ...; 55873 Any any = Any.pack(foo); 55874 ... 55875 if (any.is(Foo.class)) { 55876 foo = any.unpack(Foo.class); 55877 } 55878 55879 Example 3: Pack and unpack a message in Python. 55880 55881 foo = Foo(...) 55882 any = Any() 55883 any.Pack(foo) 55884 ... 55885 if any.Is(Foo.DESCRIPTOR): 55886 any.Unpack(foo) 55887 ... 55888 55889 Example 4: Pack and unpack a message in Go 55890 55891 foo := &pb.Foo{...} 55892 any, err := ptypes.MarshalAny(foo) 55893 ... 55894 foo := &pb.Foo{} 55895 if err := ptypes.UnmarshalAny(any, foo); err != nil { 55896 ... 55897 } 55898 55899 The pack methods provided by protobuf library will by default 55900 use 55901 55902 'type.googleapis.com/full.type.name' as the type URL and the 55903 unpack 55904 55905 methods only use the fully qualified type name after the last 55906 '/' 55907 55908 in the type URL, for example "foo.bar.com/x/y.z" will yield 55909 type 55910 55911 name "y.z". 55912 55913 55914 55915 JSON 55916 55917 ==== 55918 55919 The JSON representation of an `Any` value uses the regular 55920 55921 representation of the deserialized, embedded message, with an 55922 55923 additional field `@type` which contains the type URL. Example: 55924 55925 package google.profile; 55926 message Person { 55927 string first_name = 1; 55928 string last_name = 2; 55929 } 55930 55931 { 55932 "@type": "type.googleapis.com/google.profile.Person", 55933 "firstName": <string>, 55934 "lastName": <string> 55935 } 55936 55937 If the embedded message type is well-known and has a custom 55938 JSON 55939 55940 representation, that representation will be embedded adding a 55941 field 55942 55943 `value` which holds the custom JSON in addition to the `@type` 55944 55945 field. Example (for message [google.protobuf.Duration][]): 55946 55947 { 55948 "@type": "type.googleapis.com/google.protobuf.Duration", 55949 "value": "1.212s" 55950 } 55951 description: >- 55952 messages is a list of Msgs that will be executed if the proposal 55953 passes. 55954 description: >- 55955 Proposal defines a foundation proposal. Any member of the foundation 55956 can submit a proposal 55957 55958 for a group policy to decide upon. 55959 55960 A proposal consists of a set of `sdk.Msg`s that will be executed if 55961 the proposal 55962 55963 passes as well as some optional metadata associated with the 55964 proposal. 55965 description: proposals are the proposals of the foundation. 55966 pagination: 55967 description: pagination defines the pagination in the response. 55968 type: object 55969 properties: 55970 next_key: 55971 type: string 55972 format: byte 55973 title: |- 55974 next_key is the key to be passed to PageRequest.key to 55975 query the next page most efficiently 55976 total: 55977 type: string 55978 format: uint64 55979 title: >- 55980 total is total number of results available if 55981 PageRequest.count_total 55982 55983 was set, its value is undefined otherwise 55984 description: QueryProposalsResponse is the Query/Proposals response type. 55985 lbm.foundation.v1.QueryTallyResultResponse: 55986 type: object 55987 properties: 55988 tally: 55989 description: tally defines the requested tally. 55990 type: object 55991 properties: 55992 yes_count: 55993 type: string 55994 description: yes_count is the sum of yes votes. 55995 abstain_count: 55996 type: string 55997 description: abstain_count is the sum of abstainers. 55998 no_count: 55999 type: string 56000 description: no is the sum of no votes. 56001 no_with_veto_count: 56002 type: string 56003 description: no_with_veto_count is the sum of veto. 56004 description: QueryTallyResultResponse is the Query/TallyResult response type. 56005 lbm.foundation.v1.QueryTreasuryResponse: 56006 type: object 56007 properties: 56008 amount: 56009 type: array 56010 items: 56011 type: object 56012 properties: 56013 denom: 56014 type: string 56015 amount: 56016 type: string 56017 description: |- 56018 DecCoin defines a token with a denomination and a decimal amount. 56019 56020 NOTE: The amount field is an Dec which implements the custom method 56021 signatures required by gogoproto. 56022 description: |- 56023 QueryTreasuryResponse is the response type for the 56024 Query/Treasury RPC method. 56025 lbm.foundation.v1.QueryVoteResponse: 56026 type: object 56027 properties: 56028 vote: 56029 type: object 56030 properties: 56031 proposal_id: 56032 type: string 56033 format: uint64 56034 description: proposal is the unique ID of the proposal. 56035 voter: 56036 type: string 56037 description: voter is the account address of the voter. 56038 option: 56039 description: option is the voter's choice on the proposal. 56040 type: string 56041 enum: 56042 - VOTE_OPTION_UNSPECIFIED 56043 - VOTE_OPTION_YES 56044 - VOTE_OPTION_ABSTAIN 56045 - VOTE_OPTION_NO 56046 - VOTE_OPTION_NO_WITH_VETO 56047 default: VOTE_OPTION_UNSPECIFIED 56048 metadata: 56049 type: string 56050 description: metadata is any arbitrary metadata to attached to the vote. 56051 submit_time: 56052 type: string 56053 format: date-time 56054 description: submit_time is the timestamp when the vote was submitted. 56055 description: Vote represents a vote for a proposal. 56056 description: QueryVoteResponse is the Query/Vote response type. 56057 lbm.foundation.v1.QueryVotesResponse: 56058 type: object 56059 properties: 56060 votes: 56061 type: array 56062 items: 56063 type: object 56064 properties: 56065 proposal_id: 56066 type: string 56067 format: uint64 56068 description: proposal is the unique ID of the proposal. 56069 voter: 56070 type: string 56071 description: voter is the account address of the voter. 56072 option: 56073 description: option is the voter's choice on the proposal. 56074 type: string 56075 enum: 56076 - VOTE_OPTION_UNSPECIFIED 56077 - VOTE_OPTION_YES 56078 - VOTE_OPTION_ABSTAIN 56079 - VOTE_OPTION_NO 56080 - VOTE_OPTION_NO_WITH_VETO 56081 default: VOTE_OPTION_UNSPECIFIED 56082 metadata: 56083 type: string 56084 description: metadata is any arbitrary metadata to attached to the vote. 56085 submit_time: 56086 type: string 56087 format: date-time 56088 description: submit_time is the timestamp when the vote was submitted. 56089 description: Vote represents a vote for a proposal. 56090 description: votes are the list of votes for given proposal_id. 56091 pagination: 56092 description: pagination defines the pagination in the response. 56093 type: object 56094 properties: 56095 next_key: 56096 type: string 56097 format: byte 56098 title: |- 56099 next_key is the key to be passed to PageRequest.key to 56100 query the next page most efficiently 56101 total: 56102 type: string 56103 format: uint64 56104 title: >- 56105 total is total number of results available if 56106 PageRequest.count_total 56107 56108 was set, its value is undefined otherwise 56109 description: QueryVotesResponse is the Query/Votes response type. 56110 lbm.foundation.v1.TallyResult: 56111 type: object 56112 properties: 56113 yes_count: 56114 type: string 56115 description: yes_count is the sum of yes votes. 56116 abstain_count: 56117 type: string 56118 description: abstain_count is the sum of abstainers. 56119 no_count: 56120 type: string 56121 description: no is the sum of no votes. 56122 no_with_veto_count: 56123 type: string 56124 description: no_with_veto_count is the sum of veto. 56125 description: TallyResult represents the sum of votes for each vote option. 56126 lbm.foundation.v1.Vote: 56127 type: object 56128 properties: 56129 proposal_id: 56130 type: string 56131 format: uint64 56132 description: proposal is the unique ID of the proposal. 56133 voter: 56134 type: string 56135 description: voter is the account address of the voter. 56136 option: 56137 description: option is the voter's choice on the proposal. 56138 type: string 56139 enum: 56140 - VOTE_OPTION_UNSPECIFIED 56141 - VOTE_OPTION_YES 56142 - VOTE_OPTION_ABSTAIN 56143 - VOTE_OPTION_NO 56144 - VOTE_OPTION_NO_WITH_VETO 56145 default: VOTE_OPTION_UNSPECIFIED 56146 metadata: 56147 type: string 56148 description: metadata is any arbitrary metadata to attached to the vote. 56149 submit_time: 56150 type: string 56151 format: date-time 56152 description: submit_time is the timestamp when the vote was submitted. 56153 description: Vote represents a vote for a proposal. 56154 lbm.foundation.v1.VoteOption: 56155 type: string 56156 enum: 56157 - VOTE_OPTION_UNSPECIFIED 56158 - VOTE_OPTION_YES 56159 - VOTE_OPTION_ABSTAIN 56160 - VOTE_OPTION_NO 56161 - VOTE_OPTION_NO_WITH_VETO 56162 default: VOTE_OPTION_UNSPECIFIED 56163 description: |- 56164 VoteOption enumerates the valid vote options for a given proposal. 56165 56166 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 56167 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 56168 - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. 56169 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 56170 - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. 56171 lbm.token.v1.Contract: 56172 type: object 56173 properties: 56174 id: 56175 type: string 56176 description: id defines the unique identifier of the contract. 56177 name: 56178 type: string 56179 description: >- 56180 name defines the human-readable name of the contract. mandatory (not 56181 ERC20 compliant). 56182 symbol: 56183 type: string 56184 description: >- 56185 symbol is an abbreviated name for contract. mandatory (not ERC20 56186 compliant). 56187 uri: 56188 type: string 56189 description: an uri for the image of the contract stored off chain. 56190 meta: 56191 type: string 56192 description: meta is a brief description of contract. 56193 decimals: 56194 type: integer 56195 format: int32 56196 description: >- 56197 decimals is the number of decimals which one must divide the amount by 56198 to get its user representation. 56199 mintable: 56200 type: boolean 56201 format: boolean 56202 description: mintable represents whether the token is allowed to mint or burn. 56203 description: Contract defines token information. 56204 lbm.token.v1.Grant: 56205 type: object 56206 properties: 56207 grantee: 56208 type: string 56209 description: address of the grantee. 56210 permission: 56211 description: permission on the contract. 56212 type: string 56213 enum: 56214 - PERMISSION_UNSPECIFIED 56215 - PERMISSION_MODIFY 56216 - PERMISSION_MINT 56217 - PERMISSION_BURN 56218 default: PERMISSION_UNSPECIFIED 56219 description: Grant defines permission given to a grantee. 56220 lbm.token.v1.Permission: 56221 type: string 56222 enum: 56223 - PERMISSION_UNSPECIFIED 56224 - PERMISSION_MODIFY 56225 - PERMISSION_MINT 56226 - PERMISSION_BURN 56227 default: PERMISSION_UNSPECIFIED 56228 description: |- 56229 Permission enumerates the valid permissions on a contract. 56230 56231 - PERMISSION_UNSPECIFIED: unspecified defines the default permission which is invalid. 56232 - PERMISSION_MODIFY: PERMISSION_MODIFY defines a permission to modify a contract. 56233 - PERMISSION_MINT: PERMISSION_MINT defines a permission to mint tokens of a contract. 56234 - PERMISSION_BURN: PERMISSION_BURN defines a permission to burn tokens of a contract. 56235 lbm.token.v1.QueryBalanceResponse: 56236 type: object 56237 properties: 56238 amount: 56239 type: string 56240 description: the balance of the tokens. 56241 title: QueryBalanceResponse is the response type for the Query/Balance RPC method 56242 lbm.token.v1.QueryBurntResponse: 56243 type: object 56244 properties: 56245 amount: 56246 type: string 56247 description: the amount of the burnt tokens. 56248 title: QueryBurntResponse is the response type for the Query/Burnt RPC method 56249 lbm.token.v1.QueryContractResponse: 56250 type: object 56251 properties: 56252 contract: 56253 type: object 56254 properties: 56255 id: 56256 type: string 56257 description: id defines the unique identifier of the contract. 56258 name: 56259 type: string 56260 description: >- 56261 name defines the human-readable name of the contract. mandatory 56262 (not ERC20 compliant). 56263 symbol: 56264 type: string 56265 description: >- 56266 symbol is an abbreviated name for contract. mandatory (not ERC20 56267 compliant). 56268 uri: 56269 type: string 56270 description: an uri for the image of the contract stored off chain. 56271 meta: 56272 type: string 56273 description: meta is a brief description of contract. 56274 decimals: 56275 type: integer 56276 format: int32 56277 description: >- 56278 decimals is the number of decimals which one must divide the 56279 amount by to get its user representation. 56280 mintable: 56281 type: boolean 56282 format: boolean 56283 description: mintable represents whether the token is allowed to mint or burn. 56284 description: Contract defines token information. 56285 title: >- 56286 QueryContractResponse is the response type for the Query/Contract RPC 56287 method 56288 lbm.token.v1.QueryGranteeGrantsResponse: 56289 type: object 56290 properties: 56291 grants: 56292 type: array 56293 items: 56294 type: object 56295 properties: 56296 grantee: 56297 type: string 56298 description: address of the grantee. 56299 permission: 56300 description: permission on the contract. 56301 type: string 56302 enum: 56303 - PERMISSION_UNSPECIFIED 56304 - PERMISSION_MODIFY 56305 - PERMISSION_MINT 56306 - PERMISSION_BURN 56307 default: PERMISSION_UNSPECIFIED 56308 description: Grant defines permission given to a grantee. 56309 description: all the grants on the grantee. 56310 pagination: 56311 description: pagination defines the pagination in the response. 56312 type: object 56313 properties: 56314 next_key: 56315 type: string 56316 format: byte 56317 title: |- 56318 next_key is the key to be passed to PageRequest.key to 56319 query the next page most efficiently 56320 total: 56321 type: string 56322 format: uint64 56323 title: >- 56324 total is total number of results available if 56325 PageRequest.count_total 56326 56327 was set, its value is undefined otherwise 56328 title: >- 56329 QueryGranteeGrantsResponse is the response type for the 56330 Query/GranteeGrants RPC method 56331 lbm.token.v1.QueryHoldersByOperatorResponse: 56332 type: object 56333 properties: 56334 holders: 56335 type: array 56336 items: 56337 type: string 56338 title: holder addresses 56339 pagination: 56340 description: pagination defines the pagination in the response. 56341 type: object 56342 properties: 56343 next_key: 56344 type: string 56345 format: byte 56346 title: |- 56347 next_key is the key to be passed to PageRequest.key to 56348 query the next page most efficiently 56349 total: 56350 type: string 56351 format: uint64 56352 title: >- 56353 total is total number of results available if 56354 PageRequest.count_total 56355 56356 was set, its value is undefined otherwise 56357 title: >- 56358 QueryHoldersByOperatorResponse is the response type for the 56359 Query/HoldersByOperator RPC method 56360 lbm.token.v1.QueryIsOperatorForResponse: 56361 type: object 56362 properties: 56363 authorized: 56364 type: boolean 56365 format: boolean 56366 title: >- 56367 QueryIsOperatorForResponse is the response type for the 56368 Query/IsOperatorFor RPC method 56369 lbm.token.v1.QueryMintedResponse: 56370 type: object 56371 properties: 56372 amount: 56373 type: string 56374 description: the amount of the minted tokens. 56375 title: QueryMintedResponse is the response type for the Query/Minted RPC method 56376 lbm.token.v1.QuerySupplyResponse: 56377 type: object 56378 properties: 56379 amount: 56380 type: string 56381 description: the supply of the tokens. 56382 title: QuerySupplyResponse is the response type for the Query/Supply RPC method 56383 lbm.collection.v1.Coin: 56384 type: object 56385 properties: 56386 token_id: 56387 type: string 56388 description: token id associated with the token. 56389 amount: 56390 type: string 56391 description: amount of the token. 56392 description: Coin defines a token with a token id and an amount. 56393 lbm.collection.v1.Contract: 56394 type: object 56395 properties: 56396 id: 56397 type: string 56398 description: contract_id defines the unique identifier of the contract. 56399 name: 56400 type: string 56401 description: name defines the human-readable name of the contract. 56402 meta: 56403 type: string 56404 description: meta is a brief description of the contract. 56405 uri: 56406 type: string 56407 description: uri for the contract image stored off chain. 56408 description: Contract defines the information of the contract for the collection. 56409 lbm.collection.v1.Grant: 56410 type: object 56411 properties: 56412 grantee: 56413 type: string 56414 description: address of the grantee. 56415 permission: 56416 description: permission on the contract. 56417 type: string 56418 enum: 56419 - PERMISSION_UNSPECIFIED 56420 - PERMISSION_ISSUE 56421 - PERMISSION_MODIFY 56422 - PERMISSION_MINT 56423 - PERMISSION_BURN 56424 default: PERMISSION_UNSPECIFIED 56425 description: |- 56426 Grant defines permission given to a grantee. 56427 56428 Since: 0.46.0 (finschia) 56429 lbm.collection.v1.NFT: 56430 type: object 56431 properties: 56432 token_id: 56433 type: string 56434 description: token id defines the unique identifier of the token. 56435 name: 56436 type: string 56437 description: name defines the human-readable name of the token. 56438 meta: 56439 type: string 56440 description: meta is a brief description of the token. 56441 description: |- 56442 NFT defines the information of non-fungible token. 56443 56444 Since: 0.46.0 (finschia) 56445 lbm.collection.v1.Permission: 56446 type: string 56447 enum: 56448 - PERMISSION_UNSPECIFIED 56449 - PERMISSION_ISSUE 56450 - PERMISSION_MODIFY 56451 - PERMISSION_MINT 56452 - PERMISSION_BURN 56453 default: PERMISSION_UNSPECIFIED 56454 description: |- 56455 Permission enumerates the valid permissions on a contract. 56456 56457 - PERMISSION_UNSPECIFIED: unspecified defines the default permission which is invalid. 56458 - PERMISSION_ISSUE: PERMISSION_ISSUE defines a permission to create a token class. 56459 - PERMISSION_MODIFY: PERMISSION_MODIFY defines a permission to modify a contract. 56460 - PERMISSION_MINT: PERMISSION_MINT defines a permission to mint tokens of a contract. 56461 - PERMISSION_BURN: PERMISSION_BURN defines a permission to burn tokens of a contract. 56462 lbm.collection.v1.QueryAllBalancesResponse: 56463 type: object 56464 properties: 56465 balances: 56466 type: array 56467 items: 56468 type: object 56469 properties: 56470 token_id: 56471 type: string 56472 description: token id associated with the token. 56473 amount: 56474 type: string 56475 description: amount of the token. 56476 description: Coin defines a token with a token id and an amount. 56477 description: balances is the balalces of all the tokens. 56478 pagination: 56479 description: pagination defines the pagination in the response. 56480 type: object 56481 properties: 56482 next_key: 56483 type: string 56484 format: byte 56485 title: |- 56486 next_key is the key to be passed to PageRequest.key to 56487 query the next page most efficiently 56488 total: 56489 type: string 56490 format: uint64 56491 title: >- 56492 total is total number of results available if 56493 PageRequest.count_total 56494 56495 was set, its value is undefined otherwise 56496 description: >- 56497 QueryAllBalancesResponse is the response type for the Query/AllBalances 56498 RPC method. 56499 lbm.collection.v1.QueryBalanceResponse: 56500 type: object 56501 properties: 56502 balance: 56503 type: object 56504 properties: 56505 token_id: 56506 type: string 56507 description: token id associated with the token. 56508 amount: 56509 type: string 56510 description: amount of the token. 56511 description: Coin defines a token with a token id and an amount. 56512 description: >- 56513 QueryBalanceResponse is the response type for the Query/Balance RPC 56514 method. 56515 lbm.collection.v1.QueryChildrenResponse: 56516 type: object 56517 properties: 56518 children: 56519 type: array 56520 items: 56521 type: object 56522 properties: 56523 token_id: 56524 type: string 56525 description: token id defines the unique identifier of the token. 56526 name: 56527 type: string 56528 description: name defines the human-readable name of the token. 56529 meta: 56530 type: string 56531 description: meta is a brief description of the token. 56532 description: |- 56533 NFT defines the information of non-fungible token. 56534 56535 Since: 0.46.0 (finschia) 56536 description: children is the information of the child tokens. 56537 pagination: 56538 description: pagination defines the pagination in the response. 56539 type: object 56540 properties: 56541 next_key: 56542 type: string 56543 format: byte 56544 title: |- 56545 next_key is the key to be passed to PageRequest.key to 56546 query the next page most efficiently 56547 total: 56548 type: string 56549 format: uint64 56550 title: >- 56551 total is total number of results available if 56552 PageRequest.count_total 56553 56554 was set, its value is undefined otherwise 56555 description: >- 56556 QueryChildrenResponse is the response type for the Query/Children RPC 56557 method. 56558 lbm.collection.v1.QueryContractResponse: 56559 type: object 56560 properties: 56561 contract: 56562 description: contract is the information of the contract. 56563 type: object 56564 properties: 56565 id: 56566 type: string 56567 description: contract_id defines the unique identifier of the contract. 56568 name: 56569 type: string 56570 description: name defines the human-readable name of the contract. 56571 meta: 56572 type: string 56573 description: meta is a brief description of the contract. 56574 uri: 56575 type: string 56576 description: uri for the contract image stored off chain. 56577 description: >- 56578 QueryContractResponse is the response type for the Query/Contract RPC 56579 method. 56580 lbm.collection.v1.QueryFTBurntResponse: 56581 type: object 56582 properties: 56583 burnt: 56584 type: string 56585 description: burnt is the amount of the burnt tokens. 56586 description: >- 56587 QueryFTBurntResponse is the response type for the Query/FTBurnt RPC 56588 method. 56589 lbm.collection.v1.QueryFTMintedResponse: 56590 type: object 56591 properties: 56592 minted: 56593 type: string 56594 description: minted is the amount of the minted tokens. 56595 description: >- 56596 QueryFTMintedResponse is the response type for the Query/FTMinted RPC 56597 method. 56598 lbm.collection.v1.QueryFTSupplyResponse: 56599 type: object 56600 properties: 56601 supply: 56602 type: string 56603 description: supply is the supply of the tokens. 56604 description: >- 56605 QueryFTSupplyResponse is the response type for the Query/FTSupply RPC 56606 method. 56607 lbm.collection.v1.QueryGranteeGrantsResponse: 56608 type: object 56609 properties: 56610 grants: 56611 type: array 56612 items: 56613 type: object 56614 properties: 56615 grantee: 56616 type: string 56617 description: address of the grantee. 56618 permission: 56619 description: permission on the contract. 56620 type: string 56621 enum: 56622 - PERMISSION_UNSPECIFIED 56623 - PERMISSION_ISSUE 56624 - PERMISSION_MODIFY 56625 - PERMISSION_MINT 56626 - PERMISSION_BURN 56627 default: PERMISSION_UNSPECIFIED 56628 description: |- 56629 Grant defines permission given to a grantee. 56630 56631 Since: 0.46.0 (finschia) 56632 pagination: 56633 description: pagination defines the pagination in the response. 56634 type: object 56635 properties: 56636 next_key: 56637 type: string 56638 format: byte 56639 title: |- 56640 next_key is the key to be passed to PageRequest.key to 56641 query the next page most efficiently 56642 total: 56643 type: string 56644 format: uint64 56645 title: >- 56646 total is total number of results available if 56647 PageRequest.count_total 56648 56649 was set, its value is undefined otherwise 56650 description: >- 56651 QueryGranteeGrantsResponse is the response type for the 56652 Query/GranteeGrants RPC method. 56653 lbm.collection.v1.QueryHasParentResponse: 56654 type: object 56655 properties: 56656 has_parent: 56657 type: boolean 56658 format: boolean 56659 description: whether the token has its parent. 56660 description: >- 56661 QueryHasParentResponse is the response type for the Query/HasParent RPC 56662 method. 56663 lbm.collection.v1.QueryHoldersByOperatorResponse: 56664 type: object 56665 properties: 56666 holders: 56667 type: array 56668 items: 56669 type: string 56670 pagination: 56671 description: pagination defines the pagination in the response. 56672 type: object 56673 properties: 56674 next_key: 56675 type: string 56676 format: byte 56677 title: |- 56678 next_key is the key to be passed to PageRequest.key to 56679 query the next page most efficiently 56680 total: 56681 type: string 56682 format: uint64 56683 title: >- 56684 total is total number of results available if 56685 PageRequest.count_total 56686 56687 was set, its value is undefined otherwise 56688 description: >- 56689 QueryHoldersByOperatorResponse is the response type for the 56690 Query/HoldersByOperator RPC method. 56691 lbm.collection.v1.QueryIsOperatorForResponse: 56692 type: object 56693 properties: 56694 authorized: 56695 type: boolean 56696 format: boolean 56697 description: >- 56698 QueryIsOperatorForResponse is the response type for the 56699 Query/IsOperatorFor RPC method. 56700 lbm.collection.v1.QueryNFTBurntResponse: 56701 type: object 56702 properties: 56703 burnt: 56704 type: string 56705 description: burnt is the amount of the burnt tokens. 56706 description: >- 56707 QueryNFTBurntResponse is the response type for the Query/NFTBurnt RPC 56708 method. 56709 lbm.collection.v1.QueryNFTMintedResponse: 56710 type: object 56711 properties: 56712 minted: 56713 type: string 56714 description: minted is the amount of minted tokens. 56715 description: >- 56716 QueryNFTMintedResponse is the response type for the Query/NFTMinted RPC 56717 method. 56718 lbm.collection.v1.QueryNFTSupplyResponse: 56719 type: object 56720 properties: 56721 supply: 56722 type: string 56723 description: supply is the supply of the non-fungible token. 56724 description: >- 56725 QueryNFTSupplyResponse is the response type for the Query/NFTSupply RPC 56726 method. 56727 lbm.collection.v1.QueryParentResponse: 56728 type: object 56729 properties: 56730 parent: 56731 type: object 56732 properties: 56733 token_id: 56734 type: string 56735 description: token id defines the unique identifier of the token. 56736 name: 56737 type: string 56738 description: name defines the human-readable name of the token. 56739 meta: 56740 type: string 56741 description: meta is a brief description of the token. 56742 description: |- 56743 NFT defines the information of non-fungible token. 56744 56745 Since: 0.46.0 (finschia) 56746 description: QueryParentResponse is the response type for the Query/Parent RPC method. 56747 lbm.collection.v1.QueryRootResponse: 56748 type: object 56749 properties: 56750 root: 56751 type: object 56752 properties: 56753 token_id: 56754 type: string 56755 description: token id defines the unique identifier of the token. 56756 name: 56757 type: string 56758 description: name defines the human-readable name of the token. 56759 meta: 56760 type: string 56761 description: meta is a brief description of the token. 56762 description: |- 56763 NFT defines the information of non-fungible token. 56764 56765 Since: 0.46.0 (finschia) 56766 description: QueryRootResponse is the response type for the Query/Root RPC method. 56767 lbm.collection.v1.QueryTokenClassTypeNameResponse: 56768 type: object 56769 properties: 56770 name: 56771 type: string 56772 description: type name of the token class. 56773 description: >- 56774 QueryTokenClassTypeNameResponse is the response type for the 56775 Query/TokenClassTypeName RPC method. 56776 56777 56778 Since: 0.46.0 (finschia) 56779 lbm.collection.v1.QueryTokenResponse: 56780 type: object 56781 properties: 56782 token: 56783 type: object 56784 properties: 56785 type_url: 56786 type: string 56787 description: >- 56788 A URL/resource name that uniquely identifies the type of the 56789 serialized 56790 56791 protocol buffer message. This string must contain at least 56792 56793 one "/" character. The last segment of the URL's path must 56794 represent 56795 56796 the fully qualified name of the type (as in 56797 56798 `path/google.protobuf.Duration`). The name should be in a 56799 canonical form 56800 56801 (e.g., leading "." is not accepted). 56802 56803 56804 In practice, teams usually precompile into the binary all types 56805 that they 56806 56807 expect it to use in the context of Any. However, for URLs which 56808 use the 56809 56810 scheme `http`, `https`, or no scheme, one can optionally set up a 56811 type 56812 56813 server that maps type URLs to message definitions as follows: 56814 56815 56816 * If no scheme is provided, `https` is assumed. 56817 56818 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 56819 value in binary format, or produce an error. 56820 * Applications are allowed to cache lookup results based on the 56821 URL, or have them precompiled into a binary to avoid any 56822 lookup. Therefore, binary compatibility needs to be preserved 56823 on changes to types. (Use versioned type names to manage 56824 breaking changes.) 56825 56826 Note: this functionality is not currently available in the 56827 official 56828 56829 protobuf release, and it is not used for type URLs beginning with 56830 56831 type.googleapis.com. 56832 56833 56834 Schemes other than `http`, `https` (or the empty scheme) might be 56835 56836 used with implementation specific semantics. 56837 value: 56838 type: string 56839 format: byte 56840 description: >- 56841 Must be a valid serialized protocol buffer of the above specified 56842 type. 56843 description: >- 56844 `Any` contains an arbitrary serialized protocol buffer message along 56845 with a 56846 56847 URL that describes the type of the serialized message. 56848 56849 56850 Protobuf library provides support to pack/unpack Any values in the 56851 form 56852 56853 of utility functions or additional generated methods of the Any type. 56854 56855 56856 Example 1: Pack and unpack a message in C++. 56857 56858 Foo foo = ...; 56859 Any any; 56860 any.PackFrom(foo); 56861 ... 56862 if (any.UnpackTo(&foo)) { 56863 ... 56864 } 56865 56866 Example 2: Pack and unpack a message in Java. 56867 56868 Foo foo = ...; 56869 Any any = Any.pack(foo); 56870 ... 56871 if (any.is(Foo.class)) { 56872 foo = any.unpack(Foo.class); 56873 } 56874 56875 Example 3: Pack and unpack a message in Python. 56876 56877 foo = Foo(...) 56878 any = Any() 56879 any.Pack(foo) 56880 ... 56881 if any.Is(Foo.DESCRIPTOR): 56882 any.Unpack(foo) 56883 ... 56884 56885 Example 4: Pack and unpack a message in Go 56886 56887 foo := &pb.Foo{...} 56888 any, err := ptypes.MarshalAny(foo) 56889 ... 56890 foo := &pb.Foo{} 56891 if err := ptypes.UnmarshalAny(any, foo); err != nil { 56892 ... 56893 } 56894 56895 The pack methods provided by protobuf library will by default use 56896 56897 'type.googleapis.com/full.type.name' as the type URL and the unpack 56898 56899 methods only use the fully qualified type name after the last '/' 56900 56901 in the type URL, for example "foo.bar.com/x/y.z" will yield type 56902 56903 name "y.z". 56904 56905 56906 56907 JSON 56908 56909 ==== 56910 56911 The JSON representation of an `Any` value uses the regular 56912 56913 representation of the deserialized, embedded message, with an 56914 56915 additional field `@type` which contains the type URL. Example: 56916 56917 package google.profile; 56918 message Person { 56919 string first_name = 1; 56920 string last_name = 2; 56921 } 56922 56923 { 56924 "@type": "type.googleapis.com/google.profile.Person", 56925 "firstName": <string>, 56926 "lastName": <string> 56927 } 56928 56929 If the embedded message type is well-known and has a custom JSON 56930 56931 representation, that representation will be embedded adding a field 56932 56933 `value` which holds the custom JSON in addition to the `@type` 56934 56935 field. Example (for message [google.protobuf.Duration][]): 56936 56937 { 56938 "@type": "type.googleapis.com/google.protobuf.Duration", 56939 "value": "1.212s" 56940 } 56941 description: QueryTokenResponse is the response type for the Query/Token RPC method. 56942 lbm.collection.v1.QueryTokenTypeResponse: 56943 type: object 56944 properties: 56945 token_type: 56946 description: token type is the information of the token type. 56947 type: object 56948 properties: 56949 contract_id: 56950 type: string 56951 description: contract id associated with the contract. 56952 token_type: 56953 type: string 56954 description: |- 56955 token type defines the unique identifier of the token type. 56956 the format of the value is identical to that of class_id. 56957 name: 56958 type: string 56959 description: name defines the human-readable name of the token type. 56960 meta: 56961 type: string 56962 description: meta is a brief description of the token type. 56963 title: 'Deprecated: use TokenClass' 56964 description: >- 56965 QueryTokenTypeResponse is the response type for the Query/TokenType RPC 56966 method. 56967 lbm.collection.v1.TokenType: 56968 type: object 56969 properties: 56970 contract_id: 56971 type: string 56972 description: contract id associated with the contract. 56973 token_type: 56974 type: string 56975 description: |- 56976 token type defines the unique identifier of the token type. 56977 the format of the value is identical to that of class_id. 56978 name: 56979 type: string 56980 description: name defines the human-readable name of the token type. 56981 meta: 56982 type: string 56983 description: meta is a brief description of the token type. 56984 description: |- 56985 TokenType defines the information of token type. 56986 It represents a NFTClass whose class_id is token_type. 56987 56988 Note: There is no TokenType instance for FTClass. 56989 title: 'Deprecated: use TokenClass' 56990 cosmos.feegrant.v1beta1.Grant: 56991 type: object 56992 properties: 56993 granter: 56994 type: string 56995 description: >- 56996 granter is the address of the user granting an allowance of their 56997 funds. 56998 grantee: 56999 type: string 57000 description: >- 57001 grantee is the address of the user being granted an allowance of 57002 another user's funds. 57003 allowance: 57004 description: allowance can be any of basic and filtered fee allowance. 57005 type: object 57006 properties: 57007 type_url: 57008 type: string 57009 description: >- 57010 A URL/resource name that uniquely identifies the type of the 57011 serialized 57012 57013 protocol buffer message. This string must contain at least 57014 57015 one "/" character. The last segment of the URL's path must 57016 represent 57017 57018 the fully qualified name of the type (as in 57019 57020 `path/google.protobuf.Duration`). The name should be in a 57021 canonical form 57022 57023 (e.g., leading "." is not accepted). 57024 57025 57026 In practice, teams usually precompile into the binary all types 57027 that they 57028 57029 expect it to use in the context of Any. However, for URLs which 57030 use the 57031 57032 scheme `http`, `https`, or no scheme, one can optionally set up a 57033 type 57034 57035 server that maps type URLs to message definitions as follows: 57036 57037 57038 * If no scheme is provided, `https` is assumed. 57039 57040 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 57041 value in binary format, or produce an error. 57042 * Applications are allowed to cache lookup results based on the 57043 URL, or have them precompiled into a binary to avoid any 57044 lookup. Therefore, binary compatibility needs to be preserved 57045 on changes to types. (Use versioned type names to manage 57046 breaking changes.) 57047 57048 Note: this functionality is not currently available in the 57049 official 57050 57051 protobuf release, and it is not used for type URLs beginning with 57052 57053 type.googleapis.com. 57054 57055 57056 Schemes other than `http`, `https` (or the empty scheme) might be 57057 57058 used with implementation specific semantics. 57059 value: 57060 type: string 57061 format: byte 57062 description: >- 57063 Must be a valid serialized protocol buffer of the above specified 57064 type. 57065 title: Grant is stored in the KVStore to record a grant with full context 57066 cosmos.feegrant.v1beta1.QueryAllowanceResponse: 57067 type: object 57068 properties: 57069 allowance: 57070 description: allowance is a allowance granted for grantee by granter. 57071 type: object 57072 properties: 57073 granter: 57074 type: string 57075 description: >- 57076 granter is the address of the user granting an allowance of their 57077 funds. 57078 grantee: 57079 type: string 57080 description: >- 57081 grantee is the address of the user being granted an allowance of 57082 another user's funds. 57083 allowance: 57084 description: allowance can be any of basic and filtered fee allowance. 57085 type: object 57086 properties: 57087 type_url: 57088 type: string 57089 description: >- 57090 A URL/resource name that uniquely identifies the type of the 57091 serialized 57092 57093 protocol buffer message. This string must contain at least 57094 57095 one "/" character. The last segment of the URL's path must 57096 represent 57097 57098 the fully qualified name of the type (as in 57099 57100 `path/google.protobuf.Duration`). The name should be in a 57101 canonical form 57102 57103 (e.g., leading "." is not accepted). 57104 57105 57106 In practice, teams usually precompile into the binary all 57107 types that they 57108 57109 expect it to use in the context of Any. However, for URLs 57110 which use the 57111 57112 scheme `http`, `https`, or no scheme, one can optionally set 57113 up a type 57114 57115 server that maps type URLs to message definitions as follows: 57116 57117 57118 * If no scheme is provided, `https` is assumed. 57119 57120 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 57121 value in binary format, or produce an error. 57122 * Applications are allowed to cache lookup results based on 57123 the 57124 URL, or have them precompiled into a binary to avoid any 57125 lookup. Therefore, binary compatibility needs to be preserved 57126 on changes to types. (Use versioned type names to manage 57127 breaking changes.) 57128 57129 Note: this functionality is not currently available in the 57130 official 57131 57132 protobuf release, and it is not used for type URLs beginning 57133 with 57134 57135 type.googleapis.com. 57136 57137 57138 Schemes other than `http`, `https` (or the empty scheme) might 57139 be 57140 57141 used with implementation specific semantics. 57142 value: 57143 type: string 57144 format: byte 57145 description: >- 57146 Must be a valid serialized protocol buffer of the above 57147 specified type. 57148 title: Grant is stored in the KVStore to record a grant with full context 57149 description: >- 57150 QueryAllowanceResponse is the response type for the Query/Allowance RPC 57151 method. 57152 cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse: 57153 type: object 57154 properties: 57155 allowances: 57156 type: array 57157 items: 57158 type: object 57159 properties: 57160 granter: 57161 type: string 57162 description: >- 57163 granter is the address of the user granting an allowance of 57164 their funds. 57165 grantee: 57166 type: string 57167 description: >- 57168 grantee is the address of the user being granted an allowance of 57169 another user's funds. 57170 allowance: 57171 description: allowance can be any of basic and filtered fee allowance. 57172 type: object 57173 properties: 57174 type_url: 57175 type: string 57176 description: >- 57177 A URL/resource name that uniquely identifies the type of the 57178 serialized 57179 57180 protocol buffer message. This string must contain at least 57181 57182 one "/" character. The last segment of the URL's path must 57183 represent 57184 57185 the fully qualified name of the type (as in 57186 57187 `path/google.protobuf.Duration`). The name should be in a 57188 canonical form 57189 57190 (e.g., leading "." is not accepted). 57191 57192 57193 In practice, teams usually precompile into the binary all 57194 types that they 57195 57196 expect it to use in the context of Any. However, for URLs 57197 which use the 57198 57199 scheme `http`, `https`, or no scheme, one can optionally set 57200 up a type 57201 57202 server that maps type URLs to message definitions as 57203 follows: 57204 57205 57206 * If no scheme is provided, `https` is assumed. 57207 57208 * An HTTP GET on the URL must yield a 57209 [google.protobuf.Type][] 57210 value in binary format, or produce an error. 57211 * Applications are allowed to cache lookup results based on 57212 the 57213 URL, or have them precompiled into a binary to avoid any 57214 lookup. Therefore, binary compatibility needs to be preserved 57215 on changes to types. (Use versioned type names to manage 57216 breaking changes.) 57217 57218 Note: this functionality is not currently available in the 57219 official 57220 57221 protobuf release, and it is not used for type URLs beginning 57222 with 57223 57224 type.googleapis.com. 57225 57226 57227 Schemes other than `http`, `https` (or the empty scheme) 57228 might be 57229 57230 used with implementation specific semantics. 57231 value: 57232 type: string 57233 format: byte 57234 description: >- 57235 Must be a valid serialized protocol buffer of the above 57236 specified type. 57237 title: Grant is stored in the KVStore to record a grant with full context 57238 description: allowances that have been issued by the granter. 57239 pagination: 57240 description: pagination defines an pagination for the response. 57241 type: object 57242 properties: 57243 next_key: 57244 type: string 57245 format: byte 57246 title: |- 57247 next_key is the key to be passed to PageRequest.key to 57248 query the next page most efficiently 57249 total: 57250 type: string 57251 format: uint64 57252 title: >- 57253 total is total number of results available if 57254 PageRequest.count_total 57255 57256 was set, its value is undefined otherwise 57257 description: >- 57258 QueryAllowancesByGranterResponse is the response type for the 57259 Query/AllowancesByGranter RPC method. 57260 cosmos.feegrant.v1beta1.QueryAllowancesResponse: 57261 type: object 57262 properties: 57263 allowances: 57264 type: array 57265 items: 57266 type: object 57267 properties: 57268 granter: 57269 type: string 57270 description: >- 57271 granter is the address of the user granting an allowance of 57272 their funds. 57273 grantee: 57274 type: string 57275 description: >- 57276 grantee is the address of the user being granted an allowance of 57277 another user's funds. 57278 allowance: 57279 description: allowance can be any of basic and filtered fee allowance. 57280 type: object 57281 properties: 57282 type_url: 57283 type: string 57284 description: >- 57285 A URL/resource name that uniquely identifies the type of the 57286 serialized 57287 57288 protocol buffer message. This string must contain at least 57289 57290 one "/" character. The last segment of the URL's path must 57291 represent 57292 57293 the fully qualified name of the type (as in 57294 57295 `path/google.protobuf.Duration`). The name should be in a 57296 canonical form 57297 57298 (e.g., leading "." is not accepted). 57299 57300 57301 In practice, teams usually precompile into the binary all 57302 types that they 57303 57304 expect it to use in the context of Any. However, for URLs 57305 which use the 57306 57307 scheme `http`, `https`, or no scheme, one can optionally set 57308 up a type 57309 57310 server that maps type URLs to message definitions as 57311 follows: 57312 57313 57314 * If no scheme is provided, `https` is assumed. 57315 57316 * An HTTP GET on the URL must yield a 57317 [google.protobuf.Type][] 57318 value in binary format, or produce an error. 57319 * Applications are allowed to cache lookup results based on 57320 the 57321 URL, or have them precompiled into a binary to avoid any 57322 lookup. Therefore, binary compatibility needs to be preserved 57323 on changes to types. (Use versioned type names to manage 57324 breaking changes.) 57325 57326 Note: this functionality is not currently available in the 57327 official 57328 57329 protobuf release, and it is not used for type URLs beginning 57330 with 57331 57332 type.googleapis.com. 57333 57334 57335 Schemes other than `http`, `https` (or the empty scheme) 57336 might be 57337 57338 used with implementation specific semantics. 57339 value: 57340 type: string 57341 format: byte 57342 description: >- 57343 Must be a valid serialized protocol buffer of the above 57344 specified type. 57345 title: Grant is stored in the KVStore to record a grant with full context 57346 description: allowances are allowance's granted for grantee by granter. 57347 pagination: 57348 description: pagination defines an pagination for the response. 57349 type: object 57350 properties: 57351 next_key: 57352 type: string 57353 format: byte 57354 title: |- 57355 next_key is the key to be passed to PageRequest.key to 57356 query the next page most efficiently 57357 total: 57358 type: string 57359 format: uint64 57360 title: >- 57361 total is total number of results available if 57362 PageRequest.count_total 57363 57364 was set, its value is undefined otherwise 57365 description: >- 57366 QueryAllowancesResponse is the response type for the Query/Allowances RPC 57367 method. 57368 cosmos.base.node.v1beta1.ConfigResponse: 57369 type: object 57370 properties: 57371 minimum_gas_price: 57372 type: string 57373 description: ConfigResponse defines the response structure for the Config gRPC query. 57374 lbm.tx.v1beta1.GetBlockWithTxsResponse: 57375 type: object 57376 properties: 57377 txs: 57378 type: array 57379 items: 57380 $ref: '#/definitions/cosmos.tx.v1beta1.Tx' 57381 description: txs are the transactions in the block. 57382 block_id: 57383 type: object 57384 properties: 57385 hash: 57386 type: string 57387 format: byte 57388 part_set_header: 57389 type: object 57390 properties: 57391 total: 57392 type: integer 57393 format: int64 57394 hash: 57395 type: string 57396 format: byte 57397 title: PartsetHeader 57398 title: BlockID 57399 block: 57400 type: object 57401 properties: 57402 header: 57403 type: object 57404 properties: 57405 version: 57406 title: basic block info 57407 type: object 57408 properties: 57409 block: 57410 type: string 57411 format: uint64 57412 app: 57413 type: string 57414 format: uint64 57415 description: >- 57416 Consensus captures the consensus rules for processing a block 57417 in the blockchain, 57418 57419 including all blockchain data structures and the rules of the 57420 application's 57421 57422 state transition machine. 57423 chain_id: 57424 type: string 57425 height: 57426 type: string 57427 format: int64 57428 time: 57429 type: string 57430 format: date-time 57431 last_block_id: 57432 type: object 57433 properties: 57434 hash: 57435 type: string 57436 format: byte 57437 part_set_header: 57438 type: object 57439 properties: 57440 total: 57441 type: integer 57442 format: int64 57443 hash: 57444 type: string 57445 format: byte 57446 title: PartsetHeader 57447 title: BlockID 57448 last_commit_hash: 57449 type: string 57450 format: byte 57451 title: hashes of block data 57452 data_hash: 57453 type: string 57454 format: byte 57455 validators_hash: 57456 type: string 57457 format: byte 57458 title: hashes from the app output from the prev block 57459 next_validators_hash: 57460 type: string 57461 format: byte 57462 consensus_hash: 57463 type: string 57464 format: byte 57465 app_hash: 57466 type: string 57467 format: byte 57468 last_results_hash: 57469 type: string 57470 format: byte 57471 evidence_hash: 57472 type: string 57473 format: byte 57474 title: consensus info 57475 proposer_address: 57476 type: string 57477 format: byte 57478 description: Header defines the structure of a Tendermint block header. 57479 data: 57480 type: object 57481 properties: 57482 txs: 57483 type: array 57484 items: 57485 type: string 57486 format: byte 57487 description: >- 57488 Txs that will be applied by state @ block.Height+1. 57489 57490 NOTE: not all txs here are valid. We're just agreeing on the 57491 order first. 57492 57493 This means that block.AppHash does not include these txs. 57494 title: Data contains the set of transactions included in the block 57495 evidence: 57496 type: object 57497 properties: 57498 evidence: 57499 type: array 57500 items: 57501 type: object 57502 properties: 57503 duplicate_vote_evidence: 57504 type: object 57505 properties: 57506 vote_a: 57507 type: object 57508 properties: 57509 type: 57510 type: string 57511 enum: 57512 - SIGNED_MSG_TYPE_UNKNOWN 57513 - SIGNED_MSG_TYPE_PREVOTE 57514 - SIGNED_MSG_TYPE_PRECOMMIT 57515 - SIGNED_MSG_TYPE_PROPOSAL 57516 default: SIGNED_MSG_TYPE_UNKNOWN 57517 description: >- 57518 SignedMsgType is a type of signed message in the 57519 consensus. 57520 57521 - SIGNED_MSG_TYPE_PREVOTE: Votes 57522 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 57523 height: 57524 type: string 57525 format: int64 57526 round: 57527 type: integer 57528 format: int32 57529 block_id: 57530 type: object 57531 properties: 57532 hash: 57533 type: string 57534 format: byte 57535 part_set_header: 57536 type: object 57537 properties: 57538 total: 57539 type: integer 57540 format: int64 57541 hash: 57542 type: string 57543 format: byte 57544 title: PartsetHeader 57545 title: BlockID 57546 timestamp: 57547 type: string 57548 format: date-time 57549 validator_address: 57550 type: string 57551 format: byte 57552 validator_index: 57553 type: integer 57554 format: int32 57555 signature: 57556 type: string 57557 format: byte 57558 description: >- 57559 Vote represents a prevote, precommit, or commit vote 57560 from validators for 57561 57562 consensus. 57563 vote_b: 57564 type: object 57565 properties: 57566 type: 57567 type: string 57568 enum: 57569 - SIGNED_MSG_TYPE_UNKNOWN 57570 - SIGNED_MSG_TYPE_PREVOTE 57571 - SIGNED_MSG_TYPE_PRECOMMIT 57572 - SIGNED_MSG_TYPE_PROPOSAL 57573 default: SIGNED_MSG_TYPE_UNKNOWN 57574 description: >- 57575 SignedMsgType is a type of signed message in the 57576 consensus. 57577 57578 - SIGNED_MSG_TYPE_PREVOTE: Votes 57579 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 57580 height: 57581 type: string 57582 format: int64 57583 round: 57584 type: integer 57585 format: int32 57586 block_id: 57587 type: object 57588 properties: 57589 hash: 57590 type: string 57591 format: byte 57592 part_set_header: 57593 type: object 57594 properties: 57595 total: 57596 type: integer 57597 format: int64 57598 hash: 57599 type: string 57600 format: byte 57601 title: PartsetHeader 57602 title: BlockID 57603 timestamp: 57604 type: string 57605 format: date-time 57606 validator_address: 57607 type: string 57608 format: byte 57609 validator_index: 57610 type: integer 57611 format: int32 57612 signature: 57613 type: string 57614 format: byte 57615 description: >- 57616 Vote represents a prevote, precommit, or commit vote 57617 from validators for 57618 57619 consensus. 57620 total_voting_power: 57621 type: string 57622 format: int64 57623 validator_power: 57624 type: string 57625 format: int64 57626 timestamp: 57627 type: string 57628 format: date-time 57629 description: >- 57630 DuplicateVoteEvidence contains evidence of a validator 57631 signed two conflicting votes. 57632 light_client_attack_evidence: 57633 type: object 57634 properties: 57635 conflicting_block: 57636 type: object 57637 properties: 57638 signed_header: 57639 type: object 57640 properties: 57641 header: 57642 type: object 57643 properties: 57644 version: 57645 title: basic block info 57646 type: object 57647 properties: 57648 block: 57649 type: string 57650 format: uint64 57651 app: 57652 type: string 57653 format: uint64 57654 description: >- 57655 Consensus captures the consensus rules 57656 for processing a block in the 57657 blockchain, 57658 57659 including all blockchain data structures 57660 and the rules of the application's 57661 57662 state transition machine. 57663 chain_id: 57664 type: string 57665 height: 57666 type: string 57667 format: int64 57668 time: 57669 type: string 57670 format: date-time 57671 last_block_id: 57672 type: object 57673 properties: 57674 hash: 57675 type: string 57676 format: byte 57677 part_set_header: 57678 type: object 57679 properties: 57680 total: 57681 type: integer 57682 format: int64 57683 hash: 57684 type: string 57685 format: byte 57686 title: PartsetHeader 57687 title: BlockID 57688 last_commit_hash: 57689 type: string 57690 format: byte 57691 title: hashes of block data 57692 data_hash: 57693 type: string 57694 format: byte 57695 validators_hash: 57696 type: string 57697 format: byte 57698 title: >- 57699 hashes from the app output from the prev 57700 block 57701 next_validators_hash: 57702 type: string 57703 format: byte 57704 consensus_hash: 57705 type: string 57706 format: byte 57707 app_hash: 57708 type: string 57709 format: byte 57710 last_results_hash: 57711 type: string 57712 format: byte 57713 evidence_hash: 57714 type: string 57715 format: byte 57716 title: consensus info 57717 proposer_address: 57718 type: string 57719 format: byte 57720 description: >- 57721 Header defines the structure of a Tendermint 57722 block header. 57723 commit: 57724 type: object 57725 properties: 57726 height: 57727 type: string 57728 format: int64 57729 round: 57730 type: integer 57731 format: int32 57732 block_id: 57733 type: object 57734 properties: 57735 hash: 57736 type: string 57737 format: byte 57738 part_set_header: 57739 type: object 57740 properties: 57741 total: 57742 type: integer 57743 format: int64 57744 hash: 57745 type: string 57746 format: byte 57747 title: PartsetHeader 57748 title: BlockID 57749 signatures: 57750 type: array 57751 items: 57752 type: object 57753 properties: 57754 block_id_flag: 57755 type: string 57756 enum: 57757 - BLOCK_ID_FLAG_UNKNOWN 57758 - BLOCK_ID_FLAG_ABSENT 57759 - BLOCK_ID_FLAG_COMMIT 57760 - BLOCK_ID_FLAG_NIL 57761 default: BLOCK_ID_FLAG_UNKNOWN 57762 title: >- 57763 BlockIdFlag indicates which BlcokID the 57764 signature is for 57765 validator_address: 57766 type: string 57767 format: byte 57768 timestamp: 57769 type: string 57770 format: date-time 57771 signature: 57772 type: string 57773 format: byte 57774 description: >- 57775 CommitSig is a part of the Vote included 57776 in a Commit. 57777 description: >- 57778 Commit contains the evidence that a block 57779 was committed by a set of validators. 57780 validator_set: 57781 type: object 57782 properties: 57783 validators: 57784 type: array 57785 items: 57786 type: object 57787 properties: 57788 address: 57789 type: string 57790 format: byte 57791 pub_key: 57792 type: object 57793 properties: 57794 ed25519: 57795 type: string 57796 format: byte 57797 secp256k1: 57798 type: string 57799 format: byte 57800 title: >- 57801 PublicKey defines the keys available for 57802 use with Tendermint Validators 57803 voting_power: 57804 type: string 57805 format: int64 57806 proposer_priority: 57807 type: string 57808 format: int64 57809 proposer: 57810 type: object 57811 properties: 57812 address: 57813 type: string 57814 format: byte 57815 pub_key: 57816 type: object 57817 properties: 57818 ed25519: 57819 type: string 57820 format: byte 57821 secp256k1: 57822 type: string 57823 format: byte 57824 title: >- 57825 PublicKey defines the keys available for 57826 use with Tendermint Validators 57827 voting_power: 57828 type: string 57829 format: int64 57830 proposer_priority: 57831 type: string 57832 format: int64 57833 total_voting_power: 57834 type: string 57835 format: int64 57836 common_height: 57837 type: string 57838 format: int64 57839 byzantine_validators: 57840 type: array 57841 items: 57842 type: object 57843 properties: 57844 address: 57845 type: string 57846 format: byte 57847 pub_key: 57848 type: object 57849 properties: 57850 ed25519: 57851 type: string 57852 format: byte 57853 secp256k1: 57854 type: string 57855 format: byte 57856 title: >- 57857 PublicKey defines the keys available for use 57858 with Tendermint Validators 57859 voting_power: 57860 type: string 57861 format: int64 57862 proposer_priority: 57863 type: string 57864 format: int64 57865 total_voting_power: 57866 type: string 57867 format: int64 57868 timestamp: 57869 type: string 57870 format: date-time 57871 description: >- 57872 LightClientAttackEvidence contains evidence of a set of 57873 validators attempting to mislead a light client. 57874 last_commit: 57875 type: object 57876 properties: 57877 height: 57878 type: string 57879 format: int64 57880 round: 57881 type: integer 57882 format: int32 57883 block_id: 57884 type: object 57885 properties: 57886 hash: 57887 type: string 57888 format: byte 57889 part_set_header: 57890 type: object 57891 properties: 57892 total: 57893 type: integer 57894 format: int64 57895 hash: 57896 type: string 57897 format: byte 57898 title: PartsetHeader 57899 title: BlockID 57900 signatures: 57901 type: array 57902 items: 57903 type: object 57904 properties: 57905 block_id_flag: 57906 type: string 57907 enum: 57908 - BLOCK_ID_FLAG_UNKNOWN 57909 - BLOCK_ID_FLAG_ABSENT 57910 - BLOCK_ID_FLAG_COMMIT 57911 - BLOCK_ID_FLAG_NIL 57912 default: BLOCK_ID_FLAG_UNKNOWN 57913 title: BlockIdFlag indicates which BlcokID the signature is for 57914 validator_address: 57915 type: string 57916 format: byte 57917 timestamp: 57918 type: string 57919 format: date-time 57920 signature: 57921 type: string 57922 format: byte 57923 description: CommitSig is a part of the Vote included in a Commit. 57924 description: >- 57925 Commit contains the evidence that a block was committed by a set 57926 of validators. 57927 entropy: 57928 title: '*** Ostracon Extended Fields ***' 57929 type: object 57930 properties: 57931 round: 57932 type: integer 57933 format: int32 57934 proof: 57935 type: string 57936 format: byte 57937 pagination: 57938 description: pagination defines a pagination for the response. 57939 type: object 57940 properties: 57941 next_key: 57942 type: string 57943 format: byte 57944 title: |- 57945 next_key is the key to be passed to PageRequest.key to 57946 query the next page most efficiently 57947 total: 57948 type: string 57949 format: uint64 57950 title: >- 57951 total is total number of results available if 57952 PageRequest.count_total 57953 57954 was set, its value is undefined otherwise 57955 description: >- 57956 GetBlockWithTxsResponse is the response type for the 57957 Service.GetBlockWithTxs method. 57958 57959 57960 Since: finschia-sdk 0.47.0