github.com/Finschia/finschia-sdk@v0.49.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 /lbm/fbridge/v1/members: 34268 get: 34269 summary: Members queries the members of spcific group registered on the bridge 34270 operationId: FBridgeMembers 34271 responses: 34272 '200': 34273 description: A successful response. 34274 schema: 34275 type: object 34276 properties: 34277 members: 34278 type: array 34279 items: 34280 type: string 34281 default: 34282 description: An unexpected error response 34283 schema: 34284 type: object 34285 properties: 34286 error: 34287 type: string 34288 code: 34289 type: integer 34290 format: int32 34291 message: 34292 type: string 34293 details: 34294 type: array 34295 items: 34296 type: object 34297 properties: 34298 type_url: 34299 type: string 34300 value: 34301 type: string 34302 format: byte 34303 parameters: 34304 - name: role 34305 description: 'the role name (guardian, operator, judge).' 34306 in: query 34307 required: false 34308 type: string 34309 tags: 34310 - Query 34311 '/lbm/fbridge/v1/members/{address}': 34312 get: 34313 summary: Member queries the role of a specific member 34314 operationId: FBridgeMember 34315 responses: 34316 '200': 34317 description: A successful response. 34318 schema: 34319 type: object 34320 properties: 34321 role: 34322 type: string 34323 default: 34324 description: An unexpected error response 34325 schema: 34326 type: object 34327 properties: 34328 error: 34329 type: string 34330 code: 34331 type: integer 34332 format: int32 34333 message: 34334 type: string 34335 details: 34336 type: array 34337 items: 34338 type: object 34339 properties: 34340 type_url: 34341 type: string 34342 value: 34343 type: string 34344 format: byte 34345 parameters: 34346 - name: address 34347 in: path 34348 required: true 34349 type: string 34350 tags: 34351 - Query 34352 /lbm/fbridge/v1/params: 34353 get: 34354 summary: Params queries the parameters of x/fbridge module. 34355 operationId: FBridgeParams 34356 responses: 34357 '200': 34358 description: A successful response. 34359 schema: 34360 type: object 34361 properties: 34362 params: 34363 type: object 34364 properties: 34365 operator_trust_level: 34366 description: >- 34367 ratio of how many operators' confirmations are needed to 34368 be valid. 34369 type: object 34370 properties: 34371 numerator: 34372 type: string 34373 format: uint64 34374 denominator: 34375 type: string 34376 format: uint64 34377 guardian_trust_level: 34378 description: >- 34379 ratio of how many guardians' confirmations are needed to 34380 be valid. 34381 type: object 34382 properties: 34383 numerator: 34384 type: string 34385 format: uint64 34386 denominator: 34387 type: string 34388 format: uint64 34389 judge_trust_level: 34390 description: >- 34391 ratio of how many judges' confirmations are needed to be 34392 valid. 34393 type: object 34394 properties: 34395 numerator: 34396 type: string 34397 format: uint64 34398 denominator: 34399 type: string 34400 format: uint64 34401 timelock_period: 34402 type: string 34403 format: uint64 34404 title: >- 34405 default timelock period for each provision (unix 34406 timestamp) 34407 proposal_period: 34408 type: string 34409 format: uint64 34410 title: default period of the proposal to update the role 34411 target_denom: 34412 type: string 34413 description: >- 34414 target denom of the bridge module. This is the base denom 34415 of Finschia normally. 34416 default: 34417 description: An unexpected error response 34418 schema: 34419 type: object 34420 properties: 34421 error: 34422 type: string 34423 code: 34424 type: integer 34425 format: int32 34426 message: 34427 type: string 34428 details: 34429 type: array 34430 items: 34431 type: object 34432 properties: 34433 type_url: 34434 type: string 34435 value: 34436 type: string 34437 format: byte 34438 tags: 34439 - Query 34440 /lbm/fbridge/v1/proposals: 34441 get: 34442 summary: Proposals queries a list of SuggestRole Proposals 34443 operationId: FBridgeProposals 34444 responses: 34445 '200': 34446 description: A successful response. 34447 schema: 34448 type: object 34449 properties: 34450 proposals: 34451 type: array 34452 items: 34453 type: object 34454 properties: 34455 id: 34456 type: string 34457 format: uint64 34458 proposer: 34459 type: string 34460 title: the proposer address 34461 target: 34462 type: string 34463 title: the address to update the role 34464 role: 34465 title: >- 34466 the role to be updated 34467 34468 - unspecified : 0, used to remove the address from a 34469 group 34470 34471 - guardian : 1 34472 34473 - operator : 2 34474 34475 - judge : 3 34476 type: string 34477 enum: 34478 - UNSPECIFIED 34479 - GUARDIAN 34480 - OPERATOR 34481 - JUDGE 34482 default: UNSPECIFIED 34483 description: >- 34484 Role defines the role of the operator, guardian, and 34485 judge. 34486 expired_at: 34487 type: string 34488 format: date-time 34489 title: >- 34490 the unix timestamp the proposal will be expired (unix 34491 timestamp) 34492 pagination: 34493 description: pagination defines an pagination for the response. 34494 type: object 34495 properties: 34496 next_key: 34497 type: string 34498 format: byte 34499 title: |- 34500 next_key is the key to be passed to PageRequest.key to 34501 query the next page most efficiently 34502 total: 34503 type: string 34504 format: uint64 34505 title: >- 34506 total is total number of results available if 34507 PageRequest.count_total 34508 34509 was set, its value is undefined otherwise 34510 default: 34511 description: An unexpected error response 34512 schema: 34513 type: object 34514 properties: 34515 error: 34516 type: string 34517 code: 34518 type: integer 34519 format: int32 34520 message: 34521 type: string 34522 details: 34523 type: array 34524 items: 34525 type: object 34526 properties: 34527 type_url: 34528 type: string 34529 value: 34530 type: string 34531 format: byte 34532 parameters: 34533 - name: pagination.key 34534 description: |- 34535 key is a value returned in PageResponse.next_key to begin 34536 querying the next page most efficiently. Only one of offset or key 34537 should be set. 34538 in: query 34539 required: false 34540 type: string 34541 format: byte 34542 - name: pagination.offset 34543 description: >- 34544 offset is a numeric offset that can be used when key is unavailable. 34545 34546 It is less efficient than using key. Only one of offset or key 34547 should 34548 34549 be set. 34550 in: query 34551 required: false 34552 type: string 34553 format: uint64 34554 - name: pagination.limit 34555 description: >- 34556 limit is the total number of results to be returned in the result 34557 page. 34558 34559 If left empty it will default to a value to be set by each app. 34560 in: query 34561 required: false 34562 type: string 34563 format: uint64 34564 - name: pagination.count_total 34565 description: >- 34566 count_total is set to true to indicate that the result set should 34567 include 34568 34569 a count of the total number of items available for pagination in 34570 UIs. 34571 34572 count_total is only respected when offset is used. It is ignored 34573 when key 34574 34575 is set. 34576 in: query 34577 required: false 34578 type: boolean 34579 format: boolean 34580 - name: pagination.reverse 34581 description: >- 34582 reverse is set to true if results are to be returned in the 34583 descending order. 34584 34585 34586 Since: cosmos-sdk 0.43 34587 in: query 34588 required: false 34589 type: boolean 34590 format: boolean 34591 tags: 34592 - Query 34593 '/lbm/fbridge/v1/proposals/{proposal_id}': 34594 get: 34595 summary: Proposal queries a SuggestRole Proposal 34596 operationId: FBridgeProposal 34597 responses: 34598 '200': 34599 description: A successful response. 34600 schema: 34601 type: object 34602 properties: 34603 proposal: 34604 type: object 34605 properties: 34606 id: 34607 type: string 34608 format: uint64 34609 proposer: 34610 type: string 34611 title: the proposer address 34612 target: 34613 type: string 34614 title: the address to update the role 34615 role: 34616 title: |- 34617 the role to be updated 34618 - unspecified : 0, used to remove the address from a group 34619 - guardian : 1 34620 - operator : 2 34621 - judge : 3 34622 type: string 34623 enum: 34624 - UNSPECIFIED 34625 - GUARDIAN 34626 - OPERATOR 34627 - JUDGE 34628 default: UNSPECIFIED 34629 description: >- 34630 Role defines the role of the operator, guardian, and 34631 judge. 34632 expired_at: 34633 type: string 34634 format: date-time 34635 title: >- 34636 the unix timestamp the proposal will be expired (unix 34637 timestamp) 34638 default: 34639 description: An unexpected error response 34640 schema: 34641 type: object 34642 properties: 34643 error: 34644 type: string 34645 code: 34646 type: integer 34647 format: int32 34648 message: 34649 type: string 34650 details: 34651 type: array 34652 items: 34653 type: object 34654 properties: 34655 type_url: 34656 type: string 34657 value: 34658 type: string 34659 format: byte 34660 parameters: 34661 - name: proposal_id 34662 description: the proposal id 34663 in: path 34664 required: true 34665 type: string 34666 format: uint64 34667 tags: 34668 - Query 34669 '/lbm/fbridge/v1/proposals/{proposal_id}/votes': 34670 get: 34671 summary: Votes queries votes of a given proposal. 34672 operationId: FBridgeVotes 34673 responses: 34674 '200': 34675 description: A successful response. 34676 schema: 34677 type: object 34678 properties: 34679 votes: 34680 type: array 34681 items: 34682 type: object 34683 properties: 34684 proposal_id: 34685 type: string 34686 format: uint64 34687 voter: 34688 type: string 34689 option: 34690 type: string 34691 enum: 34692 - VOTE_OPTION_UNSPECIFIED 34693 - VOTE_OPTION_YES 34694 - VOTE_OPTION_NO 34695 default: VOTE_OPTION_UNSPECIFIED 34696 description: >- 34697 VoteOption enumerates the valid vote options for a given 34698 role proposal. 34699 34700 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 34701 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 34702 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 34703 description: Vote defines a vote on a role proposal. 34704 description: votes defined the queried votes. 34705 default: 34706 description: An unexpected error response 34707 schema: 34708 type: object 34709 properties: 34710 error: 34711 type: string 34712 code: 34713 type: integer 34714 format: int32 34715 message: 34716 type: string 34717 details: 34718 type: array 34719 items: 34720 type: object 34721 properties: 34722 type_url: 34723 type: string 34724 value: 34725 type: string 34726 format: byte 34727 parameters: 34728 - name: proposal_id 34729 description: proposal_id defines the unique id of the proposal. 34730 in: path 34731 required: true 34732 type: string 34733 format: uint64 34734 tags: 34735 - Query 34736 '/lbm/fbridge/v1/proposals/{proposal_id}/votes/{voter}': 34737 get: 34738 summary: 'Vote queries voted information based on proposalID, voterAddr.' 34739 operationId: FBridgeVote 34740 responses: 34741 '200': 34742 description: A successful response. 34743 schema: 34744 type: object 34745 properties: 34746 vote: 34747 type: object 34748 properties: 34749 proposal_id: 34750 type: string 34751 format: uint64 34752 voter: 34753 type: string 34754 option: 34755 type: string 34756 enum: 34757 - VOTE_OPTION_UNSPECIFIED 34758 - VOTE_OPTION_YES 34759 - VOTE_OPTION_NO 34760 default: VOTE_OPTION_UNSPECIFIED 34761 description: >- 34762 VoteOption enumerates the valid vote options for a given 34763 role proposal. 34764 34765 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 34766 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 34767 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 34768 description: Vote defines a vote on a role proposal. 34769 default: 34770 description: An unexpected error response 34771 schema: 34772 type: object 34773 properties: 34774 error: 34775 type: string 34776 code: 34777 type: integer 34778 format: int32 34779 message: 34780 type: string 34781 details: 34782 type: array 34783 items: 34784 type: object 34785 properties: 34786 type_url: 34787 type: string 34788 value: 34789 type: string 34790 format: byte 34791 parameters: 34792 - name: proposal_id 34793 description: proposal_id defines the unique id of the proposal. 34794 in: path 34795 required: true 34796 type: string 34797 format: uint64 34798 - name: voter 34799 description: voter defines the oter address for the proposals. 34800 in: path 34801 required: true 34802 type: string 34803 tags: 34804 - Query 34805 '/lbm/fbridge/v1/receiving/commitments/{seq}': 34806 get: 34807 summary: Commitments queries commitments of a specific sequence number 34808 operationId: FBridgeCommitments 34809 responses: 34810 '200': 34811 description: A successful response. 34812 schema: 34813 type: object 34814 properties: 34815 commitments: 34816 type: array 34817 items: 34818 type: string 34819 default: 34820 description: An unexpected error response 34821 schema: 34822 type: object 34823 properties: 34824 error: 34825 type: string 34826 code: 34827 type: integer 34828 format: int32 34829 message: 34830 type: string 34831 details: 34832 type: array 34833 items: 34834 type: object 34835 properties: 34836 type_url: 34837 type: string 34838 value: 34839 type: string 34840 format: byte 34841 parameters: 34842 - name: seq 34843 description: the sequence number of the bridge request 34844 in: path 34845 required: true 34846 type: string 34847 format: uint64 34848 tags: 34849 - Query 34850 /lbm/fbridge/v1/receiving/greatest_confirmed_seq: 34851 get: 34852 summary: >- 34853 GreatestConsecutiveConfirmedSeq queries a greatest consecutive sequence 34854 number confirmed by n-of-m operators 34855 operationId: GreatestConsecutiveConfirmedSeq 34856 responses: 34857 '200': 34858 description: A successful response. 34859 schema: 34860 type: object 34861 properties: 34862 seq: 34863 type: string 34864 format: uint64 34865 default: 34866 description: An unexpected error response 34867 schema: 34868 type: object 34869 properties: 34870 error: 34871 type: string 34872 code: 34873 type: integer 34874 format: int32 34875 message: 34876 type: string 34877 details: 34878 type: array 34879 items: 34880 type: object 34881 properties: 34882 type_url: 34883 type: string 34884 value: 34885 type: string 34886 format: byte 34887 tags: 34888 - Query 34889 '/lbm/fbridge/v1/receiving/operators/{operator}/needed_submission_seqs': 34890 get: 34891 summary: >- 34892 NeededSubmissionSeqs queries a list of sequence numbers that need to be 34893 submitted by a particular operator 34894 34895 The search scope is [greatest_consecutive_seq_by_operator, 34896 min(greatest_consecutive_seq_by_operator + range, 34897 34898 greatest_seq_by_operator)] greatest_consecutive_seq_by_operator can be 34899 replaced with greatest_consecutive_seq if 34900 34901 the operator is newly added 34902 operationId: NeededSubmissionSeqs 34903 responses: 34904 '200': 34905 description: A successful response. 34906 schema: 34907 type: object 34908 properties: 34909 seqs: 34910 type: array 34911 items: 34912 type: string 34913 format: uint64 34914 default: 34915 description: An unexpected error response 34916 schema: 34917 type: object 34918 properties: 34919 error: 34920 type: string 34921 code: 34922 type: integer 34923 format: int32 34924 message: 34925 type: string 34926 details: 34927 type: array 34928 items: 34929 type: object 34930 properties: 34931 type_url: 34932 type: string 34933 value: 34934 type: string 34935 format: byte 34936 parameters: 34937 - name: operator 34938 description: the address of the operator 34939 in: path 34940 required: true 34941 type: string 34942 - name: range 34943 description: range specifies the size of the range to search. 34944 in: query 34945 required: false 34946 type: string 34947 format: uint64 34948 tags: 34949 - Query 34950 '/lbm/fbridge/v1/receiving/operators/{operator}/provision/{seq}': 34951 get: 34952 summary: >- 34953 SubmittedProvision queries a provision submitted by a particular 34954 operator 34955 operationId: SubmittedProvision 34956 responses: 34957 '200': 34958 description: A successful response. 34959 schema: 34960 type: object 34961 properties: 34962 data: 34963 type: object 34964 properties: 34965 seq: 34966 type: string 34967 format: uint64 34968 title: the sequence number of the bridge request 34969 amount: 34970 type: string 34971 title: the amount of token to be claimed 34972 sender: 34973 type: string 34974 title: the sender address on the source chain 34975 receiver: 34976 type: string 34977 title: the recipient address on the destination chain 34978 description: Provision is a struct that represents a provision internally. 34979 status: 34980 type: object 34981 properties: 34982 timelock_end: 34983 type: string 34984 format: uint64 34985 title: >- 34986 the unix timestamp the provision will be able to be 34987 claimed (unix timestamp) 34988 confirm_counts: 34989 type: integer 34990 format: int32 34991 title: >- 34992 a value that tells how many operators have submitted this 34993 provision 34994 is_claimed: 34995 type: boolean 34996 format: boolean 34997 title: whether the provision has been claimed 34998 description: >- 34999 ProvisionStatus is a struct that represents the status of a 35000 provision. 35001 35002 To optimize computational cost, we have collected frequently 35003 changing values from provision. 35004 default: 35005 description: An unexpected error response 35006 schema: 35007 type: object 35008 properties: 35009 error: 35010 type: string 35011 code: 35012 type: integer 35013 format: int32 35014 message: 35015 type: string 35016 details: 35017 type: array 35018 items: 35019 type: object 35020 properties: 35021 type_url: 35022 type: string 35023 value: 35024 type: string 35025 format: byte 35026 parameters: 35027 - name: operator 35028 description: the address of the operator 35029 in: path 35030 required: true 35031 type: string 35032 - name: seq 35033 description: the sequence number of the bridge request 35034 in: path 35035 required: true 35036 type: string 35037 format: uint64 35038 tags: 35039 - Query 35040 '/lbm/fbridge/v1/receiving/operators/{operator}/seq': 35041 get: 35042 summary: >- 35043 GreatestSeqByOperator queries a greatest sequence number confirmed by a 35044 particular operator 35045 operationId: GreatestSeqByOperator 35046 responses: 35047 '200': 35048 description: A successful response. 35049 schema: 35050 type: object 35051 properties: 35052 seq: 35053 type: string 35054 format: uint64 35055 default: 35056 description: An unexpected error response 35057 schema: 35058 type: object 35059 properties: 35060 error: 35061 type: string 35062 code: 35063 type: integer 35064 format: int32 35065 message: 35066 type: string 35067 details: 35068 type: array 35069 items: 35070 type: object 35071 properties: 35072 type_url: 35073 type: string 35074 value: 35075 type: string 35076 format: byte 35077 parameters: 35078 - name: operator 35079 description: the address of the operator 35080 in: path 35081 required: true 35082 type: string 35083 tags: 35084 - Query 35085 '/lbm/fbridge/v1/receiving/provision/{seq}': 35086 get: 35087 summary: ConfirmedProvision queries a particular sequence of confirmed provisions 35088 operationId: ConfirmedProvision 35089 responses: 35090 '200': 35091 description: A successful response. 35092 schema: 35093 type: object 35094 properties: 35095 data: 35096 type: object 35097 properties: 35098 seq: 35099 type: string 35100 format: uint64 35101 title: the sequence number of the bridge request 35102 amount: 35103 type: string 35104 title: the amount of token to be claimed 35105 sender: 35106 type: string 35107 title: the sender address on the source chain 35108 receiver: 35109 type: string 35110 title: the recipient address on the destination chain 35111 description: Provision is a struct that represents a provision internally. 35112 status: 35113 type: object 35114 properties: 35115 timelock_end: 35116 type: string 35117 format: uint64 35118 title: >- 35119 the unix timestamp the provision will be able to be 35120 claimed (unix timestamp) 35121 confirm_counts: 35122 type: integer 35123 format: int32 35124 title: >- 35125 a value that tells how many operators have submitted this 35126 provision 35127 is_claimed: 35128 type: boolean 35129 format: boolean 35130 title: whether the provision has been claimed 35131 description: >- 35132 ProvisionStatus is a struct that represents the status of a 35133 provision. 35134 35135 To optimize computational cost, we have collected frequently 35136 changing values from provision. 35137 default: 35138 description: An unexpected error response 35139 schema: 35140 type: object 35141 properties: 35142 error: 35143 type: string 35144 code: 35145 type: integer 35146 format: int32 35147 message: 35148 type: string 35149 details: 35150 type: array 35151 items: 35152 type: object 35153 properties: 35154 type_url: 35155 type: string 35156 value: 35157 type: string 35158 format: byte 35159 parameters: 35160 - name: seq 35161 description: the sequence number of the bridge request 35162 in: path 35163 required: true 35164 type: string 35165 format: uint64 35166 tags: 35167 - Query 35168 /lbm/fbridge/v1/sending/blocknums: 35169 get: 35170 summary: >- 35171 BlocknumToSeqs queries a list of block numbers for which each sequence 35172 has been confirmed. 35173 operationId: SeqToBlocknums 35174 responses: 35175 '200': 35176 description: A successful response. 35177 schema: 35178 type: object 35179 properties: 35180 blocknums: 35181 type: array 35182 items: 35183 type: string 35184 format: uint64 35185 default: 35186 description: An unexpected error response 35187 schema: 35188 type: object 35189 properties: 35190 error: 35191 type: string 35192 code: 35193 type: integer 35194 format: int32 35195 message: 35196 type: string 35197 details: 35198 type: array 35199 items: 35200 type: object 35201 properties: 35202 type_url: 35203 type: string 35204 value: 35205 type: string 35206 format: byte 35207 parameters: 35208 - name: seqs 35209 description: list of sequence number of the bridge request. 35210 in: query 35211 required: false 35212 type: array 35213 items: 35214 type: string 35215 format: uint64 35216 collectionFormat: multi 35217 tags: 35218 - Query 35219 /lbm/fbridge/v1/sending/nextseq: 35220 get: 35221 summary: NextSeqSend queries the sequence of next bridge request 35222 operationId: NextSeqSend 35223 responses: 35224 '200': 35225 description: A successful response. 35226 schema: 35227 type: object 35228 properties: 35229 seq: 35230 type: string 35231 format: uint64 35232 default: 35233 description: An unexpected error response 35234 schema: 35235 type: object 35236 properties: 35237 error: 35238 type: string 35239 code: 35240 type: integer 35241 format: int32 35242 message: 35243 type: string 35244 details: 35245 type: array 35246 items: 35247 type: object 35248 properties: 35249 type_url: 35250 type: string 35251 value: 35252 type: string 35253 format: byte 35254 tags: 35255 - Query 35256 /lbm/fbridge/v1/status: 35257 get: 35258 summary: BridgeStatus queries the status of the bridge 35259 operationId: BridgeStatus 35260 responses: 35261 '200': 35262 description: A successful response. 35263 schema: 35264 type: object 35265 properties: 35266 status: 35267 type: string 35268 enum: 35269 - BRIDGE_STATUS_UNSPECIFIED 35270 - BRIDGE_STATUS_ACTIVE 35271 - BRIDGE_STATUS_INACTIVE 35272 default: BRIDGE_STATUS_UNSPECIFIED 35273 description: |2- 35274 - BRIDGE_STATUS_UNSPECIFIED: BRIDGE_STATUS_UNSPECIFIED defines an unspecified bridge status. 35275 - BRIDGE_STATUS_ACTIVE: BRIDGE_STATUS_ACTIVE defines an active bridge status. 35276 - BRIDGE_STATUS_INACTIVE: BRIDGE_STATUS_INACTIVE defines an inactive bridge status. 35277 metadata: 35278 type: object 35279 properties: 35280 inactive: 35281 type: string 35282 format: uint64 35283 title: the number of inactived bridge switch 35284 active: 35285 type: string 35286 format: uint64 35287 title: the number of activated bridge switch 35288 description: >- 35289 BridgeStatusMetadata defines the metadata of the bridge 35290 status. 35291 default: 35292 description: An unexpected error response 35293 schema: 35294 type: object 35295 properties: 35296 error: 35297 type: string 35298 code: 35299 type: integer 35300 format: int32 35301 message: 35302 type: string 35303 details: 35304 type: array 35305 items: 35306 type: object 35307 properties: 35308 type_url: 35309 type: string 35310 value: 35311 type: string 35312 format: byte 35313 tags: 35314 - Query 35315 /lbm/fswap/v1/swap: 35316 get: 35317 summary: Swap queries a swap 35318 operationId: Swap 35319 responses: 35320 '200': 35321 description: A successful response. 35322 schema: 35323 type: object 35324 properties: 35325 swap: 35326 type: object 35327 properties: 35328 from_denom: 35329 type: string 35330 to_denom: 35331 type: string 35332 amount_cap_for_to_denom: 35333 type: string 35334 swap_rate: 35335 type: string 35336 default: 35337 description: An unexpected error response 35338 schema: 35339 type: object 35340 properties: 35341 error: 35342 type: string 35343 code: 35344 type: integer 35345 format: int32 35346 message: 35347 type: string 35348 details: 35349 type: array 35350 items: 35351 type: object 35352 properties: 35353 type_url: 35354 type: string 35355 value: 35356 type: string 35357 format: byte 35358 parameters: 35359 - name: from_denom 35360 in: query 35361 required: false 35362 type: string 35363 - name: to_denom 35364 in: query 35365 required: false 35366 type: string 35367 tags: 35368 - Query 35369 /lbm/fswap/v1/swapped: 35370 get: 35371 summary: >- 35372 Swapped queries the current swapped status that includes a burnt amount 35373 of from-coin and a minted amount of 35374 35375 to-coin. 35376 operationId: Swapped 35377 responses: 35378 '200': 35379 description: A successful response. 35380 schema: 35381 type: object 35382 properties: 35383 from_coin_amount: 35384 type: object 35385 properties: 35386 denom: 35387 type: string 35388 amount: 35389 type: string 35390 description: >- 35391 Coin defines a token with a denomination and an amount. 35392 35393 35394 NOTE: The amount field is an Int which implements the custom 35395 method 35396 35397 signatures required by gogoproto. 35398 to_coin_amount: 35399 type: object 35400 properties: 35401 denom: 35402 type: string 35403 amount: 35404 type: string 35405 description: >- 35406 Coin defines a token with a denomination and an amount. 35407 35408 35409 NOTE: The amount field is an Int which implements the custom 35410 method 35411 35412 signatures required by gogoproto. 35413 default: 35414 description: An unexpected error response 35415 schema: 35416 type: object 35417 properties: 35418 error: 35419 type: string 35420 code: 35421 type: integer 35422 format: int32 35423 message: 35424 type: string 35425 details: 35426 type: array 35427 items: 35428 type: object 35429 properties: 35430 type_url: 35431 type: string 35432 value: 35433 type: string 35434 format: byte 35435 parameters: 35436 - name: from_denom 35437 in: query 35438 required: false 35439 type: string 35440 - name: to_denom 35441 in: query 35442 required: false 35443 type: string 35444 tags: 35445 - Query 35446 /lbm/fswap/v1/swaps: 35447 get: 35448 summary: Swaps queries all the swap that registered 35449 operationId: Swaps 35450 responses: 35451 '200': 35452 description: A successful response. 35453 schema: 35454 type: object 35455 properties: 35456 swaps: 35457 type: array 35458 items: 35459 type: object 35460 properties: 35461 from_denom: 35462 type: string 35463 to_denom: 35464 type: string 35465 amount_cap_for_to_denom: 35466 type: string 35467 swap_rate: 35468 type: string 35469 pagination: 35470 type: object 35471 properties: 35472 next_key: 35473 type: string 35474 format: byte 35475 title: |- 35476 next_key is the key to be passed to PageRequest.key to 35477 query the next page most efficiently 35478 total: 35479 type: string 35480 format: uint64 35481 title: >- 35482 total is total number of results available if 35483 PageRequest.count_total 35484 35485 was set, its value is undefined otherwise 35486 description: >- 35487 PageResponse is to be embedded in gRPC response messages where 35488 the 35489 35490 corresponding request message has used PageRequest. 35491 35492 message SomeResponse { 35493 repeated Bar results = 1; 35494 PageResponse page = 2; 35495 } 35496 default: 35497 description: An unexpected error response 35498 schema: 35499 type: object 35500 properties: 35501 error: 35502 type: string 35503 code: 35504 type: integer 35505 format: int32 35506 message: 35507 type: string 35508 details: 35509 type: array 35510 items: 35511 type: object 35512 properties: 35513 type_url: 35514 type: string 35515 value: 35516 type: string 35517 format: byte 35518 parameters: 35519 - name: pagination.key 35520 description: |- 35521 key is a value returned in PageResponse.next_key to begin 35522 querying the next page most efficiently. Only one of offset or key 35523 should be set. 35524 in: query 35525 required: false 35526 type: string 35527 format: byte 35528 - name: pagination.offset 35529 description: >- 35530 offset is a numeric offset that can be used when key is unavailable. 35531 35532 It is less efficient than using key. Only one of offset or key 35533 should 35534 35535 be set. 35536 in: query 35537 required: false 35538 type: string 35539 format: uint64 35540 - name: pagination.limit 35541 description: >- 35542 limit is the total number of results to be returned in the result 35543 page. 35544 35545 If left empty it will default to a value to be set by each app. 35546 in: query 35547 required: false 35548 type: string 35549 format: uint64 35550 - name: pagination.count_total 35551 description: >- 35552 count_total is set to true to indicate that the result set should 35553 include 35554 35555 a count of the total number of items available for pagination in 35556 UIs. 35557 35558 count_total is only respected when offset is used. It is ignored 35559 when key 35560 35561 is set. 35562 in: query 35563 required: false 35564 type: boolean 35565 format: boolean 35566 - name: pagination.reverse 35567 description: >- 35568 reverse is set to true if results are to be returned in the 35569 descending order. 35570 35571 35572 Since: cosmos-sdk 0.43 35573 in: query 35574 required: false 35575 type: boolean 35576 format: boolean 35577 tags: 35578 - Query 35579 /lbm/fswap/v1/total_swappable_to_coin_amount: 35580 get: 35581 summary: >- 35582 TotalSwappableToCoinAmount queries the current swappable amount for 35583 to-coin. 35584 operationId: TotalSwappableToCoinAmount 35585 responses: 35586 '200': 35587 description: A successful response. 35588 schema: 35589 type: object 35590 properties: 35591 swappable_amount: 35592 type: object 35593 properties: 35594 denom: 35595 type: string 35596 amount: 35597 type: string 35598 description: >- 35599 Coin defines a token with a denomination and an amount. 35600 35601 35602 NOTE: The amount field is an Int which implements the custom 35603 method 35604 35605 signatures required by gogoproto. 35606 default: 35607 description: An unexpected error response 35608 schema: 35609 type: object 35610 properties: 35611 error: 35612 type: string 35613 code: 35614 type: integer 35615 format: int32 35616 message: 35617 type: string 35618 details: 35619 type: array 35620 items: 35621 type: object 35622 properties: 35623 type_url: 35624 type: string 35625 value: 35626 type: string 35627 format: byte 35628 parameters: 35629 - name: from_denom 35630 in: query 35631 required: false 35632 type: string 35633 - name: to_denom 35634 in: query 35635 required: false 35636 type: string 35637 tags: 35638 - Query 35639 definitions: 35640 cosmos.auth.v1beta1.Params: 35641 type: object 35642 properties: 35643 max_memo_characters: 35644 type: string 35645 format: uint64 35646 tx_sig_limit: 35647 type: string 35648 format: uint64 35649 tx_size_cost_per_byte: 35650 type: string 35651 format: uint64 35652 sig_verify_cost_ed25519: 35653 type: string 35654 format: uint64 35655 sig_verify_cost_secp256k1: 35656 type: string 35657 format: uint64 35658 description: Params defines the parameters for the auth module. 35659 cosmos.auth.v1beta1.QueryAccountResponse: 35660 type: object 35661 properties: 35662 account: 35663 type: object 35664 properties: 35665 type_url: 35666 type: string 35667 description: >- 35668 A URL/resource name that uniquely identifies the type of the 35669 serialized 35670 35671 protocol buffer message. This string must contain at least 35672 35673 one "/" character. The last segment of the URL's path must 35674 represent 35675 35676 the fully qualified name of the type (as in 35677 35678 `path/google.protobuf.Duration`). The name should be in a 35679 canonical form 35680 35681 (e.g., leading "." is not accepted). 35682 35683 35684 In practice, teams usually precompile into the binary all types 35685 that they 35686 35687 expect it to use in the context of Any. However, for URLs which 35688 use the 35689 35690 scheme `http`, `https`, or no scheme, one can optionally set up a 35691 type 35692 35693 server that maps type URLs to message definitions as follows: 35694 35695 35696 * If no scheme is provided, `https` is assumed. 35697 35698 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 35699 value in binary format, or produce an error. 35700 * Applications are allowed to cache lookup results based on the 35701 URL, or have them precompiled into a binary to avoid any 35702 lookup. Therefore, binary compatibility needs to be preserved 35703 on changes to types. (Use versioned type names to manage 35704 breaking changes.) 35705 35706 Note: this functionality is not currently available in the 35707 official 35708 35709 protobuf release, and it is not used for type URLs beginning with 35710 35711 type.googleapis.com. 35712 35713 35714 Schemes other than `http`, `https` (or the empty scheme) might be 35715 35716 used with implementation specific semantics. 35717 value: 35718 type: string 35719 format: byte 35720 description: >- 35721 Must be a valid serialized protocol buffer of the above specified 35722 type. 35723 description: >- 35724 `Any` contains an arbitrary serialized protocol buffer message along 35725 with a 35726 35727 URL that describes the type of the serialized message. 35728 35729 35730 Protobuf library provides support to pack/unpack Any values in the 35731 form 35732 35733 of utility functions or additional generated methods of the Any type. 35734 35735 35736 Example 1: Pack and unpack a message in C++. 35737 35738 Foo foo = ...; 35739 Any any; 35740 any.PackFrom(foo); 35741 ... 35742 if (any.UnpackTo(&foo)) { 35743 ... 35744 } 35745 35746 Example 2: Pack and unpack a message in Java. 35747 35748 Foo foo = ...; 35749 Any any = Any.pack(foo); 35750 ... 35751 if (any.is(Foo.class)) { 35752 foo = any.unpack(Foo.class); 35753 } 35754 35755 Example 3: Pack and unpack a message in Python. 35756 35757 foo = Foo(...) 35758 any = Any() 35759 any.Pack(foo) 35760 ... 35761 if any.Is(Foo.DESCRIPTOR): 35762 any.Unpack(foo) 35763 ... 35764 35765 Example 4: Pack and unpack a message in Go 35766 35767 foo := &pb.Foo{...} 35768 any, err := ptypes.MarshalAny(foo) 35769 ... 35770 foo := &pb.Foo{} 35771 if err := ptypes.UnmarshalAny(any, foo); err != nil { 35772 ... 35773 } 35774 35775 The pack methods provided by protobuf library will by default use 35776 35777 'type.googleapis.com/full.type.name' as the type URL and the unpack 35778 35779 methods only use the fully qualified type name after the last '/' 35780 35781 in the type URL, for example "foo.bar.com/x/y.z" will yield type 35782 35783 name "y.z". 35784 35785 35786 35787 JSON 35788 35789 ==== 35790 35791 The JSON representation of an `Any` value uses the regular 35792 35793 representation of the deserialized, embedded message, with an 35794 35795 additional field `@type` which contains the type URL. Example: 35796 35797 package google.profile; 35798 message Person { 35799 string first_name = 1; 35800 string last_name = 2; 35801 } 35802 35803 { 35804 "@type": "type.googleapis.com/google.profile.Person", 35805 "firstName": <string>, 35806 "lastName": <string> 35807 } 35808 35809 If the embedded message type is well-known and has a custom JSON 35810 35811 representation, that representation will be embedded adding a field 35812 35813 `value` which holds the custom JSON in addition to the `@type` 35814 35815 field. Example (for message [google.protobuf.Duration][]): 35816 35817 { 35818 "@type": "type.googleapis.com/google.protobuf.Duration", 35819 "value": "1.212s" 35820 } 35821 description: >- 35822 QueryAccountResponse is the response type for the Query/Account RPC 35823 method. 35824 cosmos.auth.v1beta1.QueryAccountsResponse: 35825 type: object 35826 properties: 35827 accounts: 35828 type: array 35829 items: 35830 type: object 35831 properties: 35832 type_url: 35833 type: string 35834 description: >- 35835 A URL/resource name that uniquely identifies the type of the 35836 serialized 35837 35838 protocol buffer message. This string must contain at least 35839 35840 one "/" character. The last segment of the URL's path must 35841 represent 35842 35843 the fully qualified name of the type (as in 35844 35845 `path/google.protobuf.Duration`). The name should be in a 35846 canonical form 35847 35848 (e.g., leading "." is not accepted). 35849 35850 35851 In practice, teams usually precompile into the binary all types 35852 that they 35853 35854 expect it to use in the context of Any. However, for URLs which 35855 use the 35856 35857 scheme `http`, `https`, or no scheme, one can optionally set up 35858 a type 35859 35860 server that maps type URLs to message definitions as follows: 35861 35862 35863 * If no scheme is provided, `https` is assumed. 35864 35865 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 35866 value in binary format, or produce an error. 35867 * Applications are allowed to cache lookup results based on the 35868 URL, or have them precompiled into a binary to avoid any 35869 lookup. Therefore, binary compatibility needs to be preserved 35870 on changes to types. (Use versioned type names to manage 35871 breaking changes.) 35872 35873 Note: this functionality is not currently available in the 35874 official 35875 35876 protobuf release, and it is not used for type URLs beginning 35877 with 35878 35879 type.googleapis.com. 35880 35881 35882 Schemes other than `http`, `https` (or the empty scheme) might 35883 be 35884 35885 used with implementation specific semantics. 35886 value: 35887 type: string 35888 format: byte 35889 description: >- 35890 Must be a valid serialized protocol buffer of the above 35891 specified type. 35892 description: >- 35893 `Any` contains an arbitrary serialized protocol buffer message along 35894 with a 35895 35896 URL that describes the type of the serialized message. 35897 35898 35899 Protobuf library provides support to pack/unpack Any values in the 35900 form 35901 35902 of utility functions or additional generated methods of the Any 35903 type. 35904 35905 35906 Example 1: Pack and unpack a message in C++. 35907 35908 Foo foo = ...; 35909 Any any; 35910 any.PackFrom(foo); 35911 ... 35912 if (any.UnpackTo(&foo)) { 35913 ... 35914 } 35915 35916 Example 2: Pack and unpack a message in Java. 35917 35918 Foo foo = ...; 35919 Any any = Any.pack(foo); 35920 ... 35921 if (any.is(Foo.class)) { 35922 foo = any.unpack(Foo.class); 35923 } 35924 35925 Example 3: Pack and unpack a message in Python. 35926 35927 foo = Foo(...) 35928 any = Any() 35929 any.Pack(foo) 35930 ... 35931 if any.Is(Foo.DESCRIPTOR): 35932 any.Unpack(foo) 35933 ... 35934 35935 Example 4: Pack and unpack a message in Go 35936 35937 foo := &pb.Foo{...} 35938 any, err := ptypes.MarshalAny(foo) 35939 ... 35940 foo := &pb.Foo{} 35941 if err := ptypes.UnmarshalAny(any, foo); err != nil { 35942 ... 35943 } 35944 35945 The pack methods provided by protobuf library will by default use 35946 35947 'type.googleapis.com/full.type.name' as the type URL and the unpack 35948 35949 methods only use the fully qualified type name after the last '/' 35950 35951 in the type URL, for example "foo.bar.com/x/y.z" will yield type 35952 35953 name "y.z". 35954 35955 35956 35957 JSON 35958 35959 ==== 35960 35961 The JSON representation of an `Any` value uses the regular 35962 35963 representation of the deserialized, embedded message, with an 35964 35965 additional field `@type` which contains the type URL. Example: 35966 35967 package google.profile; 35968 message Person { 35969 string first_name = 1; 35970 string last_name = 2; 35971 } 35972 35973 { 35974 "@type": "type.googleapis.com/google.profile.Person", 35975 "firstName": <string>, 35976 "lastName": <string> 35977 } 35978 35979 If the embedded message type is well-known and has a custom JSON 35980 35981 representation, that representation will be embedded adding a field 35982 35983 `value` which holds the custom JSON in addition to the `@type` 35984 35985 field. Example (for message [google.protobuf.Duration][]): 35986 35987 { 35988 "@type": "type.googleapis.com/google.protobuf.Duration", 35989 "value": "1.212s" 35990 } 35991 title: accounts are the existing accounts 35992 pagination: 35993 description: pagination defines the pagination in the response. 35994 type: object 35995 properties: 35996 next_key: 35997 type: string 35998 format: byte 35999 title: |- 36000 next_key is the key to be passed to PageRequest.key to 36001 query the next page most efficiently 36002 total: 36003 type: string 36004 format: uint64 36005 title: >- 36006 total is total number of results available if 36007 PageRequest.count_total 36008 36009 was set, its value is undefined otherwise 36010 description: >- 36011 QueryAccountsResponse is the response type for the Query/Accounts RPC 36012 method. 36013 36014 36015 Since: cosmos-sdk 0.43 36016 cosmos.auth.v1beta1.QueryModuleAccountByNameResponse: 36017 type: object 36018 properties: 36019 account: 36020 type: object 36021 properties: 36022 type_url: 36023 type: string 36024 description: >- 36025 A URL/resource name that uniquely identifies the type of the 36026 serialized 36027 36028 protocol buffer message. This string must contain at least 36029 36030 one "/" character. The last segment of the URL's path must 36031 represent 36032 36033 the fully qualified name of the type (as in 36034 36035 `path/google.protobuf.Duration`). The name should be in a 36036 canonical form 36037 36038 (e.g., leading "." is not accepted). 36039 36040 36041 In practice, teams usually precompile into the binary all types 36042 that they 36043 36044 expect it to use in the context of Any. However, for URLs which 36045 use the 36046 36047 scheme `http`, `https`, or no scheme, one can optionally set up a 36048 type 36049 36050 server that maps type URLs to message definitions as follows: 36051 36052 36053 * If no scheme is provided, `https` is assumed. 36054 36055 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 36056 value in binary format, or produce an error. 36057 * Applications are allowed to cache lookup results based on the 36058 URL, or have them precompiled into a binary to avoid any 36059 lookup. Therefore, binary compatibility needs to be preserved 36060 on changes to types. (Use versioned type names to manage 36061 breaking changes.) 36062 36063 Note: this functionality is not currently available in the 36064 official 36065 36066 protobuf release, and it is not used for type URLs beginning with 36067 36068 type.googleapis.com. 36069 36070 36071 Schemes other than `http`, `https` (or the empty scheme) might be 36072 36073 used with implementation specific semantics. 36074 value: 36075 type: string 36076 format: byte 36077 description: >- 36078 Must be a valid serialized protocol buffer of the above specified 36079 type. 36080 description: >- 36081 `Any` contains an arbitrary serialized protocol buffer message along 36082 with a 36083 36084 URL that describes the type of the serialized message. 36085 36086 36087 Protobuf library provides support to pack/unpack Any values in the 36088 form 36089 36090 of utility functions or additional generated methods of the Any type. 36091 36092 36093 Example 1: Pack and unpack a message in C++. 36094 36095 Foo foo = ...; 36096 Any any; 36097 any.PackFrom(foo); 36098 ... 36099 if (any.UnpackTo(&foo)) { 36100 ... 36101 } 36102 36103 Example 2: Pack and unpack a message in Java. 36104 36105 Foo foo = ...; 36106 Any any = Any.pack(foo); 36107 ... 36108 if (any.is(Foo.class)) { 36109 foo = any.unpack(Foo.class); 36110 } 36111 36112 Example 3: Pack and unpack a message in Python. 36113 36114 foo = Foo(...) 36115 any = Any() 36116 any.Pack(foo) 36117 ... 36118 if any.Is(Foo.DESCRIPTOR): 36119 any.Unpack(foo) 36120 ... 36121 36122 Example 4: Pack and unpack a message in Go 36123 36124 foo := &pb.Foo{...} 36125 any, err := ptypes.MarshalAny(foo) 36126 ... 36127 foo := &pb.Foo{} 36128 if err := ptypes.UnmarshalAny(any, foo); err != nil { 36129 ... 36130 } 36131 36132 The pack methods provided by protobuf library will by default use 36133 36134 'type.googleapis.com/full.type.name' as the type URL and the unpack 36135 36136 methods only use the fully qualified type name after the last '/' 36137 36138 in the type URL, for example "foo.bar.com/x/y.z" will yield type 36139 36140 name "y.z". 36141 36142 36143 36144 JSON 36145 36146 ==== 36147 36148 The JSON representation of an `Any` value uses the regular 36149 36150 representation of the deserialized, embedded message, with an 36151 36152 additional field `@type` which contains the type URL. Example: 36153 36154 package google.profile; 36155 message Person { 36156 string first_name = 1; 36157 string last_name = 2; 36158 } 36159 36160 { 36161 "@type": "type.googleapis.com/google.profile.Person", 36162 "firstName": <string>, 36163 "lastName": <string> 36164 } 36165 36166 If the embedded message type is well-known and has a custom JSON 36167 36168 representation, that representation will be embedded adding a field 36169 36170 `value` which holds the custom JSON in addition to the `@type` 36171 36172 field. Example (for message [google.protobuf.Duration][]): 36173 36174 { 36175 "@type": "type.googleapis.com/google.protobuf.Duration", 36176 "value": "1.212s" 36177 } 36178 description: >- 36179 QueryModuleAccountByNameResponse is the response type for the 36180 Query/ModuleAccountByName RPC method. 36181 cosmos.auth.v1beta1.QueryNextAccountNumberResponse: 36182 type: object 36183 properties: 36184 next_account_number: 36185 type: string 36186 format: uint64 36187 description: The next account number is the next value of global account number. 36188 description: >- 36189 QueryNextAccountNumberResponse is the response for the 36190 Query/NextAccountNumber. 36191 cosmos.auth.v1beta1.QueryParamsResponse: 36192 type: object 36193 properties: 36194 params: 36195 description: params defines the parameters of the module. 36196 type: object 36197 properties: 36198 max_memo_characters: 36199 type: string 36200 format: uint64 36201 tx_sig_limit: 36202 type: string 36203 format: uint64 36204 tx_size_cost_per_byte: 36205 type: string 36206 format: uint64 36207 sig_verify_cost_ed25519: 36208 type: string 36209 format: uint64 36210 sig_verify_cost_secp256k1: 36211 type: string 36212 format: uint64 36213 description: QueryParamsResponse is the response type for the Query/Params RPC method. 36214 cosmos.base.query.v1beta1.PageRequest: 36215 type: object 36216 properties: 36217 key: 36218 type: string 36219 format: byte 36220 description: |- 36221 key is a value returned in PageResponse.next_key to begin 36222 querying the next page most efficiently. Only one of offset or key 36223 should be set. 36224 offset: 36225 type: string 36226 format: uint64 36227 description: |- 36228 offset is a numeric offset that can be used when key is unavailable. 36229 It is less efficient than using key. Only one of offset or key should 36230 be set. 36231 limit: 36232 type: string 36233 format: uint64 36234 description: >- 36235 limit is the total number of results to be returned in the result 36236 page. 36237 36238 If left empty it will default to a value to be set by each app. 36239 count_total: 36240 type: boolean 36241 format: boolean 36242 description: >- 36243 count_total is set to true to indicate that the result set should 36244 include 36245 36246 a count of the total number of items available for pagination in UIs. 36247 36248 count_total is only respected when offset is used. It is ignored when 36249 key 36250 36251 is set. 36252 reverse: 36253 type: boolean 36254 format: boolean 36255 description: >- 36256 reverse is set to true if results are to be returned in the descending 36257 order. 36258 36259 36260 Since: cosmos-sdk 0.43 36261 description: |- 36262 message SomeRequest { 36263 Foo some_parameter = 1; 36264 PageRequest pagination = 2; 36265 } 36266 title: |- 36267 PageRequest is to be embedded in gRPC request messages for efficient 36268 pagination. Ex: 36269 cosmos.base.query.v1beta1.PageResponse: 36270 type: object 36271 properties: 36272 next_key: 36273 type: string 36274 format: byte 36275 title: |- 36276 next_key is the key to be passed to PageRequest.key to 36277 query the next page most efficiently 36278 total: 36279 type: string 36280 format: uint64 36281 title: |- 36282 total is total number of results available if PageRequest.count_total 36283 was set, its value is undefined otherwise 36284 description: |- 36285 PageResponse is to be embedded in gRPC response messages where the 36286 corresponding request message has used PageRequest. 36287 36288 message SomeResponse { 36289 repeated Bar results = 1; 36290 PageResponse page = 2; 36291 } 36292 google.protobuf.Any: 36293 type: object 36294 properties: 36295 type_url: 36296 type: string 36297 description: >- 36298 A URL/resource name that uniquely identifies the type of the 36299 serialized 36300 36301 protocol buffer message. This string must contain at least 36302 36303 one "/" character. The last segment of the URL's path must represent 36304 36305 the fully qualified name of the type (as in 36306 36307 `path/google.protobuf.Duration`). The name should be in a canonical 36308 form 36309 36310 (e.g., leading "." is not accepted). 36311 36312 36313 In practice, teams usually precompile into the binary all types that 36314 they 36315 36316 expect it to use in the context of Any. However, for URLs which use 36317 the 36318 36319 scheme `http`, `https`, or no scheme, one can optionally set up a type 36320 36321 server that maps type URLs to message definitions as follows: 36322 36323 36324 * If no scheme is provided, `https` is assumed. 36325 36326 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 36327 value in binary format, or produce an error. 36328 * Applications are allowed to cache lookup results based on the 36329 URL, or have them precompiled into a binary to avoid any 36330 lookup. Therefore, binary compatibility needs to be preserved 36331 on changes to types. (Use versioned type names to manage 36332 breaking changes.) 36333 36334 Note: this functionality is not currently available in the official 36335 36336 protobuf release, and it is not used for type URLs beginning with 36337 36338 type.googleapis.com. 36339 36340 36341 Schemes other than `http`, `https` (or the empty scheme) might be 36342 36343 used with implementation specific semantics. 36344 value: 36345 type: string 36346 format: byte 36347 description: >- 36348 Must be a valid serialized protocol buffer of the above specified 36349 type. 36350 description: >- 36351 `Any` contains an arbitrary serialized protocol buffer message along with 36352 a 36353 36354 URL that describes the type of the serialized message. 36355 36356 36357 Protobuf library provides support to pack/unpack Any values in the form 36358 36359 of utility functions or additional generated methods of the Any type. 36360 36361 36362 Example 1: Pack and unpack a message in C++. 36363 36364 Foo foo = ...; 36365 Any any; 36366 any.PackFrom(foo); 36367 ... 36368 if (any.UnpackTo(&foo)) { 36369 ... 36370 } 36371 36372 Example 2: Pack and unpack a message in Java. 36373 36374 Foo foo = ...; 36375 Any any = Any.pack(foo); 36376 ... 36377 if (any.is(Foo.class)) { 36378 foo = any.unpack(Foo.class); 36379 } 36380 36381 Example 3: Pack and unpack a message in Python. 36382 36383 foo = Foo(...) 36384 any = Any() 36385 any.Pack(foo) 36386 ... 36387 if any.Is(Foo.DESCRIPTOR): 36388 any.Unpack(foo) 36389 ... 36390 36391 Example 4: Pack and unpack a message in Go 36392 36393 foo := &pb.Foo{...} 36394 any, err := ptypes.MarshalAny(foo) 36395 ... 36396 foo := &pb.Foo{} 36397 if err := ptypes.UnmarshalAny(any, foo); err != nil { 36398 ... 36399 } 36400 36401 The pack methods provided by protobuf library will by default use 36402 36403 'type.googleapis.com/full.type.name' as the type URL and the unpack 36404 36405 methods only use the fully qualified type name after the last '/' 36406 36407 in the type URL, for example "foo.bar.com/x/y.z" will yield type 36408 36409 name "y.z". 36410 36411 36412 36413 JSON 36414 36415 ==== 36416 36417 The JSON representation of an `Any` value uses the regular 36418 36419 representation of the deserialized, embedded message, with an 36420 36421 additional field `@type` which contains the type URL. Example: 36422 36423 package google.profile; 36424 message Person { 36425 string first_name = 1; 36426 string last_name = 2; 36427 } 36428 36429 { 36430 "@type": "type.googleapis.com/google.profile.Person", 36431 "firstName": <string>, 36432 "lastName": <string> 36433 } 36434 36435 If the embedded message type is well-known and has a custom JSON 36436 36437 representation, that representation will be embedded adding a field 36438 36439 `value` which holds the custom JSON in addition to the `@type` 36440 36441 field. Example (for message [google.protobuf.Duration][]): 36442 36443 { 36444 "@type": "type.googleapis.com/google.protobuf.Duration", 36445 "value": "1.212s" 36446 } 36447 grpc.gateway.runtime.Error: 36448 type: object 36449 properties: 36450 error: 36451 type: string 36452 code: 36453 type: integer 36454 format: int32 36455 message: 36456 type: string 36457 details: 36458 type: array 36459 items: 36460 type: object 36461 properties: 36462 type_url: 36463 type: string 36464 description: >- 36465 A URL/resource name that uniquely identifies the type of the 36466 serialized 36467 36468 protocol buffer message. This string must contain at least 36469 36470 one "/" character. The last segment of the URL's path must 36471 represent 36472 36473 the fully qualified name of the type (as in 36474 36475 `path/google.protobuf.Duration`). The name should be in a 36476 canonical form 36477 36478 (e.g., leading "." is not accepted). 36479 36480 36481 In practice, teams usually precompile into the binary all types 36482 that they 36483 36484 expect it to use in the context of Any. However, for URLs which 36485 use the 36486 36487 scheme `http`, `https`, or no scheme, one can optionally set up 36488 a type 36489 36490 server that maps type URLs to message definitions as follows: 36491 36492 36493 * If no scheme is provided, `https` is assumed. 36494 36495 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 36496 value in binary format, or produce an error. 36497 * Applications are allowed to cache lookup results based on the 36498 URL, or have them precompiled into a binary to avoid any 36499 lookup. Therefore, binary compatibility needs to be preserved 36500 on changes to types. (Use versioned type names to manage 36501 breaking changes.) 36502 36503 Note: this functionality is not currently available in the 36504 official 36505 36506 protobuf release, and it is not used for type URLs beginning 36507 with 36508 36509 type.googleapis.com. 36510 36511 36512 Schemes other than `http`, `https` (or the empty scheme) might 36513 be 36514 36515 used with implementation specific semantics. 36516 value: 36517 type: string 36518 format: byte 36519 description: >- 36520 Must be a valid serialized protocol buffer of the above 36521 specified type. 36522 description: >- 36523 `Any` contains an arbitrary serialized protocol buffer message along 36524 with a 36525 36526 URL that describes the type of the serialized message. 36527 36528 36529 Protobuf library provides support to pack/unpack Any values in the 36530 form 36531 36532 of utility functions or additional generated methods of the Any 36533 type. 36534 36535 36536 Example 1: Pack and unpack a message in C++. 36537 36538 Foo foo = ...; 36539 Any any; 36540 any.PackFrom(foo); 36541 ... 36542 if (any.UnpackTo(&foo)) { 36543 ... 36544 } 36545 36546 Example 2: Pack and unpack a message in Java. 36547 36548 Foo foo = ...; 36549 Any any = Any.pack(foo); 36550 ... 36551 if (any.is(Foo.class)) { 36552 foo = any.unpack(Foo.class); 36553 } 36554 36555 Example 3: Pack and unpack a message in Python. 36556 36557 foo = Foo(...) 36558 any = Any() 36559 any.Pack(foo) 36560 ... 36561 if any.Is(Foo.DESCRIPTOR): 36562 any.Unpack(foo) 36563 ... 36564 36565 Example 4: Pack and unpack a message in Go 36566 36567 foo := &pb.Foo{...} 36568 any, err := ptypes.MarshalAny(foo) 36569 ... 36570 foo := &pb.Foo{} 36571 if err := ptypes.UnmarshalAny(any, foo); err != nil { 36572 ... 36573 } 36574 36575 The pack methods provided by protobuf library will by default use 36576 36577 'type.googleapis.com/full.type.name' as the type URL and the unpack 36578 36579 methods only use the fully qualified type name after the last '/' 36580 36581 in the type URL, for example "foo.bar.com/x/y.z" will yield type 36582 36583 name "y.z". 36584 36585 36586 36587 JSON 36588 36589 ==== 36590 36591 The JSON representation of an `Any` value uses the regular 36592 36593 representation of the deserialized, embedded message, with an 36594 36595 additional field `@type` which contains the type URL. Example: 36596 36597 package google.profile; 36598 message Person { 36599 string first_name = 1; 36600 string last_name = 2; 36601 } 36602 36603 { 36604 "@type": "type.googleapis.com/google.profile.Person", 36605 "firstName": <string>, 36606 "lastName": <string> 36607 } 36608 36609 If the embedded message type is well-known and has a custom JSON 36610 36611 representation, that representation will be embedded adding a field 36612 36613 `value` which holds the custom JSON in addition to the `@type` 36614 36615 field. Example (for message [google.protobuf.Duration][]): 36616 36617 { 36618 "@type": "type.googleapis.com/google.protobuf.Duration", 36619 "value": "1.212s" 36620 } 36621 cosmos.bank.v1beta1.DenomUnit: 36622 type: object 36623 properties: 36624 denom: 36625 type: string 36626 description: denom represents the string name of the given denom unit (e.g uatom). 36627 exponent: 36628 type: integer 36629 format: int64 36630 description: >- 36631 exponent represents power of 10 exponent that one must 36632 36633 raise the base_denom to in order to equal the given DenomUnit's denom 36634 36635 1 denom = 1^exponent base_denom 36636 36637 (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' 36638 with 36639 36640 exponent = 6, thus: 1 atom = 10^6 uatom). 36641 aliases: 36642 type: array 36643 items: 36644 type: string 36645 title: aliases is a list of string aliases for the given denom 36646 description: |- 36647 DenomUnit represents a struct that describes a given 36648 denomination unit of the basic token. 36649 cosmos.bank.v1beta1.Metadata: 36650 type: object 36651 properties: 36652 description: 36653 type: string 36654 denom_units: 36655 type: array 36656 items: 36657 type: object 36658 properties: 36659 denom: 36660 type: string 36661 description: >- 36662 denom represents the string name of the given denom unit (e.g 36663 uatom). 36664 exponent: 36665 type: integer 36666 format: int64 36667 description: >- 36668 exponent represents power of 10 exponent that one must 36669 36670 raise the base_denom to in order to equal the given DenomUnit's 36671 denom 36672 36673 1 denom = 1^exponent base_denom 36674 36675 (e.g. with a base_denom of uatom, one can create a DenomUnit of 36676 'atom' with 36677 36678 exponent = 6, thus: 1 atom = 10^6 uatom). 36679 aliases: 36680 type: array 36681 items: 36682 type: string 36683 title: aliases is a list of string aliases for the given denom 36684 description: |- 36685 DenomUnit represents a struct that describes a given 36686 denomination unit of the basic token. 36687 title: denom_units represents the list of DenomUnit's for a given coin 36688 base: 36689 type: string 36690 description: >- 36691 base represents the base denom (should be the DenomUnit with exponent 36692 = 0). 36693 display: 36694 type: string 36695 description: |- 36696 display indicates the suggested denom that should be 36697 displayed in clients. 36698 name: 36699 type: string 36700 description: 'Since: cosmos-sdk 0.43' 36701 title: 'name defines the name of the token (eg: Cosmos Atom)' 36702 symbol: 36703 type: string 36704 description: >- 36705 symbol is the token symbol usually shown on exchanges (eg: ATOM). This 36706 can 36707 36708 be the same as the display. 36709 36710 36711 Since: cosmos-sdk 0.43 36712 description: |- 36713 Metadata represents a struct that describes 36714 a basic token. 36715 cosmos.bank.v1beta1.Params: 36716 type: object 36717 properties: 36718 send_enabled: 36719 type: array 36720 items: 36721 type: object 36722 properties: 36723 denom: 36724 type: string 36725 enabled: 36726 type: boolean 36727 format: boolean 36728 description: >- 36729 SendEnabled maps coin denom to a send_enabled status (whether a 36730 denom is 36731 36732 sendable). 36733 default_send_enabled: 36734 type: boolean 36735 format: boolean 36736 description: Params defines the parameters for the bank module. 36737 cosmos.bank.v1beta1.QueryAllBalancesResponse: 36738 type: object 36739 properties: 36740 balances: 36741 type: array 36742 items: 36743 type: object 36744 properties: 36745 denom: 36746 type: string 36747 amount: 36748 type: string 36749 description: |- 36750 Coin defines a token with a denomination and an amount. 36751 36752 NOTE: The amount field is an Int which implements the custom method 36753 signatures required by gogoproto. 36754 description: balances is the balances of all the coins. 36755 pagination: 36756 description: pagination defines the pagination in the response. 36757 type: object 36758 properties: 36759 next_key: 36760 type: string 36761 format: byte 36762 title: |- 36763 next_key is the key to be passed to PageRequest.key to 36764 query the next page most efficiently 36765 total: 36766 type: string 36767 format: uint64 36768 title: >- 36769 total is total number of results available if 36770 PageRequest.count_total 36771 36772 was set, its value is undefined otherwise 36773 description: >- 36774 QueryAllBalancesResponse is the response type for the Query/AllBalances 36775 RPC 36776 36777 method. 36778 cosmos.bank.v1beta1.QueryBalanceResponse: 36779 type: object 36780 properties: 36781 balance: 36782 type: object 36783 properties: 36784 denom: 36785 type: string 36786 amount: 36787 type: string 36788 description: |- 36789 Coin defines a token with a denomination and an amount. 36790 36791 NOTE: The amount field is an Int which implements the custom method 36792 signatures required by gogoproto. 36793 description: >- 36794 QueryBalanceResponse is the response type for the Query/Balance RPC 36795 method. 36796 cosmos.bank.v1beta1.QueryDenomMetadataResponse: 36797 type: object 36798 properties: 36799 metadata: 36800 type: object 36801 properties: 36802 description: 36803 type: string 36804 denom_units: 36805 type: array 36806 items: 36807 type: object 36808 properties: 36809 denom: 36810 type: string 36811 description: >- 36812 denom represents the string name of the given denom unit 36813 (e.g uatom). 36814 exponent: 36815 type: integer 36816 format: int64 36817 description: >- 36818 exponent represents power of 10 exponent that one must 36819 36820 raise the base_denom to in order to equal the given 36821 DenomUnit's denom 36822 36823 1 denom = 1^exponent base_denom 36824 36825 (e.g. with a base_denom of uatom, one can create a DenomUnit 36826 of 'atom' with 36827 36828 exponent = 6, thus: 1 atom = 10^6 uatom). 36829 aliases: 36830 type: array 36831 items: 36832 type: string 36833 title: aliases is a list of string aliases for the given denom 36834 description: |- 36835 DenomUnit represents a struct that describes a given 36836 denomination unit of the basic token. 36837 title: denom_units represents the list of DenomUnit's for a given coin 36838 base: 36839 type: string 36840 description: >- 36841 base represents the base denom (should be the DenomUnit with 36842 exponent = 0). 36843 display: 36844 type: string 36845 description: |- 36846 display indicates the suggested denom that should be 36847 displayed in clients. 36848 name: 36849 type: string 36850 description: 'Since: cosmos-sdk 0.43' 36851 title: 'name defines the name of the token (eg: Cosmos Atom)' 36852 symbol: 36853 type: string 36854 description: >- 36855 symbol is the token symbol usually shown on exchanges (eg: ATOM). 36856 This can 36857 36858 be the same as the display. 36859 36860 36861 Since: cosmos-sdk 0.43 36862 description: |- 36863 Metadata represents a struct that describes 36864 a basic token. 36865 description: >- 36866 QueryDenomMetadataResponse is the response type for the 36867 Query/DenomMetadata RPC 36868 36869 method. 36870 cosmos.bank.v1beta1.QueryDenomsMetadataResponse: 36871 type: object 36872 properties: 36873 metadatas: 36874 type: array 36875 items: 36876 type: object 36877 properties: 36878 description: 36879 type: string 36880 denom_units: 36881 type: array 36882 items: 36883 type: object 36884 properties: 36885 denom: 36886 type: string 36887 description: >- 36888 denom represents the string name of the given denom unit 36889 (e.g uatom). 36890 exponent: 36891 type: integer 36892 format: int64 36893 description: >- 36894 exponent represents power of 10 exponent that one must 36895 36896 raise the base_denom to in order to equal the given 36897 DenomUnit's denom 36898 36899 1 denom = 1^exponent base_denom 36900 36901 (e.g. with a base_denom of uatom, one can create a 36902 DenomUnit of 'atom' with 36903 36904 exponent = 6, thus: 1 atom = 10^6 uatom). 36905 aliases: 36906 type: array 36907 items: 36908 type: string 36909 title: aliases is a list of string aliases for the given denom 36910 description: |- 36911 DenomUnit represents a struct that describes a given 36912 denomination unit of the basic token. 36913 title: denom_units represents the list of DenomUnit's for a given coin 36914 base: 36915 type: string 36916 description: >- 36917 base represents the base denom (should be the DenomUnit with 36918 exponent = 0). 36919 display: 36920 type: string 36921 description: |- 36922 display indicates the suggested denom that should be 36923 displayed in clients. 36924 name: 36925 type: string 36926 description: 'Since: cosmos-sdk 0.43' 36927 title: 'name defines the name of the token (eg: Cosmos Atom)' 36928 symbol: 36929 type: string 36930 description: >- 36931 symbol is the token symbol usually shown on exchanges (eg: 36932 ATOM). This can 36933 36934 be the same as the display. 36935 36936 36937 Since: cosmos-sdk 0.43 36938 description: |- 36939 Metadata represents a struct that describes 36940 a basic token. 36941 description: >- 36942 metadata provides the client information for all the registered 36943 tokens. 36944 pagination: 36945 description: pagination defines the pagination in the response. 36946 type: object 36947 properties: 36948 next_key: 36949 type: string 36950 format: byte 36951 title: |- 36952 next_key is the key to be passed to PageRequest.key to 36953 query the next page most efficiently 36954 total: 36955 type: string 36956 format: uint64 36957 title: >- 36958 total is total number of results available if 36959 PageRequest.count_total 36960 36961 was set, its value is undefined otherwise 36962 description: >- 36963 QueryDenomsMetadataResponse is the response type for the 36964 Query/DenomsMetadata RPC 36965 36966 method. 36967 cosmos.bank.v1beta1.QueryParamsResponse: 36968 type: object 36969 properties: 36970 params: 36971 type: object 36972 properties: 36973 send_enabled: 36974 type: array 36975 items: 36976 type: object 36977 properties: 36978 denom: 36979 type: string 36980 enabled: 36981 type: boolean 36982 format: boolean 36983 description: >- 36984 SendEnabled maps coin denom to a send_enabled status (whether a 36985 denom is 36986 36987 sendable). 36988 default_send_enabled: 36989 type: boolean 36990 format: boolean 36991 description: Params defines the parameters for the bank module. 36992 description: >- 36993 QueryParamsResponse defines the response type for querying x/bank 36994 parameters. 36995 cosmos.bank.v1beta1.QuerySpendableBalancesResponse: 36996 type: object 36997 properties: 36998 balances: 36999 type: array 37000 items: 37001 type: object 37002 properties: 37003 denom: 37004 type: string 37005 amount: 37006 type: string 37007 description: |- 37008 Coin defines a token with a denomination and an amount. 37009 37010 NOTE: The amount field is an Int which implements the custom method 37011 signatures required by gogoproto. 37012 description: balances is the spendable balances of all the coins. 37013 pagination: 37014 description: pagination defines the pagination in the response. 37015 type: object 37016 properties: 37017 next_key: 37018 type: string 37019 format: byte 37020 title: |- 37021 next_key is the key to be passed to PageRequest.key to 37022 query the next page most efficiently 37023 total: 37024 type: string 37025 format: uint64 37026 title: >- 37027 total is total number of results available if 37028 PageRequest.count_total 37029 37030 was set, its value is undefined otherwise 37031 description: >- 37032 QuerySpendableBalancesResponse defines the gRPC response structure for 37033 querying 37034 37035 an account's spendable balances. 37036 cosmos.bank.v1beta1.QuerySupplyOfResponse: 37037 type: object 37038 properties: 37039 amount: 37040 type: object 37041 properties: 37042 denom: 37043 type: string 37044 amount: 37045 type: string 37046 description: |- 37047 Coin defines a token with a denomination and an amount. 37048 37049 NOTE: The amount field is an Int which implements the custom method 37050 signatures required by gogoproto. 37051 description: >- 37052 QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC 37053 method. 37054 cosmos.bank.v1beta1.QueryTotalSupplyResponse: 37055 type: object 37056 properties: 37057 supply: 37058 type: array 37059 items: 37060 type: object 37061 properties: 37062 denom: 37063 type: string 37064 amount: 37065 type: string 37066 description: |- 37067 Coin defines a token with a denomination and an amount. 37068 37069 NOTE: The amount field is an Int which implements the custom method 37070 signatures required by gogoproto. 37071 title: supply is the supply of the coins 37072 pagination: 37073 description: |- 37074 pagination defines the pagination in the response. 37075 37076 Since: cosmos-sdk 0.43 37077 type: object 37078 properties: 37079 next_key: 37080 type: string 37081 format: byte 37082 title: |- 37083 next_key is the key to be passed to PageRequest.key to 37084 query the next page most efficiently 37085 total: 37086 type: string 37087 format: uint64 37088 title: >- 37089 total is total number of results available if 37090 PageRequest.count_total 37091 37092 was set, its value is undefined otherwise 37093 title: >- 37094 QueryTotalSupplyResponse is the response type for the Query/TotalSupply 37095 RPC 37096 37097 method 37098 cosmos.bank.v1beta1.SendEnabled: 37099 type: object 37100 properties: 37101 denom: 37102 type: string 37103 enabled: 37104 type: boolean 37105 format: boolean 37106 description: |- 37107 SendEnabled maps coin denom to a send_enabled status (whether a denom is 37108 sendable). 37109 cosmos.base.v1beta1.Coin: 37110 type: object 37111 properties: 37112 denom: 37113 type: string 37114 amount: 37115 type: string 37116 description: |- 37117 Coin defines a token with a denomination and an amount. 37118 37119 NOTE: The amount field is an Int which implements the custom method 37120 signatures required by gogoproto. 37121 lbm.base.ostracon.v1.GetBlockByHashResponse: 37122 type: object 37123 properties: 37124 block_id: 37125 type: object 37126 properties: 37127 hash: 37128 type: string 37129 format: byte 37130 part_set_header: 37131 type: object 37132 properties: 37133 total: 37134 type: integer 37135 format: int64 37136 hash: 37137 type: string 37138 format: byte 37139 title: PartsetHeader 37140 title: BlockID 37141 block: 37142 type: object 37143 properties: 37144 header: 37145 type: object 37146 properties: 37147 version: 37148 title: basic block info 37149 type: object 37150 properties: 37151 block: 37152 type: string 37153 format: uint64 37154 app: 37155 type: string 37156 format: uint64 37157 description: >- 37158 Consensus captures the consensus rules for processing a block 37159 in the blockchain, 37160 37161 including all blockchain data structures and the rules of the 37162 application's 37163 37164 state transition machine. 37165 chain_id: 37166 type: string 37167 height: 37168 type: string 37169 format: int64 37170 time: 37171 type: string 37172 format: date-time 37173 last_block_id: 37174 type: object 37175 properties: 37176 hash: 37177 type: string 37178 format: byte 37179 part_set_header: 37180 type: object 37181 properties: 37182 total: 37183 type: integer 37184 format: int64 37185 hash: 37186 type: string 37187 format: byte 37188 title: PartsetHeader 37189 title: BlockID 37190 last_commit_hash: 37191 type: string 37192 format: byte 37193 title: hashes of block data 37194 data_hash: 37195 type: string 37196 format: byte 37197 validators_hash: 37198 type: string 37199 format: byte 37200 title: hashes from the app output from the prev block 37201 next_validators_hash: 37202 type: string 37203 format: byte 37204 consensus_hash: 37205 type: string 37206 format: byte 37207 app_hash: 37208 type: string 37209 format: byte 37210 last_results_hash: 37211 type: string 37212 format: byte 37213 evidence_hash: 37214 type: string 37215 format: byte 37216 title: consensus info 37217 proposer_address: 37218 type: string 37219 format: byte 37220 description: Header defines the structure of a Tendermint block header. 37221 data: 37222 type: object 37223 properties: 37224 txs: 37225 type: array 37226 items: 37227 type: string 37228 format: byte 37229 description: >- 37230 Txs that will be applied by state @ block.Height+1. 37231 37232 NOTE: not all txs here are valid. We're just agreeing on the 37233 order first. 37234 37235 This means that block.AppHash does not include these txs. 37236 title: Data contains the set of transactions included in the block 37237 evidence: 37238 type: object 37239 properties: 37240 evidence: 37241 type: array 37242 items: 37243 type: object 37244 properties: 37245 duplicate_vote_evidence: 37246 type: object 37247 properties: 37248 vote_a: 37249 type: object 37250 properties: 37251 type: 37252 type: string 37253 enum: 37254 - SIGNED_MSG_TYPE_UNKNOWN 37255 - SIGNED_MSG_TYPE_PREVOTE 37256 - SIGNED_MSG_TYPE_PRECOMMIT 37257 - SIGNED_MSG_TYPE_PROPOSAL 37258 default: SIGNED_MSG_TYPE_UNKNOWN 37259 description: >- 37260 SignedMsgType is a type of signed message in the 37261 consensus. 37262 37263 - SIGNED_MSG_TYPE_PREVOTE: Votes 37264 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 37265 height: 37266 type: string 37267 format: int64 37268 round: 37269 type: integer 37270 format: int32 37271 block_id: 37272 type: object 37273 properties: 37274 hash: 37275 type: string 37276 format: byte 37277 part_set_header: 37278 type: object 37279 properties: 37280 total: 37281 type: integer 37282 format: int64 37283 hash: 37284 type: string 37285 format: byte 37286 title: PartsetHeader 37287 title: BlockID 37288 timestamp: 37289 type: string 37290 format: date-time 37291 validator_address: 37292 type: string 37293 format: byte 37294 validator_index: 37295 type: integer 37296 format: int32 37297 signature: 37298 type: string 37299 format: byte 37300 description: >- 37301 Vote represents a prevote, precommit, or commit vote 37302 from validators for 37303 37304 consensus. 37305 vote_b: 37306 type: object 37307 properties: 37308 type: 37309 type: string 37310 enum: 37311 - SIGNED_MSG_TYPE_UNKNOWN 37312 - SIGNED_MSG_TYPE_PREVOTE 37313 - SIGNED_MSG_TYPE_PRECOMMIT 37314 - SIGNED_MSG_TYPE_PROPOSAL 37315 default: SIGNED_MSG_TYPE_UNKNOWN 37316 description: >- 37317 SignedMsgType is a type of signed message in the 37318 consensus. 37319 37320 - SIGNED_MSG_TYPE_PREVOTE: Votes 37321 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 37322 height: 37323 type: string 37324 format: int64 37325 round: 37326 type: integer 37327 format: int32 37328 block_id: 37329 type: object 37330 properties: 37331 hash: 37332 type: string 37333 format: byte 37334 part_set_header: 37335 type: object 37336 properties: 37337 total: 37338 type: integer 37339 format: int64 37340 hash: 37341 type: string 37342 format: byte 37343 title: PartsetHeader 37344 title: BlockID 37345 timestamp: 37346 type: string 37347 format: date-time 37348 validator_address: 37349 type: string 37350 format: byte 37351 validator_index: 37352 type: integer 37353 format: int32 37354 signature: 37355 type: string 37356 format: byte 37357 description: >- 37358 Vote represents a prevote, precommit, or commit vote 37359 from validators for 37360 37361 consensus. 37362 total_voting_power: 37363 type: string 37364 format: int64 37365 validator_power: 37366 type: string 37367 format: int64 37368 timestamp: 37369 type: string 37370 format: date-time 37371 description: >- 37372 DuplicateVoteEvidence contains evidence of a validator 37373 signed two conflicting votes. 37374 light_client_attack_evidence: 37375 type: object 37376 properties: 37377 conflicting_block: 37378 type: object 37379 properties: 37380 signed_header: 37381 type: object 37382 properties: 37383 header: 37384 type: object 37385 properties: 37386 version: 37387 title: basic block info 37388 type: object 37389 properties: 37390 block: 37391 type: string 37392 format: uint64 37393 app: 37394 type: string 37395 format: uint64 37396 description: >- 37397 Consensus captures the consensus rules 37398 for processing a block in the 37399 blockchain, 37400 37401 including all blockchain data structures 37402 and the rules of the application's 37403 37404 state transition machine. 37405 chain_id: 37406 type: string 37407 height: 37408 type: string 37409 format: int64 37410 time: 37411 type: string 37412 format: date-time 37413 last_block_id: 37414 type: object 37415 properties: 37416 hash: 37417 type: string 37418 format: byte 37419 part_set_header: 37420 type: object 37421 properties: 37422 total: 37423 type: integer 37424 format: int64 37425 hash: 37426 type: string 37427 format: byte 37428 title: PartsetHeader 37429 title: BlockID 37430 last_commit_hash: 37431 type: string 37432 format: byte 37433 title: hashes of block data 37434 data_hash: 37435 type: string 37436 format: byte 37437 validators_hash: 37438 type: string 37439 format: byte 37440 title: >- 37441 hashes from the app output from the prev 37442 block 37443 next_validators_hash: 37444 type: string 37445 format: byte 37446 consensus_hash: 37447 type: string 37448 format: byte 37449 app_hash: 37450 type: string 37451 format: byte 37452 last_results_hash: 37453 type: string 37454 format: byte 37455 evidence_hash: 37456 type: string 37457 format: byte 37458 title: consensus info 37459 proposer_address: 37460 type: string 37461 format: byte 37462 description: >- 37463 Header defines the structure of a Tendermint 37464 block header. 37465 commit: 37466 type: object 37467 properties: 37468 height: 37469 type: string 37470 format: int64 37471 round: 37472 type: integer 37473 format: int32 37474 block_id: 37475 type: object 37476 properties: 37477 hash: 37478 type: string 37479 format: byte 37480 part_set_header: 37481 type: object 37482 properties: 37483 total: 37484 type: integer 37485 format: int64 37486 hash: 37487 type: string 37488 format: byte 37489 title: PartsetHeader 37490 title: BlockID 37491 signatures: 37492 type: array 37493 items: 37494 type: object 37495 properties: 37496 block_id_flag: 37497 type: string 37498 enum: 37499 - BLOCK_ID_FLAG_UNKNOWN 37500 - BLOCK_ID_FLAG_ABSENT 37501 - BLOCK_ID_FLAG_COMMIT 37502 - BLOCK_ID_FLAG_NIL 37503 default: BLOCK_ID_FLAG_UNKNOWN 37504 title: >- 37505 BlockIdFlag indicates which BlcokID the 37506 signature is for 37507 validator_address: 37508 type: string 37509 format: byte 37510 timestamp: 37511 type: string 37512 format: date-time 37513 signature: 37514 type: string 37515 format: byte 37516 description: >- 37517 CommitSig is a part of the Vote included 37518 in a Commit. 37519 description: >- 37520 Commit contains the evidence that a block 37521 was committed by a set of validators. 37522 validator_set: 37523 type: object 37524 properties: 37525 validators: 37526 type: array 37527 items: 37528 type: object 37529 properties: 37530 address: 37531 type: string 37532 format: byte 37533 pub_key: 37534 type: object 37535 properties: 37536 ed25519: 37537 type: string 37538 format: byte 37539 secp256k1: 37540 type: string 37541 format: byte 37542 title: >- 37543 PublicKey defines the keys available for 37544 use with Tendermint Validators 37545 voting_power: 37546 type: string 37547 format: int64 37548 proposer_priority: 37549 type: string 37550 format: int64 37551 proposer: 37552 type: object 37553 properties: 37554 address: 37555 type: string 37556 format: byte 37557 pub_key: 37558 type: object 37559 properties: 37560 ed25519: 37561 type: string 37562 format: byte 37563 secp256k1: 37564 type: string 37565 format: byte 37566 title: >- 37567 PublicKey defines the keys available for 37568 use with Tendermint Validators 37569 voting_power: 37570 type: string 37571 format: int64 37572 proposer_priority: 37573 type: string 37574 format: int64 37575 total_voting_power: 37576 type: string 37577 format: int64 37578 common_height: 37579 type: string 37580 format: int64 37581 byzantine_validators: 37582 type: array 37583 items: 37584 type: object 37585 properties: 37586 address: 37587 type: string 37588 format: byte 37589 pub_key: 37590 type: object 37591 properties: 37592 ed25519: 37593 type: string 37594 format: byte 37595 secp256k1: 37596 type: string 37597 format: byte 37598 title: >- 37599 PublicKey defines the keys available for use 37600 with Tendermint Validators 37601 voting_power: 37602 type: string 37603 format: int64 37604 proposer_priority: 37605 type: string 37606 format: int64 37607 total_voting_power: 37608 type: string 37609 format: int64 37610 timestamp: 37611 type: string 37612 format: date-time 37613 description: >- 37614 LightClientAttackEvidence contains evidence of a set of 37615 validators attempting to mislead a light client. 37616 last_commit: 37617 type: object 37618 properties: 37619 height: 37620 type: string 37621 format: int64 37622 round: 37623 type: integer 37624 format: int32 37625 block_id: 37626 type: object 37627 properties: 37628 hash: 37629 type: string 37630 format: byte 37631 part_set_header: 37632 type: object 37633 properties: 37634 total: 37635 type: integer 37636 format: int64 37637 hash: 37638 type: string 37639 format: byte 37640 title: PartsetHeader 37641 title: BlockID 37642 signatures: 37643 type: array 37644 items: 37645 type: object 37646 properties: 37647 block_id_flag: 37648 type: string 37649 enum: 37650 - BLOCK_ID_FLAG_UNKNOWN 37651 - BLOCK_ID_FLAG_ABSENT 37652 - BLOCK_ID_FLAG_COMMIT 37653 - BLOCK_ID_FLAG_NIL 37654 default: BLOCK_ID_FLAG_UNKNOWN 37655 title: BlockIdFlag indicates which BlcokID the signature is for 37656 validator_address: 37657 type: string 37658 format: byte 37659 timestamp: 37660 type: string 37661 format: date-time 37662 signature: 37663 type: string 37664 format: byte 37665 description: CommitSig is a part of the Vote included in a Commit. 37666 description: >- 37667 Commit contains the evidence that a block was committed by a set 37668 of validators. 37669 entropy: 37670 title: '*** Ostracon Extended Fields ***' 37671 type: object 37672 properties: 37673 round: 37674 type: integer 37675 format: int32 37676 proof: 37677 type: string 37678 format: byte 37679 description: >- 37680 GetBlockByHashResponse is the response type for the Query/GetBlockByHash 37681 RPC method. 37682 lbm.base.ostracon.v1.GetBlockByHeightResponse: 37683 type: object 37684 properties: 37685 block_id: 37686 type: object 37687 properties: 37688 hash: 37689 type: string 37690 format: byte 37691 part_set_header: 37692 type: object 37693 properties: 37694 total: 37695 type: integer 37696 format: int64 37697 hash: 37698 type: string 37699 format: byte 37700 title: PartsetHeader 37701 title: BlockID 37702 block: 37703 type: object 37704 properties: 37705 header: 37706 type: object 37707 properties: 37708 version: 37709 title: basic block info 37710 type: object 37711 properties: 37712 block: 37713 type: string 37714 format: uint64 37715 app: 37716 type: string 37717 format: uint64 37718 description: >- 37719 Consensus captures the consensus rules for processing a block 37720 in the blockchain, 37721 37722 including all blockchain data structures and the rules of the 37723 application's 37724 37725 state transition machine. 37726 chain_id: 37727 type: string 37728 height: 37729 type: string 37730 format: int64 37731 time: 37732 type: string 37733 format: date-time 37734 last_block_id: 37735 type: object 37736 properties: 37737 hash: 37738 type: string 37739 format: byte 37740 part_set_header: 37741 type: object 37742 properties: 37743 total: 37744 type: integer 37745 format: int64 37746 hash: 37747 type: string 37748 format: byte 37749 title: PartsetHeader 37750 title: BlockID 37751 last_commit_hash: 37752 type: string 37753 format: byte 37754 title: hashes of block data 37755 data_hash: 37756 type: string 37757 format: byte 37758 validators_hash: 37759 type: string 37760 format: byte 37761 title: hashes from the app output from the prev block 37762 next_validators_hash: 37763 type: string 37764 format: byte 37765 consensus_hash: 37766 type: string 37767 format: byte 37768 app_hash: 37769 type: string 37770 format: byte 37771 last_results_hash: 37772 type: string 37773 format: byte 37774 evidence_hash: 37775 type: string 37776 format: byte 37777 title: consensus info 37778 proposer_address: 37779 type: string 37780 format: byte 37781 description: Header defines the structure of a Tendermint block header. 37782 data: 37783 type: object 37784 properties: 37785 txs: 37786 type: array 37787 items: 37788 type: string 37789 format: byte 37790 description: >- 37791 Txs that will be applied by state @ block.Height+1. 37792 37793 NOTE: not all txs here are valid. We're just agreeing on the 37794 order first. 37795 37796 This means that block.AppHash does not include these txs. 37797 title: Data contains the set of transactions included in the block 37798 evidence: 37799 type: object 37800 properties: 37801 evidence: 37802 type: array 37803 items: 37804 type: object 37805 properties: 37806 duplicate_vote_evidence: 37807 type: object 37808 properties: 37809 vote_a: 37810 type: object 37811 properties: 37812 type: 37813 type: string 37814 enum: 37815 - SIGNED_MSG_TYPE_UNKNOWN 37816 - SIGNED_MSG_TYPE_PREVOTE 37817 - SIGNED_MSG_TYPE_PRECOMMIT 37818 - SIGNED_MSG_TYPE_PROPOSAL 37819 default: SIGNED_MSG_TYPE_UNKNOWN 37820 description: >- 37821 SignedMsgType is a type of signed message in the 37822 consensus. 37823 37824 - SIGNED_MSG_TYPE_PREVOTE: Votes 37825 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 37826 height: 37827 type: string 37828 format: int64 37829 round: 37830 type: integer 37831 format: int32 37832 block_id: 37833 type: object 37834 properties: 37835 hash: 37836 type: string 37837 format: byte 37838 part_set_header: 37839 type: object 37840 properties: 37841 total: 37842 type: integer 37843 format: int64 37844 hash: 37845 type: string 37846 format: byte 37847 title: PartsetHeader 37848 title: BlockID 37849 timestamp: 37850 type: string 37851 format: date-time 37852 validator_address: 37853 type: string 37854 format: byte 37855 validator_index: 37856 type: integer 37857 format: int32 37858 signature: 37859 type: string 37860 format: byte 37861 description: >- 37862 Vote represents a prevote, precommit, or commit vote 37863 from validators for 37864 37865 consensus. 37866 vote_b: 37867 type: object 37868 properties: 37869 type: 37870 type: string 37871 enum: 37872 - SIGNED_MSG_TYPE_UNKNOWN 37873 - SIGNED_MSG_TYPE_PREVOTE 37874 - SIGNED_MSG_TYPE_PRECOMMIT 37875 - SIGNED_MSG_TYPE_PROPOSAL 37876 default: SIGNED_MSG_TYPE_UNKNOWN 37877 description: >- 37878 SignedMsgType is a type of signed message in the 37879 consensus. 37880 37881 - SIGNED_MSG_TYPE_PREVOTE: Votes 37882 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 37883 height: 37884 type: string 37885 format: int64 37886 round: 37887 type: integer 37888 format: int32 37889 block_id: 37890 type: object 37891 properties: 37892 hash: 37893 type: string 37894 format: byte 37895 part_set_header: 37896 type: object 37897 properties: 37898 total: 37899 type: integer 37900 format: int64 37901 hash: 37902 type: string 37903 format: byte 37904 title: PartsetHeader 37905 title: BlockID 37906 timestamp: 37907 type: string 37908 format: date-time 37909 validator_address: 37910 type: string 37911 format: byte 37912 validator_index: 37913 type: integer 37914 format: int32 37915 signature: 37916 type: string 37917 format: byte 37918 description: >- 37919 Vote represents a prevote, precommit, or commit vote 37920 from validators for 37921 37922 consensus. 37923 total_voting_power: 37924 type: string 37925 format: int64 37926 validator_power: 37927 type: string 37928 format: int64 37929 timestamp: 37930 type: string 37931 format: date-time 37932 description: >- 37933 DuplicateVoteEvidence contains evidence of a validator 37934 signed two conflicting votes. 37935 light_client_attack_evidence: 37936 type: object 37937 properties: 37938 conflicting_block: 37939 type: object 37940 properties: 37941 signed_header: 37942 type: object 37943 properties: 37944 header: 37945 type: object 37946 properties: 37947 version: 37948 title: basic block info 37949 type: object 37950 properties: 37951 block: 37952 type: string 37953 format: uint64 37954 app: 37955 type: string 37956 format: uint64 37957 description: >- 37958 Consensus captures the consensus rules 37959 for processing a block in the 37960 blockchain, 37961 37962 including all blockchain data structures 37963 and the rules of the application's 37964 37965 state transition machine. 37966 chain_id: 37967 type: string 37968 height: 37969 type: string 37970 format: int64 37971 time: 37972 type: string 37973 format: date-time 37974 last_block_id: 37975 type: object 37976 properties: 37977 hash: 37978 type: string 37979 format: byte 37980 part_set_header: 37981 type: object 37982 properties: 37983 total: 37984 type: integer 37985 format: int64 37986 hash: 37987 type: string 37988 format: byte 37989 title: PartsetHeader 37990 title: BlockID 37991 last_commit_hash: 37992 type: string 37993 format: byte 37994 title: hashes of block data 37995 data_hash: 37996 type: string 37997 format: byte 37998 validators_hash: 37999 type: string 38000 format: byte 38001 title: >- 38002 hashes from the app output from the prev 38003 block 38004 next_validators_hash: 38005 type: string 38006 format: byte 38007 consensus_hash: 38008 type: string 38009 format: byte 38010 app_hash: 38011 type: string 38012 format: byte 38013 last_results_hash: 38014 type: string 38015 format: byte 38016 evidence_hash: 38017 type: string 38018 format: byte 38019 title: consensus info 38020 proposer_address: 38021 type: string 38022 format: byte 38023 description: >- 38024 Header defines the structure of a Tendermint 38025 block header. 38026 commit: 38027 type: object 38028 properties: 38029 height: 38030 type: string 38031 format: int64 38032 round: 38033 type: integer 38034 format: int32 38035 block_id: 38036 type: object 38037 properties: 38038 hash: 38039 type: string 38040 format: byte 38041 part_set_header: 38042 type: object 38043 properties: 38044 total: 38045 type: integer 38046 format: int64 38047 hash: 38048 type: string 38049 format: byte 38050 title: PartsetHeader 38051 title: BlockID 38052 signatures: 38053 type: array 38054 items: 38055 type: object 38056 properties: 38057 block_id_flag: 38058 type: string 38059 enum: 38060 - BLOCK_ID_FLAG_UNKNOWN 38061 - BLOCK_ID_FLAG_ABSENT 38062 - BLOCK_ID_FLAG_COMMIT 38063 - BLOCK_ID_FLAG_NIL 38064 default: BLOCK_ID_FLAG_UNKNOWN 38065 title: >- 38066 BlockIdFlag indicates which BlcokID the 38067 signature is for 38068 validator_address: 38069 type: string 38070 format: byte 38071 timestamp: 38072 type: string 38073 format: date-time 38074 signature: 38075 type: string 38076 format: byte 38077 description: >- 38078 CommitSig is a part of the Vote included 38079 in a Commit. 38080 description: >- 38081 Commit contains the evidence that a block 38082 was committed by a set of validators. 38083 validator_set: 38084 type: object 38085 properties: 38086 validators: 38087 type: array 38088 items: 38089 type: object 38090 properties: 38091 address: 38092 type: string 38093 format: byte 38094 pub_key: 38095 type: object 38096 properties: 38097 ed25519: 38098 type: string 38099 format: byte 38100 secp256k1: 38101 type: string 38102 format: byte 38103 title: >- 38104 PublicKey defines the keys available for 38105 use with Tendermint Validators 38106 voting_power: 38107 type: string 38108 format: int64 38109 proposer_priority: 38110 type: string 38111 format: int64 38112 proposer: 38113 type: object 38114 properties: 38115 address: 38116 type: string 38117 format: byte 38118 pub_key: 38119 type: object 38120 properties: 38121 ed25519: 38122 type: string 38123 format: byte 38124 secp256k1: 38125 type: string 38126 format: byte 38127 title: >- 38128 PublicKey defines the keys available for 38129 use with Tendermint Validators 38130 voting_power: 38131 type: string 38132 format: int64 38133 proposer_priority: 38134 type: string 38135 format: int64 38136 total_voting_power: 38137 type: string 38138 format: int64 38139 common_height: 38140 type: string 38141 format: int64 38142 byzantine_validators: 38143 type: array 38144 items: 38145 type: object 38146 properties: 38147 address: 38148 type: string 38149 format: byte 38150 pub_key: 38151 type: object 38152 properties: 38153 ed25519: 38154 type: string 38155 format: byte 38156 secp256k1: 38157 type: string 38158 format: byte 38159 title: >- 38160 PublicKey defines the keys available for use 38161 with Tendermint Validators 38162 voting_power: 38163 type: string 38164 format: int64 38165 proposer_priority: 38166 type: string 38167 format: int64 38168 total_voting_power: 38169 type: string 38170 format: int64 38171 timestamp: 38172 type: string 38173 format: date-time 38174 description: >- 38175 LightClientAttackEvidence contains evidence of a set of 38176 validators attempting to mislead a light client. 38177 last_commit: 38178 type: object 38179 properties: 38180 height: 38181 type: string 38182 format: int64 38183 round: 38184 type: integer 38185 format: int32 38186 block_id: 38187 type: object 38188 properties: 38189 hash: 38190 type: string 38191 format: byte 38192 part_set_header: 38193 type: object 38194 properties: 38195 total: 38196 type: integer 38197 format: int64 38198 hash: 38199 type: string 38200 format: byte 38201 title: PartsetHeader 38202 title: BlockID 38203 signatures: 38204 type: array 38205 items: 38206 type: object 38207 properties: 38208 block_id_flag: 38209 type: string 38210 enum: 38211 - BLOCK_ID_FLAG_UNKNOWN 38212 - BLOCK_ID_FLAG_ABSENT 38213 - BLOCK_ID_FLAG_COMMIT 38214 - BLOCK_ID_FLAG_NIL 38215 default: BLOCK_ID_FLAG_UNKNOWN 38216 title: BlockIdFlag indicates which BlcokID the signature is for 38217 validator_address: 38218 type: string 38219 format: byte 38220 timestamp: 38221 type: string 38222 format: date-time 38223 signature: 38224 type: string 38225 format: byte 38226 description: CommitSig is a part of the Vote included in a Commit. 38227 description: >- 38228 Commit contains the evidence that a block was committed by a set 38229 of validators. 38230 entropy: 38231 title: '*** Ostracon Extended Fields ***' 38232 type: object 38233 properties: 38234 round: 38235 type: integer 38236 format: int32 38237 proof: 38238 type: string 38239 format: byte 38240 description: >- 38241 GetBlockByHeightResponse is the response type for the 38242 Query/GetBlockByHeight RPC method. 38243 lbm.base.ostracon.v1.GetBlockResultsByHeightResponse: 38244 type: object 38245 properties: 38246 height: 38247 type: string 38248 format: int64 38249 txs_results: 38250 type: array 38251 items: 38252 type: object 38253 properties: 38254 code: 38255 type: integer 38256 format: int64 38257 data: 38258 type: string 38259 format: byte 38260 log: 38261 type: string 38262 info: 38263 type: string 38264 gas_wanted: 38265 type: string 38266 format: int64 38267 gas_used: 38268 type: string 38269 format: int64 38270 events: 38271 type: array 38272 items: 38273 type: object 38274 properties: 38275 type: 38276 type: string 38277 attributes: 38278 type: array 38279 items: 38280 type: object 38281 properties: 38282 key: 38283 type: string 38284 format: byte 38285 value: 38286 type: string 38287 format: byte 38288 index: 38289 type: boolean 38290 format: boolean 38291 description: >- 38292 EventAttribute is a single key-value pair, associated 38293 with an event. 38294 description: >- 38295 Event allows application developers to attach additional 38296 information to 38297 38298 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 38299 ResponseDeliverTx. 38300 38301 Later, transactions may be queried using these events. 38302 codespace: 38303 type: string 38304 res_begin_block: 38305 type: object 38306 properties: 38307 events: 38308 type: array 38309 items: 38310 type: object 38311 properties: 38312 type: 38313 type: string 38314 attributes: 38315 type: array 38316 items: 38317 type: object 38318 properties: 38319 key: 38320 type: string 38321 format: byte 38322 value: 38323 type: string 38324 format: byte 38325 index: 38326 type: boolean 38327 format: boolean 38328 description: >- 38329 EventAttribute is a single key-value pair, associated with 38330 an event. 38331 description: >- 38332 Event allows application developers to attach additional 38333 information to 38334 38335 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 38336 ResponseDeliverTx. 38337 38338 Later, transactions may be queried using these events. 38339 res_end_block: 38340 type: object 38341 properties: 38342 validator_updates: 38343 type: array 38344 items: 38345 type: object 38346 properties: 38347 pub_key: 38348 type: object 38349 properties: 38350 ed25519: 38351 type: string 38352 format: byte 38353 secp256k1: 38354 type: string 38355 format: byte 38356 title: >- 38357 PublicKey defines the keys available for use with Tendermint 38358 Validators 38359 power: 38360 type: string 38361 format: int64 38362 title: ValidatorUpdate 38363 consensus_param_updates: 38364 type: object 38365 properties: 38366 block: 38367 type: object 38368 properties: 38369 max_bytes: 38370 type: string 38371 format: int64 38372 title: 'Note: must be greater than 0' 38373 max_gas: 38374 type: string 38375 format: int64 38376 title: 'Note: must be greater or equal to -1' 38377 description: BlockParams contains limits on the block size. 38378 evidence: 38379 type: object 38380 properties: 38381 max_age_num_blocks: 38382 type: string 38383 format: int64 38384 description: >- 38385 Max age of evidence, in blocks. 38386 38387 38388 The basic formula for calculating this is: MaxAgeDuration 38389 / {average block 38390 38391 time}. 38392 max_age_duration: 38393 type: string 38394 description: >- 38395 Max age of evidence, in time. 38396 38397 38398 It should correspond with an app's "unbonding period" or 38399 other similar 38400 38401 mechanism for handling [Nothing-At-Stake 38402 38403 attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). 38404 max_bytes: 38405 type: string 38406 format: int64 38407 title: >- 38408 This sets the maximum size of total evidence in bytes that 38409 can be committed in a single block. 38410 38411 and should fall comfortably under the max block bytes. 38412 38413 Default is 1048576 or 1MB 38414 description: >- 38415 EvidenceParams determine how we handle evidence of 38416 malfeasance. 38417 validator: 38418 type: object 38419 properties: 38420 pub_key_types: 38421 type: array 38422 items: 38423 type: string 38424 description: >- 38425 ValidatorParams restrict the public key types validators can 38426 use. 38427 38428 NOTE: uses ABCI pubkey naming, not Amino names. 38429 version: 38430 type: object 38431 properties: 38432 app_version: 38433 type: string 38434 format: uint64 38435 description: VersionParams contains the ABCI application version. 38436 title: |- 38437 ConsensusParams contains all consensus-relevant parameters 38438 that can be adjusted by the abci app 38439 events: 38440 type: array 38441 items: 38442 type: object 38443 properties: 38444 type: 38445 type: string 38446 attributes: 38447 type: array 38448 items: 38449 type: object 38450 properties: 38451 key: 38452 type: string 38453 format: byte 38454 value: 38455 type: string 38456 format: byte 38457 index: 38458 type: boolean 38459 format: boolean 38460 description: >- 38461 EventAttribute is a single key-value pair, associated with 38462 an event. 38463 description: >- 38464 Event allows application developers to attach additional 38465 information to 38466 38467 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 38468 ResponseDeliverTx. 38469 38470 Later, transactions may be queried using these events. 38471 description: >- 38472 GetBlockResultsByHeightResponse is the response type for the 38473 Query/GetBlockResultsByHeight RPC method. 38474 lbm.base.ostracon.v1.GetLatestBlockResponse: 38475 type: object 38476 properties: 38477 block_id: 38478 type: object 38479 properties: 38480 hash: 38481 type: string 38482 format: byte 38483 part_set_header: 38484 type: object 38485 properties: 38486 total: 38487 type: integer 38488 format: int64 38489 hash: 38490 type: string 38491 format: byte 38492 title: PartsetHeader 38493 title: BlockID 38494 block: 38495 type: object 38496 properties: 38497 header: 38498 type: object 38499 properties: 38500 version: 38501 title: basic block info 38502 type: object 38503 properties: 38504 block: 38505 type: string 38506 format: uint64 38507 app: 38508 type: string 38509 format: uint64 38510 description: >- 38511 Consensus captures the consensus rules for processing a block 38512 in the blockchain, 38513 38514 including all blockchain data structures and the rules of the 38515 application's 38516 38517 state transition machine. 38518 chain_id: 38519 type: string 38520 height: 38521 type: string 38522 format: int64 38523 time: 38524 type: string 38525 format: date-time 38526 last_block_id: 38527 type: object 38528 properties: 38529 hash: 38530 type: string 38531 format: byte 38532 part_set_header: 38533 type: object 38534 properties: 38535 total: 38536 type: integer 38537 format: int64 38538 hash: 38539 type: string 38540 format: byte 38541 title: PartsetHeader 38542 title: BlockID 38543 last_commit_hash: 38544 type: string 38545 format: byte 38546 title: hashes of block data 38547 data_hash: 38548 type: string 38549 format: byte 38550 validators_hash: 38551 type: string 38552 format: byte 38553 title: hashes from the app output from the prev block 38554 next_validators_hash: 38555 type: string 38556 format: byte 38557 consensus_hash: 38558 type: string 38559 format: byte 38560 app_hash: 38561 type: string 38562 format: byte 38563 last_results_hash: 38564 type: string 38565 format: byte 38566 evidence_hash: 38567 type: string 38568 format: byte 38569 title: consensus info 38570 proposer_address: 38571 type: string 38572 format: byte 38573 description: Header defines the structure of a Tendermint block header. 38574 data: 38575 type: object 38576 properties: 38577 txs: 38578 type: array 38579 items: 38580 type: string 38581 format: byte 38582 description: >- 38583 Txs that will be applied by state @ block.Height+1. 38584 38585 NOTE: not all txs here are valid. We're just agreeing on the 38586 order first. 38587 38588 This means that block.AppHash does not include these txs. 38589 title: Data contains the set of transactions included in the block 38590 evidence: 38591 type: object 38592 properties: 38593 evidence: 38594 type: array 38595 items: 38596 type: object 38597 properties: 38598 duplicate_vote_evidence: 38599 type: object 38600 properties: 38601 vote_a: 38602 type: object 38603 properties: 38604 type: 38605 type: string 38606 enum: 38607 - SIGNED_MSG_TYPE_UNKNOWN 38608 - SIGNED_MSG_TYPE_PREVOTE 38609 - SIGNED_MSG_TYPE_PRECOMMIT 38610 - SIGNED_MSG_TYPE_PROPOSAL 38611 default: SIGNED_MSG_TYPE_UNKNOWN 38612 description: >- 38613 SignedMsgType is a type of signed message in the 38614 consensus. 38615 38616 - SIGNED_MSG_TYPE_PREVOTE: Votes 38617 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 38618 height: 38619 type: string 38620 format: int64 38621 round: 38622 type: integer 38623 format: int32 38624 block_id: 38625 type: object 38626 properties: 38627 hash: 38628 type: string 38629 format: byte 38630 part_set_header: 38631 type: object 38632 properties: 38633 total: 38634 type: integer 38635 format: int64 38636 hash: 38637 type: string 38638 format: byte 38639 title: PartsetHeader 38640 title: BlockID 38641 timestamp: 38642 type: string 38643 format: date-time 38644 validator_address: 38645 type: string 38646 format: byte 38647 validator_index: 38648 type: integer 38649 format: int32 38650 signature: 38651 type: string 38652 format: byte 38653 description: >- 38654 Vote represents a prevote, precommit, or commit vote 38655 from validators for 38656 38657 consensus. 38658 vote_b: 38659 type: object 38660 properties: 38661 type: 38662 type: string 38663 enum: 38664 - SIGNED_MSG_TYPE_UNKNOWN 38665 - SIGNED_MSG_TYPE_PREVOTE 38666 - SIGNED_MSG_TYPE_PRECOMMIT 38667 - SIGNED_MSG_TYPE_PROPOSAL 38668 default: SIGNED_MSG_TYPE_UNKNOWN 38669 description: >- 38670 SignedMsgType is a type of signed message in the 38671 consensus. 38672 38673 - SIGNED_MSG_TYPE_PREVOTE: Votes 38674 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 38675 height: 38676 type: string 38677 format: int64 38678 round: 38679 type: integer 38680 format: int32 38681 block_id: 38682 type: object 38683 properties: 38684 hash: 38685 type: string 38686 format: byte 38687 part_set_header: 38688 type: object 38689 properties: 38690 total: 38691 type: integer 38692 format: int64 38693 hash: 38694 type: string 38695 format: byte 38696 title: PartsetHeader 38697 title: BlockID 38698 timestamp: 38699 type: string 38700 format: date-time 38701 validator_address: 38702 type: string 38703 format: byte 38704 validator_index: 38705 type: integer 38706 format: int32 38707 signature: 38708 type: string 38709 format: byte 38710 description: >- 38711 Vote represents a prevote, precommit, or commit vote 38712 from validators for 38713 38714 consensus. 38715 total_voting_power: 38716 type: string 38717 format: int64 38718 validator_power: 38719 type: string 38720 format: int64 38721 timestamp: 38722 type: string 38723 format: date-time 38724 description: >- 38725 DuplicateVoteEvidence contains evidence of a validator 38726 signed two conflicting votes. 38727 light_client_attack_evidence: 38728 type: object 38729 properties: 38730 conflicting_block: 38731 type: object 38732 properties: 38733 signed_header: 38734 type: object 38735 properties: 38736 header: 38737 type: object 38738 properties: 38739 version: 38740 title: basic block info 38741 type: object 38742 properties: 38743 block: 38744 type: string 38745 format: uint64 38746 app: 38747 type: string 38748 format: uint64 38749 description: >- 38750 Consensus captures the consensus rules 38751 for processing a block in the 38752 blockchain, 38753 38754 including all blockchain data structures 38755 and the rules of the application's 38756 38757 state transition machine. 38758 chain_id: 38759 type: string 38760 height: 38761 type: string 38762 format: int64 38763 time: 38764 type: string 38765 format: date-time 38766 last_block_id: 38767 type: object 38768 properties: 38769 hash: 38770 type: string 38771 format: byte 38772 part_set_header: 38773 type: object 38774 properties: 38775 total: 38776 type: integer 38777 format: int64 38778 hash: 38779 type: string 38780 format: byte 38781 title: PartsetHeader 38782 title: BlockID 38783 last_commit_hash: 38784 type: string 38785 format: byte 38786 title: hashes of block data 38787 data_hash: 38788 type: string 38789 format: byte 38790 validators_hash: 38791 type: string 38792 format: byte 38793 title: >- 38794 hashes from the app output from the prev 38795 block 38796 next_validators_hash: 38797 type: string 38798 format: byte 38799 consensus_hash: 38800 type: string 38801 format: byte 38802 app_hash: 38803 type: string 38804 format: byte 38805 last_results_hash: 38806 type: string 38807 format: byte 38808 evidence_hash: 38809 type: string 38810 format: byte 38811 title: consensus info 38812 proposer_address: 38813 type: string 38814 format: byte 38815 description: >- 38816 Header defines the structure of a Tendermint 38817 block header. 38818 commit: 38819 type: object 38820 properties: 38821 height: 38822 type: string 38823 format: int64 38824 round: 38825 type: integer 38826 format: int32 38827 block_id: 38828 type: object 38829 properties: 38830 hash: 38831 type: string 38832 format: byte 38833 part_set_header: 38834 type: object 38835 properties: 38836 total: 38837 type: integer 38838 format: int64 38839 hash: 38840 type: string 38841 format: byte 38842 title: PartsetHeader 38843 title: BlockID 38844 signatures: 38845 type: array 38846 items: 38847 type: object 38848 properties: 38849 block_id_flag: 38850 type: string 38851 enum: 38852 - BLOCK_ID_FLAG_UNKNOWN 38853 - BLOCK_ID_FLAG_ABSENT 38854 - BLOCK_ID_FLAG_COMMIT 38855 - BLOCK_ID_FLAG_NIL 38856 default: BLOCK_ID_FLAG_UNKNOWN 38857 title: >- 38858 BlockIdFlag indicates which BlcokID the 38859 signature is for 38860 validator_address: 38861 type: string 38862 format: byte 38863 timestamp: 38864 type: string 38865 format: date-time 38866 signature: 38867 type: string 38868 format: byte 38869 description: >- 38870 CommitSig is a part of the Vote included 38871 in a Commit. 38872 description: >- 38873 Commit contains the evidence that a block 38874 was committed by a set of validators. 38875 validator_set: 38876 type: object 38877 properties: 38878 validators: 38879 type: array 38880 items: 38881 type: object 38882 properties: 38883 address: 38884 type: string 38885 format: byte 38886 pub_key: 38887 type: object 38888 properties: 38889 ed25519: 38890 type: string 38891 format: byte 38892 secp256k1: 38893 type: string 38894 format: byte 38895 title: >- 38896 PublicKey defines the keys available for 38897 use with Tendermint Validators 38898 voting_power: 38899 type: string 38900 format: int64 38901 proposer_priority: 38902 type: string 38903 format: int64 38904 proposer: 38905 type: object 38906 properties: 38907 address: 38908 type: string 38909 format: byte 38910 pub_key: 38911 type: object 38912 properties: 38913 ed25519: 38914 type: string 38915 format: byte 38916 secp256k1: 38917 type: string 38918 format: byte 38919 title: >- 38920 PublicKey defines the keys available for 38921 use with Tendermint Validators 38922 voting_power: 38923 type: string 38924 format: int64 38925 proposer_priority: 38926 type: string 38927 format: int64 38928 total_voting_power: 38929 type: string 38930 format: int64 38931 common_height: 38932 type: string 38933 format: int64 38934 byzantine_validators: 38935 type: array 38936 items: 38937 type: object 38938 properties: 38939 address: 38940 type: string 38941 format: byte 38942 pub_key: 38943 type: object 38944 properties: 38945 ed25519: 38946 type: string 38947 format: byte 38948 secp256k1: 38949 type: string 38950 format: byte 38951 title: >- 38952 PublicKey defines the keys available for use 38953 with Tendermint Validators 38954 voting_power: 38955 type: string 38956 format: int64 38957 proposer_priority: 38958 type: string 38959 format: int64 38960 total_voting_power: 38961 type: string 38962 format: int64 38963 timestamp: 38964 type: string 38965 format: date-time 38966 description: >- 38967 LightClientAttackEvidence contains evidence of a set of 38968 validators attempting to mislead a light client. 38969 last_commit: 38970 type: object 38971 properties: 38972 height: 38973 type: string 38974 format: int64 38975 round: 38976 type: integer 38977 format: int32 38978 block_id: 38979 type: object 38980 properties: 38981 hash: 38982 type: string 38983 format: byte 38984 part_set_header: 38985 type: object 38986 properties: 38987 total: 38988 type: integer 38989 format: int64 38990 hash: 38991 type: string 38992 format: byte 38993 title: PartsetHeader 38994 title: BlockID 38995 signatures: 38996 type: array 38997 items: 38998 type: object 38999 properties: 39000 block_id_flag: 39001 type: string 39002 enum: 39003 - BLOCK_ID_FLAG_UNKNOWN 39004 - BLOCK_ID_FLAG_ABSENT 39005 - BLOCK_ID_FLAG_COMMIT 39006 - BLOCK_ID_FLAG_NIL 39007 default: BLOCK_ID_FLAG_UNKNOWN 39008 title: BlockIdFlag indicates which BlcokID the signature is for 39009 validator_address: 39010 type: string 39011 format: byte 39012 timestamp: 39013 type: string 39014 format: date-time 39015 signature: 39016 type: string 39017 format: byte 39018 description: CommitSig is a part of the Vote included in a Commit. 39019 description: >- 39020 Commit contains the evidence that a block was committed by a set 39021 of validators. 39022 entropy: 39023 title: '*** Ostracon Extended Fields ***' 39024 type: object 39025 properties: 39026 round: 39027 type: integer 39028 format: int32 39029 proof: 39030 type: string 39031 format: byte 39032 description: >- 39033 GetLatestBlockResponse is the response type for the Query/GetLatestBlock 39034 RPC method. 39035 lbm.base.ostracon.v1.GetLatestValidatorSetResponse: 39036 type: object 39037 properties: 39038 block_height: 39039 type: string 39040 format: int64 39041 validators: 39042 type: array 39043 items: 39044 type: object 39045 properties: 39046 address: 39047 type: string 39048 pub_key: 39049 type: object 39050 properties: 39051 type_url: 39052 type: string 39053 description: >- 39054 A URL/resource name that uniquely identifies the type of the 39055 serialized 39056 39057 protocol buffer message. This string must contain at least 39058 39059 one "/" character. The last segment of the URL's path must 39060 represent 39061 39062 the fully qualified name of the type (as in 39063 39064 `path/google.protobuf.Duration`). The name should be in a 39065 canonical form 39066 39067 (e.g., leading "." is not accepted). 39068 39069 39070 In practice, teams usually precompile into the binary all 39071 types that they 39072 39073 expect it to use in the context of Any. However, for URLs 39074 which use the 39075 39076 scheme `http`, `https`, or no scheme, one can optionally set 39077 up a type 39078 39079 server that maps type URLs to message definitions as 39080 follows: 39081 39082 39083 * If no scheme is provided, `https` is assumed. 39084 39085 * An HTTP GET on the URL must yield a 39086 [google.protobuf.Type][] 39087 value in binary format, or produce an error. 39088 * Applications are allowed to cache lookup results based on 39089 the 39090 URL, or have them precompiled into a binary to avoid any 39091 lookup. Therefore, binary compatibility needs to be preserved 39092 on changes to types. (Use versioned type names to manage 39093 breaking changes.) 39094 39095 Note: this functionality is not currently available in the 39096 official 39097 39098 protobuf release, and it is not used for type URLs beginning 39099 with 39100 39101 type.googleapis.com. 39102 39103 39104 Schemes other than `http`, `https` (or the empty scheme) 39105 might be 39106 39107 used with implementation specific semantics. 39108 value: 39109 type: string 39110 format: byte 39111 description: >- 39112 Must be a valid serialized protocol buffer of the above 39113 specified type. 39114 description: >- 39115 `Any` contains an arbitrary serialized protocol buffer message 39116 along with a 39117 39118 URL that describes the type of the serialized message. 39119 39120 39121 Protobuf library provides support to pack/unpack Any values in 39122 the form 39123 39124 of utility functions or additional generated methods of the Any 39125 type. 39126 39127 39128 Example 1: Pack and unpack a message in C++. 39129 39130 Foo foo = ...; 39131 Any any; 39132 any.PackFrom(foo); 39133 ... 39134 if (any.UnpackTo(&foo)) { 39135 ... 39136 } 39137 39138 Example 2: Pack and unpack a message in Java. 39139 39140 Foo foo = ...; 39141 Any any = Any.pack(foo); 39142 ... 39143 if (any.is(Foo.class)) { 39144 foo = any.unpack(Foo.class); 39145 } 39146 39147 Example 3: Pack and unpack a message in Python. 39148 39149 foo = Foo(...) 39150 any = Any() 39151 any.Pack(foo) 39152 ... 39153 if any.Is(Foo.DESCRIPTOR): 39154 any.Unpack(foo) 39155 ... 39156 39157 Example 4: Pack and unpack a message in Go 39158 39159 foo := &pb.Foo{...} 39160 any, err := ptypes.MarshalAny(foo) 39161 ... 39162 foo := &pb.Foo{} 39163 if err := ptypes.UnmarshalAny(any, foo); err != nil { 39164 ... 39165 } 39166 39167 The pack methods provided by protobuf library will by default 39168 use 39169 39170 'type.googleapis.com/full.type.name' as the type URL and the 39171 unpack 39172 39173 methods only use the fully qualified type name after the last 39174 '/' 39175 39176 in the type URL, for example "foo.bar.com/x/y.z" will yield type 39177 39178 name "y.z". 39179 39180 39181 39182 JSON 39183 39184 ==== 39185 39186 The JSON representation of an `Any` value uses the regular 39187 39188 representation of the deserialized, embedded message, with an 39189 39190 additional field `@type` which contains the type URL. Example: 39191 39192 package google.profile; 39193 message Person { 39194 string first_name = 1; 39195 string last_name = 2; 39196 } 39197 39198 { 39199 "@type": "type.googleapis.com/google.profile.Person", 39200 "firstName": <string>, 39201 "lastName": <string> 39202 } 39203 39204 If the embedded message type is well-known and has a custom JSON 39205 39206 representation, that representation will be embedded adding a 39207 field 39208 39209 `value` which holds the custom JSON in addition to the `@type` 39210 39211 field. Example (for message [google.protobuf.Duration][]): 39212 39213 { 39214 "@type": "type.googleapis.com/google.protobuf.Duration", 39215 "value": "1.212s" 39216 } 39217 voting_power: 39218 type: string 39219 format: int64 39220 proposer_priority: 39221 type: string 39222 format: int64 39223 description: Validator is the type for the validator-set. 39224 pagination: 39225 description: pagination defines an pagination for the response. 39226 type: object 39227 properties: 39228 next_key: 39229 type: string 39230 format: byte 39231 title: |- 39232 next_key is the key to be passed to PageRequest.key to 39233 query the next page most efficiently 39234 total: 39235 type: string 39236 format: uint64 39237 title: >- 39238 total is total number of results available if 39239 PageRequest.count_total 39240 39241 was set, its value is undefined otherwise 39242 description: >- 39243 GetLatestValidatorSetResponse is the response type for the 39244 Query/GetValidatorSetByHeight RPC method. 39245 lbm.base.ostracon.v1.GetNodeInfoResponse: 39246 type: object 39247 properties: 39248 default_node_info: 39249 type: object 39250 properties: 39251 protocol_version: 39252 type: object 39253 properties: 39254 p2p: 39255 type: string 39256 format: uint64 39257 block: 39258 type: string 39259 format: uint64 39260 app: 39261 type: string 39262 format: uint64 39263 default_node_id: 39264 type: string 39265 listen_addr: 39266 type: string 39267 network: 39268 type: string 39269 version: 39270 type: string 39271 channels: 39272 type: string 39273 format: byte 39274 moniker: 39275 type: string 39276 other: 39277 type: object 39278 properties: 39279 tx_index: 39280 type: string 39281 rpc_address: 39282 type: string 39283 application_version: 39284 type: object 39285 properties: 39286 name: 39287 type: string 39288 app_name: 39289 type: string 39290 version: 39291 type: string 39292 git_commit: 39293 type: string 39294 build_tags: 39295 type: string 39296 go_version: 39297 type: string 39298 build_deps: 39299 type: array 39300 items: 39301 type: object 39302 properties: 39303 path: 39304 type: string 39305 title: module path 39306 version: 39307 type: string 39308 title: module version 39309 sum: 39310 type: string 39311 title: checksum 39312 title: Module is the type for VersionInfo 39313 lbm_sdk_version: 39314 type: string 39315 title: 'Since: cosmos-sdk 0.43' 39316 description: VersionInfo is the type for the GetNodeInfoResponse message. 39317 description: >- 39318 GetNodeInfoResponse is the request type for the Query/GetNodeInfo RPC 39319 method. 39320 lbm.base.ostracon.v1.GetSyncingResponse: 39321 type: object 39322 properties: 39323 syncing: 39324 type: boolean 39325 format: boolean 39326 description: >- 39327 GetSyncingResponse is the response type for the Query/GetSyncing RPC 39328 method. 39329 lbm.base.ostracon.v1.GetValidatorSetByHeightResponse: 39330 type: object 39331 properties: 39332 block_height: 39333 type: string 39334 format: int64 39335 validators: 39336 type: array 39337 items: 39338 type: object 39339 properties: 39340 address: 39341 type: string 39342 pub_key: 39343 type: object 39344 properties: 39345 type_url: 39346 type: string 39347 description: >- 39348 A URL/resource name that uniquely identifies the type of the 39349 serialized 39350 39351 protocol buffer message. This string must contain at least 39352 39353 one "/" character. The last segment of the URL's path must 39354 represent 39355 39356 the fully qualified name of the type (as in 39357 39358 `path/google.protobuf.Duration`). The name should be in a 39359 canonical form 39360 39361 (e.g., leading "." is not accepted). 39362 39363 39364 In practice, teams usually precompile into the binary all 39365 types that they 39366 39367 expect it to use in the context of Any. However, for URLs 39368 which use the 39369 39370 scheme `http`, `https`, or no scheme, one can optionally set 39371 up a type 39372 39373 server that maps type URLs to message definitions as 39374 follows: 39375 39376 39377 * If no scheme is provided, `https` is assumed. 39378 39379 * An HTTP GET on the URL must yield a 39380 [google.protobuf.Type][] 39381 value in binary format, or produce an error. 39382 * Applications are allowed to cache lookup results based on 39383 the 39384 URL, or have them precompiled into a binary to avoid any 39385 lookup. Therefore, binary compatibility needs to be preserved 39386 on changes to types. (Use versioned type names to manage 39387 breaking changes.) 39388 39389 Note: this functionality is not currently available in the 39390 official 39391 39392 protobuf release, and it is not used for type URLs beginning 39393 with 39394 39395 type.googleapis.com. 39396 39397 39398 Schemes other than `http`, `https` (or the empty scheme) 39399 might be 39400 39401 used with implementation specific semantics. 39402 value: 39403 type: string 39404 format: byte 39405 description: >- 39406 Must be a valid serialized protocol buffer of the above 39407 specified type. 39408 description: >- 39409 `Any` contains an arbitrary serialized protocol buffer message 39410 along with a 39411 39412 URL that describes the type of the serialized message. 39413 39414 39415 Protobuf library provides support to pack/unpack Any values in 39416 the form 39417 39418 of utility functions or additional generated methods of the Any 39419 type. 39420 39421 39422 Example 1: Pack and unpack a message in C++. 39423 39424 Foo foo = ...; 39425 Any any; 39426 any.PackFrom(foo); 39427 ... 39428 if (any.UnpackTo(&foo)) { 39429 ... 39430 } 39431 39432 Example 2: Pack and unpack a message in Java. 39433 39434 Foo foo = ...; 39435 Any any = Any.pack(foo); 39436 ... 39437 if (any.is(Foo.class)) { 39438 foo = any.unpack(Foo.class); 39439 } 39440 39441 Example 3: Pack and unpack a message in Python. 39442 39443 foo = Foo(...) 39444 any = Any() 39445 any.Pack(foo) 39446 ... 39447 if any.Is(Foo.DESCRIPTOR): 39448 any.Unpack(foo) 39449 ... 39450 39451 Example 4: Pack and unpack a message in Go 39452 39453 foo := &pb.Foo{...} 39454 any, err := ptypes.MarshalAny(foo) 39455 ... 39456 foo := &pb.Foo{} 39457 if err := ptypes.UnmarshalAny(any, foo); err != nil { 39458 ... 39459 } 39460 39461 The pack methods provided by protobuf library will by default 39462 use 39463 39464 'type.googleapis.com/full.type.name' as the type URL and the 39465 unpack 39466 39467 methods only use the fully qualified type name after the last 39468 '/' 39469 39470 in the type URL, for example "foo.bar.com/x/y.z" will yield type 39471 39472 name "y.z". 39473 39474 39475 39476 JSON 39477 39478 ==== 39479 39480 The JSON representation of an `Any` value uses the regular 39481 39482 representation of the deserialized, embedded message, with an 39483 39484 additional field `@type` which contains the type URL. Example: 39485 39486 package google.profile; 39487 message Person { 39488 string first_name = 1; 39489 string last_name = 2; 39490 } 39491 39492 { 39493 "@type": "type.googleapis.com/google.profile.Person", 39494 "firstName": <string>, 39495 "lastName": <string> 39496 } 39497 39498 If the embedded message type is well-known and has a custom JSON 39499 39500 representation, that representation will be embedded adding a 39501 field 39502 39503 `value` which holds the custom JSON in addition to the `@type` 39504 39505 field. Example (for message [google.protobuf.Duration][]): 39506 39507 { 39508 "@type": "type.googleapis.com/google.protobuf.Duration", 39509 "value": "1.212s" 39510 } 39511 voting_power: 39512 type: string 39513 format: int64 39514 proposer_priority: 39515 type: string 39516 format: int64 39517 description: Validator is the type for the validator-set. 39518 pagination: 39519 description: pagination defines an pagination for the response. 39520 type: object 39521 properties: 39522 next_key: 39523 type: string 39524 format: byte 39525 title: |- 39526 next_key is the key to be passed to PageRequest.key to 39527 query the next page most efficiently 39528 total: 39529 type: string 39530 format: uint64 39531 title: >- 39532 total is total number of results available if 39533 PageRequest.count_total 39534 39535 was set, its value is undefined otherwise 39536 description: >- 39537 GetValidatorSetByHeightResponse is the response type for the 39538 Query/GetValidatorSetByHeight RPC method. 39539 lbm.base.ostracon.v1.Module: 39540 type: object 39541 properties: 39542 path: 39543 type: string 39544 title: module path 39545 version: 39546 type: string 39547 title: module version 39548 sum: 39549 type: string 39550 title: checksum 39551 title: Module is the type for VersionInfo 39552 lbm.base.ostracon.v1.Validator: 39553 type: object 39554 properties: 39555 address: 39556 type: string 39557 pub_key: 39558 type: object 39559 properties: 39560 type_url: 39561 type: string 39562 description: >- 39563 A URL/resource name that uniquely identifies the type of the 39564 serialized 39565 39566 protocol buffer message. This string must contain at least 39567 39568 one "/" character. The last segment of the URL's path must 39569 represent 39570 39571 the fully qualified name of the type (as in 39572 39573 `path/google.protobuf.Duration`). The name should be in a 39574 canonical form 39575 39576 (e.g., leading "." is not accepted). 39577 39578 39579 In practice, teams usually precompile into the binary all types 39580 that they 39581 39582 expect it to use in the context of Any. However, for URLs which 39583 use the 39584 39585 scheme `http`, `https`, or no scheme, one can optionally set up a 39586 type 39587 39588 server that maps type URLs to message definitions as follows: 39589 39590 39591 * If no scheme is provided, `https` is assumed. 39592 39593 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 39594 value in binary format, or produce an error. 39595 * Applications are allowed to cache lookup results based on the 39596 URL, or have them precompiled into a binary to avoid any 39597 lookup. Therefore, binary compatibility needs to be preserved 39598 on changes to types. (Use versioned type names to manage 39599 breaking changes.) 39600 39601 Note: this functionality is not currently available in the 39602 official 39603 39604 protobuf release, and it is not used for type URLs beginning with 39605 39606 type.googleapis.com. 39607 39608 39609 Schemes other than `http`, `https` (or the empty scheme) might be 39610 39611 used with implementation specific semantics. 39612 value: 39613 type: string 39614 format: byte 39615 description: >- 39616 Must be a valid serialized protocol buffer of the above specified 39617 type. 39618 description: >- 39619 `Any` contains an arbitrary serialized protocol buffer message along 39620 with a 39621 39622 URL that describes the type of the serialized message. 39623 39624 39625 Protobuf library provides support to pack/unpack Any values in the 39626 form 39627 39628 of utility functions or additional generated methods of the Any type. 39629 39630 39631 Example 1: Pack and unpack a message in C++. 39632 39633 Foo foo = ...; 39634 Any any; 39635 any.PackFrom(foo); 39636 ... 39637 if (any.UnpackTo(&foo)) { 39638 ... 39639 } 39640 39641 Example 2: Pack and unpack a message in Java. 39642 39643 Foo foo = ...; 39644 Any any = Any.pack(foo); 39645 ... 39646 if (any.is(Foo.class)) { 39647 foo = any.unpack(Foo.class); 39648 } 39649 39650 Example 3: Pack and unpack a message in Python. 39651 39652 foo = Foo(...) 39653 any = Any() 39654 any.Pack(foo) 39655 ... 39656 if any.Is(Foo.DESCRIPTOR): 39657 any.Unpack(foo) 39658 ... 39659 39660 Example 4: Pack and unpack a message in Go 39661 39662 foo := &pb.Foo{...} 39663 any, err := ptypes.MarshalAny(foo) 39664 ... 39665 foo := &pb.Foo{} 39666 if err := ptypes.UnmarshalAny(any, foo); err != nil { 39667 ... 39668 } 39669 39670 The pack methods provided by protobuf library will by default use 39671 39672 'type.googleapis.com/full.type.name' as the type URL and the unpack 39673 39674 methods only use the fully qualified type name after the last '/' 39675 39676 in the type URL, for example "foo.bar.com/x/y.z" will yield type 39677 39678 name "y.z". 39679 39680 39681 39682 JSON 39683 39684 ==== 39685 39686 The JSON representation of an `Any` value uses the regular 39687 39688 representation of the deserialized, embedded message, with an 39689 39690 additional field `@type` which contains the type URL. Example: 39691 39692 package google.profile; 39693 message Person { 39694 string first_name = 1; 39695 string last_name = 2; 39696 } 39697 39698 { 39699 "@type": "type.googleapis.com/google.profile.Person", 39700 "firstName": <string>, 39701 "lastName": <string> 39702 } 39703 39704 If the embedded message type is well-known and has a custom JSON 39705 39706 representation, that representation will be embedded adding a field 39707 39708 `value` which holds the custom JSON in addition to the `@type` 39709 39710 field. Example (for message [google.protobuf.Duration][]): 39711 39712 { 39713 "@type": "type.googleapis.com/google.protobuf.Duration", 39714 "value": "1.212s" 39715 } 39716 voting_power: 39717 type: string 39718 format: int64 39719 proposer_priority: 39720 type: string 39721 format: int64 39722 description: Validator is the type for the validator-set. 39723 lbm.base.ostracon.v1.VersionInfo: 39724 type: object 39725 properties: 39726 name: 39727 type: string 39728 app_name: 39729 type: string 39730 version: 39731 type: string 39732 git_commit: 39733 type: string 39734 build_tags: 39735 type: string 39736 go_version: 39737 type: string 39738 build_deps: 39739 type: array 39740 items: 39741 type: object 39742 properties: 39743 path: 39744 type: string 39745 title: module path 39746 version: 39747 type: string 39748 title: module version 39749 sum: 39750 type: string 39751 title: checksum 39752 title: Module is the type for VersionInfo 39753 lbm_sdk_version: 39754 type: string 39755 title: 'Since: cosmos-sdk 0.43' 39756 description: VersionInfo is the type for the GetNodeInfoResponse message. 39757 ostracon.types.Block: 39758 type: object 39759 properties: 39760 header: 39761 type: object 39762 properties: 39763 version: 39764 title: basic block info 39765 type: object 39766 properties: 39767 block: 39768 type: string 39769 format: uint64 39770 app: 39771 type: string 39772 format: uint64 39773 description: >- 39774 Consensus captures the consensus rules for processing a block in 39775 the blockchain, 39776 39777 including all blockchain data structures and the rules of the 39778 application's 39779 39780 state transition machine. 39781 chain_id: 39782 type: string 39783 height: 39784 type: string 39785 format: int64 39786 time: 39787 type: string 39788 format: date-time 39789 last_block_id: 39790 type: object 39791 properties: 39792 hash: 39793 type: string 39794 format: byte 39795 part_set_header: 39796 type: object 39797 properties: 39798 total: 39799 type: integer 39800 format: int64 39801 hash: 39802 type: string 39803 format: byte 39804 title: PartsetHeader 39805 title: BlockID 39806 last_commit_hash: 39807 type: string 39808 format: byte 39809 title: hashes of block data 39810 data_hash: 39811 type: string 39812 format: byte 39813 validators_hash: 39814 type: string 39815 format: byte 39816 title: hashes from the app output from the prev block 39817 next_validators_hash: 39818 type: string 39819 format: byte 39820 consensus_hash: 39821 type: string 39822 format: byte 39823 app_hash: 39824 type: string 39825 format: byte 39826 last_results_hash: 39827 type: string 39828 format: byte 39829 evidence_hash: 39830 type: string 39831 format: byte 39832 title: consensus info 39833 proposer_address: 39834 type: string 39835 format: byte 39836 description: Header defines the structure of a Tendermint block header. 39837 data: 39838 type: object 39839 properties: 39840 txs: 39841 type: array 39842 items: 39843 type: string 39844 format: byte 39845 description: >- 39846 Txs that will be applied by state @ block.Height+1. 39847 39848 NOTE: not all txs here are valid. We're just agreeing on the 39849 order first. 39850 39851 This means that block.AppHash does not include these txs. 39852 title: Data contains the set of transactions included in the block 39853 evidence: 39854 type: object 39855 properties: 39856 evidence: 39857 type: array 39858 items: 39859 type: object 39860 properties: 39861 duplicate_vote_evidence: 39862 type: object 39863 properties: 39864 vote_a: 39865 type: object 39866 properties: 39867 type: 39868 type: string 39869 enum: 39870 - SIGNED_MSG_TYPE_UNKNOWN 39871 - SIGNED_MSG_TYPE_PREVOTE 39872 - SIGNED_MSG_TYPE_PRECOMMIT 39873 - SIGNED_MSG_TYPE_PROPOSAL 39874 default: SIGNED_MSG_TYPE_UNKNOWN 39875 description: >- 39876 SignedMsgType is a type of signed message in the 39877 consensus. 39878 39879 - SIGNED_MSG_TYPE_PREVOTE: Votes 39880 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 39881 height: 39882 type: string 39883 format: int64 39884 round: 39885 type: integer 39886 format: int32 39887 block_id: 39888 type: object 39889 properties: 39890 hash: 39891 type: string 39892 format: byte 39893 part_set_header: 39894 type: object 39895 properties: 39896 total: 39897 type: integer 39898 format: int64 39899 hash: 39900 type: string 39901 format: byte 39902 title: PartsetHeader 39903 title: BlockID 39904 timestamp: 39905 type: string 39906 format: date-time 39907 validator_address: 39908 type: string 39909 format: byte 39910 validator_index: 39911 type: integer 39912 format: int32 39913 signature: 39914 type: string 39915 format: byte 39916 description: >- 39917 Vote represents a prevote, precommit, or commit vote 39918 from validators for 39919 39920 consensus. 39921 vote_b: 39922 type: object 39923 properties: 39924 type: 39925 type: string 39926 enum: 39927 - SIGNED_MSG_TYPE_UNKNOWN 39928 - SIGNED_MSG_TYPE_PREVOTE 39929 - SIGNED_MSG_TYPE_PRECOMMIT 39930 - SIGNED_MSG_TYPE_PROPOSAL 39931 default: SIGNED_MSG_TYPE_UNKNOWN 39932 description: >- 39933 SignedMsgType is a type of signed message in the 39934 consensus. 39935 39936 - SIGNED_MSG_TYPE_PREVOTE: Votes 39937 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 39938 height: 39939 type: string 39940 format: int64 39941 round: 39942 type: integer 39943 format: int32 39944 block_id: 39945 type: object 39946 properties: 39947 hash: 39948 type: string 39949 format: byte 39950 part_set_header: 39951 type: object 39952 properties: 39953 total: 39954 type: integer 39955 format: int64 39956 hash: 39957 type: string 39958 format: byte 39959 title: PartsetHeader 39960 title: BlockID 39961 timestamp: 39962 type: string 39963 format: date-time 39964 validator_address: 39965 type: string 39966 format: byte 39967 validator_index: 39968 type: integer 39969 format: int32 39970 signature: 39971 type: string 39972 format: byte 39973 description: >- 39974 Vote represents a prevote, precommit, or commit vote 39975 from validators for 39976 39977 consensus. 39978 total_voting_power: 39979 type: string 39980 format: int64 39981 validator_power: 39982 type: string 39983 format: int64 39984 timestamp: 39985 type: string 39986 format: date-time 39987 description: >- 39988 DuplicateVoteEvidence contains evidence of a validator 39989 signed two conflicting votes. 39990 light_client_attack_evidence: 39991 type: object 39992 properties: 39993 conflicting_block: 39994 type: object 39995 properties: 39996 signed_header: 39997 type: object 39998 properties: 39999 header: 40000 type: object 40001 properties: 40002 version: 40003 title: basic block info 40004 type: object 40005 properties: 40006 block: 40007 type: string 40008 format: uint64 40009 app: 40010 type: string 40011 format: uint64 40012 description: >- 40013 Consensus captures the consensus rules for 40014 processing a block in the blockchain, 40015 40016 including all blockchain data structures and 40017 the rules of the application's 40018 40019 state transition machine. 40020 chain_id: 40021 type: string 40022 height: 40023 type: string 40024 format: int64 40025 time: 40026 type: string 40027 format: date-time 40028 last_block_id: 40029 type: object 40030 properties: 40031 hash: 40032 type: string 40033 format: byte 40034 part_set_header: 40035 type: object 40036 properties: 40037 total: 40038 type: integer 40039 format: int64 40040 hash: 40041 type: string 40042 format: byte 40043 title: PartsetHeader 40044 title: BlockID 40045 last_commit_hash: 40046 type: string 40047 format: byte 40048 title: hashes of block data 40049 data_hash: 40050 type: string 40051 format: byte 40052 validators_hash: 40053 type: string 40054 format: byte 40055 title: >- 40056 hashes from the app output from the prev 40057 block 40058 next_validators_hash: 40059 type: string 40060 format: byte 40061 consensus_hash: 40062 type: string 40063 format: byte 40064 app_hash: 40065 type: string 40066 format: byte 40067 last_results_hash: 40068 type: string 40069 format: byte 40070 evidence_hash: 40071 type: string 40072 format: byte 40073 title: consensus info 40074 proposer_address: 40075 type: string 40076 format: byte 40077 description: >- 40078 Header defines the structure of a Tendermint 40079 block header. 40080 commit: 40081 type: object 40082 properties: 40083 height: 40084 type: string 40085 format: int64 40086 round: 40087 type: integer 40088 format: int32 40089 block_id: 40090 type: object 40091 properties: 40092 hash: 40093 type: string 40094 format: byte 40095 part_set_header: 40096 type: object 40097 properties: 40098 total: 40099 type: integer 40100 format: int64 40101 hash: 40102 type: string 40103 format: byte 40104 title: PartsetHeader 40105 title: BlockID 40106 signatures: 40107 type: array 40108 items: 40109 type: object 40110 properties: 40111 block_id_flag: 40112 type: string 40113 enum: 40114 - BLOCK_ID_FLAG_UNKNOWN 40115 - BLOCK_ID_FLAG_ABSENT 40116 - BLOCK_ID_FLAG_COMMIT 40117 - BLOCK_ID_FLAG_NIL 40118 default: BLOCK_ID_FLAG_UNKNOWN 40119 title: >- 40120 BlockIdFlag indicates which BlcokID the 40121 signature is for 40122 validator_address: 40123 type: string 40124 format: byte 40125 timestamp: 40126 type: string 40127 format: date-time 40128 signature: 40129 type: string 40130 format: byte 40131 description: >- 40132 CommitSig is a part of the Vote included 40133 in a Commit. 40134 description: >- 40135 Commit contains the evidence that a block was 40136 committed by a set of validators. 40137 validator_set: 40138 type: object 40139 properties: 40140 validators: 40141 type: array 40142 items: 40143 type: object 40144 properties: 40145 address: 40146 type: string 40147 format: byte 40148 pub_key: 40149 type: object 40150 properties: 40151 ed25519: 40152 type: string 40153 format: byte 40154 secp256k1: 40155 type: string 40156 format: byte 40157 title: >- 40158 PublicKey defines the keys available for 40159 use with Tendermint Validators 40160 voting_power: 40161 type: string 40162 format: int64 40163 proposer_priority: 40164 type: string 40165 format: int64 40166 proposer: 40167 type: object 40168 properties: 40169 address: 40170 type: string 40171 format: byte 40172 pub_key: 40173 type: object 40174 properties: 40175 ed25519: 40176 type: string 40177 format: byte 40178 secp256k1: 40179 type: string 40180 format: byte 40181 title: >- 40182 PublicKey defines the keys available for use 40183 with Tendermint Validators 40184 voting_power: 40185 type: string 40186 format: int64 40187 proposer_priority: 40188 type: string 40189 format: int64 40190 total_voting_power: 40191 type: string 40192 format: int64 40193 common_height: 40194 type: string 40195 format: int64 40196 byzantine_validators: 40197 type: array 40198 items: 40199 type: object 40200 properties: 40201 address: 40202 type: string 40203 format: byte 40204 pub_key: 40205 type: object 40206 properties: 40207 ed25519: 40208 type: string 40209 format: byte 40210 secp256k1: 40211 type: string 40212 format: byte 40213 title: >- 40214 PublicKey defines the keys available for use with 40215 Tendermint Validators 40216 voting_power: 40217 type: string 40218 format: int64 40219 proposer_priority: 40220 type: string 40221 format: int64 40222 total_voting_power: 40223 type: string 40224 format: int64 40225 timestamp: 40226 type: string 40227 format: date-time 40228 description: >- 40229 LightClientAttackEvidence contains evidence of a set of 40230 validators attempting to mislead a light client. 40231 last_commit: 40232 type: object 40233 properties: 40234 height: 40235 type: string 40236 format: int64 40237 round: 40238 type: integer 40239 format: int32 40240 block_id: 40241 type: object 40242 properties: 40243 hash: 40244 type: string 40245 format: byte 40246 part_set_header: 40247 type: object 40248 properties: 40249 total: 40250 type: integer 40251 format: int64 40252 hash: 40253 type: string 40254 format: byte 40255 title: PartsetHeader 40256 title: BlockID 40257 signatures: 40258 type: array 40259 items: 40260 type: object 40261 properties: 40262 block_id_flag: 40263 type: string 40264 enum: 40265 - BLOCK_ID_FLAG_UNKNOWN 40266 - BLOCK_ID_FLAG_ABSENT 40267 - BLOCK_ID_FLAG_COMMIT 40268 - BLOCK_ID_FLAG_NIL 40269 default: BLOCK_ID_FLAG_UNKNOWN 40270 title: BlockIdFlag indicates which BlcokID the signature is for 40271 validator_address: 40272 type: string 40273 format: byte 40274 timestamp: 40275 type: string 40276 format: date-time 40277 signature: 40278 type: string 40279 format: byte 40280 description: CommitSig is a part of the Vote included in a Commit. 40281 description: >- 40282 Commit contains the evidence that a block was committed by a set of 40283 validators. 40284 entropy: 40285 title: '*** Ostracon Extended Fields ***' 40286 type: object 40287 properties: 40288 round: 40289 type: integer 40290 format: int32 40291 proof: 40292 type: string 40293 format: byte 40294 ostracon.types.Entropy: 40295 type: object 40296 properties: 40297 round: 40298 type: integer 40299 format: int32 40300 proof: 40301 type: string 40302 format: byte 40303 title: >- 40304 Entropy represents height-specific complexity and used in 40305 proposer-election. 40306 40307 Entropy contains vrf proof and generated round. The relationship of each 40308 field is as follows. 40309 40310 Entropy.proof = VRFProof(last_proof_hash, current_height, Entropy.round) 40311 tendermint.abci.BlockParams: 40312 type: object 40313 properties: 40314 max_bytes: 40315 type: string 40316 format: int64 40317 title: 'Note: must be greater than 0' 40318 max_gas: 40319 type: string 40320 format: int64 40321 title: 'Note: must be greater or equal to -1' 40322 description: BlockParams contains limits on the block size. 40323 tendermint.abci.ConsensusParams: 40324 type: object 40325 properties: 40326 block: 40327 type: object 40328 properties: 40329 max_bytes: 40330 type: string 40331 format: int64 40332 title: 'Note: must be greater than 0' 40333 max_gas: 40334 type: string 40335 format: int64 40336 title: 'Note: must be greater or equal to -1' 40337 description: BlockParams contains limits on the block size. 40338 evidence: 40339 type: object 40340 properties: 40341 max_age_num_blocks: 40342 type: string 40343 format: int64 40344 description: >- 40345 Max age of evidence, in blocks. 40346 40347 40348 The basic formula for calculating this is: MaxAgeDuration / 40349 {average block 40350 40351 time}. 40352 max_age_duration: 40353 type: string 40354 description: >- 40355 Max age of evidence, in time. 40356 40357 40358 It should correspond with an app's "unbonding period" or other 40359 similar 40360 40361 mechanism for handling [Nothing-At-Stake 40362 40363 attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). 40364 max_bytes: 40365 type: string 40366 format: int64 40367 title: >- 40368 This sets the maximum size of total evidence in bytes that can be 40369 committed in a single block. 40370 40371 and should fall comfortably under the max block bytes. 40372 40373 Default is 1048576 or 1MB 40374 description: EvidenceParams determine how we handle evidence of malfeasance. 40375 validator: 40376 type: object 40377 properties: 40378 pub_key_types: 40379 type: array 40380 items: 40381 type: string 40382 description: |- 40383 ValidatorParams restrict the public key types validators can use. 40384 NOTE: uses ABCI pubkey naming, not Amino names. 40385 version: 40386 type: object 40387 properties: 40388 app_version: 40389 type: string 40390 format: uint64 40391 description: VersionParams contains the ABCI application version. 40392 title: |- 40393 ConsensusParams contains all consensus-relevant parameters 40394 that can be adjusted by the abci app 40395 tendermint.abci.Event: 40396 type: object 40397 properties: 40398 type: 40399 type: string 40400 attributes: 40401 type: array 40402 items: 40403 type: object 40404 properties: 40405 key: 40406 type: string 40407 format: byte 40408 value: 40409 type: string 40410 format: byte 40411 index: 40412 type: boolean 40413 format: boolean 40414 description: 'EventAttribute is a single key-value pair, associated with an event.' 40415 description: >- 40416 Event allows application developers to attach additional information to 40417 40418 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 40419 ResponseDeliverTx. 40420 40421 Later, transactions may be queried using these events. 40422 tendermint.abci.EventAttribute: 40423 type: object 40424 properties: 40425 key: 40426 type: string 40427 format: byte 40428 value: 40429 type: string 40430 format: byte 40431 index: 40432 type: boolean 40433 format: boolean 40434 description: 'EventAttribute is a single key-value pair, associated with an event.' 40435 tendermint.abci.ResponseBeginBlock: 40436 type: object 40437 properties: 40438 events: 40439 type: array 40440 items: 40441 type: object 40442 properties: 40443 type: 40444 type: string 40445 attributes: 40446 type: array 40447 items: 40448 type: object 40449 properties: 40450 key: 40451 type: string 40452 format: byte 40453 value: 40454 type: string 40455 format: byte 40456 index: 40457 type: boolean 40458 format: boolean 40459 description: >- 40460 EventAttribute is a single key-value pair, associated with an 40461 event. 40462 description: >- 40463 Event allows application developers to attach additional information 40464 to 40465 40466 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 40467 ResponseDeliverTx. 40468 40469 Later, transactions may be queried using these events. 40470 tendermint.abci.ResponseDeliverTx: 40471 type: object 40472 properties: 40473 code: 40474 type: integer 40475 format: int64 40476 data: 40477 type: string 40478 format: byte 40479 log: 40480 type: string 40481 info: 40482 type: string 40483 gas_wanted: 40484 type: string 40485 format: int64 40486 gas_used: 40487 type: string 40488 format: int64 40489 events: 40490 type: array 40491 items: 40492 type: object 40493 properties: 40494 type: 40495 type: string 40496 attributes: 40497 type: array 40498 items: 40499 type: object 40500 properties: 40501 key: 40502 type: string 40503 format: byte 40504 value: 40505 type: string 40506 format: byte 40507 index: 40508 type: boolean 40509 format: boolean 40510 description: >- 40511 EventAttribute is a single key-value pair, associated with an 40512 event. 40513 description: >- 40514 Event allows application developers to attach additional information 40515 to 40516 40517 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 40518 ResponseDeliverTx. 40519 40520 Later, transactions may be queried using these events. 40521 codespace: 40522 type: string 40523 tendermint.abci.ResponseEndBlock: 40524 type: object 40525 properties: 40526 validator_updates: 40527 type: array 40528 items: 40529 type: object 40530 properties: 40531 pub_key: 40532 type: object 40533 properties: 40534 ed25519: 40535 type: string 40536 format: byte 40537 secp256k1: 40538 type: string 40539 format: byte 40540 title: >- 40541 PublicKey defines the keys available for use with Tendermint 40542 Validators 40543 power: 40544 type: string 40545 format: int64 40546 title: ValidatorUpdate 40547 consensus_param_updates: 40548 type: object 40549 properties: 40550 block: 40551 type: object 40552 properties: 40553 max_bytes: 40554 type: string 40555 format: int64 40556 title: 'Note: must be greater than 0' 40557 max_gas: 40558 type: string 40559 format: int64 40560 title: 'Note: must be greater or equal to -1' 40561 description: BlockParams contains limits on the block size. 40562 evidence: 40563 type: object 40564 properties: 40565 max_age_num_blocks: 40566 type: string 40567 format: int64 40568 description: >- 40569 Max age of evidence, in blocks. 40570 40571 40572 The basic formula for calculating this is: MaxAgeDuration / 40573 {average block 40574 40575 time}. 40576 max_age_duration: 40577 type: string 40578 description: >- 40579 Max age of evidence, in time. 40580 40581 40582 It should correspond with an app's "unbonding period" or other 40583 similar 40584 40585 mechanism for handling [Nothing-At-Stake 40586 40587 attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). 40588 max_bytes: 40589 type: string 40590 format: int64 40591 title: >- 40592 This sets the maximum size of total evidence in bytes that can 40593 be committed in a single block. 40594 40595 and should fall comfortably under the max block bytes. 40596 40597 Default is 1048576 or 1MB 40598 description: EvidenceParams determine how we handle evidence of malfeasance. 40599 validator: 40600 type: object 40601 properties: 40602 pub_key_types: 40603 type: array 40604 items: 40605 type: string 40606 description: |- 40607 ValidatorParams restrict the public key types validators can use. 40608 NOTE: uses ABCI pubkey naming, not Amino names. 40609 version: 40610 type: object 40611 properties: 40612 app_version: 40613 type: string 40614 format: uint64 40615 description: VersionParams contains the ABCI application version. 40616 title: |- 40617 ConsensusParams contains all consensus-relevant parameters 40618 that can be adjusted by the abci app 40619 events: 40620 type: array 40621 items: 40622 type: object 40623 properties: 40624 type: 40625 type: string 40626 attributes: 40627 type: array 40628 items: 40629 type: object 40630 properties: 40631 key: 40632 type: string 40633 format: byte 40634 value: 40635 type: string 40636 format: byte 40637 index: 40638 type: boolean 40639 format: boolean 40640 description: >- 40641 EventAttribute is a single key-value pair, associated with an 40642 event. 40643 description: >- 40644 Event allows application developers to attach additional information 40645 to 40646 40647 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 40648 ResponseDeliverTx. 40649 40650 Later, transactions may be queried using these events. 40651 tendermint.abci.ValidatorUpdate: 40652 type: object 40653 properties: 40654 pub_key: 40655 type: object 40656 properties: 40657 ed25519: 40658 type: string 40659 format: byte 40660 secp256k1: 40661 type: string 40662 format: byte 40663 title: >- 40664 PublicKey defines the keys available for use with Tendermint 40665 Validators 40666 power: 40667 type: string 40668 format: int64 40669 title: ValidatorUpdate 40670 tendermint.crypto.PublicKey: 40671 type: object 40672 properties: 40673 ed25519: 40674 type: string 40675 format: byte 40676 secp256k1: 40677 type: string 40678 format: byte 40679 title: PublicKey defines the keys available for use with Tendermint Validators 40680 tendermint.p2p.DefaultNodeInfo: 40681 type: object 40682 properties: 40683 protocol_version: 40684 type: object 40685 properties: 40686 p2p: 40687 type: string 40688 format: uint64 40689 block: 40690 type: string 40691 format: uint64 40692 app: 40693 type: string 40694 format: uint64 40695 default_node_id: 40696 type: string 40697 listen_addr: 40698 type: string 40699 network: 40700 type: string 40701 version: 40702 type: string 40703 channels: 40704 type: string 40705 format: byte 40706 moniker: 40707 type: string 40708 other: 40709 type: object 40710 properties: 40711 tx_index: 40712 type: string 40713 rpc_address: 40714 type: string 40715 tendermint.p2p.DefaultNodeInfoOther: 40716 type: object 40717 properties: 40718 tx_index: 40719 type: string 40720 rpc_address: 40721 type: string 40722 tendermint.p2p.ProtocolVersion: 40723 type: object 40724 properties: 40725 p2p: 40726 type: string 40727 format: uint64 40728 block: 40729 type: string 40730 format: uint64 40731 app: 40732 type: string 40733 format: uint64 40734 tendermint.types.BlockID: 40735 type: object 40736 properties: 40737 hash: 40738 type: string 40739 format: byte 40740 part_set_header: 40741 type: object 40742 properties: 40743 total: 40744 type: integer 40745 format: int64 40746 hash: 40747 type: string 40748 format: byte 40749 title: PartsetHeader 40750 title: BlockID 40751 tendermint.types.BlockIDFlag: 40752 type: string 40753 enum: 40754 - BLOCK_ID_FLAG_UNKNOWN 40755 - BLOCK_ID_FLAG_ABSENT 40756 - BLOCK_ID_FLAG_COMMIT 40757 - BLOCK_ID_FLAG_NIL 40758 default: BLOCK_ID_FLAG_UNKNOWN 40759 title: BlockIdFlag indicates which BlcokID the signature is for 40760 tendermint.types.Commit: 40761 type: object 40762 properties: 40763 height: 40764 type: string 40765 format: int64 40766 round: 40767 type: integer 40768 format: int32 40769 block_id: 40770 type: object 40771 properties: 40772 hash: 40773 type: string 40774 format: byte 40775 part_set_header: 40776 type: object 40777 properties: 40778 total: 40779 type: integer 40780 format: int64 40781 hash: 40782 type: string 40783 format: byte 40784 title: PartsetHeader 40785 title: BlockID 40786 signatures: 40787 type: array 40788 items: 40789 type: object 40790 properties: 40791 block_id_flag: 40792 type: string 40793 enum: 40794 - BLOCK_ID_FLAG_UNKNOWN 40795 - BLOCK_ID_FLAG_ABSENT 40796 - BLOCK_ID_FLAG_COMMIT 40797 - BLOCK_ID_FLAG_NIL 40798 default: BLOCK_ID_FLAG_UNKNOWN 40799 title: BlockIdFlag indicates which BlcokID the signature is for 40800 validator_address: 40801 type: string 40802 format: byte 40803 timestamp: 40804 type: string 40805 format: date-time 40806 signature: 40807 type: string 40808 format: byte 40809 description: CommitSig is a part of the Vote included in a Commit. 40810 description: >- 40811 Commit contains the evidence that a block was committed by a set of 40812 validators. 40813 tendermint.types.CommitSig: 40814 type: object 40815 properties: 40816 block_id_flag: 40817 type: string 40818 enum: 40819 - BLOCK_ID_FLAG_UNKNOWN 40820 - BLOCK_ID_FLAG_ABSENT 40821 - BLOCK_ID_FLAG_COMMIT 40822 - BLOCK_ID_FLAG_NIL 40823 default: BLOCK_ID_FLAG_UNKNOWN 40824 title: BlockIdFlag indicates which BlcokID the signature is for 40825 validator_address: 40826 type: string 40827 format: byte 40828 timestamp: 40829 type: string 40830 format: date-time 40831 signature: 40832 type: string 40833 format: byte 40834 description: CommitSig is a part of the Vote included in a Commit. 40835 tendermint.types.Data: 40836 type: object 40837 properties: 40838 txs: 40839 type: array 40840 items: 40841 type: string 40842 format: byte 40843 description: >- 40844 Txs that will be applied by state @ block.Height+1. 40845 40846 NOTE: not all txs here are valid. We're just agreeing on the order 40847 first. 40848 40849 This means that block.AppHash does not include these txs. 40850 title: Data contains the set of transactions included in the block 40851 tendermint.types.DuplicateVoteEvidence: 40852 type: object 40853 properties: 40854 vote_a: 40855 type: object 40856 properties: 40857 type: 40858 type: string 40859 enum: 40860 - SIGNED_MSG_TYPE_UNKNOWN 40861 - SIGNED_MSG_TYPE_PREVOTE 40862 - SIGNED_MSG_TYPE_PRECOMMIT 40863 - SIGNED_MSG_TYPE_PROPOSAL 40864 default: SIGNED_MSG_TYPE_UNKNOWN 40865 description: |- 40866 SignedMsgType is a type of signed message in the consensus. 40867 40868 - SIGNED_MSG_TYPE_PREVOTE: Votes 40869 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 40870 height: 40871 type: string 40872 format: int64 40873 round: 40874 type: integer 40875 format: int32 40876 block_id: 40877 type: object 40878 properties: 40879 hash: 40880 type: string 40881 format: byte 40882 part_set_header: 40883 type: object 40884 properties: 40885 total: 40886 type: integer 40887 format: int64 40888 hash: 40889 type: string 40890 format: byte 40891 title: PartsetHeader 40892 title: BlockID 40893 timestamp: 40894 type: string 40895 format: date-time 40896 validator_address: 40897 type: string 40898 format: byte 40899 validator_index: 40900 type: integer 40901 format: int32 40902 signature: 40903 type: string 40904 format: byte 40905 description: >- 40906 Vote represents a prevote, precommit, or commit vote from validators 40907 for 40908 40909 consensus. 40910 vote_b: 40911 type: object 40912 properties: 40913 type: 40914 type: string 40915 enum: 40916 - SIGNED_MSG_TYPE_UNKNOWN 40917 - SIGNED_MSG_TYPE_PREVOTE 40918 - SIGNED_MSG_TYPE_PRECOMMIT 40919 - SIGNED_MSG_TYPE_PROPOSAL 40920 default: SIGNED_MSG_TYPE_UNKNOWN 40921 description: |- 40922 SignedMsgType is a type of signed message in the consensus. 40923 40924 - SIGNED_MSG_TYPE_PREVOTE: Votes 40925 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 40926 height: 40927 type: string 40928 format: int64 40929 round: 40930 type: integer 40931 format: int32 40932 block_id: 40933 type: object 40934 properties: 40935 hash: 40936 type: string 40937 format: byte 40938 part_set_header: 40939 type: object 40940 properties: 40941 total: 40942 type: integer 40943 format: int64 40944 hash: 40945 type: string 40946 format: byte 40947 title: PartsetHeader 40948 title: BlockID 40949 timestamp: 40950 type: string 40951 format: date-time 40952 validator_address: 40953 type: string 40954 format: byte 40955 validator_index: 40956 type: integer 40957 format: int32 40958 signature: 40959 type: string 40960 format: byte 40961 description: >- 40962 Vote represents a prevote, precommit, or commit vote from validators 40963 for 40964 40965 consensus. 40966 total_voting_power: 40967 type: string 40968 format: int64 40969 validator_power: 40970 type: string 40971 format: int64 40972 timestamp: 40973 type: string 40974 format: date-time 40975 description: >- 40976 DuplicateVoteEvidence contains evidence of a validator signed two 40977 conflicting votes. 40978 tendermint.types.Evidence: 40979 type: object 40980 properties: 40981 duplicate_vote_evidence: 40982 type: object 40983 properties: 40984 vote_a: 40985 type: object 40986 properties: 40987 type: 40988 type: string 40989 enum: 40990 - SIGNED_MSG_TYPE_UNKNOWN 40991 - SIGNED_MSG_TYPE_PREVOTE 40992 - SIGNED_MSG_TYPE_PRECOMMIT 40993 - SIGNED_MSG_TYPE_PROPOSAL 40994 default: SIGNED_MSG_TYPE_UNKNOWN 40995 description: |- 40996 SignedMsgType is a type of signed message in the consensus. 40997 40998 - SIGNED_MSG_TYPE_PREVOTE: Votes 40999 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 41000 height: 41001 type: string 41002 format: int64 41003 round: 41004 type: integer 41005 format: int32 41006 block_id: 41007 type: object 41008 properties: 41009 hash: 41010 type: string 41011 format: byte 41012 part_set_header: 41013 type: object 41014 properties: 41015 total: 41016 type: integer 41017 format: int64 41018 hash: 41019 type: string 41020 format: byte 41021 title: PartsetHeader 41022 title: BlockID 41023 timestamp: 41024 type: string 41025 format: date-time 41026 validator_address: 41027 type: string 41028 format: byte 41029 validator_index: 41030 type: integer 41031 format: int32 41032 signature: 41033 type: string 41034 format: byte 41035 description: >- 41036 Vote represents a prevote, precommit, or commit vote from 41037 validators for 41038 41039 consensus. 41040 vote_b: 41041 type: object 41042 properties: 41043 type: 41044 type: string 41045 enum: 41046 - SIGNED_MSG_TYPE_UNKNOWN 41047 - SIGNED_MSG_TYPE_PREVOTE 41048 - SIGNED_MSG_TYPE_PRECOMMIT 41049 - SIGNED_MSG_TYPE_PROPOSAL 41050 default: SIGNED_MSG_TYPE_UNKNOWN 41051 description: |- 41052 SignedMsgType is a type of signed message in the consensus. 41053 41054 - SIGNED_MSG_TYPE_PREVOTE: Votes 41055 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 41056 height: 41057 type: string 41058 format: int64 41059 round: 41060 type: integer 41061 format: int32 41062 block_id: 41063 type: object 41064 properties: 41065 hash: 41066 type: string 41067 format: byte 41068 part_set_header: 41069 type: object 41070 properties: 41071 total: 41072 type: integer 41073 format: int64 41074 hash: 41075 type: string 41076 format: byte 41077 title: PartsetHeader 41078 title: BlockID 41079 timestamp: 41080 type: string 41081 format: date-time 41082 validator_address: 41083 type: string 41084 format: byte 41085 validator_index: 41086 type: integer 41087 format: int32 41088 signature: 41089 type: string 41090 format: byte 41091 description: >- 41092 Vote represents a prevote, precommit, or commit vote from 41093 validators for 41094 41095 consensus. 41096 total_voting_power: 41097 type: string 41098 format: int64 41099 validator_power: 41100 type: string 41101 format: int64 41102 timestamp: 41103 type: string 41104 format: date-time 41105 description: >- 41106 DuplicateVoteEvidence contains evidence of a validator signed two 41107 conflicting votes. 41108 light_client_attack_evidence: 41109 type: object 41110 properties: 41111 conflicting_block: 41112 type: object 41113 properties: 41114 signed_header: 41115 type: object 41116 properties: 41117 header: 41118 type: object 41119 properties: 41120 version: 41121 title: basic block info 41122 type: object 41123 properties: 41124 block: 41125 type: string 41126 format: uint64 41127 app: 41128 type: string 41129 format: uint64 41130 description: >- 41131 Consensus captures the consensus rules for processing 41132 a block in the blockchain, 41133 41134 including all blockchain data structures and the rules 41135 of the application's 41136 41137 state transition machine. 41138 chain_id: 41139 type: string 41140 height: 41141 type: string 41142 format: int64 41143 time: 41144 type: string 41145 format: date-time 41146 last_block_id: 41147 type: object 41148 properties: 41149 hash: 41150 type: string 41151 format: byte 41152 part_set_header: 41153 type: object 41154 properties: 41155 total: 41156 type: integer 41157 format: int64 41158 hash: 41159 type: string 41160 format: byte 41161 title: PartsetHeader 41162 title: BlockID 41163 last_commit_hash: 41164 type: string 41165 format: byte 41166 title: hashes of block data 41167 data_hash: 41168 type: string 41169 format: byte 41170 validators_hash: 41171 type: string 41172 format: byte 41173 title: hashes from the app output from the prev block 41174 next_validators_hash: 41175 type: string 41176 format: byte 41177 consensus_hash: 41178 type: string 41179 format: byte 41180 app_hash: 41181 type: string 41182 format: byte 41183 last_results_hash: 41184 type: string 41185 format: byte 41186 evidence_hash: 41187 type: string 41188 format: byte 41189 title: consensus info 41190 proposer_address: 41191 type: string 41192 format: byte 41193 description: Header defines the structure of a Tendermint block header. 41194 commit: 41195 type: object 41196 properties: 41197 height: 41198 type: string 41199 format: int64 41200 round: 41201 type: integer 41202 format: int32 41203 block_id: 41204 type: object 41205 properties: 41206 hash: 41207 type: string 41208 format: byte 41209 part_set_header: 41210 type: object 41211 properties: 41212 total: 41213 type: integer 41214 format: int64 41215 hash: 41216 type: string 41217 format: byte 41218 title: PartsetHeader 41219 title: BlockID 41220 signatures: 41221 type: array 41222 items: 41223 type: object 41224 properties: 41225 block_id_flag: 41226 type: string 41227 enum: 41228 - BLOCK_ID_FLAG_UNKNOWN 41229 - BLOCK_ID_FLAG_ABSENT 41230 - BLOCK_ID_FLAG_COMMIT 41231 - BLOCK_ID_FLAG_NIL 41232 default: BLOCK_ID_FLAG_UNKNOWN 41233 title: >- 41234 BlockIdFlag indicates which BlcokID the 41235 signature is for 41236 validator_address: 41237 type: string 41238 format: byte 41239 timestamp: 41240 type: string 41241 format: date-time 41242 signature: 41243 type: string 41244 format: byte 41245 description: >- 41246 CommitSig is a part of the Vote included in a 41247 Commit. 41248 description: >- 41249 Commit contains the evidence that a block was committed by 41250 a set of validators. 41251 validator_set: 41252 type: object 41253 properties: 41254 validators: 41255 type: array 41256 items: 41257 type: object 41258 properties: 41259 address: 41260 type: string 41261 format: byte 41262 pub_key: 41263 type: object 41264 properties: 41265 ed25519: 41266 type: string 41267 format: byte 41268 secp256k1: 41269 type: string 41270 format: byte 41271 title: >- 41272 PublicKey defines the keys available for use with 41273 Tendermint Validators 41274 voting_power: 41275 type: string 41276 format: int64 41277 proposer_priority: 41278 type: string 41279 format: int64 41280 proposer: 41281 type: object 41282 properties: 41283 address: 41284 type: string 41285 format: byte 41286 pub_key: 41287 type: object 41288 properties: 41289 ed25519: 41290 type: string 41291 format: byte 41292 secp256k1: 41293 type: string 41294 format: byte 41295 title: >- 41296 PublicKey defines the keys available for use with 41297 Tendermint Validators 41298 voting_power: 41299 type: string 41300 format: int64 41301 proposer_priority: 41302 type: string 41303 format: int64 41304 total_voting_power: 41305 type: string 41306 format: int64 41307 common_height: 41308 type: string 41309 format: int64 41310 byzantine_validators: 41311 type: array 41312 items: 41313 type: object 41314 properties: 41315 address: 41316 type: string 41317 format: byte 41318 pub_key: 41319 type: object 41320 properties: 41321 ed25519: 41322 type: string 41323 format: byte 41324 secp256k1: 41325 type: string 41326 format: byte 41327 title: >- 41328 PublicKey defines the keys available for use with Tendermint 41329 Validators 41330 voting_power: 41331 type: string 41332 format: int64 41333 proposer_priority: 41334 type: string 41335 format: int64 41336 total_voting_power: 41337 type: string 41338 format: int64 41339 timestamp: 41340 type: string 41341 format: date-time 41342 description: >- 41343 LightClientAttackEvidence contains evidence of a set of validators 41344 attempting to mislead a light client. 41345 tendermint.types.EvidenceList: 41346 type: object 41347 properties: 41348 evidence: 41349 type: array 41350 items: 41351 type: object 41352 properties: 41353 duplicate_vote_evidence: 41354 type: object 41355 properties: 41356 vote_a: 41357 type: object 41358 properties: 41359 type: 41360 type: string 41361 enum: 41362 - SIGNED_MSG_TYPE_UNKNOWN 41363 - SIGNED_MSG_TYPE_PREVOTE 41364 - SIGNED_MSG_TYPE_PRECOMMIT 41365 - SIGNED_MSG_TYPE_PROPOSAL 41366 default: SIGNED_MSG_TYPE_UNKNOWN 41367 description: >- 41368 SignedMsgType is a type of signed message in the 41369 consensus. 41370 41371 - SIGNED_MSG_TYPE_PREVOTE: Votes 41372 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 41373 height: 41374 type: string 41375 format: int64 41376 round: 41377 type: integer 41378 format: int32 41379 block_id: 41380 type: object 41381 properties: 41382 hash: 41383 type: string 41384 format: byte 41385 part_set_header: 41386 type: object 41387 properties: 41388 total: 41389 type: integer 41390 format: int64 41391 hash: 41392 type: string 41393 format: byte 41394 title: PartsetHeader 41395 title: BlockID 41396 timestamp: 41397 type: string 41398 format: date-time 41399 validator_address: 41400 type: string 41401 format: byte 41402 validator_index: 41403 type: integer 41404 format: int32 41405 signature: 41406 type: string 41407 format: byte 41408 description: >- 41409 Vote represents a prevote, precommit, or commit vote from 41410 validators for 41411 41412 consensus. 41413 vote_b: 41414 type: object 41415 properties: 41416 type: 41417 type: string 41418 enum: 41419 - SIGNED_MSG_TYPE_UNKNOWN 41420 - SIGNED_MSG_TYPE_PREVOTE 41421 - SIGNED_MSG_TYPE_PRECOMMIT 41422 - SIGNED_MSG_TYPE_PROPOSAL 41423 default: SIGNED_MSG_TYPE_UNKNOWN 41424 description: >- 41425 SignedMsgType is a type of signed message in the 41426 consensus. 41427 41428 - SIGNED_MSG_TYPE_PREVOTE: Votes 41429 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 41430 height: 41431 type: string 41432 format: int64 41433 round: 41434 type: integer 41435 format: int32 41436 block_id: 41437 type: object 41438 properties: 41439 hash: 41440 type: string 41441 format: byte 41442 part_set_header: 41443 type: object 41444 properties: 41445 total: 41446 type: integer 41447 format: int64 41448 hash: 41449 type: string 41450 format: byte 41451 title: PartsetHeader 41452 title: BlockID 41453 timestamp: 41454 type: string 41455 format: date-time 41456 validator_address: 41457 type: string 41458 format: byte 41459 validator_index: 41460 type: integer 41461 format: int32 41462 signature: 41463 type: string 41464 format: byte 41465 description: >- 41466 Vote represents a prevote, precommit, or commit vote from 41467 validators for 41468 41469 consensus. 41470 total_voting_power: 41471 type: string 41472 format: int64 41473 validator_power: 41474 type: string 41475 format: int64 41476 timestamp: 41477 type: string 41478 format: date-time 41479 description: >- 41480 DuplicateVoteEvidence contains evidence of a validator signed 41481 two conflicting votes. 41482 light_client_attack_evidence: 41483 type: object 41484 properties: 41485 conflicting_block: 41486 type: object 41487 properties: 41488 signed_header: 41489 type: object 41490 properties: 41491 header: 41492 type: object 41493 properties: 41494 version: 41495 title: basic block info 41496 type: object 41497 properties: 41498 block: 41499 type: string 41500 format: uint64 41501 app: 41502 type: string 41503 format: uint64 41504 description: >- 41505 Consensus captures the consensus rules for 41506 processing a block in the blockchain, 41507 41508 including all blockchain data structures and the 41509 rules of the application's 41510 41511 state transition machine. 41512 chain_id: 41513 type: string 41514 height: 41515 type: string 41516 format: int64 41517 time: 41518 type: string 41519 format: date-time 41520 last_block_id: 41521 type: object 41522 properties: 41523 hash: 41524 type: string 41525 format: byte 41526 part_set_header: 41527 type: object 41528 properties: 41529 total: 41530 type: integer 41531 format: int64 41532 hash: 41533 type: string 41534 format: byte 41535 title: PartsetHeader 41536 title: BlockID 41537 last_commit_hash: 41538 type: string 41539 format: byte 41540 title: hashes of block data 41541 data_hash: 41542 type: string 41543 format: byte 41544 validators_hash: 41545 type: string 41546 format: byte 41547 title: hashes from the app output from the prev block 41548 next_validators_hash: 41549 type: string 41550 format: byte 41551 consensus_hash: 41552 type: string 41553 format: byte 41554 app_hash: 41555 type: string 41556 format: byte 41557 last_results_hash: 41558 type: string 41559 format: byte 41560 evidence_hash: 41561 type: string 41562 format: byte 41563 title: consensus info 41564 proposer_address: 41565 type: string 41566 format: byte 41567 description: >- 41568 Header defines the structure of a Tendermint block 41569 header. 41570 commit: 41571 type: object 41572 properties: 41573 height: 41574 type: string 41575 format: int64 41576 round: 41577 type: integer 41578 format: int32 41579 block_id: 41580 type: object 41581 properties: 41582 hash: 41583 type: string 41584 format: byte 41585 part_set_header: 41586 type: object 41587 properties: 41588 total: 41589 type: integer 41590 format: int64 41591 hash: 41592 type: string 41593 format: byte 41594 title: PartsetHeader 41595 title: BlockID 41596 signatures: 41597 type: array 41598 items: 41599 type: object 41600 properties: 41601 block_id_flag: 41602 type: string 41603 enum: 41604 - BLOCK_ID_FLAG_UNKNOWN 41605 - BLOCK_ID_FLAG_ABSENT 41606 - BLOCK_ID_FLAG_COMMIT 41607 - BLOCK_ID_FLAG_NIL 41608 default: BLOCK_ID_FLAG_UNKNOWN 41609 title: >- 41610 BlockIdFlag indicates which BlcokID the 41611 signature is for 41612 validator_address: 41613 type: string 41614 format: byte 41615 timestamp: 41616 type: string 41617 format: date-time 41618 signature: 41619 type: string 41620 format: byte 41621 description: >- 41622 CommitSig is a part of the Vote included in a 41623 Commit. 41624 description: >- 41625 Commit contains the evidence that a block was 41626 committed by a set of validators. 41627 validator_set: 41628 type: object 41629 properties: 41630 validators: 41631 type: array 41632 items: 41633 type: object 41634 properties: 41635 address: 41636 type: string 41637 format: byte 41638 pub_key: 41639 type: object 41640 properties: 41641 ed25519: 41642 type: string 41643 format: byte 41644 secp256k1: 41645 type: string 41646 format: byte 41647 title: >- 41648 PublicKey defines the keys available for use 41649 with Tendermint Validators 41650 voting_power: 41651 type: string 41652 format: int64 41653 proposer_priority: 41654 type: string 41655 format: int64 41656 proposer: 41657 type: object 41658 properties: 41659 address: 41660 type: string 41661 format: byte 41662 pub_key: 41663 type: object 41664 properties: 41665 ed25519: 41666 type: string 41667 format: byte 41668 secp256k1: 41669 type: string 41670 format: byte 41671 title: >- 41672 PublicKey defines the keys available for use 41673 with Tendermint Validators 41674 voting_power: 41675 type: string 41676 format: int64 41677 proposer_priority: 41678 type: string 41679 format: int64 41680 total_voting_power: 41681 type: string 41682 format: int64 41683 common_height: 41684 type: string 41685 format: int64 41686 byzantine_validators: 41687 type: array 41688 items: 41689 type: object 41690 properties: 41691 address: 41692 type: string 41693 format: byte 41694 pub_key: 41695 type: object 41696 properties: 41697 ed25519: 41698 type: string 41699 format: byte 41700 secp256k1: 41701 type: string 41702 format: byte 41703 title: >- 41704 PublicKey defines the keys available for use with 41705 Tendermint Validators 41706 voting_power: 41707 type: string 41708 format: int64 41709 proposer_priority: 41710 type: string 41711 format: int64 41712 total_voting_power: 41713 type: string 41714 format: int64 41715 timestamp: 41716 type: string 41717 format: date-time 41718 description: >- 41719 LightClientAttackEvidence contains evidence of a set of 41720 validators attempting to mislead a light client. 41721 tendermint.types.EvidenceParams: 41722 type: object 41723 properties: 41724 max_age_num_blocks: 41725 type: string 41726 format: int64 41727 description: >- 41728 Max age of evidence, in blocks. 41729 41730 41731 The basic formula for calculating this is: MaxAgeDuration / {average 41732 block 41733 41734 time}. 41735 max_age_duration: 41736 type: string 41737 description: >- 41738 Max age of evidence, in time. 41739 41740 41741 It should correspond with an app's "unbonding period" or other similar 41742 41743 mechanism for handling [Nothing-At-Stake 41744 41745 attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). 41746 max_bytes: 41747 type: string 41748 format: int64 41749 title: >- 41750 This sets the maximum size of total evidence in bytes that can be 41751 committed in a single block. 41752 41753 and should fall comfortably under the max block bytes. 41754 41755 Default is 1048576 or 1MB 41756 description: EvidenceParams determine how we handle evidence of malfeasance. 41757 tendermint.types.Header: 41758 type: object 41759 properties: 41760 version: 41761 title: basic block info 41762 type: object 41763 properties: 41764 block: 41765 type: string 41766 format: uint64 41767 app: 41768 type: string 41769 format: uint64 41770 description: >- 41771 Consensus captures the consensus rules for processing a block in the 41772 blockchain, 41773 41774 including all blockchain data structures and the rules of the 41775 application's 41776 41777 state transition machine. 41778 chain_id: 41779 type: string 41780 height: 41781 type: string 41782 format: int64 41783 time: 41784 type: string 41785 format: date-time 41786 last_block_id: 41787 type: object 41788 properties: 41789 hash: 41790 type: string 41791 format: byte 41792 part_set_header: 41793 type: object 41794 properties: 41795 total: 41796 type: integer 41797 format: int64 41798 hash: 41799 type: string 41800 format: byte 41801 title: PartsetHeader 41802 title: BlockID 41803 last_commit_hash: 41804 type: string 41805 format: byte 41806 title: hashes of block data 41807 data_hash: 41808 type: string 41809 format: byte 41810 validators_hash: 41811 type: string 41812 format: byte 41813 title: hashes from the app output from the prev block 41814 next_validators_hash: 41815 type: string 41816 format: byte 41817 consensus_hash: 41818 type: string 41819 format: byte 41820 app_hash: 41821 type: string 41822 format: byte 41823 last_results_hash: 41824 type: string 41825 format: byte 41826 evidence_hash: 41827 type: string 41828 format: byte 41829 title: consensus info 41830 proposer_address: 41831 type: string 41832 format: byte 41833 description: Header defines the structure of a Tendermint block header. 41834 tendermint.types.LightBlock: 41835 type: object 41836 properties: 41837 signed_header: 41838 type: object 41839 properties: 41840 header: 41841 type: object 41842 properties: 41843 version: 41844 title: basic block info 41845 type: object 41846 properties: 41847 block: 41848 type: string 41849 format: uint64 41850 app: 41851 type: string 41852 format: uint64 41853 description: >- 41854 Consensus captures the consensus rules for processing a block 41855 in the blockchain, 41856 41857 including all blockchain data structures and the rules of the 41858 application's 41859 41860 state transition machine. 41861 chain_id: 41862 type: string 41863 height: 41864 type: string 41865 format: int64 41866 time: 41867 type: string 41868 format: date-time 41869 last_block_id: 41870 type: object 41871 properties: 41872 hash: 41873 type: string 41874 format: byte 41875 part_set_header: 41876 type: object 41877 properties: 41878 total: 41879 type: integer 41880 format: int64 41881 hash: 41882 type: string 41883 format: byte 41884 title: PartsetHeader 41885 title: BlockID 41886 last_commit_hash: 41887 type: string 41888 format: byte 41889 title: hashes of block data 41890 data_hash: 41891 type: string 41892 format: byte 41893 validators_hash: 41894 type: string 41895 format: byte 41896 title: hashes from the app output from the prev block 41897 next_validators_hash: 41898 type: string 41899 format: byte 41900 consensus_hash: 41901 type: string 41902 format: byte 41903 app_hash: 41904 type: string 41905 format: byte 41906 last_results_hash: 41907 type: string 41908 format: byte 41909 evidence_hash: 41910 type: string 41911 format: byte 41912 title: consensus info 41913 proposer_address: 41914 type: string 41915 format: byte 41916 description: Header defines the structure of a Tendermint block header. 41917 commit: 41918 type: object 41919 properties: 41920 height: 41921 type: string 41922 format: int64 41923 round: 41924 type: integer 41925 format: int32 41926 block_id: 41927 type: object 41928 properties: 41929 hash: 41930 type: string 41931 format: byte 41932 part_set_header: 41933 type: object 41934 properties: 41935 total: 41936 type: integer 41937 format: int64 41938 hash: 41939 type: string 41940 format: byte 41941 title: PartsetHeader 41942 title: BlockID 41943 signatures: 41944 type: array 41945 items: 41946 type: object 41947 properties: 41948 block_id_flag: 41949 type: string 41950 enum: 41951 - BLOCK_ID_FLAG_UNKNOWN 41952 - BLOCK_ID_FLAG_ABSENT 41953 - BLOCK_ID_FLAG_COMMIT 41954 - BLOCK_ID_FLAG_NIL 41955 default: BLOCK_ID_FLAG_UNKNOWN 41956 title: BlockIdFlag indicates which BlcokID the signature is for 41957 validator_address: 41958 type: string 41959 format: byte 41960 timestamp: 41961 type: string 41962 format: date-time 41963 signature: 41964 type: string 41965 format: byte 41966 description: CommitSig is a part of the Vote included in a Commit. 41967 description: >- 41968 Commit contains the evidence that a block was committed by a set 41969 of validators. 41970 validator_set: 41971 type: object 41972 properties: 41973 validators: 41974 type: array 41975 items: 41976 type: object 41977 properties: 41978 address: 41979 type: string 41980 format: byte 41981 pub_key: 41982 type: object 41983 properties: 41984 ed25519: 41985 type: string 41986 format: byte 41987 secp256k1: 41988 type: string 41989 format: byte 41990 title: >- 41991 PublicKey defines the keys available for use with Tendermint 41992 Validators 41993 voting_power: 41994 type: string 41995 format: int64 41996 proposer_priority: 41997 type: string 41998 format: int64 41999 proposer: 42000 type: object 42001 properties: 42002 address: 42003 type: string 42004 format: byte 42005 pub_key: 42006 type: object 42007 properties: 42008 ed25519: 42009 type: string 42010 format: byte 42011 secp256k1: 42012 type: string 42013 format: byte 42014 title: >- 42015 PublicKey defines the keys available for use with Tendermint 42016 Validators 42017 voting_power: 42018 type: string 42019 format: int64 42020 proposer_priority: 42021 type: string 42022 format: int64 42023 total_voting_power: 42024 type: string 42025 format: int64 42026 tendermint.types.LightClientAttackEvidence: 42027 type: object 42028 properties: 42029 conflicting_block: 42030 type: object 42031 properties: 42032 signed_header: 42033 type: object 42034 properties: 42035 header: 42036 type: object 42037 properties: 42038 version: 42039 title: basic block info 42040 type: object 42041 properties: 42042 block: 42043 type: string 42044 format: uint64 42045 app: 42046 type: string 42047 format: uint64 42048 description: >- 42049 Consensus captures the consensus rules for processing a 42050 block in the blockchain, 42051 42052 including all blockchain data structures and the rules of 42053 the application's 42054 42055 state transition machine. 42056 chain_id: 42057 type: string 42058 height: 42059 type: string 42060 format: int64 42061 time: 42062 type: string 42063 format: date-time 42064 last_block_id: 42065 type: object 42066 properties: 42067 hash: 42068 type: string 42069 format: byte 42070 part_set_header: 42071 type: object 42072 properties: 42073 total: 42074 type: integer 42075 format: int64 42076 hash: 42077 type: string 42078 format: byte 42079 title: PartsetHeader 42080 title: BlockID 42081 last_commit_hash: 42082 type: string 42083 format: byte 42084 title: hashes of block data 42085 data_hash: 42086 type: string 42087 format: byte 42088 validators_hash: 42089 type: string 42090 format: byte 42091 title: hashes from the app output from the prev block 42092 next_validators_hash: 42093 type: string 42094 format: byte 42095 consensus_hash: 42096 type: string 42097 format: byte 42098 app_hash: 42099 type: string 42100 format: byte 42101 last_results_hash: 42102 type: string 42103 format: byte 42104 evidence_hash: 42105 type: string 42106 format: byte 42107 title: consensus info 42108 proposer_address: 42109 type: string 42110 format: byte 42111 description: Header defines the structure of a Tendermint block header. 42112 commit: 42113 type: object 42114 properties: 42115 height: 42116 type: string 42117 format: int64 42118 round: 42119 type: integer 42120 format: int32 42121 block_id: 42122 type: object 42123 properties: 42124 hash: 42125 type: string 42126 format: byte 42127 part_set_header: 42128 type: object 42129 properties: 42130 total: 42131 type: integer 42132 format: int64 42133 hash: 42134 type: string 42135 format: byte 42136 title: PartsetHeader 42137 title: BlockID 42138 signatures: 42139 type: array 42140 items: 42141 type: object 42142 properties: 42143 block_id_flag: 42144 type: string 42145 enum: 42146 - BLOCK_ID_FLAG_UNKNOWN 42147 - BLOCK_ID_FLAG_ABSENT 42148 - BLOCK_ID_FLAG_COMMIT 42149 - BLOCK_ID_FLAG_NIL 42150 default: BLOCK_ID_FLAG_UNKNOWN 42151 title: >- 42152 BlockIdFlag indicates which BlcokID the signature is 42153 for 42154 validator_address: 42155 type: string 42156 format: byte 42157 timestamp: 42158 type: string 42159 format: date-time 42160 signature: 42161 type: string 42162 format: byte 42163 description: CommitSig is a part of the Vote included in a Commit. 42164 description: >- 42165 Commit contains the evidence that a block was committed by a 42166 set of validators. 42167 validator_set: 42168 type: object 42169 properties: 42170 validators: 42171 type: array 42172 items: 42173 type: object 42174 properties: 42175 address: 42176 type: string 42177 format: byte 42178 pub_key: 42179 type: object 42180 properties: 42181 ed25519: 42182 type: string 42183 format: byte 42184 secp256k1: 42185 type: string 42186 format: byte 42187 title: >- 42188 PublicKey defines the keys available for use with 42189 Tendermint Validators 42190 voting_power: 42191 type: string 42192 format: int64 42193 proposer_priority: 42194 type: string 42195 format: int64 42196 proposer: 42197 type: object 42198 properties: 42199 address: 42200 type: string 42201 format: byte 42202 pub_key: 42203 type: object 42204 properties: 42205 ed25519: 42206 type: string 42207 format: byte 42208 secp256k1: 42209 type: string 42210 format: byte 42211 title: >- 42212 PublicKey defines the keys available for use with 42213 Tendermint Validators 42214 voting_power: 42215 type: string 42216 format: int64 42217 proposer_priority: 42218 type: string 42219 format: int64 42220 total_voting_power: 42221 type: string 42222 format: int64 42223 common_height: 42224 type: string 42225 format: int64 42226 byzantine_validators: 42227 type: array 42228 items: 42229 type: object 42230 properties: 42231 address: 42232 type: string 42233 format: byte 42234 pub_key: 42235 type: object 42236 properties: 42237 ed25519: 42238 type: string 42239 format: byte 42240 secp256k1: 42241 type: string 42242 format: byte 42243 title: >- 42244 PublicKey defines the keys available for use with Tendermint 42245 Validators 42246 voting_power: 42247 type: string 42248 format: int64 42249 proposer_priority: 42250 type: string 42251 format: int64 42252 total_voting_power: 42253 type: string 42254 format: int64 42255 timestamp: 42256 type: string 42257 format: date-time 42258 description: >- 42259 LightClientAttackEvidence contains evidence of a set of validators 42260 attempting to mislead a light client. 42261 tendermint.types.PartSetHeader: 42262 type: object 42263 properties: 42264 total: 42265 type: integer 42266 format: int64 42267 hash: 42268 type: string 42269 format: byte 42270 title: PartsetHeader 42271 tendermint.types.SignedHeader: 42272 type: object 42273 properties: 42274 header: 42275 type: object 42276 properties: 42277 version: 42278 title: basic block info 42279 type: object 42280 properties: 42281 block: 42282 type: string 42283 format: uint64 42284 app: 42285 type: string 42286 format: uint64 42287 description: >- 42288 Consensus captures the consensus rules for processing a block in 42289 the blockchain, 42290 42291 including all blockchain data structures and the rules of the 42292 application's 42293 42294 state transition machine. 42295 chain_id: 42296 type: string 42297 height: 42298 type: string 42299 format: int64 42300 time: 42301 type: string 42302 format: date-time 42303 last_block_id: 42304 type: object 42305 properties: 42306 hash: 42307 type: string 42308 format: byte 42309 part_set_header: 42310 type: object 42311 properties: 42312 total: 42313 type: integer 42314 format: int64 42315 hash: 42316 type: string 42317 format: byte 42318 title: PartsetHeader 42319 title: BlockID 42320 last_commit_hash: 42321 type: string 42322 format: byte 42323 title: hashes of block data 42324 data_hash: 42325 type: string 42326 format: byte 42327 validators_hash: 42328 type: string 42329 format: byte 42330 title: hashes from the app output from the prev block 42331 next_validators_hash: 42332 type: string 42333 format: byte 42334 consensus_hash: 42335 type: string 42336 format: byte 42337 app_hash: 42338 type: string 42339 format: byte 42340 last_results_hash: 42341 type: string 42342 format: byte 42343 evidence_hash: 42344 type: string 42345 format: byte 42346 title: consensus info 42347 proposer_address: 42348 type: string 42349 format: byte 42350 description: Header defines the structure of a Tendermint block header. 42351 commit: 42352 type: object 42353 properties: 42354 height: 42355 type: string 42356 format: int64 42357 round: 42358 type: integer 42359 format: int32 42360 block_id: 42361 type: object 42362 properties: 42363 hash: 42364 type: string 42365 format: byte 42366 part_set_header: 42367 type: object 42368 properties: 42369 total: 42370 type: integer 42371 format: int64 42372 hash: 42373 type: string 42374 format: byte 42375 title: PartsetHeader 42376 title: BlockID 42377 signatures: 42378 type: array 42379 items: 42380 type: object 42381 properties: 42382 block_id_flag: 42383 type: string 42384 enum: 42385 - BLOCK_ID_FLAG_UNKNOWN 42386 - BLOCK_ID_FLAG_ABSENT 42387 - BLOCK_ID_FLAG_COMMIT 42388 - BLOCK_ID_FLAG_NIL 42389 default: BLOCK_ID_FLAG_UNKNOWN 42390 title: BlockIdFlag indicates which BlcokID the signature is for 42391 validator_address: 42392 type: string 42393 format: byte 42394 timestamp: 42395 type: string 42396 format: date-time 42397 signature: 42398 type: string 42399 format: byte 42400 description: CommitSig is a part of the Vote included in a Commit. 42401 description: >- 42402 Commit contains the evidence that a block was committed by a set of 42403 validators. 42404 tendermint.types.SignedMsgType: 42405 type: string 42406 enum: 42407 - SIGNED_MSG_TYPE_UNKNOWN 42408 - SIGNED_MSG_TYPE_PREVOTE 42409 - SIGNED_MSG_TYPE_PRECOMMIT 42410 - SIGNED_MSG_TYPE_PROPOSAL 42411 default: SIGNED_MSG_TYPE_UNKNOWN 42412 description: |- 42413 SignedMsgType is a type of signed message in the consensus. 42414 42415 - SIGNED_MSG_TYPE_PREVOTE: Votes 42416 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 42417 tendermint.types.Validator: 42418 type: object 42419 properties: 42420 address: 42421 type: string 42422 format: byte 42423 pub_key: 42424 type: object 42425 properties: 42426 ed25519: 42427 type: string 42428 format: byte 42429 secp256k1: 42430 type: string 42431 format: byte 42432 title: >- 42433 PublicKey defines the keys available for use with Tendermint 42434 Validators 42435 voting_power: 42436 type: string 42437 format: int64 42438 proposer_priority: 42439 type: string 42440 format: int64 42441 tendermint.types.ValidatorParams: 42442 type: object 42443 properties: 42444 pub_key_types: 42445 type: array 42446 items: 42447 type: string 42448 description: |- 42449 ValidatorParams restrict the public key types validators can use. 42450 NOTE: uses ABCI pubkey naming, not Amino names. 42451 tendermint.types.ValidatorSet: 42452 type: object 42453 properties: 42454 validators: 42455 type: array 42456 items: 42457 type: object 42458 properties: 42459 address: 42460 type: string 42461 format: byte 42462 pub_key: 42463 type: object 42464 properties: 42465 ed25519: 42466 type: string 42467 format: byte 42468 secp256k1: 42469 type: string 42470 format: byte 42471 title: >- 42472 PublicKey defines the keys available for use with Tendermint 42473 Validators 42474 voting_power: 42475 type: string 42476 format: int64 42477 proposer_priority: 42478 type: string 42479 format: int64 42480 proposer: 42481 type: object 42482 properties: 42483 address: 42484 type: string 42485 format: byte 42486 pub_key: 42487 type: object 42488 properties: 42489 ed25519: 42490 type: string 42491 format: byte 42492 secp256k1: 42493 type: string 42494 format: byte 42495 title: >- 42496 PublicKey defines the keys available for use with Tendermint 42497 Validators 42498 voting_power: 42499 type: string 42500 format: int64 42501 proposer_priority: 42502 type: string 42503 format: int64 42504 total_voting_power: 42505 type: string 42506 format: int64 42507 tendermint.types.VersionParams: 42508 type: object 42509 properties: 42510 app_version: 42511 type: string 42512 format: uint64 42513 description: VersionParams contains the ABCI application version. 42514 tendermint.types.Vote: 42515 type: object 42516 properties: 42517 type: 42518 type: string 42519 enum: 42520 - SIGNED_MSG_TYPE_UNKNOWN 42521 - SIGNED_MSG_TYPE_PREVOTE 42522 - SIGNED_MSG_TYPE_PRECOMMIT 42523 - SIGNED_MSG_TYPE_PROPOSAL 42524 default: SIGNED_MSG_TYPE_UNKNOWN 42525 description: |- 42526 SignedMsgType is a type of signed message in the consensus. 42527 42528 - SIGNED_MSG_TYPE_PREVOTE: Votes 42529 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 42530 height: 42531 type: string 42532 format: int64 42533 round: 42534 type: integer 42535 format: int32 42536 block_id: 42537 type: object 42538 properties: 42539 hash: 42540 type: string 42541 format: byte 42542 part_set_header: 42543 type: object 42544 properties: 42545 total: 42546 type: integer 42547 format: int64 42548 hash: 42549 type: string 42550 format: byte 42551 title: PartsetHeader 42552 title: BlockID 42553 timestamp: 42554 type: string 42555 format: date-time 42556 validator_address: 42557 type: string 42558 format: byte 42559 validator_index: 42560 type: integer 42561 format: int32 42562 signature: 42563 type: string 42564 format: byte 42565 description: |- 42566 Vote represents a prevote, precommit, or commit vote from validators for 42567 consensus. 42568 tendermint.version.Consensus: 42569 type: object 42570 properties: 42571 block: 42572 type: string 42573 format: uint64 42574 app: 42575 type: string 42576 format: uint64 42577 description: >- 42578 Consensus captures the consensus rules for processing a block in the 42579 blockchain, 42580 42581 including all blockchain data structures and the rules of the 42582 application's 42583 42584 state transition machine. 42585 cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse: 42586 type: object 42587 properties: 42588 block_id: 42589 type: object 42590 properties: 42591 hash: 42592 type: string 42593 format: byte 42594 part_set_header: 42595 type: object 42596 properties: 42597 total: 42598 type: integer 42599 format: int64 42600 hash: 42601 type: string 42602 format: byte 42603 title: PartsetHeader 42604 title: BlockID 42605 block: 42606 type: object 42607 properties: 42608 header: 42609 type: object 42610 properties: 42611 version: 42612 title: basic block info 42613 type: object 42614 properties: 42615 block: 42616 type: string 42617 format: uint64 42618 app: 42619 type: string 42620 format: uint64 42621 description: >- 42622 Consensus captures the consensus rules for processing a block 42623 in the blockchain, 42624 42625 including all blockchain data structures and the rules of the 42626 application's 42627 42628 state transition machine. 42629 chain_id: 42630 type: string 42631 height: 42632 type: string 42633 format: int64 42634 time: 42635 type: string 42636 format: date-time 42637 last_block_id: 42638 type: object 42639 properties: 42640 hash: 42641 type: string 42642 format: byte 42643 part_set_header: 42644 type: object 42645 properties: 42646 total: 42647 type: integer 42648 format: int64 42649 hash: 42650 type: string 42651 format: byte 42652 title: PartsetHeader 42653 title: BlockID 42654 last_commit_hash: 42655 type: string 42656 format: byte 42657 title: hashes of block data 42658 data_hash: 42659 type: string 42660 format: byte 42661 validators_hash: 42662 type: string 42663 format: byte 42664 title: hashes from the app output from the prev block 42665 next_validators_hash: 42666 type: string 42667 format: byte 42668 consensus_hash: 42669 type: string 42670 format: byte 42671 app_hash: 42672 type: string 42673 format: byte 42674 last_results_hash: 42675 type: string 42676 format: byte 42677 evidence_hash: 42678 type: string 42679 format: byte 42680 title: consensus info 42681 proposer_address: 42682 type: string 42683 format: byte 42684 description: Header defines the structure of a Tendermint block header. 42685 data: 42686 type: object 42687 properties: 42688 txs: 42689 type: array 42690 items: 42691 type: string 42692 format: byte 42693 description: >- 42694 Txs that will be applied by state @ block.Height+1. 42695 42696 NOTE: not all txs here are valid. We're just agreeing on the 42697 order first. 42698 42699 This means that block.AppHash does not include these txs. 42700 title: Data contains the set of transactions included in the block 42701 evidence: 42702 type: object 42703 properties: 42704 evidence: 42705 type: array 42706 items: 42707 type: object 42708 properties: 42709 duplicate_vote_evidence: 42710 type: object 42711 properties: 42712 vote_a: 42713 type: object 42714 properties: 42715 type: 42716 type: string 42717 enum: 42718 - SIGNED_MSG_TYPE_UNKNOWN 42719 - SIGNED_MSG_TYPE_PREVOTE 42720 - SIGNED_MSG_TYPE_PRECOMMIT 42721 - SIGNED_MSG_TYPE_PROPOSAL 42722 default: SIGNED_MSG_TYPE_UNKNOWN 42723 description: >- 42724 SignedMsgType is a type of signed message in the 42725 consensus. 42726 42727 - SIGNED_MSG_TYPE_PREVOTE: Votes 42728 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 42729 height: 42730 type: string 42731 format: int64 42732 round: 42733 type: integer 42734 format: int32 42735 block_id: 42736 type: object 42737 properties: 42738 hash: 42739 type: string 42740 format: byte 42741 part_set_header: 42742 type: object 42743 properties: 42744 total: 42745 type: integer 42746 format: int64 42747 hash: 42748 type: string 42749 format: byte 42750 title: PartsetHeader 42751 title: BlockID 42752 timestamp: 42753 type: string 42754 format: date-time 42755 validator_address: 42756 type: string 42757 format: byte 42758 validator_index: 42759 type: integer 42760 format: int32 42761 signature: 42762 type: string 42763 format: byte 42764 description: >- 42765 Vote represents a prevote, precommit, or commit vote 42766 from validators for 42767 42768 consensus. 42769 vote_b: 42770 type: object 42771 properties: 42772 type: 42773 type: string 42774 enum: 42775 - SIGNED_MSG_TYPE_UNKNOWN 42776 - SIGNED_MSG_TYPE_PREVOTE 42777 - SIGNED_MSG_TYPE_PRECOMMIT 42778 - SIGNED_MSG_TYPE_PROPOSAL 42779 default: SIGNED_MSG_TYPE_UNKNOWN 42780 description: >- 42781 SignedMsgType is a type of signed message in the 42782 consensus. 42783 42784 - SIGNED_MSG_TYPE_PREVOTE: Votes 42785 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 42786 height: 42787 type: string 42788 format: int64 42789 round: 42790 type: integer 42791 format: int32 42792 block_id: 42793 type: object 42794 properties: 42795 hash: 42796 type: string 42797 format: byte 42798 part_set_header: 42799 type: object 42800 properties: 42801 total: 42802 type: integer 42803 format: int64 42804 hash: 42805 type: string 42806 format: byte 42807 title: PartsetHeader 42808 title: BlockID 42809 timestamp: 42810 type: string 42811 format: date-time 42812 validator_address: 42813 type: string 42814 format: byte 42815 validator_index: 42816 type: integer 42817 format: int32 42818 signature: 42819 type: string 42820 format: byte 42821 description: >- 42822 Vote represents a prevote, precommit, or commit vote 42823 from validators for 42824 42825 consensus. 42826 total_voting_power: 42827 type: string 42828 format: int64 42829 validator_power: 42830 type: string 42831 format: int64 42832 timestamp: 42833 type: string 42834 format: date-time 42835 description: >- 42836 DuplicateVoteEvidence contains evidence of a validator 42837 signed two conflicting votes. 42838 light_client_attack_evidence: 42839 type: object 42840 properties: 42841 conflicting_block: 42842 type: object 42843 properties: 42844 signed_header: 42845 type: object 42846 properties: 42847 header: 42848 type: object 42849 properties: 42850 version: 42851 title: basic block info 42852 type: object 42853 properties: 42854 block: 42855 type: string 42856 format: uint64 42857 app: 42858 type: string 42859 format: uint64 42860 description: >- 42861 Consensus captures the consensus rules 42862 for processing a block in the 42863 blockchain, 42864 42865 including all blockchain data structures 42866 and the rules of the application's 42867 42868 state transition machine. 42869 chain_id: 42870 type: string 42871 height: 42872 type: string 42873 format: int64 42874 time: 42875 type: string 42876 format: date-time 42877 last_block_id: 42878 type: object 42879 properties: 42880 hash: 42881 type: string 42882 format: byte 42883 part_set_header: 42884 type: object 42885 properties: 42886 total: 42887 type: integer 42888 format: int64 42889 hash: 42890 type: string 42891 format: byte 42892 title: PartsetHeader 42893 title: BlockID 42894 last_commit_hash: 42895 type: string 42896 format: byte 42897 title: hashes of block data 42898 data_hash: 42899 type: string 42900 format: byte 42901 validators_hash: 42902 type: string 42903 format: byte 42904 title: >- 42905 hashes from the app output from the prev 42906 block 42907 next_validators_hash: 42908 type: string 42909 format: byte 42910 consensus_hash: 42911 type: string 42912 format: byte 42913 app_hash: 42914 type: string 42915 format: byte 42916 last_results_hash: 42917 type: string 42918 format: byte 42919 evidence_hash: 42920 type: string 42921 format: byte 42922 title: consensus info 42923 proposer_address: 42924 type: string 42925 format: byte 42926 description: >- 42927 Header defines the structure of a Tendermint 42928 block header. 42929 commit: 42930 type: object 42931 properties: 42932 height: 42933 type: string 42934 format: int64 42935 round: 42936 type: integer 42937 format: int32 42938 block_id: 42939 type: object 42940 properties: 42941 hash: 42942 type: string 42943 format: byte 42944 part_set_header: 42945 type: object 42946 properties: 42947 total: 42948 type: integer 42949 format: int64 42950 hash: 42951 type: string 42952 format: byte 42953 title: PartsetHeader 42954 title: BlockID 42955 signatures: 42956 type: array 42957 items: 42958 type: object 42959 properties: 42960 block_id_flag: 42961 type: string 42962 enum: 42963 - BLOCK_ID_FLAG_UNKNOWN 42964 - BLOCK_ID_FLAG_ABSENT 42965 - BLOCK_ID_FLAG_COMMIT 42966 - BLOCK_ID_FLAG_NIL 42967 default: BLOCK_ID_FLAG_UNKNOWN 42968 title: >- 42969 BlockIdFlag indicates which BlcokID the 42970 signature is for 42971 validator_address: 42972 type: string 42973 format: byte 42974 timestamp: 42975 type: string 42976 format: date-time 42977 signature: 42978 type: string 42979 format: byte 42980 description: >- 42981 CommitSig is a part of the Vote included 42982 in a Commit. 42983 description: >- 42984 Commit contains the evidence that a block 42985 was committed by a set of validators. 42986 validator_set: 42987 type: object 42988 properties: 42989 validators: 42990 type: array 42991 items: 42992 type: object 42993 properties: 42994 address: 42995 type: string 42996 format: byte 42997 pub_key: 42998 type: object 42999 properties: 43000 ed25519: 43001 type: string 43002 format: byte 43003 secp256k1: 43004 type: string 43005 format: byte 43006 title: >- 43007 PublicKey defines the keys available for 43008 use with Tendermint Validators 43009 voting_power: 43010 type: string 43011 format: int64 43012 proposer_priority: 43013 type: string 43014 format: int64 43015 proposer: 43016 type: object 43017 properties: 43018 address: 43019 type: string 43020 format: byte 43021 pub_key: 43022 type: object 43023 properties: 43024 ed25519: 43025 type: string 43026 format: byte 43027 secp256k1: 43028 type: string 43029 format: byte 43030 title: >- 43031 PublicKey defines the keys available for 43032 use with Tendermint Validators 43033 voting_power: 43034 type: string 43035 format: int64 43036 proposer_priority: 43037 type: string 43038 format: int64 43039 total_voting_power: 43040 type: string 43041 format: int64 43042 common_height: 43043 type: string 43044 format: int64 43045 byzantine_validators: 43046 type: array 43047 items: 43048 type: object 43049 properties: 43050 address: 43051 type: string 43052 format: byte 43053 pub_key: 43054 type: object 43055 properties: 43056 ed25519: 43057 type: string 43058 format: byte 43059 secp256k1: 43060 type: string 43061 format: byte 43062 title: >- 43063 PublicKey defines the keys available for use 43064 with Tendermint Validators 43065 voting_power: 43066 type: string 43067 format: int64 43068 proposer_priority: 43069 type: string 43070 format: int64 43071 total_voting_power: 43072 type: string 43073 format: int64 43074 timestamp: 43075 type: string 43076 format: date-time 43077 description: >- 43078 LightClientAttackEvidence contains evidence of a set of 43079 validators attempting to mislead a light client. 43080 last_commit: 43081 type: object 43082 properties: 43083 height: 43084 type: string 43085 format: int64 43086 round: 43087 type: integer 43088 format: int32 43089 block_id: 43090 type: object 43091 properties: 43092 hash: 43093 type: string 43094 format: byte 43095 part_set_header: 43096 type: object 43097 properties: 43098 total: 43099 type: integer 43100 format: int64 43101 hash: 43102 type: string 43103 format: byte 43104 title: PartsetHeader 43105 title: BlockID 43106 signatures: 43107 type: array 43108 items: 43109 type: object 43110 properties: 43111 block_id_flag: 43112 type: string 43113 enum: 43114 - BLOCK_ID_FLAG_UNKNOWN 43115 - BLOCK_ID_FLAG_ABSENT 43116 - BLOCK_ID_FLAG_COMMIT 43117 - BLOCK_ID_FLAG_NIL 43118 default: BLOCK_ID_FLAG_UNKNOWN 43119 title: BlockIdFlag indicates which BlcokID the signature is for 43120 validator_address: 43121 type: string 43122 format: byte 43123 timestamp: 43124 type: string 43125 format: date-time 43126 signature: 43127 type: string 43128 format: byte 43129 description: CommitSig is a part of the Vote included in a Commit. 43130 description: >- 43131 Commit contains the evidence that a block was committed by a set 43132 of validators. 43133 description: >- 43134 GetBlockByHeightResponse is the response type for the 43135 Query/GetBlockByHeight RPC method. 43136 cosmos.base.tendermint.v1beta1.GetLatestBlockResponse: 43137 type: object 43138 properties: 43139 block_id: 43140 type: object 43141 properties: 43142 hash: 43143 type: string 43144 format: byte 43145 part_set_header: 43146 type: object 43147 properties: 43148 total: 43149 type: integer 43150 format: int64 43151 hash: 43152 type: string 43153 format: byte 43154 title: PartsetHeader 43155 title: BlockID 43156 block: 43157 type: object 43158 properties: 43159 header: 43160 type: object 43161 properties: 43162 version: 43163 title: basic block info 43164 type: object 43165 properties: 43166 block: 43167 type: string 43168 format: uint64 43169 app: 43170 type: string 43171 format: uint64 43172 description: >- 43173 Consensus captures the consensus rules for processing a block 43174 in the blockchain, 43175 43176 including all blockchain data structures and the rules of the 43177 application's 43178 43179 state transition machine. 43180 chain_id: 43181 type: string 43182 height: 43183 type: string 43184 format: int64 43185 time: 43186 type: string 43187 format: date-time 43188 last_block_id: 43189 type: object 43190 properties: 43191 hash: 43192 type: string 43193 format: byte 43194 part_set_header: 43195 type: object 43196 properties: 43197 total: 43198 type: integer 43199 format: int64 43200 hash: 43201 type: string 43202 format: byte 43203 title: PartsetHeader 43204 title: BlockID 43205 last_commit_hash: 43206 type: string 43207 format: byte 43208 title: hashes of block data 43209 data_hash: 43210 type: string 43211 format: byte 43212 validators_hash: 43213 type: string 43214 format: byte 43215 title: hashes from the app output from the prev block 43216 next_validators_hash: 43217 type: string 43218 format: byte 43219 consensus_hash: 43220 type: string 43221 format: byte 43222 app_hash: 43223 type: string 43224 format: byte 43225 last_results_hash: 43226 type: string 43227 format: byte 43228 evidence_hash: 43229 type: string 43230 format: byte 43231 title: consensus info 43232 proposer_address: 43233 type: string 43234 format: byte 43235 description: Header defines the structure of a Tendermint block header. 43236 data: 43237 type: object 43238 properties: 43239 txs: 43240 type: array 43241 items: 43242 type: string 43243 format: byte 43244 description: >- 43245 Txs that will be applied by state @ block.Height+1. 43246 43247 NOTE: not all txs here are valid. We're just agreeing on the 43248 order first. 43249 43250 This means that block.AppHash does not include these txs. 43251 title: Data contains the set of transactions included in the block 43252 evidence: 43253 type: object 43254 properties: 43255 evidence: 43256 type: array 43257 items: 43258 type: object 43259 properties: 43260 duplicate_vote_evidence: 43261 type: object 43262 properties: 43263 vote_a: 43264 type: object 43265 properties: 43266 type: 43267 type: string 43268 enum: 43269 - SIGNED_MSG_TYPE_UNKNOWN 43270 - SIGNED_MSG_TYPE_PREVOTE 43271 - SIGNED_MSG_TYPE_PRECOMMIT 43272 - SIGNED_MSG_TYPE_PROPOSAL 43273 default: SIGNED_MSG_TYPE_UNKNOWN 43274 description: >- 43275 SignedMsgType is a type of signed message in the 43276 consensus. 43277 43278 - SIGNED_MSG_TYPE_PREVOTE: Votes 43279 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 43280 height: 43281 type: string 43282 format: int64 43283 round: 43284 type: integer 43285 format: int32 43286 block_id: 43287 type: object 43288 properties: 43289 hash: 43290 type: string 43291 format: byte 43292 part_set_header: 43293 type: object 43294 properties: 43295 total: 43296 type: integer 43297 format: int64 43298 hash: 43299 type: string 43300 format: byte 43301 title: PartsetHeader 43302 title: BlockID 43303 timestamp: 43304 type: string 43305 format: date-time 43306 validator_address: 43307 type: string 43308 format: byte 43309 validator_index: 43310 type: integer 43311 format: int32 43312 signature: 43313 type: string 43314 format: byte 43315 description: >- 43316 Vote represents a prevote, precommit, or commit vote 43317 from validators for 43318 43319 consensus. 43320 vote_b: 43321 type: object 43322 properties: 43323 type: 43324 type: string 43325 enum: 43326 - SIGNED_MSG_TYPE_UNKNOWN 43327 - SIGNED_MSG_TYPE_PREVOTE 43328 - SIGNED_MSG_TYPE_PRECOMMIT 43329 - SIGNED_MSG_TYPE_PROPOSAL 43330 default: SIGNED_MSG_TYPE_UNKNOWN 43331 description: >- 43332 SignedMsgType is a type of signed message in the 43333 consensus. 43334 43335 - SIGNED_MSG_TYPE_PREVOTE: Votes 43336 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 43337 height: 43338 type: string 43339 format: int64 43340 round: 43341 type: integer 43342 format: int32 43343 block_id: 43344 type: object 43345 properties: 43346 hash: 43347 type: string 43348 format: byte 43349 part_set_header: 43350 type: object 43351 properties: 43352 total: 43353 type: integer 43354 format: int64 43355 hash: 43356 type: string 43357 format: byte 43358 title: PartsetHeader 43359 title: BlockID 43360 timestamp: 43361 type: string 43362 format: date-time 43363 validator_address: 43364 type: string 43365 format: byte 43366 validator_index: 43367 type: integer 43368 format: int32 43369 signature: 43370 type: string 43371 format: byte 43372 description: >- 43373 Vote represents a prevote, precommit, or commit vote 43374 from validators for 43375 43376 consensus. 43377 total_voting_power: 43378 type: string 43379 format: int64 43380 validator_power: 43381 type: string 43382 format: int64 43383 timestamp: 43384 type: string 43385 format: date-time 43386 description: >- 43387 DuplicateVoteEvidence contains evidence of a validator 43388 signed two conflicting votes. 43389 light_client_attack_evidence: 43390 type: object 43391 properties: 43392 conflicting_block: 43393 type: object 43394 properties: 43395 signed_header: 43396 type: object 43397 properties: 43398 header: 43399 type: object 43400 properties: 43401 version: 43402 title: basic block info 43403 type: object 43404 properties: 43405 block: 43406 type: string 43407 format: uint64 43408 app: 43409 type: string 43410 format: uint64 43411 description: >- 43412 Consensus captures the consensus rules 43413 for processing a block in the 43414 blockchain, 43415 43416 including all blockchain data structures 43417 and the rules of the application's 43418 43419 state transition machine. 43420 chain_id: 43421 type: string 43422 height: 43423 type: string 43424 format: int64 43425 time: 43426 type: string 43427 format: date-time 43428 last_block_id: 43429 type: object 43430 properties: 43431 hash: 43432 type: string 43433 format: byte 43434 part_set_header: 43435 type: object 43436 properties: 43437 total: 43438 type: integer 43439 format: int64 43440 hash: 43441 type: string 43442 format: byte 43443 title: PartsetHeader 43444 title: BlockID 43445 last_commit_hash: 43446 type: string 43447 format: byte 43448 title: hashes of block data 43449 data_hash: 43450 type: string 43451 format: byte 43452 validators_hash: 43453 type: string 43454 format: byte 43455 title: >- 43456 hashes from the app output from the prev 43457 block 43458 next_validators_hash: 43459 type: string 43460 format: byte 43461 consensus_hash: 43462 type: string 43463 format: byte 43464 app_hash: 43465 type: string 43466 format: byte 43467 last_results_hash: 43468 type: string 43469 format: byte 43470 evidence_hash: 43471 type: string 43472 format: byte 43473 title: consensus info 43474 proposer_address: 43475 type: string 43476 format: byte 43477 description: >- 43478 Header defines the structure of a Tendermint 43479 block header. 43480 commit: 43481 type: object 43482 properties: 43483 height: 43484 type: string 43485 format: int64 43486 round: 43487 type: integer 43488 format: int32 43489 block_id: 43490 type: object 43491 properties: 43492 hash: 43493 type: string 43494 format: byte 43495 part_set_header: 43496 type: object 43497 properties: 43498 total: 43499 type: integer 43500 format: int64 43501 hash: 43502 type: string 43503 format: byte 43504 title: PartsetHeader 43505 title: BlockID 43506 signatures: 43507 type: array 43508 items: 43509 type: object 43510 properties: 43511 block_id_flag: 43512 type: string 43513 enum: 43514 - BLOCK_ID_FLAG_UNKNOWN 43515 - BLOCK_ID_FLAG_ABSENT 43516 - BLOCK_ID_FLAG_COMMIT 43517 - BLOCK_ID_FLAG_NIL 43518 default: BLOCK_ID_FLAG_UNKNOWN 43519 title: >- 43520 BlockIdFlag indicates which BlcokID the 43521 signature is for 43522 validator_address: 43523 type: string 43524 format: byte 43525 timestamp: 43526 type: string 43527 format: date-time 43528 signature: 43529 type: string 43530 format: byte 43531 description: >- 43532 CommitSig is a part of the Vote included 43533 in a Commit. 43534 description: >- 43535 Commit contains the evidence that a block 43536 was committed by a set of validators. 43537 validator_set: 43538 type: object 43539 properties: 43540 validators: 43541 type: array 43542 items: 43543 type: object 43544 properties: 43545 address: 43546 type: string 43547 format: byte 43548 pub_key: 43549 type: object 43550 properties: 43551 ed25519: 43552 type: string 43553 format: byte 43554 secp256k1: 43555 type: string 43556 format: byte 43557 title: >- 43558 PublicKey defines the keys available for 43559 use with Tendermint Validators 43560 voting_power: 43561 type: string 43562 format: int64 43563 proposer_priority: 43564 type: string 43565 format: int64 43566 proposer: 43567 type: object 43568 properties: 43569 address: 43570 type: string 43571 format: byte 43572 pub_key: 43573 type: object 43574 properties: 43575 ed25519: 43576 type: string 43577 format: byte 43578 secp256k1: 43579 type: string 43580 format: byte 43581 title: >- 43582 PublicKey defines the keys available for 43583 use with Tendermint Validators 43584 voting_power: 43585 type: string 43586 format: int64 43587 proposer_priority: 43588 type: string 43589 format: int64 43590 total_voting_power: 43591 type: string 43592 format: int64 43593 common_height: 43594 type: string 43595 format: int64 43596 byzantine_validators: 43597 type: array 43598 items: 43599 type: object 43600 properties: 43601 address: 43602 type: string 43603 format: byte 43604 pub_key: 43605 type: object 43606 properties: 43607 ed25519: 43608 type: string 43609 format: byte 43610 secp256k1: 43611 type: string 43612 format: byte 43613 title: >- 43614 PublicKey defines the keys available for use 43615 with Tendermint Validators 43616 voting_power: 43617 type: string 43618 format: int64 43619 proposer_priority: 43620 type: string 43621 format: int64 43622 total_voting_power: 43623 type: string 43624 format: int64 43625 timestamp: 43626 type: string 43627 format: date-time 43628 description: >- 43629 LightClientAttackEvidence contains evidence of a set of 43630 validators attempting to mislead a light client. 43631 last_commit: 43632 type: object 43633 properties: 43634 height: 43635 type: string 43636 format: int64 43637 round: 43638 type: integer 43639 format: int32 43640 block_id: 43641 type: object 43642 properties: 43643 hash: 43644 type: string 43645 format: byte 43646 part_set_header: 43647 type: object 43648 properties: 43649 total: 43650 type: integer 43651 format: int64 43652 hash: 43653 type: string 43654 format: byte 43655 title: PartsetHeader 43656 title: BlockID 43657 signatures: 43658 type: array 43659 items: 43660 type: object 43661 properties: 43662 block_id_flag: 43663 type: string 43664 enum: 43665 - BLOCK_ID_FLAG_UNKNOWN 43666 - BLOCK_ID_FLAG_ABSENT 43667 - BLOCK_ID_FLAG_COMMIT 43668 - BLOCK_ID_FLAG_NIL 43669 default: BLOCK_ID_FLAG_UNKNOWN 43670 title: BlockIdFlag indicates which BlcokID the signature is for 43671 validator_address: 43672 type: string 43673 format: byte 43674 timestamp: 43675 type: string 43676 format: date-time 43677 signature: 43678 type: string 43679 format: byte 43680 description: CommitSig is a part of the Vote included in a Commit. 43681 description: >- 43682 Commit contains the evidence that a block was committed by a set 43683 of validators. 43684 description: >- 43685 GetLatestBlockResponse is the response type for the Query/GetLatestBlock 43686 RPC method. 43687 cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse: 43688 type: object 43689 properties: 43690 block_height: 43691 type: string 43692 format: int64 43693 validators: 43694 type: array 43695 items: 43696 type: object 43697 properties: 43698 address: 43699 type: string 43700 pub_key: 43701 type: object 43702 properties: 43703 type_url: 43704 type: string 43705 description: >- 43706 A URL/resource name that uniquely identifies the type of the 43707 serialized 43708 43709 protocol buffer message. This string must contain at least 43710 43711 one "/" character. The last segment of the URL's path must 43712 represent 43713 43714 the fully qualified name of the type (as in 43715 43716 `path/google.protobuf.Duration`). The name should be in a 43717 canonical form 43718 43719 (e.g., leading "." is not accepted). 43720 43721 43722 In practice, teams usually precompile into the binary all 43723 types that they 43724 43725 expect it to use in the context of Any. However, for URLs 43726 which use the 43727 43728 scheme `http`, `https`, or no scheme, one can optionally set 43729 up a type 43730 43731 server that maps type URLs to message definitions as 43732 follows: 43733 43734 43735 * If no scheme is provided, `https` is assumed. 43736 43737 * An HTTP GET on the URL must yield a 43738 [google.protobuf.Type][] 43739 value in binary format, or produce an error. 43740 * Applications are allowed to cache lookup results based on 43741 the 43742 URL, or have them precompiled into a binary to avoid any 43743 lookup. Therefore, binary compatibility needs to be preserved 43744 on changes to types. (Use versioned type names to manage 43745 breaking changes.) 43746 43747 Note: this functionality is not currently available in the 43748 official 43749 43750 protobuf release, and it is not used for type URLs beginning 43751 with 43752 43753 type.googleapis.com. 43754 43755 43756 Schemes other than `http`, `https` (or the empty scheme) 43757 might be 43758 43759 used with implementation specific semantics. 43760 value: 43761 type: string 43762 format: byte 43763 description: >- 43764 Must be a valid serialized protocol buffer of the above 43765 specified type. 43766 description: >- 43767 `Any` contains an arbitrary serialized protocol buffer message 43768 along with a 43769 43770 URL that describes the type of the serialized message. 43771 43772 43773 Protobuf library provides support to pack/unpack Any values in 43774 the form 43775 43776 of utility functions or additional generated methods of the Any 43777 type. 43778 43779 43780 Example 1: Pack and unpack a message in C++. 43781 43782 Foo foo = ...; 43783 Any any; 43784 any.PackFrom(foo); 43785 ... 43786 if (any.UnpackTo(&foo)) { 43787 ... 43788 } 43789 43790 Example 2: Pack and unpack a message in Java. 43791 43792 Foo foo = ...; 43793 Any any = Any.pack(foo); 43794 ... 43795 if (any.is(Foo.class)) { 43796 foo = any.unpack(Foo.class); 43797 } 43798 43799 Example 3: Pack and unpack a message in Python. 43800 43801 foo = Foo(...) 43802 any = Any() 43803 any.Pack(foo) 43804 ... 43805 if any.Is(Foo.DESCRIPTOR): 43806 any.Unpack(foo) 43807 ... 43808 43809 Example 4: Pack and unpack a message in Go 43810 43811 foo := &pb.Foo{...} 43812 any, err := ptypes.MarshalAny(foo) 43813 ... 43814 foo := &pb.Foo{} 43815 if err := ptypes.UnmarshalAny(any, foo); err != nil { 43816 ... 43817 } 43818 43819 The pack methods provided by protobuf library will by default 43820 use 43821 43822 'type.googleapis.com/full.type.name' as the type URL and the 43823 unpack 43824 43825 methods only use the fully qualified type name after the last 43826 '/' 43827 43828 in the type URL, for example "foo.bar.com/x/y.z" will yield type 43829 43830 name "y.z". 43831 43832 43833 43834 JSON 43835 43836 ==== 43837 43838 The JSON representation of an `Any` value uses the regular 43839 43840 representation of the deserialized, embedded message, with an 43841 43842 additional field `@type` which contains the type URL. Example: 43843 43844 package google.profile; 43845 message Person { 43846 string first_name = 1; 43847 string last_name = 2; 43848 } 43849 43850 { 43851 "@type": "type.googleapis.com/google.profile.Person", 43852 "firstName": <string>, 43853 "lastName": <string> 43854 } 43855 43856 If the embedded message type is well-known and has a custom JSON 43857 43858 representation, that representation will be embedded adding a 43859 field 43860 43861 `value` which holds the custom JSON in addition to the `@type` 43862 43863 field. Example (for message [google.protobuf.Duration][]): 43864 43865 { 43866 "@type": "type.googleapis.com/google.protobuf.Duration", 43867 "value": "1.212s" 43868 } 43869 voting_power: 43870 type: string 43871 format: int64 43872 proposer_priority: 43873 type: string 43874 format: int64 43875 description: Validator is the type for the validator-set. 43876 pagination: 43877 description: pagination defines an pagination for the response. 43878 type: object 43879 properties: 43880 next_key: 43881 type: string 43882 format: byte 43883 title: |- 43884 next_key is the key to be passed to PageRequest.key to 43885 query the next page most efficiently 43886 total: 43887 type: string 43888 format: uint64 43889 title: >- 43890 total is total number of results available if 43891 PageRequest.count_total 43892 43893 was set, its value is undefined otherwise 43894 description: >- 43895 GetLatestValidatorSetResponse is the response type for the 43896 Query/GetValidatorSetByHeight RPC method. 43897 cosmos.base.tendermint.v1beta1.GetNodeInfoResponse: 43898 type: object 43899 properties: 43900 default_node_info: 43901 type: object 43902 properties: 43903 protocol_version: 43904 type: object 43905 properties: 43906 p2p: 43907 type: string 43908 format: uint64 43909 block: 43910 type: string 43911 format: uint64 43912 app: 43913 type: string 43914 format: uint64 43915 default_node_id: 43916 type: string 43917 listen_addr: 43918 type: string 43919 network: 43920 type: string 43921 version: 43922 type: string 43923 channels: 43924 type: string 43925 format: byte 43926 moniker: 43927 type: string 43928 other: 43929 type: object 43930 properties: 43931 tx_index: 43932 type: string 43933 rpc_address: 43934 type: string 43935 application_version: 43936 type: object 43937 properties: 43938 name: 43939 type: string 43940 app_name: 43941 type: string 43942 version: 43943 type: string 43944 git_commit: 43945 type: string 43946 build_tags: 43947 type: string 43948 go_version: 43949 type: string 43950 build_deps: 43951 type: array 43952 items: 43953 type: object 43954 properties: 43955 path: 43956 type: string 43957 title: module path 43958 version: 43959 type: string 43960 title: module version 43961 sum: 43962 type: string 43963 title: checksum 43964 title: Module is the type for VersionInfo 43965 cosmos_sdk_version: 43966 type: string 43967 title: 'Since: cosmos-sdk 0.43' 43968 description: VersionInfo is the type for the GetNodeInfoResponse message. 43969 description: >- 43970 GetNodeInfoResponse is the request type for the Query/GetNodeInfo RPC 43971 method. 43972 cosmos.base.tendermint.v1beta1.GetSyncingResponse: 43973 type: object 43974 properties: 43975 syncing: 43976 type: boolean 43977 format: boolean 43978 description: >- 43979 GetSyncingResponse is the response type for the Query/GetSyncing RPC 43980 method. 43981 cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse: 43982 type: object 43983 properties: 43984 block_height: 43985 type: string 43986 format: int64 43987 validators: 43988 type: array 43989 items: 43990 type: object 43991 properties: 43992 address: 43993 type: string 43994 pub_key: 43995 type: object 43996 properties: 43997 type_url: 43998 type: string 43999 description: >- 44000 A URL/resource name that uniquely identifies the type of the 44001 serialized 44002 44003 protocol buffer message. This string must contain at least 44004 44005 one "/" character. The last segment of the URL's path must 44006 represent 44007 44008 the fully qualified name of the type (as in 44009 44010 `path/google.protobuf.Duration`). The name should be in a 44011 canonical form 44012 44013 (e.g., leading "." is not accepted). 44014 44015 44016 In practice, teams usually precompile into the binary all 44017 types that they 44018 44019 expect it to use in the context of Any. However, for URLs 44020 which use the 44021 44022 scheme `http`, `https`, or no scheme, one can optionally set 44023 up a type 44024 44025 server that maps type URLs to message definitions as 44026 follows: 44027 44028 44029 * If no scheme is provided, `https` is assumed. 44030 44031 * An HTTP GET on the URL must yield a 44032 [google.protobuf.Type][] 44033 value in binary format, or produce an error. 44034 * Applications are allowed to cache lookup results based on 44035 the 44036 URL, or have them precompiled into a binary to avoid any 44037 lookup. Therefore, binary compatibility needs to be preserved 44038 on changes to types. (Use versioned type names to manage 44039 breaking changes.) 44040 44041 Note: this functionality is not currently available in the 44042 official 44043 44044 protobuf release, and it is not used for type URLs beginning 44045 with 44046 44047 type.googleapis.com. 44048 44049 44050 Schemes other than `http`, `https` (or the empty scheme) 44051 might be 44052 44053 used with implementation specific semantics. 44054 value: 44055 type: string 44056 format: byte 44057 description: >- 44058 Must be a valid serialized protocol buffer of the above 44059 specified type. 44060 description: >- 44061 `Any` contains an arbitrary serialized protocol buffer message 44062 along with a 44063 44064 URL that describes the type of the serialized message. 44065 44066 44067 Protobuf library provides support to pack/unpack Any values in 44068 the form 44069 44070 of utility functions or additional generated methods of the Any 44071 type. 44072 44073 44074 Example 1: Pack and unpack a message in C++. 44075 44076 Foo foo = ...; 44077 Any any; 44078 any.PackFrom(foo); 44079 ... 44080 if (any.UnpackTo(&foo)) { 44081 ... 44082 } 44083 44084 Example 2: Pack and unpack a message in Java. 44085 44086 Foo foo = ...; 44087 Any any = Any.pack(foo); 44088 ... 44089 if (any.is(Foo.class)) { 44090 foo = any.unpack(Foo.class); 44091 } 44092 44093 Example 3: Pack and unpack a message in Python. 44094 44095 foo = Foo(...) 44096 any = Any() 44097 any.Pack(foo) 44098 ... 44099 if any.Is(Foo.DESCRIPTOR): 44100 any.Unpack(foo) 44101 ... 44102 44103 Example 4: Pack and unpack a message in Go 44104 44105 foo := &pb.Foo{...} 44106 any, err := ptypes.MarshalAny(foo) 44107 ... 44108 foo := &pb.Foo{} 44109 if err := ptypes.UnmarshalAny(any, foo); err != nil { 44110 ... 44111 } 44112 44113 The pack methods provided by protobuf library will by default 44114 use 44115 44116 'type.googleapis.com/full.type.name' as the type URL and the 44117 unpack 44118 44119 methods only use the fully qualified type name after the last 44120 '/' 44121 44122 in the type URL, for example "foo.bar.com/x/y.z" will yield type 44123 44124 name "y.z". 44125 44126 44127 44128 JSON 44129 44130 ==== 44131 44132 The JSON representation of an `Any` value uses the regular 44133 44134 representation of the deserialized, embedded message, with an 44135 44136 additional field `@type` which contains the type URL. Example: 44137 44138 package google.profile; 44139 message Person { 44140 string first_name = 1; 44141 string last_name = 2; 44142 } 44143 44144 { 44145 "@type": "type.googleapis.com/google.profile.Person", 44146 "firstName": <string>, 44147 "lastName": <string> 44148 } 44149 44150 If the embedded message type is well-known and has a custom JSON 44151 44152 representation, that representation will be embedded adding a 44153 field 44154 44155 `value` which holds the custom JSON in addition to the `@type` 44156 44157 field. Example (for message [google.protobuf.Duration][]): 44158 44159 { 44160 "@type": "type.googleapis.com/google.protobuf.Duration", 44161 "value": "1.212s" 44162 } 44163 voting_power: 44164 type: string 44165 format: int64 44166 proposer_priority: 44167 type: string 44168 format: int64 44169 description: Validator is the type for the validator-set. 44170 pagination: 44171 description: pagination defines an pagination for the response. 44172 type: object 44173 properties: 44174 next_key: 44175 type: string 44176 format: byte 44177 title: |- 44178 next_key is the key to be passed to PageRequest.key to 44179 query the next page most efficiently 44180 total: 44181 type: string 44182 format: uint64 44183 title: >- 44184 total is total number of results available if 44185 PageRequest.count_total 44186 44187 was set, its value is undefined otherwise 44188 description: >- 44189 GetValidatorSetByHeightResponse is the response type for the 44190 Query/GetValidatorSetByHeight RPC method. 44191 cosmos.base.tendermint.v1beta1.Module: 44192 type: object 44193 properties: 44194 path: 44195 type: string 44196 title: module path 44197 version: 44198 type: string 44199 title: module version 44200 sum: 44201 type: string 44202 title: checksum 44203 title: Module is the type for VersionInfo 44204 cosmos.base.tendermint.v1beta1.Validator: 44205 type: object 44206 properties: 44207 address: 44208 type: string 44209 pub_key: 44210 type: object 44211 properties: 44212 type_url: 44213 type: string 44214 description: >- 44215 A URL/resource name that uniquely identifies the type of the 44216 serialized 44217 44218 protocol buffer message. This string must contain at least 44219 44220 one "/" character. The last segment of the URL's path must 44221 represent 44222 44223 the fully qualified name of the type (as in 44224 44225 `path/google.protobuf.Duration`). The name should be in a 44226 canonical form 44227 44228 (e.g., leading "." is not accepted). 44229 44230 44231 In practice, teams usually precompile into the binary all types 44232 that they 44233 44234 expect it to use in the context of Any. However, for URLs which 44235 use the 44236 44237 scheme `http`, `https`, or no scheme, one can optionally set up a 44238 type 44239 44240 server that maps type URLs to message definitions as follows: 44241 44242 44243 * If no scheme is provided, `https` is assumed. 44244 44245 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 44246 value in binary format, or produce an error. 44247 * Applications are allowed to cache lookup results based on the 44248 URL, or have them precompiled into a binary to avoid any 44249 lookup. Therefore, binary compatibility needs to be preserved 44250 on changes to types. (Use versioned type names to manage 44251 breaking changes.) 44252 44253 Note: this functionality is not currently available in the 44254 official 44255 44256 protobuf release, and it is not used for type URLs beginning with 44257 44258 type.googleapis.com. 44259 44260 44261 Schemes other than `http`, `https` (or the empty scheme) might be 44262 44263 used with implementation specific semantics. 44264 value: 44265 type: string 44266 format: byte 44267 description: >- 44268 Must be a valid serialized protocol buffer of the above specified 44269 type. 44270 description: >- 44271 `Any` contains an arbitrary serialized protocol buffer message along 44272 with a 44273 44274 URL that describes the type of the serialized message. 44275 44276 44277 Protobuf library provides support to pack/unpack Any values in the 44278 form 44279 44280 of utility functions or additional generated methods of the Any type. 44281 44282 44283 Example 1: Pack and unpack a message in C++. 44284 44285 Foo foo = ...; 44286 Any any; 44287 any.PackFrom(foo); 44288 ... 44289 if (any.UnpackTo(&foo)) { 44290 ... 44291 } 44292 44293 Example 2: Pack and unpack a message in Java. 44294 44295 Foo foo = ...; 44296 Any any = Any.pack(foo); 44297 ... 44298 if (any.is(Foo.class)) { 44299 foo = any.unpack(Foo.class); 44300 } 44301 44302 Example 3: Pack and unpack a message in Python. 44303 44304 foo = Foo(...) 44305 any = Any() 44306 any.Pack(foo) 44307 ... 44308 if any.Is(Foo.DESCRIPTOR): 44309 any.Unpack(foo) 44310 ... 44311 44312 Example 4: Pack and unpack a message in Go 44313 44314 foo := &pb.Foo{...} 44315 any, err := ptypes.MarshalAny(foo) 44316 ... 44317 foo := &pb.Foo{} 44318 if err := ptypes.UnmarshalAny(any, foo); err != nil { 44319 ... 44320 } 44321 44322 The pack methods provided by protobuf library will by default use 44323 44324 'type.googleapis.com/full.type.name' as the type URL and the unpack 44325 44326 methods only use the fully qualified type name after the last '/' 44327 44328 in the type URL, for example "foo.bar.com/x/y.z" will yield type 44329 44330 name "y.z". 44331 44332 44333 44334 JSON 44335 44336 ==== 44337 44338 The JSON representation of an `Any` value uses the regular 44339 44340 representation of the deserialized, embedded message, with an 44341 44342 additional field `@type` which contains the type URL. Example: 44343 44344 package google.profile; 44345 message Person { 44346 string first_name = 1; 44347 string last_name = 2; 44348 } 44349 44350 { 44351 "@type": "type.googleapis.com/google.profile.Person", 44352 "firstName": <string>, 44353 "lastName": <string> 44354 } 44355 44356 If the embedded message type is well-known and has a custom JSON 44357 44358 representation, that representation will be embedded adding a field 44359 44360 `value` which holds the custom JSON in addition to the `@type` 44361 44362 field. Example (for message [google.protobuf.Duration][]): 44363 44364 { 44365 "@type": "type.googleapis.com/google.protobuf.Duration", 44366 "value": "1.212s" 44367 } 44368 voting_power: 44369 type: string 44370 format: int64 44371 proposer_priority: 44372 type: string 44373 format: int64 44374 description: Validator is the type for the validator-set. 44375 cosmos.base.tendermint.v1beta1.VersionInfo: 44376 type: object 44377 properties: 44378 name: 44379 type: string 44380 app_name: 44381 type: string 44382 version: 44383 type: string 44384 git_commit: 44385 type: string 44386 build_tags: 44387 type: string 44388 go_version: 44389 type: string 44390 build_deps: 44391 type: array 44392 items: 44393 type: object 44394 properties: 44395 path: 44396 type: string 44397 title: module path 44398 version: 44399 type: string 44400 title: module version 44401 sum: 44402 type: string 44403 title: checksum 44404 title: Module is the type for VersionInfo 44405 cosmos_sdk_version: 44406 type: string 44407 title: 'Since: cosmos-sdk 0.43' 44408 description: VersionInfo is the type for the GetNodeInfoResponse message. 44409 tendermint.types.Block: 44410 type: object 44411 properties: 44412 header: 44413 type: object 44414 properties: 44415 version: 44416 title: basic block info 44417 type: object 44418 properties: 44419 block: 44420 type: string 44421 format: uint64 44422 app: 44423 type: string 44424 format: uint64 44425 description: >- 44426 Consensus captures the consensus rules for processing a block in 44427 the blockchain, 44428 44429 including all blockchain data structures and the rules of the 44430 application's 44431 44432 state transition machine. 44433 chain_id: 44434 type: string 44435 height: 44436 type: string 44437 format: int64 44438 time: 44439 type: string 44440 format: date-time 44441 last_block_id: 44442 type: object 44443 properties: 44444 hash: 44445 type: string 44446 format: byte 44447 part_set_header: 44448 type: object 44449 properties: 44450 total: 44451 type: integer 44452 format: int64 44453 hash: 44454 type: string 44455 format: byte 44456 title: PartsetHeader 44457 title: BlockID 44458 last_commit_hash: 44459 type: string 44460 format: byte 44461 title: hashes of block data 44462 data_hash: 44463 type: string 44464 format: byte 44465 validators_hash: 44466 type: string 44467 format: byte 44468 title: hashes from the app output from the prev block 44469 next_validators_hash: 44470 type: string 44471 format: byte 44472 consensus_hash: 44473 type: string 44474 format: byte 44475 app_hash: 44476 type: string 44477 format: byte 44478 last_results_hash: 44479 type: string 44480 format: byte 44481 evidence_hash: 44482 type: string 44483 format: byte 44484 title: consensus info 44485 proposer_address: 44486 type: string 44487 format: byte 44488 description: Header defines the structure of a Tendermint block header. 44489 data: 44490 type: object 44491 properties: 44492 txs: 44493 type: array 44494 items: 44495 type: string 44496 format: byte 44497 description: >- 44498 Txs that will be applied by state @ block.Height+1. 44499 44500 NOTE: not all txs here are valid. We're just agreeing on the 44501 order first. 44502 44503 This means that block.AppHash does not include these txs. 44504 title: Data contains the set of transactions included in the block 44505 evidence: 44506 type: object 44507 properties: 44508 evidence: 44509 type: array 44510 items: 44511 type: object 44512 properties: 44513 duplicate_vote_evidence: 44514 type: object 44515 properties: 44516 vote_a: 44517 type: object 44518 properties: 44519 type: 44520 type: string 44521 enum: 44522 - SIGNED_MSG_TYPE_UNKNOWN 44523 - SIGNED_MSG_TYPE_PREVOTE 44524 - SIGNED_MSG_TYPE_PRECOMMIT 44525 - SIGNED_MSG_TYPE_PROPOSAL 44526 default: SIGNED_MSG_TYPE_UNKNOWN 44527 description: >- 44528 SignedMsgType is a type of signed message in the 44529 consensus. 44530 44531 - SIGNED_MSG_TYPE_PREVOTE: Votes 44532 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 44533 height: 44534 type: string 44535 format: int64 44536 round: 44537 type: integer 44538 format: int32 44539 block_id: 44540 type: object 44541 properties: 44542 hash: 44543 type: string 44544 format: byte 44545 part_set_header: 44546 type: object 44547 properties: 44548 total: 44549 type: integer 44550 format: int64 44551 hash: 44552 type: string 44553 format: byte 44554 title: PartsetHeader 44555 title: BlockID 44556 timestamp: 44557 type: string 44558 format: date-time 44559 validator_address: 44560 type: string 44561 format: byte 44562 validator_index: 44563 type: integer 44564 format: int32 44565 signature: 44566 type: string 44567 format: byte 44568 description: >- 44569 Vote represents a prevote, precommit, or commit vote 44570 from validators for 44571 44572 consensus. 44573 vote_b: 44574 type: object 44575 properties: 44576 type: 44577 type: string 44578 enum: 44579 - SIGNED_MSG_TYPE_UNKNOWN 44580 - SIGNED_MSG_TYPE_PREVOTE 44581 - SIGNED_MSG_TYPE_PRECOMMIT 44582 - SIGNED_MSG_TYPE_PROPOSAL 44583 default: SIGNED_MSG_TYPE_UNKNOWN 44584 description: >- 44585 SignedMsgType is a type of signed message in the 44586 consensus. 44587 44588 - SIGNED_MSG_TYPE_PREVOTE: Votes 44589 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 44590 height: 44591 type: string 44592 format: int64 44593 round: 44594 type: integer 44595 format: int32 44596 block_id: 44597 type: object 44598 properties: 44599 hash: 44600 type: string 44601 format: byte 44602 part_set_header: 44603 type: object 44604 properties: 44605 total: 44606 type: integer 44607 format: int64 44608 hash: 44609 type: string 44610 format: byte 44611 title: PartsetHeader 44612 title: BlockID 44613 timestamp: 44614 type: string 44615 format: date-time 44616 validator_address: 44617 type: string 44618 format: byte 44619 validator_index: 44620 type: integer 44621 format: int32 44622 signature: 44623 type: string 44624 format: byte 44625 description: >- 44626 Vote represents a prevote, precommit, or commit vote 44627 from validators for 44628 44629 consensus. 44630 total_voting_power: 44631 type: string 44632 format: int64 44633 validator_power: 44634 type: string 44635 format: int64 44636 timestamp: 44637 type: string 44638 format: date-time 44639 description: >- 44640 DuplicateVoteEvidence contains evidence of a validator 44641 signed two conflicting votes. 44642 light_client_attack_evidence: 44643 type: object 44644 properties: 44645 conflicting_block: 44646 type: object 44647 properties: 44648 signed_header: 44649 type: object 44650 properties: 44651 header: 44652 type: object 44653 properties: 44654 version: 44655 title: basic block info 44656 type: object 44657 properties: 44658 block: 44659 type: string 44660 format: uint64 44661 app: 44662 type: string 44663 format: uint64 44664 description: >- 44665 Consensus captures the consensus rules for 44666 processing a block in the blockchain, 44667 44668 including all blockchain data structures and 44669 the rules of the application's 44670 44671 state transition machine. 44672 chain_id: 44673 type: string 44674 height: 44675 type: string 44676 format: int64 44677 time: 44678 type: string 44679 format: date-time 44680 last_block_id: 44681 type: object 44682 properties: 44683 hash: 44684 type: string 44685 format: byte 44686 part_set_header: 44687 type: object 44688 properties: 44689 total: 44690 type: integer 44691 format: int64 44692 hash: 44693 type: string 44694 format: byte 44695 title: PartsetHeader 44696 title: BlockID 44697 last_commit_hash: 44698 type: string 44699 format: byte 44700 title: hashes of block data 44701 data_hash: 44702 type: string 44703 format: byte 44704 validators_hash: 44705 type: string 44706 format: byte 44707 title: >- 44708 hashes from the app output from the prev 44709 block 44710 next_validators_hash: 44711 type: string 44712 format: byte 44713 consensus_hash: 44714 type: string 44715 format: byte 44716 app_hash: 44717 type: string 44718 format: byte 44719 last_results_hash: 44720 type: string 44721 format: byte 44722 evidence_hash: 44723 type: string 44724 format: byte 44725 title: consensus info 44726 proposer_address: 44727 type: string 44728 format: byte 44729 description: >- 44730 Header defines the structure of a Tendermint 44731 block header. 44732 commit: 44733 type: object 44734 properties: 44735 height: 44736 type: string 44737 format: int64 44738 round: 44739 type: integer 44740 format: int32 44741 block_id: 44742 type: object 44743 properties: 44744 hash: 44745 type: string 44746 format: byte 44747 part_set_header: 44748 type: object 44749 properties: 44750 total: 44751 type: integer 44752 format: int64 44753 hash: 44754 type: string 44755 format: byte 44756 title: PartsetHeader 44757 title: BlockID 44758 signatures: 44759 type: array 44760 items: 44761 type: object 44762 properties: 44763 block_id_flag: 44764 type: string 44765 enum: 44766 - BLOCK_ID_FLAG_UNKNOWN 44767 - BLOCK_ID_FLAG_ABSENT 44768 - BLOCK_ID_FLAG_COMMIT 44769 - BLOCK_ID_FLAG_NIL 44770 default: BLOCK_ID_FLAG_UNKNOWN 44771 title: >- 44772 BlockIdFlag indicates which BlcokID the 44773 signature is for 44774 validator_address: 44775 type: string 44776 format: byte 44777 timestamp: 44778 type: string 44779 format: date-time 44780 signature: 44781 type: string 44782 format: byte 44783 description: >- 44784 CommitSig is a part of the Vote included 44785 in a Commit. 44786 description: >- 44787 Commit contains the evidence that a block was 44788 committed by a set of validators. 44789 validator_set: 44790 type: object 44791 properties: 44792 validators: 44793 type: array 44794 items: 44795 type: object 44796 properties: 44797 address: 44798 type: string 44799 format: byte 44800 pub_key: 44801 type: object 44802 properties: 44803 ed25519: 44804 type: string 44805 format: byte 44806 secp256k1: 44807 type: string 44808 format: byte 44809 title: >- 44810 PublicKey defines the keys available for 44811 use with Tendermint Validators 44812 voting_power: 44813 type: string 44814 format: int64 44815 proposer_priority: 44816 type: string 44817 format: int64 44818 proposer: 44819 type: object 44820 properties: 44821 address: 44822 type: string 44823 format: byte 44824 pub_key: 44825 type: object 44826 properties: 44827 ed25519: 44828 type: string 44829 format: byte 44830 secp256k1: 44831 type: string 44832 format: byte 44833 title: >- 44834 PublicKey defines the keys available for use 44835 with Tendermint Validators 44836 voting_power: 44837 type: string 44838 format: int64 44839 proposer_priority: 44840 type: string 44841 format: int64 44842 total_voting_power: 44843 type: string 44844 format: int64 44845 common_height: 44846 type: string 44847 format: int64 44848 byzantine_validators: 44849 type: array 44850 items: 44851 type: object 44852 properties: 44853 address: 44854 type: string 44855 format: byte 44856 pub_key: 44857 type: object 44858 properties: 44859 ed25519: 44860 type: string 44861 format: byte 44862 secp256k1: 44863 type: string 44864 format: byte 44865 title: >- 44866 PublicKey defines the keys available for use with 44867 Tendermint Validators 44868 voting_power: 44869 type: string 44870 format: int64 44871 proposer_priority: 44872 type: string 44873 format: int64 44874 total_voting_power: 44875 type: string 44876 format: int64 44877 timestamp: 44878 type: string 44879 format: date-time 44880 description: >- 44881 LightClientAttackEvidence contains evidence of a set of 44882 validators attempting to mislead a light client. 44883 last_commit: 44884 type: object 44885 properties: 44886 height: 44887 type: string 44888 format: int64 44889 round: 44890 type: integer 44891 format: int32 44892 block_id: 44893 type: object 44894 properties: 44895 hash: 44896 type: string 44897 format: byte 44898 part_set_header: 44899 type: object 44900 properties: 44901 total: 44902 type: integer 44903 format: int64 44904 hash: 44905 type: string 44906 format: byte 44907 title: PartsetHeader 44908 title: BlockID 44909 signatures: 44910 type: array 44911 items: 44912 type: object 44913 properties: 44914 block_id_flag: 44915 type: string 44916 enum: 44917 - BLOCK_ID_FLAG_UNKNOWN 44918 - BLOCK_ID_FLAG_ABSENT 44919 - BLOCK_ID_FLAG_COMMIT 44920 - BLOCK_ID_FLAG_NIL 44921 default: BLOCK_ID_FLAG_UNKNOWN 44922 title: BlockIdFlag indicates which BlcokID the signature is for 44923 validator_address: 44924 type: string 44925 format: byte 44926 timestamp: 44927 type: string 44928 format: date-time 44929 signature: 44930 type: string 44931 format: byte 44932 description: CommitSig is a part of the Vote included in a Commit. 44933 description: >- 44934 Commit contains the evidence that a block was committed by a set of 44935 validators. 44936 cosmos.base.v1beta1.DecCoin: 44937 type: object 44938 properties: 44939 denom: 44940 type: string 44941 amount: 44942 type: string 44943 description: |- 44944 DecCoin defines a token with a denomination and a decimal amount. 44945 44946 NOTE: The amount field is an Dec which implements the custom method 44947 signatures required by gogoproto. 44948 cosmos.distribution.v1beta1.DelegationDelegatorReward: 44949 type: object 44950 properties: 44951 validator_address: 44952 type: string 44953 reward: 44954 type: array 44955 items: 44956 type: object 44957 properties: 44958 denom: 44959 type: string 44960 amount: 44961 type: string 44962 description: |- 44963 DecCoin defines a token with a denomination and a decimal amount. 44964 44965 NOTE: The amount field is an Dec which implements the custom method 44966 signatures required by gogoproto. 44967 description: |- 44968 DelegationDelegatorReward represents the properties 44969 of a delegator's delegation reward. 44970 cosmos.distribution.v1beta1.Params: 44971 type: object 44972 properties: 44973 community_tax: 44974 type: string 44975 base_proposer_reward: 44976 type: string 44977 bonus_proposer_reward: 44978 type: string 44979 withdraw_addr_enabled: 44980 type: boolean 44981 format: boolean 44982 description: Params defines the set of params for the distribution module. 44983 cosmos.distribution.v1beta1.QueryCommunityPoolResponse: 44984 type: object 44985 properties: 44986 pool: 44987 type: array 44988 items: 44989 type: object 44990 properties: 44991 denom: 44992 type: string 44993 amount: 44994 type: string 44995 description: |- 44996 DecCoin defines a token with a denomination and a decimal amount. 44997 44998 NOTE: The amount field is an Dec which implements the custom method 44999 signatures required by gogoproto. 45000 description: pool defines community pool's coins. 45001 description: >- 45002 QueryCommunityPoolResponse is the response type for the 45003 Query/CommunityPool 45004 45005 RPC method. 45006 cosmos.distribution.v1beta1.QueryDelegationRewardsResponse: 45007 type: object 45008 properties: 45009 rewards: 45010 type: array 45011 items: 45012 type: object 45013 properties: 45014 denom: 45015 type: string 45016 amount: 45017 type: string 45018 description: |- 45019 DecCoin defines a token with a denomination and a decimal amount. 45020 45021 NOTE: The amount field is an Dec which implements the custom method 45022 signatures required by gogoproto. 45023 description: rewards defines the rewards accrued by a delegation. 45024 description: |- 45025 QueryDelegationRewardsResponse is the response type for the 45026 Query/DelegationRewards RPC method. 45027 cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse: 45028 type: object 45029 properties: 45030 rewards: 45031 type: array 45032 items: 45033 type: object 45034 properties: 45035 validator_address: 45036 type: string 45037 reward: 45038 type: array 45039 items: 45040 type: object 45041 properties: 45042 denom: 45043 type: string 45044 amount: 45045 type: string 45046 description: >- 45047 DecCoin defines a token with a denomination and a decimal 45048 amount. 45049 45050 45051 NOTE: The amount field is an Dec which implements the custom 45052 method 45053 45054 signatures required by gogoproto. 45055 description: |- 45056 DelegationDelegatorReward represents the properties 45057 of a delegator's delegation reward. 45058 description: rewards defines all the rewards accrued by a delegator. 45059 total: 45060 type: array 45061 items: 45062 type: object 45063 properties: 45064 denom: 45065 type: string 45066 amount: 45067 type: string 45068 description: |- 45069 DecCoin defines a token with a denomination and a decimal amount. 45070 45071 NOTE: The amount field is an Dec which implements the custom method 45072 signatures required by gogoproto. 45073 description: total defines the sum of all the rewards. 45074 description: |- 45075 QueryDelegationTotalRewardsResponse is the response type for the 45076 Query/DelegationTotalRewards RPC method. 45077 cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse: 45078 type: object 45079 properties: 45080 validators: 45081 type: array 45082 items: 45083 type: string 45084 description: validators defines the validators a delegator is delegating for. 45085 description: |- 45086 QueryDelegatorValidatorsResponse is the response type for the 45087 Query/DelegatorValidators RPC method. 45088 cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse: 45089 type: object 45090 properties: 45091 withdraw_address: 45092 type: string 45093 description: withdraw_address defines the delegator address to query for. 45094 description: |- 45095 QueryDelegatorWithdrawAddressResponse is the response type for the 45096 Query/DelegatorWithdrawAddress RPC method. 45097 cosmos.distribution.v1beta1.QueryParamsResponse: 45098 type: object 45099 properties: 45100 params: 45101 description: params defines the parameters of the module. 45102 type: object 45103 properties: 45104 community_tax: 45105 type: string 45106 base_proposer_reward: 45107 type: string 45108 bonus_proposer_reward: 45109 type: string 45110 withdraw_addr_enabled: 45111 type: boolean 45112 format: boolean 45113 description: QueryParamsResponse is the response type for the Query/Params RPC method. 45114 cosmos.distribution.v1beta1.QueryValidatorCommissionResponse: 45115 type: object 45116 properties: 45117 commission: 45118 description: commission defines the commision the validator received. 45119 type: object 45120 properties: 45121 commission: 45122 type: array 45123 items: 45124 type: object 45125 properties: 45126 denom: 45127 type: string 45128 amount: 45129 type: string 45130 description: >- 45131 DecCoin defines a token with a denomination and a decimal 45132 amount. 45133 45134 45135 NOTE: The amount field is an Dec which implements the custom 45136 method 45137 45138 signatures required by gogoproto. 45139 title: |- 45140 QueryValidatorCommissionResponse is the response type for the 45141 Query/ValidatorCommission RPC method 45142 cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse: 45143 type: object 45144 properties: 45145 rewards: 45146 type: object 45147 properties: 45148 rewards: 45149 type: array 45150 items: 45151 type: object 45152 properties: 45153 denom: 45154 type: string 45155 amount: 45156 type: string 45157 description: >- 45158 DecCoin defines a token with a denomination and a decimal 45159 amount. 45160 45161 45162 NOTE: The amount field is an Dec which implements the custom 45163 method 45164 45165 signatures required by gogoproto. 45166 description: >- 45167 ValidatorOutstandingRewards represents outstanding (un-withdrawn) 45168 rewards 45169 45170 for a validator inexpensive to track, allows simple sanity checks. 45171 description: |- 45172 QueryValidatorOutstandingRewardsResponse is the response type for the 45173 Query/ValidatorOutstandingRewards RPC method. 45174 cosmos.distribution.v1beta1.QueryValidatorSlashesResponse: 45175 type: object 45176 properties: 45177 slashes: 45178 type: array 45179 items: 45180 type: object 45181 properties: 45182 validator_period: 45183 type: string 45184 format: uint64 45185 fraction: 45186 type: string 45187 description: |- 45188 ValidatorSlashEvent represents a validator slash event. 45189 Height is implicit within the store key. 45190 This is needed to calculate appropriate amount of staking tokens 45191 for delegations which are withdrawn after a slash has occurred. 45192 description: slashes defines the slashes the validator received. 45193 pagination: 45194 description: pagination defines the pagination in the response. 45195 type: object 45196 properties: 45197 next_key: 45198 type: string 45199 format: byte 45200 title: |- 45201 next_key is the key to be passed to PageRequest.key to 45202 query the next page most efficiently 45203 total: 45204 type: string 45205 format: uint64 45206 title: >- 45207 total is total number of results available if 45208 PageRequest.count_total 45209 45210 was set, its value is undefined otherwise 45211 description: |- 45212 QueryValidatorSlashesResponse is the response type for the 45213 Query/ValidatorSlashes RPC method. 45214 cosmos.distribution.v1beta1.ValidatorAccumulatedCommission: 45215 type: object 45216 properties: 45217 commission: 45218 type: array 45219 items: 45220 type: object 45221 properties: 45222 denom: 45223 type: string 45224 amount: 45225 type: string 45226 description: |- 45227 DecCoin defines a token with a denomination and a decimal amount. 45228 45229 NOTE: The amount field is an Dec which implements the custom method 45230 signatures required by gogoproto. 45231 description: |- 45232 ValidatorAccumulatedCommission represents accumulated commission 45233 for a validator kept as a running counter, can be withdrawn at any time. 45234 cosmos.distribution.v1beta1.ValidatorOutstandingRewards: 45235 type: object 45236 properties: 45237 rewards: 45238 type: array 45239 items: 45240 type: object 45241 properties: 45242 denom: 45243 type: string 45244 amount: 45245 type: string 45246 description: |- 45247 DecCoin defines a token with a denomination and a decimal amount. 45248 45249 NOTE: The amount field is an Dec which implements the custom method 45250 signatures required by gogoproto. 45251 description: |- 45252 ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards 45253 for a validator inexpensive to track, allows simple sanity checks. 45254 cosmos.distribution.v1beta1.ValidatorSlashEvent: 45255 type: object 45256 properties: 45257 validator_period: 45258 type: string 45259 format: uint64 45260 fraction: 45261 type: string 45262 description: |- 45263 ValidatorSlashEvent represents a validator slash event. 45264 Height is implicit within the store key. 45265 This is needed to calculate appropriate amount of staking tokens 45266 for delegations which are withdrawn after a slash has occurred. 45267 cosmos.evidence.v1beta1.QueryAllEvidenceResponse: 45268 type: object 45269 properties: 45270 evidence: 45271 type: array 45272 items: 45273 type: object 45274 properties: 45275 type_url: 45276 type: string 45277 description: >- 45278 A URL/resource name that uniquely identifies the type of the 45279 serialized 45280 45281 protocol buffer message. This string must contain at least 45282 45283 one "/" character. The last segment of the URL's path must 45284 represent 45285 45286 the fully qualified name of the type (as in 45287 45288 `path/google.protobuf.Duration`). The name should be in a 45289 canonical form 45290 45291 (e.g., leading "." is not accepted). 45292 45293 45294 In practice, teams usually precompile into the binary all types 45295 that they 45296 45297 expect it to use in the context of Any. However, for URLs which 45298 use the 45299 45300 scheme `http`, `https`, or no scheme, one can optionally set up 45301 a type 45302 45303 server that maps type URLs to message definitions as follows: 45304 45305 45306 * If no scheme is provided, `https` is assumed. 45307 45308 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 45309 value in binary format, or produce an error. 45310 * Applications are allowed to cache lookup results based on the 45311 URL, or have them precompiled into a binary to avoid any 45312 lookup. Therefore, binary compatibility needs to be preserved 45313 on changes to types. (Use versioned type names to manage 45314 breaking changes.) 45315 45316 Note: this functionality is not currently available in the 45317 official 45318 45319 protobuf release, and it is not used for type URLs beginning 45320 with 45321 45322 type.googleapis.com. 45323 45324 45325 Schemes other than `http`, `https` (or the empty scheme) might 45326 be 45327 45328 used with implementation specific semantics. 45329 value: 45330 type: string 45331 format: byte 45332 description: >- 45333 Must be a valid serialized protocol buffer of the above 45334 specified type. 45335 description: >- 45336 `Any` contains an arbitrary serialized protocol buffer message along 45337 with a 45338 45339 URL that describes the type of the serialized message. 45340 45341 45342 Protobuf library provides support to pack/unpack Any values in the 45343 form 45344 45345 of utility functions or additional generated methods of the Any 45346 type. 45347 45348 45349 Example 1: Pack and unpack a message in C++. 45350 45351 Foo foo = ...; 45352 Any any; 45353 any.PackFrom(foo); 45354 ... 45355 if (any.UnpackTo(&foo)) { 45356 ... 45357 } 45358 45359 Example 2: Pack and unpack a message in Java. 45360 45361 Foo foo = ...; 45362 Any any = Any.pack(foo); 45363 ... 45364 if (any.is(Foo.class)) { 45365 foo = any.unpack(Foo.class); 45366 } 45367 45368 Example 3: Pack and unpack a message in Python. 45369 45370 foo = Foo(...) 45371 any = Any() 45372 any.Pack(foo) 45373 ... 45374 if any.Is(Foo.DESCRIPTOR): 45375 any.Unpack(foo) 45376 ... 45377 45378 Example 4: Pack and unpack a message in Go 45379 45380 foo := &pb.Foo{...} 45381 any, err := ptypes.MarshalAny(foo) 45382 ... 45383 foo := &pb.Foo{} 45384 if err := ptypes.UnmarshalAny(any, foo); err != nil { 45385 ... 45386 } 45387 45388 The pack methods provided by protobuf library will by default use 45389 45390 'type.googleapis.com/full.type.name' as the type URL and the unpack 45391 45392 methods only use the fully qualified type name after the last '/' 45393 45394 in the type URL, for example "foo.bar.com/x/y.z" will yield type 45395 45396 name "y.z". 45397 45398 45399 45400 JSON 45401 45402 ==== 45403 45404 The JSON representation of an `Any` value uses the regular 45405 45406 representation of the deserialized, embedded message, with an 45407 45408 additional field `@type` which contains the type URL. Example: 45409 45410 package google.profile; 45411 message Person { 45412 string first_name = 1; 45413 string last_name = 2; 45414 } 45415 45416 { 45417 "@type": "type.googleapis.com/google.profile.Person", 45418 "firstName": <string>, 45419 "lastName": <string> 45420 } 45421 45422 If the embedded message type is well-known and has a custom JSON 45423 45424 representation, that representation will be embedded adding a field 45425 45426 `value` which holds the custom JSON in addition to the `@type` 45427 45428 field. Example (for message [google.protobuf.Duration][]): 45429 45430 { 45431 "@type": "type.googleapis.com/google.protobuf.Duration", 45432 "value": "1.212s" 45433 } 45434 description: evidence returns all evidences. 45435 pagination: 45436 description: pagination defines the pagination in the response. 45437 type: object 45438 properties: 45439 next_key: 45440 type: string 45441 format: byte 45442 title: |- 45443 next_key is the key to be passed to PageRequest.key to 45444 query the next page most efficiently 45445 total: 45446 type: string 45447 format: uint64 45448 title: >- 45449 total is total number of results available if 45450 PageRequest.count_total 45451 45452 was set, its value is undefined otherwise 45453 description: >- 45454 QueryAllEvidenceResponse is the response type for the Query/AllEvidence 45455 RPC 45456 45457 method. 45458 cosmos.evidence.v1beta1.QueryEvidenceResponse: 45459 type: object 45460 properties: 45461 evidence: 45462 type: object 45463 properties: 45464 type_url: 45465 type: string 45466 description: >- 45467 A URL/resource name that uniquely identifies the type of the 45468 serialized 45469 45470 protocol buffer message. This string must contain at least 45471 45472 one "/" character. The last segment of the URL's path must 45473 represent 45474 45475 the fully qualified name of the type (as in 45476 45477 `path/google.protobuf.Duration`). The name should be in a 45478 canonical form 45479 45480 (e.g., leading "." is not accepted). 45481 45482 45483 In practice, teams usually precompile into the binary all types 45484 that they 45485 45486 expect it to use in the context of Any. However, for URLs which 45487 use the 45488 45489 scheme `http`, `https`, or no scheme, one can optionally set up a 45490 type 45491 45492 server that maps type URLs to message definitions as follows: 45493 45494 45495 * If no scheme is provided, `https` is assumed. 45496 45497 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 45498 value in binary format, or produce an error. 45499 * Applications are allowed to cache lookup results based on the 45500 URL, or have them precompiled into a binary to avoid any 45501 lookup. Therefore, binary compatibility needs to be preserved 45502 on changes to types. (Use versioned type names to manage 45503 breaking changes.) 45504 45505 Note: this functionality is not currently available in the 45506 official 45507 45508 protobuf release, and it is not used for type URLs beginning with 45509 45510 type.googleapis.com. 45511 45512 45513 Schemes other than `http`, `https` (or the empty scheme) might be 45514 45515 used with implementation specific semantics. 45516 value: 45517 type: string 45518 format: byte 45519 description: >- 45520 Must be a valid serialized protocol buffer of the above specified 45521 type. 45522 description: >- 45523 `Any` contains an arbitrary serialized protocol buffer message along 45524 with a 45525 45526 URL that describes the type of the serialized message. 45527 45528 45529 Protobuf library provides support to pack/unpack Any values in the 45530 form 45531 45532 of utility functions or additional generated methods of the Any type. 45533 45534 45535 Example 1: Pack and unpack a message in C++. 45536 45537 Foo foo = ...; 45538 Any any; 45539 any.PackFrom(foo); 45540 ... 45541 if (any.UnpackTo(&foo)) { 45542 ... 45543 } 45544 45545 Example 2: Pack and unpack a message in Java. 45546 45547 Foo foo = ...; 45548 Any any = Any.pack(foo); 45549 ... 45550 if (any.is(Foo.class)) { 45551 foo = any.unpack(Foo.class); 45552 } 45553 45554 Example 3: Pack and unpack a message in Python. 45555 45556 foo = Foo(...) 45557 any = Any() 45558 any.Pack(foo) 45559 ... 45560 if any.Is(Foo.DESCRIPTOR): 45561 any.Unpack(foo) 45562 ... 45563 45564 Example 4: Pack and unpack a message in Go 45565 45566 foo := &pb.Foo{...} 45567 any, err := ptypes.MarshalAny(foo) 45568 ... 45569 foo := &pb.Foo{} 45570 if err := ptypes.UnmarshalAny(any, foo); err != nil { 45571 ... 45572 } 45573 45574 The pack methods provided by protobuf library will by default use 45575 45576 'type.googleapis.com/full.type.name' as the type URL and the unpack 45577 45578 methods only use the fully qualified type name after the last '/' 45579 45580 in the type URL, for example "foo.bar.com/x/y.z" will yield type 45581 45582 name "y.z". 45583 45584 45585 45586 JSON 45587 45588 ==== 45589 45590 The JSON representation of an `Any` value uses the regular 45591 45592 representation of the deserialized, embedded message, with an 45593 45594 additional field `@type` which contains the type URL. Example: 45595 45596 package google.profile; 45597 message Person { 45598 string first_name = 1; 45599 string last_name = 2; 45600 } 45601 45602 { 45603 "@type": "type.googleapis.com/google.profile.Person", 45604 "firstName": <string>, 45605 "lastName": <string> 45606 } 45607 45608 If the embedded message type is well-known and has a custom JSON 45609 45610 representation, that representation will be embedded adding a field 45611 45612 `value` which holds the custom JSON in addition to the `@type` 45613 45614 field. Example (for message [google.protobuf.Duration][]): 45615 45616 { 45617 "@type": "type.googleapis.com/google.protobuf.Duration", 45618 "value": "1.212s" 45619 } 45620 description: >- 45621 QueryEvidenceResponse is the response type for the Query/Evidence RPC 45622 method. 45623 cosmos.gov.v1beta1.Deposit: 45624 type: object 45625 properties: 45626 proposal_id: 45627 type: string 45628 format: uint64 45629 depositor: 45630 type: string 45631 amount: 45632 type: array 45633 items: 45634 type: object 45635 properties: 45636 denom: 45637 type: string 45638 amount: 45639 type: string 45640 description: |- 45641 Coin defines a token with a denomination and an amount. 45642 45643 NOTE: The amount field is an Int which implements the custom method 45644 signatures required by gogoproto. 45645 description: |- 45646 Deposit defines an amount deposited by an account address to an active 45647 proposal. 45648 cosmos.gov.v1beta1.DepositParams: 45649 type: object 45650 properties: 45651 min_deposit: 45652 type: array 45653 items: 45654 type: object 45655 properties: 45656 denom: 45657 type: string 45658 amount: 45659 type: string 45660 description: |- 45661 Coin defines a token with a denomination and an amount. 45662 45663 NOTE: The amount field is an Int which implements the custom method 45664 signatures required by gogoproto. 45665 description: Minimum deposit for a proposal to enter voting period. 45666 max_deposit_period: 45667 type: string 45668 description: >- 45669 Maximum period for Atom holders to deposit on a proposal. Initial 45670 value: 2 45671 months. 45672 description: DepositParams defines the params for deposits on governance proposals. 45673 cosmos.gov.v1beta1.Proposal: 45674 type: object 45675 properties: 45676 proposal_id: 45677 type: string 45678 format: uint64 45679 content: 45680 type: object 45681 properties: 45682 type_url: 45683 type: string 45684 description: >- 45685 A URL/resource name that uniquely identifies the type of the 45686 serialized 45687 45688 protocol buffer message. This string must contain at least 45689 45690 one "/" character. The last segment of the URL's path must 45691 represent 45692 45693 the fully qualified name of the type (as in 45694 45695 `path/google.protobuf.Duration`). The name should be in a 45696 canonical form 45697 45698 (e.g., leading "." is not accepted). 45699 45700 45701 In practice, teams usually precompile into the binary all types 45702 that they 45703 45704 expect it to use in the context of Any. However, for URLs which 45705 use the 45706 45707 scheme `http`, `https`, or no scheme, one can optionally set up a 45708 type 45709 45710 server that maps type URLs to message definitions as follows: 45711 45712 45713 * If no scheme is provided, `https` is assumed. 45714 45715 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 45716 value in binary format, or produce an error. 45717 * Applications are allowed to cache lookup results based on the 45718 URL, or have them precompiled into a binary to avoid any 45719 lookup. Therefore, binary compatibility needs to be preserved 45720 on changes to types. (Use versioned type names to manage 45721 breaking changes.) 45722 45723 Note: this functionality is not currently available in the 45724 official 45725 45726 protobuf release, and it is not used for type URLs beginning with 45727 45728 type.googleapis.com. 45729 45730 45731 Schemes other than `http`, `https` (or the empty scheme) might be 45732 45733 used with implementation specific semantics. 45734 value: 45735 type: string 45736 format: byte 45737 description: >- 45738 Must be a valid serialized protocol buffer of the above specified 45739 type. 45740 description: >- 45741 `Any` contains an arbitrary serialized protocol buffer message along 45742 with a 45743 45744 URL that describes the type of the serialized message. 45745 45746 45747 Protobuf library provides support to pack/unpack Any values in the 45748 form 45749 45750 of utility functions or additional generated methods of the Any type. 45751 45752 45753 Example 1: Pack and unpack a message in C++. 45754 45755 Foo foo = ...; 45756 Any any; 45757 any.PackFrom(foo); 45758 ... 45759 if (any.UnpackTo(&foo)) { 45760 ... 45761 } 45762 45763 Example 2: Pack and unpack a message in Java. 45764 45765 Foo foo = ...; 45766 Any any = Any.pack(foo); 45767 ... 45768 if (any.is(Foo.class)) { 45769 foo = any.unpack(Foo.class); 45770 } 45771 45772 Example 3: Pack and unpack a message in Python. 45773 45774 foo = Foo(...) 45775 any = Any() 45776 any.Pack(foo) 45777 ... 45778 if any.Is(Foo.DESCRIPTOR): 45779 any.Unpack(foo) 45780 ... 45781 45782 Example 4: Pack and unpack a message in Go 45783 45784 foo := &pb.Foo{...} 45785 any, err := ptypes.MarshalAny(foo) 45786 ... 45787 foo := &pb.Foo{} 45788 if err := ptypes.UnmarshalAny(any, foo); err != nil { 45789 ... 45790 } 45791 45792 The pack methods provided by protobuf library will by default use 45793 45794 'type.googleapis.com/full.type.name' as the type URL and the unpack 45795 45796 methods only use the fully qualified type name after the last '/' 45797 45798 in the type URL, for example "foo.bar.com/x/y.z" will yield type 45799 45800 name "y.z". 45801 45802 45803 45804 JSON 45805 45806 ==== 45807 45808 The JSON representation of an `Any` value uses the regular 45809 45810 representation of the deserialized, embedded message, with an 45811 45812 additional field `@type` which contains the type URL. Example: 45813 45814 package google.profile; 45815 message Person { 45816 string first_name = 1; 45817 string last_name = 2; 45818 } 45819 45820 { 45821 "@type": "type.googleapis.com/google.profile.Person", 45822 "firstName": <string>, 45823 "lastName": <string> 45824 } 45825 45826 If the embedded message type is well-known and has a custom JSON 45827 45828 representation, that representation will be embedded adding a field 45829 45830 `value` which holds the custom JSON in addition to the `@type` 45831 45832 field. Example (for message [google.protobuf.Duration][]): 45833 45834 { 45835 "@type": "type.googleapis.com/google.protobuf.Duration", 45836 "value": "1.212s" 45837 } 45838 status: 45839 type: string 45840 enum: 45841 - PROPOSAL_STATUS_UNSPECIFIED 45842 - PROPOSAL_STATUS_DEPOSIT_PERIOD 45843 - PROPOSAL_STATUS_VOTING_PERIOD 45844 - PROPOSAL_STATUS_PASSED 45845 - PROPOSAL_STATUS_REJECTED 45846 - PROPOSAL_STATUS_FAILED 45847 default: PROPOSAL_STATUS_UNSPECIFIED 45848 description: |- 45849 ProposalStatus enumerates the valid statuses of a proposal. 45850 45851 - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. 45852 - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit 45853 period. 45854 - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting 45855 period. 45856 - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has 45857 passed. 45858 - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has 45859 been rejected. 45860 - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has 45861 failed. 45862 final_tally_result: 45863 type: object 45864 properties: 45865 'yes': 45866 type: string 45867 abstain: 45868 type: string 45869 'no': 45870 type: string 45871 no_with_veto: 45872 type: string 45873 description: TallyResult defines a standard tally for a governance proposal. 45874 submit_time: 45875 type: string 45876 format: date-time 45877 deposit_end_time: 45878 type: string 45879 format: date-time 45880 total_deposit: 45881 type: array 45882 items: 45883 type: object 45884 properties: 45885 denom: 45886 type: string 45887 amount: 45888 type: string 45889 description: |- 45890 Coin defines a token with a denomination and an amount. 45891 45892 NOTE: The amount field is an Int which implements the custom method 45893 signatures required by gogoproto. 45894 voting_start_time: 45895 type: string 45896 format: date-time 45897 voting_end_time: 45898 type: string 45899 format: date-time 45900 description: Proposal defines the core field members of a governance proposal. 45901 cosmos.gov.v1beta1.ProposalStatus: 45902 type: string 45903 enum: 45904 - PROPOSAL_STATUS_UNSPECIFIED 45905 - PROPOSAL_STATUS_DEPOSIT_PERIOD 45906 - PROPOSAL_STATUS_VOTING_PERIOD 45907 - PROPOSAL_STATUS_PASSED 45908 - PROPOSAL_STATUS_REJECTED 45909 - PROPOSAL_STATUS_FAILED 45910 default: PROPOSAL_STATUS_UNSPECIFIED 45911 description: |- 45912 ProposalStatus enumerates the valid statuses of a proposal. 45913 45914 - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. 45915 - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit 45916 period. 45917 - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting 45918 period. 45919 - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has 45920 passed. 45921 - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has 45922 been rejected. 45923 - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has 45924 failed. 45925 cosmos.gov.v1beta1.QueryDepositResponse: 45926 type: object 45927 properties: 45928 deposit: 45929 type: object 45930 properties: 45931 proposal_id: 45932 type: string 45933 format: uint64 45934 depositor: 45935 type: string 45936 amount: 45937 type: array 45938 items: 45939 type: object 45940 properties: 45941 denom: 45942 type: string 45943 amount: 45944 type: string 45945 description: >- 45946 Coin defines a token with a denomination and an amount. 45947 45948 45949 NOTE: The amount field is an Int which implements the custom 45950 method 45951 45952 signatures required by gogoproto. 45953 description: |- 45954 Deposit defines an amount deposited by an account address to an active 45955 proposal. 45956 description: >- 45957 QueryDepositResponse is the response type for the Query/Deposit RPC 45958 method. 45959 cosmos.gov.v1beta1.QueryDepositsResponse: 45960 type: object 45961 properties: 45962 deposits: 45963 type: array 45964 items: 45965 type: object 45966 properties: 45967 proposal_id: 45968 type: string 45969 format: uint64 45970 depositor: 45971 type: string 45972 amount: 45973 type: array 45974 items: 45975 type: object 45976 properties: 45977 denom: 45978 type: string 45979 amount: 45980 type: string 45981 description: >- 45982 Coin defines a token with a denomination and an amount. 45983 45984 45985 NOTE: The amount field is an Int which implements the custom 45986 method 45987 45988 signatures required by gogoproto. 45989 description: >- 45990 Deposit defines an amount deposited by an account address to an 45991 active 45992 45993 proposal. 45994 pagination: 45995 description: pagination defines the pagination in the response. 45996 type: object 45997 properties: 45998 next_key: 45999 type: string 46000 format: byte 46001 title: |- 46002 next_key is the key to be passed to PageRequest.key to 46003 query the next page most efficiently 46004 total: 46005 type: string 46006 format: uint64 46007 title: >- 46008 total is total number of results available if 46009 PageRequest.count_total 46010 46011 was set, its value is undefined otherwise 46012 description: >- 46013 QueryDepositsResponse is the response type for the Query/Deposits RPC 46014 method. 46015 cosmos.gov.v1beta1.QueryParamsResponse: 46016 type: object 46017 properties: 46018 voting_params: 46019 description: voting_params defines the parameters related to voting. 46020 type: object 46021 properties: 46022 voting_period: 46023 type: string 46024 description: Length of the voting period. 46025 deposit_params: 46026 description: deposit_params defines the parameters related to deposit. 46027 type: object 46028 properties: 46029 min_deposit: 46030 type: array 46031 items: 46032 type: object 46033 properties: 46034 denom: 46035 type: string 46036 amount: 46037 type: string 46038 description: >- 46039 Coin defines a token with a denomination and an amount. 46040 46041 46042 NOTE: The amount field is an Int which implements the custom 46043 method 46044 46045 signatures required by gogoproto. 46046 description: Minimum deposit for a proposal to enter voting period. 46047 max_deposit_period: 46048 type: string 46049 description: >- 46050 Maximum period for Atom holders to deposit on a proposal. Initial 46051 value: 2 46052 months. 46053 tally_params: 46054 description: tally_params defines the parameters related to tally. 46055 type: object 46056 properties: 46057 quorum: 46058 type: string 46059 format: byte 46060 description: >- 46061 Minimum percentage of total stake needed to vote for a result to 46062 be 46063 considered valid. 46064 threshold: 46065 type: string 46066 format: byte 46067 description: >- 46068 Minimum proportion of Yes votes for proposal to pass. Default 46069 value: 0.5. 46070 veto_threshold: 46071 type: string 46072 format: byte 46073 description: >- 46074 Minimum value of Veto votes to Total votes ratio for proposal to 46075 be 46076 vetoed. Default value: 1/3. 46077 description: QueryParamsResponse is the response type for the Query/Params RPC method. 46078 cosmos.gov.v1beta1.QueryProposalResponse: 46079 type: object 46080 properties: 46081 proposal: 46082 type: object 46083 properties: 46084 proposal_id: 46085 type: string 46086 format: uint64 46087 content: 46088 type: object 46089 properties: 46090 type_url: 46091 type: string 46092 description: >- 46093 A URL/resource name that uniquely identifies the type of the 46094 serialized 46095 46096 protocol buffer message. This string must contain at least 46097 46098 one "/" character. The last segment of the URL's path must 46099 represent 46100 46101 the fully qualified name of the type (as in 46102 46103 `path/google.protobuf.Duration`). The name should be in a 46104 canonical form 46105 46106 (e.g., leading "." is not accepted). 46107 46108 46109 In practice, teams usually precompile into the binary all 46110 types that they 46111 46112 expect it to use in the context of Any. However, for URLs 46113 which use the 46114 46115 scheme `http`, `https`, or no scheme, one can optionally set 46116 up a type 46117 46118 server that maps type URLs to message definitions as follows: 46119 46120 46121 * If no scheme is provided, `https` is assumed. 46122 46123 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 46124 value in binary format, or produce an error. 46125 * Applications are allowed to cache lookup results based on 46126 the 46127 URL, or have them precompiled into a binary to avoid any 46128 lookup. Therefore, binary compatibility needs to be preserved 46129 on changes to types. (Use versioned type names to manage 46130 breaking changes.) 46131 46132 Note: this functionality is not currently available in the 46133 official 46134 46135 protobuf release, and it is not used for type URLs beginning 46136 with 46137 46138 type.googleapis.com. 46139 46140 46141 Schemes other than `http`, `https` (or the empty scheme) might 46142 be 46143 46144 used with implementation specific semantics. 46145 value: 46146 type: string 46147 format: byte 46148 description: >- 46149 Must be a valid serialized protocol buffer of the above 46150 specified type. 46151 description: >- 46152 `Any` contains an arbitrary serialized protocol buffer message 46153 along with a 46154 46155 URL that describes the type of the serialized message. 46156 46157 46158 Protobuf library provides support to pack/unpack Any values in the 46159 form 46160 46161 of utility functions or additional generated methods of the Any 46162 type. 46163 46164 46165 Example 1: Pack and unpack a message in C++. 46166 46167 Foo foo = ...; 46168 Any any; 46169 any.PackFrom(foo); 46170 ... 46171 if (any.UnpackTo(&foo)) { 46172 ... 46173 } 46174 46175 Example 2: Pack and unpack a message in Java. 46176 46177 Foo foo = ...; 46178 Any any = Any.pack(foo); 46179 ... 46180 if (any.is(Foo.class)) { 46181 foo = any.unpack(Foo.class); 46182 } 46183 46184 Example 3: Pack and unpack a message in Python. 46185 46186 foo = Foo(...) 46187 any = Any() 46188 any.Pack(foo) 46189 ... 46190 if any.Is(Foo.DESCRIPTOR): 46191 any.Unpack(foo) 46192 ... 46193 46194 Example 4: Pack and unpack a message in Go 46195 46196 foo := &pb.Foo{...} 46197 any, err := ptypes.MarshalAny(foo) 46198 ... 46199 foo := &pb.Foo{} 46200 if err := ptypes.UnmarshalAny(any, foo); err != nil { 46201 ... 46202 } 46203 46204 The pack methods provided by protobuf library will by default use 46205 46206 'type.googleapis.com/full.type.name' as the type URL and the 46207 unpack 46208 46209 methods only use the fully qualified type name after the last '/' 46210 46211 in the type URL, for example "foo.bar.com/x/y.z" will yield type 46212 46213 name "y.z". 46214 46215 46216 46217 JSON 46218 46219 ==== 46220 46221 The JSON representation of an `Any` value uses the regular 46222 46223 representation of the deserialized, embedded message, with an 46224 46225 additional field `@type` which contains the type URL. Example: 46226 46227 package google.profile; 46228 message Person { 46229 string first_name = 1; 46230 string last_name = 2; 46231 } 46232 46233 { 46234 "@type": "type.googleapis.com/google.profile.Person", 46235 "firstName": <string>, 46236 "lastName": <string> 46237 } 46238 46239 If the embedded message type is well-known and has a custom JSON 46240 46241 representation, that representation will be embedded adding a 46242 field 46243 46244 `value` which holds the custom JSON in addition to the `@type` 46245 46246 field. Example (for message [google.protobuf.Duration][]): 46247 46248 { 46249 "@type": "type.googleapis.com/google.protobuf.Duration", 46250 "value": "1.212s" 46251 } 46252 status: 46253 type: string 46254 enum: 46255 - PROPOSAL_STATUS_UNSPECIFIED 46256 - PROPOSAL_STATUS_DEPOSIT_PERIOD 46257 - PROPOSAL_STATUS_VOTING_PERIOD 46258 - PROPOSAL_STATUS_PASSED 46259 - PROPOSAL_STATUS_REJECTED 46260 - PROPOSAL_STATUS_FAILED 46261 default: PROPOSAL_STATUS_UNSPECIFIED 46262 description: |- 46263 ProposalStatus enumerates the valid statuses of a proposal. 46264 46265 - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. 46266 - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit 46267 period. 46268 - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting 46269 period. 46270 - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has 46271 passed. 46272 - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has 46273 been rejected. 46274 - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has 46275 failed. 46276 final_tally_result: 46277 type: object 46278 properties: 46279 'yes': 46280 type: string 46281 abstain: 46282 type: string 46283 'no': 46284 type: string 46285 no_with_veto: 46286 type: string 46287 description: TallyResult defines a standard tally for a governance proposal. 46288 submit_time: 46289 type: string 46290 format: date-time 46291 deposit_end_time: 46292 type: string 46293 format: date-time 46294 total_deposit: 46295 type: array 46296 items: 46297 type: object 46298 properties: 46299 denom: 46300 type: string 46301 amount: 46302 type: string 46303 description: >- 46304 Coin defines a token with a denomination and an amount. 46305 46306 46307 NOTE: The amount field is an Int which implements the custom 46308 method 46309 46310 signatures required by gogoproto. 46311 voting_start_time: 46312 type: string 46313 format: date-time 46314 voting_end_time: 46315 type: string 46316 format: date-time 46317 description: Proposal defines the core field members of a governance proposal. 46318 description: >- 46319 QueryProposalResponse is the response type for the Query/Proposal RPC 46320 method. 46321 cosmos.gov.v1beta1.QueryProposalsResponse: 46322 type: object 46323 properties: 46324 proposals: 46325 type: array 46326 items: 46327 type: object 46328 properties: 46329 proposal_id: 46330 type: string 46331 format: uint64 46332 content: 46333 type: object 46334 properties: 46335 type_url: 46336 type: string 46337 description: >- 46338 A URL/resource name that uniquely identifies the type of the 46339 serialized 46340 46341 protocol buffer message. This string must contain at least 46342 46343 one "/" character. The last segment of the URL's path must 46344 represent 46345 46346 the fully qualified name of the type (as in 46347 46348 `path/google.protobuf.Duration`). The name should be in a 46349 canonical form 46350 46351 (e.g., leading "." is not accepted). 46352 46353 46354 In practice, teams usually precompile into the binary all 46355 types that they 46356 46357 expect it to use in the context of Any. However, for URLs 46358 which use the 46359 46360 scheme `http`, `https`, or no scheme, one can optionally set 46361 up a type 46362 46363 server that maps type URLs to message definitions as 46364 follows: 46365 46366 46367 * If no scheme is provided, `https` is assumed. 46368 46369 * An HTTP GET on the URL must yield a 46370 [google.protobuf.Type][] 46371 value in binary format, or produce an error. 46372 * Applications are allowed to cache lookup results based on 46373 the 46374 URL, or have them precompiled into a binary to avoid any 46375 lookup. Therefore, binary compatibility needs to be preserved 46376 on changes to types. (Use versioned type names to manage 46377 breaking changes.) 46378 46379 Note: this functionality is not currently available in the 46380 official 46381 46382 protobuf release, and it is not used for type URLs beginning 46383 with 46384 46385 type.googleapis.com. 46386 46387 46388 Schemes other than `http`, `https` (or the empty scheme) 46389 might be 46390 46391 used with implementation specific semantics. 46392 value: 46393 type: string 46394 format: byte 46395 description: >- 46396 Must be a valid serialized protocol buffer of the above 46397 specified type. 46398 description: >- 46399 `Any` contains an arbitrary serialized protocol buffer message 46400 along with a 46401 46402 URL that describes the type of the serialized message. 46403 46404 46405 Protobuf library provides support to pack/unpack Any values in 46406 the form 46407 46408 of utility functions or additional generated methods of the Any 46409 type. 46410 46411 46412 Example 1: Pack and unpack a message in C++. 46413 46414 Foo foo = ...; 46415 Any any; 46416 any.PackFrom(foo); 46417 ... 46418 if (any.UnpackTo(&foo)) { 46419 ... 46420 } 46421 46422 Example 2: Pack and unpack a message in Java. 46423 46424 Foo foo = ...; 46425 Any any = Any.pack(foo); 46426 ... 46427 if (any.is(Foo.class)) { 46428 foo = any.unpack(Foo.class); 46429 } 46430 46431 Example 3: Pack and unpack a message in Python. 46432 46433 foo = Foo(...) 46434 any = Any() 46435 any.Pack(foo) 46436 ... 46437 if any.Is(Foo.DESCRIPTOR): 46438 any.Unpack(foo) 46439 ... 46440 46441 Example 4: Pack and unpack a message in Go 46442 46443 foo := &pb.Foo{...} 46444 any, err := ptypes.MarshalAny(foo) 46445 ... 46446 foo := &pb.Foo{} 46447 if err := ptypes.UnmarshalAny(any, foo); err != nil { 46448 ... 46449 } 46450 46451 The pack methods provided by protobuf library will by default 46452 use 46453 46454 'type.googleapis.com/full.type.name' as the type URL and the 46455 unpack 46456 46457 methods only use the fully qualified type name after the last 46458 '/' 46459 46460 in the type URL, for example "foo.bar.com/x/y.z" will yield type 46461 46462 name "y.z". 46463 46464 46465 46466 JSON 46467 46468 ==== 46469 46470 The JSON representation of an `Any` value uses the regular 46471 46472 representation of the deserialized, embedded message, with an 46473 46474 additional field `@type` which contains the type URL. Example: 46475 46476 package google.profile; 46477 message Person { 46478 string first_name = 1; 46479 string last_name = 2; 46480 } 46481 46482 { 46483 "@type": "type.googleapis.com/google.profile.Person", 46484 "firstName": <string>, 46485 "lastName": <string> 46486 } 46487 46488 If the embedded message type is well-known and has a custom JSON 46489 46490 representation, that representation will be embedded adding a 46491 field 46492 46493 `value` which holds the custom JSON in addition to the `@type` 46494 46495 field. Example (for message [google.protobuf.Duration][]): 46496 46497 { 46498 "@type": "type.googleapis.com/google.protobuf.Duration", 46499 "value": "1.212s" 46500 } 46501 status: 46502 type: string 46503 enum: 46504 - PROPOSAL_STATUS_UNSPECIFIED 46505 - PROPOSAL_STATUS_DEPOSIT_PERIOD 46506 - PROPOSAL_STATUS_VOTING_PERIOD 46507 - PROPOSAL_STATUS_PASSED 46508 - PROPOSAL_STATUS_REJECTED 46509 - PROPOSAL_STATUS_FAILED 46510 default: PROPOSAL_STATUS_UNSPECIFIED 46511 description: |- 46512 ProposalStatus enumerates the valid statuses of a proposal. 46513 46514 - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. 46515 - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit 46516 period. 46517 - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting 46518 period. 46519 - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has 46520 passed. 46521 - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has 46522 been rejected. 46523 - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has 46524 failed. 46525 final_tally_result: 46526 type: object 46527 properties: 46528 'yes': 46529 type: string 46530 abstain: 46531 type: string 46532 'no': 46533 type: string 46534 no_with_veto: 46535 type: string 46536 description: TallyResult defines a standard tally for a governance proposal. 46537 submit_time: 46538 type: string 46539 format: date-time 46540 deposit_end_time: 46541 type: string 46542 format: date-time 46543 total_deposit: 46544 type: array 46545 items: 46546 type: object 46547 properties: 46548 denom: 46549 type: string 46550 amount: 46551 type: string 46552 description: >- 46553 Coin defines a token with a denomination and an amount. 46554 46555 46556 NOTE: The amount field is an Int which implements the custom 46557 method 46558 46559 signatures required by gogoproto. 46560 voting_start_time: 46561 type: string 46562 format: date-time 46563 voting_end_time: 46564 type: string 46565 format: date-time 46566 description: Proposal defines the core field members of a governance proposal. 46567 pagination: 46568 description: pagination defines the pagination in the response. 46569 type: object 46570 properties: 46571 next_key: 46572 type: string 46573 format: byte 46574 title: |- 46575 next_key is the key to be passed to PageRequest.key to 46576 query the next page most efficiently 46577 total: 46578 type: string 46579 format: uint64 46580 title: >- 46581 total is total number of results available if 46582 PageRequest.count_total 46583 46584 was set, its value is undefined otherwise 46585 description: |- 46586 QueryProposalsResponse is the response type for the Query/Proposals RPC 46587 method. 46588 cosmos.gov.v1beta1.QueryTallyResultResponse: 46589 type: object 46590 properties: 46591 tally: 46592 type: object 46593 properties: 46594 'yes': 46595 type: string 46596 abstain: 46597 type: string 46598 'no': 46599 type: string 46600 no_with_veto: 46601 type: string 46602 description: TallyResult defines a standard tally for a governance proposal. 46603 description: >- 46604 QueryTallyResultResponse is the response type for the Query/Tally RPC 46605 method. 46606 cosmos.gov.v1beta1.QueryVoteResponse: 46607 type: object 46608 properties: 46609 vote: 46610 type: object 46611 properties: 46612 proposal_id: 46613 type: string 46614 format: uint64 46615 voter: 46616 type: string 46617 option: 46618 description: >- 46619 Deprecated: Prefer to use `options` instead. This field is set in 46620 queries 46621 46622 if and only if `len(options) == 1` and that option has weight 1. 46623 In all 46624 46625 other cases, this field will default to VOTE_OPTION_UNSPECIFIED. 46626 type: string 46627 enum: 46628 - VOTE_OPTION_UNSPECIFIED 46629 - VOTE_OPTION_YES 46630 - VOTE_OPTION_ABSTAIN 46631 - VOTE_OPTION_NO 46632 - VOTE_OPTION_NO_WITH_VETO 46633 default: VOTE_OPTION_UNSPECIFIED 46634 options: 46635 type: array 46636 items: 46637 type: object 46638 properties: 46639 option: 46640 type: string 46641 enum: 46642 - VOTE_OPTION_UNSPECIFIED 46643 - VOTE_OPTION_YES 46644 - VOTE_OPTION_ABSTAIN 46645 - VOTE_OPTION_NO 46646 - VOTE_OPTION_NO_WITH_VETO 46647 default: VOTE_OPTION_UNSPECIFIED 46648 description: >- 46649 VoteOption enumerates the valid vote options for a given 46650 governance proposal. 46651 46652 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 46653 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 46654 - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. 46655 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 46656 - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. 46657 weight: 46658 type: string 46659 description: |- 46660 WeightedVoteOption defines a unit of vote for vote split. 46661 46662 Since: cosmos-sdk 0.43 46663 title: 'Since: cosmos-sdk 0.43' 46664 description: |- 46665 Vote defines a vote on a governance proposal. 46666 A Vote consists of a proposal ID, the voter, and the vote option. 46667 description: QueryVoteResponse is the response type for the Query/Vote RPC method. 46668 cosmos.gov.v1beta1.QueryVotesResponse: 46669 type: object 46670 properties: 46671 votes: 46672 type: array 46673 items: 46674 type: object 46675 properties: 46676 proposal_id: 46677 type: string 46678 format: uint64 46679 voter: 46680 type: string 46681 option: 46682 description: >- 46683 Deprecated: Prefer to use `options` instead. This field is set 46684 in queries 46685 46686 if and only if `len(options) == 1` and that option has weight 1. 46687 In all 46688 46689 other cases, this field will default to VOTE_OPTION_UNSPECIFIED. 46690 type: string 46691 enum: 46692 - VOTE_OPTION_UNSPECIFIED 46693 - VOTE_OPTION_YES 46694 - VOTE_OPTION_ABSTAIN 46695 - VOTE_OPTION_NO 46696 - VOTE_OPTION_NO_WITH_VETO 46697 default: VOTE_OPTION_UNSPECIFIED 46698 options: 46699 type: array 46700 items: 46701 type: object 46702 properties: 46703 option: 46704 type: string 46705 enum: 46706 - VOTE_OPTION_UNSPECIFIED 46707 - VOTE_OPTION_YES 46708 - VOTE_OPTION_ABSTAIN 46709 - VOTE_OPTION_NO 46710 - VOTE_OPTION_NO_WITH_VETO 46711 default: VOTE_OPTION_UNSPECIFIED 46712 description: >- 46713 VoteOption enumerates the valid vote options for a given 46714 governance proposal. 46715 46716 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 46717 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 46718 - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. 46719 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 46720 - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. 46721 weight: 46722 type: string 46723 description: |- 46724 WeightedVoteOption defines a unit of vote for vote split. 46725 46726 Since: cosmos-sdk 0.43 46727 title: 'Since: cosmos-sdk 0.43' 46728 description: |- 46729 Vote defines a vote on a governance proposal. 46730 A Vote consists of a proposal ID, the voter, and the vote option. 46731 description: votes defined the queried votes. 46732 pagination: 46733 description: pagination defines the pagination in the response. 46734 type: object 46735 properties: 46736 next_key: 46737 type: string 46738 format: byte 46739 title: |- 46740 next_key is the key to be passed to PageRequest.key to 46741 query the next page most efficiently 46742 total: 46743 type: string 46744 format: uint64 46745 title: >- 46746 total is total number of results available if 46747 PageRequest.count_total 46748 46749 was set, its value is undefined otherwise 46750 description: QueryVotesResponse is the response type for the Query/Votes RPC method. 46751 cosmos.gov.v1beta1.TallyParams: 46752 type: object 46753 properties: 46754 quorum: 46755 type: string 46756 format: byte 46757 description: |- 46758 Minimum percentage of total stake needed to vote for a result to be 46759 considered valid. 46760 threshold: 46761 type: string 46762 format: byte 46763 description: >- 46764 Minimum proportion of Yes votes for proposal to pass. Default value: 46765 0.5. 46766 veto_threshold: 46767 type: string 46768 format: byte 46769 description: |- 46770 Minimum value of Veto votes to Total votes ratio for proposal to be 46771 vetoed. Default value: 1/3. 46772 description: TallyParams defines the params for tallying votes on governance proposals. 46773 cosmos.gov.v1beta1.TallyResult: 46774 type: object 46775 properties: 46776 'yes': 46777 type: string 46778 abstain: 46779 type: string 46780 'no': 46781 type: string 46782 no_with_veto: 46783 type: string 46784 description: TallyResult defines a standard tally for a governance proposal. 46785 cosmos.gov.v1beta1.Vote: 46786 type: object 46787 properties: 46788 proposal_id: 46789 type: string 46790 format: uint64 46791 voter: 46792 type: string 46793 option: 46794 description: >- 46795 Deprecated: Prefer to use `options` instead. This field is set in 46796 queries 46797 46798 if and only if `len(options) == 1` and that option has weight 1. In 46799 all 46800 46801 other cases, this field will default to VOTE_OPTION_UNSPECIFIED. 46802 type: string 46803 enum: 46804 - VOTE_OPTION_UNSPECIFIED 46805 - VOTE_OPTION_YES 46806 - VOTE_OPTION_ABSTAIN 46807 - VOTE_OPTION_NO 46808 - VOTE_OPTION_NO_WITH_VETO 46809 default: VOTE_OPTION_UNSPECIFIED 46810 options: 46811 type: array 46812 items: 46813 type: object 46814 properties: 46815 option: 46816 type: string 46817 enum: 46818 - VOTE_OPTION_UNSPECIFIED 46819 - VOTE_OPTION_YES 46820 - VOTE_OPTION_ABSTAIN 46821 - VOTE_OPTION_NO 46822 - VOTE_OPTION_NO_WITH_VETO 46823 default: VOTE_OPTION_UNSPECIFIED 46824 description: >- 46825 VoteOption enumerates the valid vote options for a given 46826 governance proposal. 46827 46828 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 46829 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 46830 - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. 46831 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 46832 - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. 46833 weight: 46834 type: string 46835 description: |- 46836 WeightedVoteOption defines a unit of vote for vote split. 46837 46838 Since: cosmos-sdk 0.43 46839 title: 'Since: cosmos-sdk 0.43' 46840 description: |- 46841 Vote defines a vote on a governance proposal. 46842 A Vote consists of a proposal ID, the voter, and the vote option. 46843 cosmos.gov.v1beta1.VoteOption: 46844 type: string 46845 enum: 46846 - VOTE_OPTION_UNSPECIFIED 46847 - VOTE_OPTION_YES 46848 - VOTE_OPTION_ABSTAIN 46849 - VOTE_OPTION_NO 46850 - VOTE_OPTION_NO_WITH_VETO 46851 default: VOTE_OPTION_UNSPECIFIED 46852 description: >- 46853 VoteOption enumerates the valid vote options for a given governance 46854 proposal. 46855 46856 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 46857 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 46858 - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. 46859 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 46860 - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. 46861 cosmos.gov.v1beta1.VotingParams: 46862 type: object 46863 properties: 46864 voting_period: 46865 type: string 46866 description: Length of the voting period. 46867 description: VotingParams defines the params for voting on governance proposals. 46868 cosmos.gov.v1beta1.WeightedVoteOption: 46869 type: object 46870 properties: 46871 option: 46872 type: string 46873 enum: 46874 - VOTE_OPTION_UNSPECIFIED 46875 - VOTE_OPTION_YES 46876 - VOTE_OPTION_ABSTAIN 46877 - VOTE_OPTION_NO 46878 - VOTE_OPTION_NO_WITH_VETO 46879 default: VOTE_OPTION_UNSPECIFIED 46880 description: >- 46881 VoteOption enumerates the valid vote options for a given governance 46882 proposal. 46883 46884 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 46885 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 46886 - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. 46887 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 46888 - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. 46889 weight: 46890 type: string 46891 description: |- 46892 WeightedVoteOption defines a unit of vote for vote split. 46893 46894 Since: cosmos-sdk 0.43 46895 cosmos.mint.v1beta1.Params: 46896 type: object 46897 properties: 46898 mint_denom: 46899 type: string 46900 title: type of coin to mint 46901 inflation_rate_change: 46902 type: string 46903 title: maximum annual change in inflation rate 46904 inflation_max: 46905 type: string 46906 title: maximum inflation rate 46907 inflation_min: 46908 type: string 46909 title: minimum inflation rate 46910 goal_bonded: 46911 type: string 46912 title: goal of percent bonded atoms 46913 blocks_per_year: 46914 type: string 46915 format: uint64 46916 title: expected blocks per year 46917 description: Params holds parameters for the mint module. 46918 cosmos.mint.v1beta1.QueryAnnualProvisionsResponse: 46919 type: object 46920 properties: 46921 annual_provisions: 46922 type: string 46923 format: byte 46924 description: annual_provisions is the current minting annual provisions value. 46925 description: |- 46926 QueryAnnualProvisionsResponse is the response type for the 46927 Query/AnnualProvisions RPC method. 46928 cosmos.mint.v1beta1.QueryInflationResponse: 46929 type: object 46930 properties: 46931 inflation: 46932 type: string 46933 format: byte 46934 description: inflation is the current minting inflation value. 46935 description: |- 46936 QueryInflationResponse is the response type for the Query/Inflation RPC 46937 method. 46938 cosmos.mint.v1beta1.QueryParamsResponse: 46939 type: object 46940 properties: 46941 params: 46942 description: params defines the parameters of the module. 46943 type: object 46944 properties: 46945 mint_denom: 46946 type: string 46947 title: type of coin to mint 46948 inflation_rate_change: 46949 type: string 46950 title: maximum annual change in inflation rate 46951 inflation_max: 46952 type: string 46953 title: maximum inflation rate 46954 inflation_min: 46955 type: string 46956 title: minimum inflation rate 46957 goal_bonded: 46958 type: string 46959 title: goal of percent bonded atoms 46960 blocks_per_year: 46961 type: string 46962 format: uint64 46963 title: expected blocks per year 46964 description: QueryParamsResponse is the response type for the Query/Params RPC method. 46965 cosmos.params.v1beta1.ParamChange: 46966 type: object 46967 properties: 46968 subspace: 46969 type: string 46970 key: 46971 type: string 46972 value: 46973 type: string 46974 description: |- 46975 ParamChange defines an individual parameter change, for use in 46976 ParameterChangeProposal. 46977 cosmos.params.v1beta1.QueryParamsResponse: 46978 type: object 46979 properties: 46980 param: 46981 description: param defines the queried parameter. 46982 type: object 46983 properties: 46984 subspace: 46985 type: string 46986 key: 46987 type: string 46988 value: 46989 type: string 46990 description: QueryParamsResponse is response type for the Query/Params RPC method. 46991 cosmos.slashing.v1beta1.Params: 46992 type: object 46993 properties: 46994 signed_blocks_window: 46995 type: string 46996 format: int64 46997 min_signed_per_window: 46998 type: string 46999 format: byte 47000 downtime_jail_duration: 47001 type: string 47002 slash_fraction_double_sign: 47003 type: string 47004 format: byte 47005 slash_fraction_downtime: 47006 type: string 47007 format: byte 47008 description: Params represents the parameters used for by the slashing module. 47009 cosmos.slashing.v1beta1.QueryParamsResponse: 47010 type: object 47011 properties: 47012 params: 47013 type: object 47014 properties: 47015 signed_blocks_window: 47016 type: string 47017 format: int64 47018 min_signed_per_window: 47019 type: string 47020 format: byte 47021 downtime_jail_duration: 47022 type: string 47023 slash_fraction_double_sign: 47024 type: string 47025 format: byte 47026 slash_fraction_downtime: 47027 type: string 47028 format: byte 47029 description: Params represents the parameters used for by the slashing module. 47030 title: QueryParamsResponse is the response type for the Query/Params RPC method 47031 cosmos.slashing.v1beta1.QuerySigningInfoResponse: 47032 type: object 47033 properties: 47034 val_signing_info: 47035 type: object 47036 properties: 47037 address: 47038 type: string 47039 start_height: 47040 type: string 47041 format: int64 47042 title: Height at which validator was first a candidate OR was unjailed 47043 index_offset: 47044 type: string 47045 format: int64 47046 description: >- 47047 Index which is incremented each time the validator was a bonded 47048 47049 in a block and may have signed a precommit or not. This in 47050 conjunction with the 47051 47052 `SignedBlocksWindow` param determines the index in the 47053 `MissedBlocksBitArray`. 47054 jailed_until: 47055 type: string 47056 format: date-time 47057 description: >- 47058 Timestamp until which the validator is jailed due to liveness 47059 downtime. 47060 tombstoned: 47061 type: boolean 47062 format: boolean 47063 description: >- 47064 Whether or not a validator has been tombstoned (killed out of 47065 validator set). It is set 47066 47067 once the validator commits an equivocation or for any other 47068 configured misbehiavor. 47069 missed_blocks_counter: 47070 type: string 47071 format: int64 47072 description: >- 47073 A counter kept to avoid unnecessary array reads. 47074 47075 Note that `Sum(MissedBlocksBitArray)` always equals 47076 `MissedBlocksCounter`. 47077 description: >- 47078 ValidatorSigningInfo defines a validator's signing info for monitoring 47079 their 47080 47081 liveness activity. 47082 title: val_signing_info is the signing info of requested val cons address 47083 title: >- 47084 QuerySigningInfoResponse is the response type for the Query/SigningInfo 47085 RPC 47086 47087 method 47088 cosmos.slashing.v1beta1.QuerySigningInfosResponse: 47089 type: object 47090 properties: 47091 info: 47092 type: array 47093 items: 47094 type: object 47095 properties: 47096 address: 47097 type: string 47098 start_height: 47099 type: string 47100 format: int64 47101 title: Height at which validator was first a candidate OR was unjailed 47102 index_offset: 47103 type: string 47104 format: int64 47105 description: >- 47106 Index which is incremented each time the validator was a bonded 47107 47108 in a block and may have signed a precommit or not. This in 47109 conjunction with the 47110 47111 `SignedBlocksWindow` param determines the index in the 47112 `MissedBlocksBitArray`. 47113 jailed_until: 47114 type: string 47115 format: date-time 47116 description: >- 47117 Timestamp until which the validator is jailed due to liveness 47118 downtime. 47119 tombstoned: 47120 type: boolean 47121 format: boolean 47122 description: >- 47123 Whether or not a validator has been tombstoned (killed out of 47124 validator set). It is set 47125 47126 once the validator commits an equivocation or for any other 47127 configured misbehiavor. 47128 missed_blocks_counter: 47129 type: string 47130 format: int64 47131 description: >- 47132 A counter kept to avoid unnecessary array reads. 47133 47134 Note that `Sum(MissedBlocksBitArray)` always equals 47135 `MissedBlocksCounter`. 47136 description: >- 47137 ValidatorSigningInfo defines a validator's signing info for 47138 monitoring their 47139 47140 liveness activity. 47141 title: info is the signing info of all validators 47142 pagination: 47143 type: object 47144 properties: 47145 next_key: 47146 type: string 47147 format: byte 47148 title: |- 47149 next_key is the key to be passed to PageRequest.key to 47150 query the next page most efficiently 47151 total: 47152 type: string 47153 format: uint64 47154 title: >- 47155 total is total number of results available if 47156 PageRequest.count_total 47157 47158 was set, its value is undefined otherwise 47159 description: |- 47160 PageResponse is to be embedded in gRPC response messages where the 47161 corresponding request message has used PageRequest. 47162 47163 message SomeResponse { 47164 repeated Bar results = 1; 47165 PageResponse page = 2; 47166 } 47167 title: >- 47168 QuerySigningInfosResponse is the response type for the Query/SigningInfos 47169 RPC 47170 47171 method 47172 cosmos.slashing.v1beta1.ValidatorSigningInfo: 47173 type: object 47174 properties: 47175 address: 47176 type: string 47177 start_height: 47178 type: string 47179 format: int64 47180 title: Height at which validator was first a candidate OR was unjailed 47181 index_offset: 47182 type: string 47183 format: int64 47184 description: >- 47185 Index which is incremented each time the validator was a bonded 47186 47187 in a block and may have signed a precommit or not. This in conjunction 47188 with the 47189 47190 `SignedBlocksWindow` param determines the index in the 47191 `MissedBlocksBitArray`. 47192 jailed_until: 47193 type: string 47194 format: date-time 47195 description: >- 47196 Timestamp until which the validator is jailed due to liveness 47197 downtime. 47198 tombstoned: 47199 type: boolean 47200 format: boolean 47201 description: >- 47202 Whether or not a validator has been tombstoned (killed out of 47203 validator set). It is set 47204 47205 once the validator commits an equivocation or for any other configured 47206 misbehiavor. 47207 missed_blocks_counter: 47208 type: string 47209 format: int64 47210 description: >- 47211 A counter kept to avoid unnecessary array reads. 47212 47213 Note that `Sum(MissedBlocksBitArray)` always equals 47214 `MissedBlocksCounter`. 47215 description: >- 47216 ValidatorSigningInfo defines a validator's signing info for monitoring 47217 their 47218 47219 liveness activity. 47220 cosmos.staking.v1beta1.BondStatus: 47221 type: string 47222 enum: 47223 - BOND_STATUS_UNSPECIFIED 47224 - BOND_STATUS_UNBONDED 47225 - BOND_STATUS_UNBONDING 47226 - BOND_STATUS_BONDED 47227 default: BOND_STATUS_UNSPECIFIED 47228 description: |- 47229 BondStatus is the status of a validator. 47230 47231 - BOND_STATUS_UNSPECIFIED: UNSPECIFIED defines an invalid validator status. 47232 - BOND_STATUS_UNBONDED: UNBONDED defines a validator that is not bonded. 47233 - BOND_STATUS_UNBONDING: UNBONDING defines a validator that is unbonding. 47234 - BOND_STATUS_BONDED: BONDED defines a validator that is bonded. 47235 cosmos.staking.v1beta1.Commission: 47236 type: object 47237 properties: 47238 commission_rates: 47239 description: >- 47240 commission_rates defines the initial commission rates to be used for 47241 creating a validator. 47242 type: object 47243 properties: 47244 rate: 47245 type: string 47246 description: 'rate is the commission rate charged to delegators, as a fraction.' 47247 max_rate: 47248 type: string 47249 description: >- 47250 max_rate defines the maximum commission rate which validator can 47251 ever charge, as a fraction. 47252 max_change_rate: 47253 type: string 47254 description: >- 47255 max_change_rate defines the maximum daily increase of the 47256 validator commission, as a fraction. 47257 update_time: 47258 type: string 47259 format: date-time 47260 description: update_time is the last time the commission rate was changed. 47261 description: Commission defines commission parameters for a given validator. 47262 cosmos.staking.v1beta1.CommissionRates: 47263 type: object 47264 properties: 47265 rate: 47266 type: string 47267 description: 'rate is the commission rate charged to delegators, as a fraction.' 47268 max_rate: 47269 type: string 47270 description: >- 47271 max_rate defines the maximum commission rate which validator can ever 47272 charge, as a fraction. 47273 max_change_rate: 47274 type: string 47275 description: >- 47276 max_change_rate defines the maximum daily increase of the validator 47277 commission, as a fraction. 47278 description: >- 47279 CommissionRates defines the initial commission rates to be used for 47280 creating 47281 47282 a validator. 47283 cosmos.staking.v1beta1.Delegation: 47284 type: object 47285 properties: 47286 delegator_address: 47287 type: string 47288 description: delegator_address is the bech32-encoded address of the delegator. 47289 validator_address: 47290 type: string 47291 description: validator_address is the bech32-encoded address of the validator. 47292 shares: 47293 type: string 47294 description: shares define the delegation shares received. 47295 description: |- 47296 Delegation represents the bond with tokens held by an account. It is 47297 owned by one delegator, and is associated with the voting power of one 47298 validator. 47299 cosmos.staking.v1beta1.DelegationResponse: 47300 type: object 47301 properties: 47302 delegation: 47303 type: object 47304 properties: 47305 delegator_address: 47306 type: string 47307 description: delegator_address is the bech32-encoded address of the delegator. 47308 validator_address: 47309 type: string 47310 description: validator_address is the bech32-encoded address of the validator. 47311 shares: 47312 type: string 47313 description: shares define the delegation shares received. 47314 description: |- 47315 Delegation represents the bond with tokens held by an account. It is 47316 owned by one delegator, and is associated with the voting power of one 47317 validator. 47318 balance: 47319 type: object 47320 properties: 47321 denom: 47322 type: string 47323 amount: 47324 type: string 47325 description: |- 47326 Coin defines a token with a denomination and an amount. 47327 47328 NOTE: The amount field is an Int which implements the custom method 47329 signatures required by gogoproto. 47330 description: |- 47331 DelegationResponse is equivalent to Delegation except that it contains a 47332 balance in addition to shares which is more suitable for client responses. 47333 cosmos.staking.v1beta1.Description: 47334 type: object 47335 properties: 47336 moniker: 47337 type: string 47338 description: moniker defines a human-readable name for the validator. 47339 identity: 47340 type: string 47341 description: >- 47342 identity defines an optional identity signature (ex. UPort or 47343 Keybase). 47344 website: 47345 type: string 47346 description: website defines an optional website link. 47347 security_contact: 47348 type: string 47349 description: security_contact defines an optional email for security contact. 47350 details: 47351 type: string 47352 description: details define other optional details. 47353 description: Description defines a validator description. 47354 cosmos.staking.v1beta1.HistoricalInfo: 47355 type: object 47356 properties: 47357 header: 47358 type: object 47359 properties: 47360 version: 47361 title: basic block info 47362 type: object 47363 properties: 47364 block: 47365 type: string 47366 format: uint64 47367 app: 47368 type: string 47369 format: uint64 47370 description: >- 47371 Consensus captures the consensus rules for processing a block in 47372 the blockchain, 47373 47374 including all blockchain data structures and the rules of the 47375 application's 47376 47377 state transition machine. 47378 chain_id: 47379 type: string 47380 height: 47381 type: string 47382 format: int64 47383 time: 47384 type: string 47385 format: date-time 47386 last_block_id: 47387 title: prev block info 47388 type: object 47389 properties: 47390 hash: 47391 type: string 47392 format: byte 47393 part_set_header: 47394 type: object 47395 properties: 47396 total: 47397 type: integer 47398 format: int64 47399 hash: 47400 type: string 47401 format: byte 47402 title: PartsetHeader 47403 last_commit_hash: 47404 type: string 47405 format: byte 47406 title: hashes of block data 47407 data_hash: 47408 type: string 47409 format: byte 47410 validators_hash: 47411 type: string 47412 format: byte 47413 title: hashes from the app output from the prev block 47414 next_validators_hash: 47415 type: string 47416 format: byte 47417 consensus_hash: 47418 type: string 47419 format: byte 47420 app_hash: 47421 type: string 47422 format: byte 47423 last_results_hash: 47424 type: string 47425 format: byte 47426 evidence_hash: 47427 type: string 47428 format: byte 47429 title: consensus info 47430 proposer_address: 47431 type: string 47432 format: byte 47433 description: Header defines the structure of a Tendermint block header. 47434 valset: 47435 type: array 47436 items: 47437 type: object 47438 properties: 47439 operator_address: 47440 type: string 47441 description: >- 47442 operator_address defines the address of the validator's 47443 operator; bech encoded in JSON. 47444 consensus_pubkey: 47445 type: object 47446 properties: 47447 type_url: 47448 type: string 47449 description: >- 47450 A URL/resource name that uniquely identifies the type of the 47451 serialized 47452 47453 protocol buffer message. This string must contain at least 47454 47455 one "/" character. The last segment of the URL's path must 47456 represent 47457 47458 the fully qualified name of the type (as in 47459 47460 `path/google.protobuf.Duration`). The name should be in a 47461 canonical form 47462 47463 (e.g., leading "." is not accepted). 47464 47465 47466 In practice, teams usually precompile into the binary all 47467 types that they 47468 47469 expect it to use in the context of Any. However, for URLs 47470 which use the 47471 47472 scheme `http`, `https`, or no scheme, one can optionally set 47473 up a type 47474 47475 server that maps type URLs to message definitions as 47476 follows: 47477 47478 47479 * If no scheme is provided, `https` is assumed. 47480 47481 * An HTTP GET on the URL must yield a 47482 [google.protobuf.Type][] 47483 value in binary format, or produce an error. 47484 * Applications are allowed to cache lookup results based on 47485 the 47486 URL, or have them precompiled into a binary to avoid any 47487 lookup. Therefore, binary compatibility needs to be preserved 47488 on changes to types. (Use versioned type names to manage 47489 breaking changes.) 47490 47491 Note: this functionality is not currently available in the 47492 official 47493 47494 protobuf release, and it is not used for type URLs beginning 47495 with 47496 47497 type.googleapis.com. 47498 47499 47500 Schemes other than `http`, `https` (or the empty scheme) 47501 might be 47502 47503 used with implementation specific semantics. 47504 value: 47505 type: string 47506 format: byte 47507 description: >- 47508 Must be a valid serialized protocol buffer of the above 47509 specified type. 47510 description: >- 47511 `Any` contains an arbitrary serialized protocol buffer message 47512 along with a 47513 47514 URL that describes the type of the serialized message. 47515 47516 47517 Protobuf library provides support to pack/unpack Any values in 47518 the form 47519 47520 of utility functions or additional generated methods of the Any 47521 type. 47522 47523 47524 Example 1: Pack and unpack a message in C++. 47525 47526 Foo foo = ...; 47527 Any any; 47528 any.PackFrom(foo); 47529 ... 47530 if (any.UnpackTo(&foo)) { 47531 ... 47532 } 47533 47534 Example 2: Pack and unpack a message in Java. 47535 47536 Foo foo = ...; 47537 Any any = Any.pack(foo); 47538 ... 47539 if (any.is(Foo.class)) { 47540 foo = any.unpack(Foo.class); 47541 } 47542 47543 Example 3: Pack and unpack a message in Python. 47544 47545 foo = Foo(...) 47546 any = Any() 47547 any.Pack(foo) 47548 ... 47549 if any.Is(Foo.DESCRIPTOR): 47550 any.Unpack(foo) 47551 ... 47552 47553 Example 4: Pack and unpack a message in Go 47554 47555 foo := &pb.Foo{...} 47556 any, err := ptypes.MarshalAny(foo) 47557 ... 47558 foo := &pb.Foo{} 47559 if err := ptypes.UnmarshalAny(any, foo); err != nil { 47560 ... 47561 } 47562 47563 The pack methods provided by protobuf library will by default 47564 use 47565 47566 'type.googleapis.com/full.type.name' as the type URL and the 47567 unpack 47568 47569 methods only use the fully qualified type name after the last 47570 '/' 47571 47572 in the type URL, for example "foo.bar.com/x/y.z" will yield type 47573 47574 name "y.z". 47575 47576 47577 47578 JSON 47579 47580 ==== 47581 47582 The JSON representation of an `Any` value uses the regular 47583 47584 representation of the deserialized, embedded message, with an 47585 47586 additional field `@type` which contains the type URL. Example: 47587 47588 package google.profile; 47589 message Person { 47590 string first_name = 1; 47591 string last_name = 2; 47592 } 47593 47594 { 47595 "@type": "type.googleapis.com/google.profile.Person", 47596 "firstName": <string>, 47597 "lastName": <string> 47598 } 47599 47600 If the embedded message type is well-known and has a custom JSON 47601 47602 representation, that representation will be embedded adding a 47603 field 47604 47605 `value` which holds the custom JSON in addition to the `@type` 47606 47607 field. Example (for message [google.protobuf.Duration][]): 47608 47609 { 47610 "@type": "type.googleapis.com/google.protobuf.Duration", 47611 "value": "1.212s" 47612 } 47613 jailed: 47614 type: boolean 47615 format: boolean 47616 description: >- 47617 jailed defined whether the validator has been jailed from bonded 47618 status or not. 47619 status: 47620 description: status is the validator status (bonded/unbonding/unbonded). 47621 type: string 47622 enum: 47623 - BOND_STATUS_UNSPECIFIED 47624 - BOND_STATUS_UNBONDED 47625 - BOND_STATUS_UNBONDING 47626 - BOND_STATUS_BONDED 47627 default: BOND_STATUS_UNSPECIFIED 47628 tokens: 47629 type: string 47630 description: tokens define the delegated tokens (incl. self-delegation). 47631 delegator_shares: 47632 type: string 47633 description: >- 47634 delegator_shares defines total shares issued to a validator's 47635 delegators. 47636 description: 47637 description: description defines the description terms for the validator. 47638 type: object 47639 properties: 47640 moniker: 47641 type: string 47642 description: moniker defines a human-readable name for the validator. 47643 identity: 47644 type: string 47645 description: >- 47646 identity defines an optional identity signature (ex. UPort 47647 or Keybase). 47648 website: 47649 type: string 47650 description: website defines an optional website link. 47651 security_contact: 47652 type: string 47653 description: >- 47654 security_contact defines an optional email for security 47655 contact. 47656 details: 47657 type: string 47658 description: details define other optional details. 47659 unbonding_height: 47660 type: string 47661 format: int64 47662 description: >- 47663 unbonding_height defines, if unbonding, the height at which this 47664 validator has begun unbonding. 47665 unbonding_time: 47666 type: string 47667 format: date-time 47668 description: >- 47669 unbonding_time defines, if unbonding, the min time for the 47670 validator to complete unbonding. 47671 commission: 47672 description: commission defines the commission parameters. 47673 type: object 47674 properties: 47675 commission_rates: 47676 description: >- 47677 commission_rates defines the initial commission rates to be 47678 used for creating a validator. 47679 type: object 47680 properties: 47681 rate: 47682 type: string 47683 description: >- 47684 rate is the commission rate charged to delegators, as a 47685 fraction. 47686 max_rate: 47687 type: string 47688 description: >- 47689 max_rate defines the maximum commission rate which 47690 validator can ever charge, as a fraction. 47691 max_change_rate: 47692 type: string 47693 description: >- 47694 max_change_rate defines the maximum daily increase of 47695 the validator commission, as a fraction. 47696 update_time: 47697 type: string 47698 format: date-time 47699 description: >- 47700 update_time is the last time the commission rate was 47701 changed. 47702 min_self_delegation: 47703 type: string 47704 description: >- 47705 min_self_delegation is the validator's self declared minimum 47706 self delegation. 47707 description: >- 47708 Validator defines a validator, together with the total amount of the 47709 47710 Validator's bond shares and their exchange rate to coins. Slashing 47711 results in 47712 47713 a decrease in the exchange rate, allowing correct calculation of 47714 future 47715 47716 undelegations without iterating over delegators. When coins are 47717 delegated to 47718 47719 this validator, the validator is credited with a delegation whose 47720 number of 47721 47722 bond shares is based on the amount of coins delegated divided by the 47723 current 47724 47725 exchange rate. Voting power can be calculated as total bonded shares 47726 47727 multiplied by exchange rate. 47728 description: >- 47729 HistoricalInfo contains header and validator, voter information for a 47730 given block. 47731 47732 It is stored as part of staking module's state, which persists the `n` 47733 most 47734 47735 recent HistoricalInfo 47736 47737 (`n` is set by the staking module's `historical_entries` parameter). 47738 cosmos.staking.v1beta1.Params: 47739 type: object 47740 properties: 47741 unbonding_time: 47742 type: string 47743 description: unbonding_time is the time duration of unbonding. 47744 max_validators: 47745 type: integer 47746 format: int64 47747 description: max_validators is the maximum number of validators. 47748 max_entries: 47749 type: integer 47750 format: int64 47751 description: >- 47752 max_entries is the max entries for either unbonding delegation or 47753 redelegation (per pair/trio). 47754 historical_entries: 47755 type: integer 47756 format: int64 47757 description: historical_entries is the number of historical entries to persist. 47758 bond_denom: 47759 type: string 47760 description: bond_denom defines the bondable coin denomination. 47761 description: Params defines the parameters for the staking module. 47762 cosmos.staking.v1beta1.Pool: 47763 type: object 47764 properties: 47765 not_bonded_tokens: 47766 type: string 47767 bonded_tokens: 47768 type: string 47769 description: |- 47770 Pool is used for tracking bonded and not-bonded token supply of the bond 47771 denomination. 47772 cosmos.staking.v1beta1.QueryDelegationResponse: 47773 type: object 47774 properties: 47775 delegation_response: 47776 type: object 47777 properties: 47778 delegation: 47779 type: object 47780 properties: 47781 delegator_address: 47782 type: string 47783 description: >- 47784 delegator_address is the bech32-encoded address of the 47785 delegator. 47786 validator_address: 47787 type: string 47788 description: >- 47789 validator_address is the bech32-encoded address of the 47790 validator. 47791 shares: 47792 type: string 47793 description: shares define the delegation shares received. 47794 description: >- 47795 Delegation represents the bond with tokens held by an account. It 47796 is 47797 47798 owned by one delegator, and is associated with the voting power of 47799 one 47800 47801 validator. 47802 balance: 47803 type: object 47804 properties: 47805 denom: 47806 type: string 47807 amount: 47808 type: string 47809 description: >- 47810 Coin defines a token with a denomination and an amount. 47811 47812 47813 NOTE: The amount field is an Int which implements the custom 47814 method 47815 47816 signatures required by gogoproto. 47817 description: >- 47818 DelegationResponse is equivalent to Delegation except that it contains 47819 a 47820 47821 balance in addition to shares which is more suitable for client 47822 responses. 47823 description: >- 47824 QueryDelegationResponse is response type for the Query/Delegation RPC 47825 method. 47826 cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse: 47827 type: object 47828 properties: 47829 delegation_responses: 47830 type: array 47831 items: 47832 type: object 47833 properties: 47834 delegation: 47835 type: object 47836 properties: 47837 delegator_address: 47838 type: string 47839 description: >- 47840 delegator_address is the bech32-encoded address of the 47841 delegator. 47842 validator_address: 47843 type: string 47844 description: >- 47845 validator_address is the bech32-encoded address of the 47846 validator. 47847 shares: 47848 type: string 47849 description: shares define the delegation shares received. 47850 description: >- 47851 Delegation represents the bond with tokens held by an account. 47852 It is 47853 47854 owned by one delegator, and is associated with the voting power 47855 of one 47856 47857 validator. 47858 balance: 47859 type: object 47860 properties: 47861 denom: 47862 type: string 47863 amount: 47864 type: string 47865 description: >- 47866 Coin defines a token with a denomination and an amount. 47867 47868 47869 NOTE: The amount field is an Int which implements the custom 47870 method 47871 47872 signatures required by gogoproto. 47873 description: >- 47874 DelegationResponse is equivalent to Delegation except that it 47875 contains a 47876 47877 balance in addition to shares which is more suitable for client 47878 responses. 47879 description: delegation_responses defines all the delegations' info of a delegator. 47880 pagination: 47881 description: pagination defines the pagination in the response. 47882 type: object 47883 properties: 47884 next_key: 47885 type: string 47886 format: byte 47887 title: |- 47888 next_key is the key to be passed to PageRequest.key to 47889 query the next page most efficiently 47890 total: 47891 type: string 47892 format: uint64 47893 title: >- 47894 total is total number of results available if 47895 PageRequest.count_total 47896 47897 was set, its value is undefined otherwise 47898 description: |- 47899 QueryDelegatorDelegationsResponse is response type for the 47900 Query/DelegatorDelegations RPC method. 47901 cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse: 47902 type: object 47903 properties: 47904 unbonding_responses: 47905 type: array 47906 items: 47907 type: object 47908 properties: 47909 delegator_address: 47910 type: string 47911 description: >- 47912 delegator_address is the bech32-encoded address of the 47913 delegator. 47914 validator_address: 47915 type: string 47916 description: >- 47917 validator_address is the bech32-encoded address of the 47918 validator. 47919 entries: 47920 type: array 47921 items: 47922 type: object 47923 properties: 47924 creation_height: 47925 type: string 47926 format: int64 47927 description: >- 47928 creation_height is the height which the unbonding took 47929 place. 47930 completion_time: 47931 type: string 47932 format: date-time 47933 description: completion_time is the unix time for unbonding completion. 47934 initial_balance: 47935 type: string 47936 description: >- 47937 initial_balance defines the tokens initially scheduled to 47938 receive at completion. 47939 balance: 47940 type: string 47941 description: balance defines the tokens to receive at completion. 47942 description: >- 47943 UnbondingDelegationEntry defines an unbonding object with 47944 relevant metadata. 47945 description: entries are the unbonding delegation entries. 47946 description: >- 47947 UnbondingDelegation stores all of a single delegator's unbonding 47948 bonds 47949 47950 for a single validator in an time-ordered list. 47951 pagination: 47952 description: pagination defines the pagination in the response. 47953 type: object 47954 properties: 47955 next_key: 47956 type: string 47957 format: byte 47958 title: |- 47959 next_key is the key to be passed to PageRequest.key to 47960 query the next page most efficiently 47961 total: 47962 type: string 47963 format: uint64 47964 title: >- 47965 total is total number of results available if 47966 PageRequest.count_total 47967 47968 was set, its value is undefined otherwise 47969 description: |- 47970 QueryUnbondingDelegatorDelegationsResponse is response type for the 47971 Query/UnbondingDelegatorDelegations RPC method. 47972 cosmos.staking.v1beta1.QueryDelegatorValidatorResponse: 47973 type: object 47974 properties: 47975 validator: 47976 type: object 47977 properties: 47978 operator_address: 47979 type: string 47980 description: >- 47981 operator_address defines the address of the validator's operator; 47982 bech encoded in JSON. 47983 consensus_pubkey: 47984 type: object 47985 properties: 47986 type_url: 47987 type: string 47988 description: >- 47989 A URL/resource name that uniquely identifies the type of the 47990 serialized 47991 47992 protocol buffer message. This string must contain at least 47993 47994 one "/" character. The last segment of the URL's path must 47995 represent 47996 47997 the fully qualified name of the type (as in 47998 47999 `path/google.protobuf.Duration`). The name should be in a 48000 canonical form 48001 48002 (e.g., leading "." is not accepted). 48003 48004 48005 In practice, teams usually precompile into the binary all 48006 types that they 48007 48008 expect it to use in the context of Any. However, for URLs 48009 which use the 48010 48011 scheme `http`, `https`, or no scheme, one can optionally set 48012 up a type 48013 48014 server that maps type URLs to message definitions as follows: 48015 48016 48017 * If no scheme is provided, `https` is assumed. 48018 48019 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 48020 value in binary format, or produce an error. 48021 * Applications are allowed to cache lookup results based on 48022 the 48023 URL, or have them precompiled into a binary to avoid any 48024 lookup. Therefore, binary compatibility needs to be preserved 48025 on changes to types. (Use versioned type names to manage 48026 breaking changes.) 48027 48028 Note: this functionality is not currently available in the 48029 official 48030 48031 protobuf release, and it is not used for type URLs beginning 48032 with 48033 48034 type.googleapis.com. 48035 48036 48037 Schemes other than `http`, `https` (or the empty scheme) might 48038 be 48039 48040 used with implementation specific semantics. 48041 value: 48042 type: string 48043 format: byte 48044 description: >- 48045 Must be a valid serialized protocol buffer of the above 48046 specified type. 48047 description: >- 48048 `Any` contains an arbitrary serialized protocol buffer message 48049 along with a 48050 48051 URL that describes the type of the serialized message. 48052 48053 48054 Protobuf library provides support to pack/unpack Any values in the 48055 form 48056 48057 of utility functions or additional generated methods of the Any 48058 type. 48059 48060 48061 Example 1: Pack and unpack a message in C++. 48062 48063 Foo foo = ...; 48064 Any any; 48065 any.PackFrom(foo); 48066 ... 48067 if (any.UnpackTo(&foo)) { 48068 ... 48069 } 48070 48071 Example 2: Pack and unpack a message in Java. 48072 48073 Foo foo = ...; 48074 Any any = Any.pack(foo); 48075 ... 48076 if (any.is(Foo.class)) { 48077 foo = any.unpack(Foo.class); 48078 } 48079 48080 Example 3: Pack and unpack a message in Python. 48081 48082 foo = Foo(...) 48083 any = Any() 48084 any.Pack(foo) 48085 ... 48086 if any.Is(Foo.DESCRIPTOR): 48087 any.Unpack(foo) 48088 ... 48089 48090 Example 4: Pack and unpack a message in Go 48091 48092 foo := &pb.Foo{...} 48093 any, err := ptypes.MarshalAny(foo) 48094 ... 48095 foo := &pb.Foo{} 48096 if err := ptypes.UnmarshalAny(any, foo); err != nil { 48097 ... 48098 } 48099 48100 The pack methods provided by protobuf library will by default use 48101 48102 'type.googleapis.com/full.type.name' as the type URL and the 48103 unpack 48104 48105 methods only use the fully qualified type name after the last '/' 48106 48107 in the type URL, for example "foo.bar.com/x/y.z" will yield type 48108 48109 name "y.z". 48110 48111 48112 48113 JSON 48114 48115 ==== 48116 48117 The JSON representation of an `Any` value uses the regular 48118 48119 representation of the deserialized, embedded message, with an 48120 48121 additional field `@type` which contains the type URL. Example: 48122 48123 package google.profile; 48124 message Person { 48125 string first_name = 1; 48126 string last_name = 2; 48127 } 48128 48129 { 48130 "@type": "type.googleapis.com/google.profile.Person", 48131 "firstName": <string>, 48132 "lastName": <string> 48133 } 48134 48135 If the embedded message type is well-known and has a custom JSON 48136 48137 representation, that representation will be embedded adding a 48138 field 48139 48140 `value` which holds the custom JSON in addition to the `@type` 48141 48142 field. Example (for message [google.protobuf.Duration][]): 48143 48144 { 48145 "@type": "type.googleapis.com/google.protobuf.Duration", 48146 "value": "1.212s" 48147 } 48148 jailed: 48149 type: boolean 48150 format: boolean 48151 description: >- 48152 jailed defined whether the validator has been jailed from bonded 48153 status or not. 48154 status: 48155 description: status is the validator status (bonded/unbonding/unbonded). 48156 type: string 48157 enum: 48158 - BOND_STATUS_UNSPECIFIED 48159 - BOND_STATUS_UNBONDED 48160 - BOND_STATUS_UNBONDING 48161 - BOND_STATUS_BONDED 48162 default: BOND_STATUS_UNSPECIFIED 48163 tokens: 48164 type: string 48165 description: tokens define the delegated tokens (incl. self-delegation). 48166 delegator_shares: 48167 type: string 48168 description: >- 48169 delegator_shares defines total shares issued to a validator's 48170 delegators. 48171 description: 48172 description: description defines the description terms for the validator. 48173 type: object 48174 properties: 48175 moniker: 48176 type: string 48177 description: moniker defines a human-readable name for the validator. 48178 identity: 48179 type: string 48180 description: >- 48181 identity defines an optional identity signature (ex. UPort or 48182 Keybase). 48183 website: 48184 type: string 48185 description: website defines an optional website link. 48186 security_contact: 48187 type: string 48188 description: >- 48189 security_contact defines an optional email for security 48190 contact. 48191 details: 48192 type: string 48193 description: details define other optional details. 48194 unbonding_height: 48195 type: string 48196 format: int64 48197 description: >- 48198 unbonding_height defines, if unbonding, the height at which this 48199 validator has begun unbonding. 48200 unbonding_time: 48201 type: string 48202 format: date-time 48203 description: >- 48204 unbonding_time defines, if unbonding, the min time for the 48205 validator to complete unbonding. 48206 commission: 48207 description: commission defines the commission parameters. 48208 type: object 48209 properties: 48210 commission_rates: 48211 description: >- 48212 commission_rates defines the initial commission rates to be 48213 used for creating a validator. 48214 type: object 48215 properties: 48216 rate: 48217 type: string 48218 description: >- 48219 rate is the commission rate charged to delegators, as a 48220 fraction. 48221 max_rate: 48222 type: string 48223 description: >- 48224 max_rate defines the maximum commission rate which 48225 validator can ever charge, as a fraction. 48226 max_change_rate: 48227 type: string 48228 description: >- 48229 max_change_rate defines the maximum daily increase of the 48230 validator commission, as a fraction. 48231 update_time: 48232 type: string 48233 format: date-time 48234 description: update_time is the last time the commission rate was changed. 48235 min_self_delegation: 48236 type: string 48237 description: >- 48238 min_self_delegation is the validator's self declared minimum self 48239 delegation. 48240 description: >- 48241 Validator defines a validator, together with the total amount of the 48242 48243 Validator's bond shares and their exchange rate to coins. Slashing 48244 results in 48245 48246 a decrease in the exchange rate, allowing correct calculation of 48247 future 48248 48249 undelegations without iterating over delegators. When coins are 48250 delegated to 48251 48252 this validator, the validator is credited with a delegation whose 48253 number of 48254 48255 bond shares is based on the amount of coins delegated divided by the 48256 current 48257 48258 exchange rate. Voting power can be calculated as total bonded shares 48259 48260 multiplied by exchange rate. 48261 description: |- 48262 QueryDelegatorValidatorResponse response type for the 48263 Query/DelegatorValidator RPC method. 48264 cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse: 48265 type: object 48266 properties: 48267 validators: 48268 type: array 48269 items: 48270 type: object 48271 properties: 48272 operator_address: 48273 type: string 48274 description: >- 48275 operator_address defines the address of the validator's 48276 operator; bech encoded in JSON. 48277 consensus_pubkey: 48278 type: object 48279 properties: 48280 type_url: 48281 type: string 48282 description: >- 48283 A URL/resource name that uniquely identifies the type of the 48284 serialized 48285 48286 protocol buffer message. This string must contain at least 48287 48288 one "/" character. The last segment of the URL's path must 48289 represent 48290 48291 the fully qualified name of the type (as in 48292 48293 `path/google.protobuf.Duration`). The name should be in a 48294 canonical form 48295 48296 (e.g., leading "." is not accepted). 48297 48298 48299 In practice, teams usually precompile into the binary all 48300 types that they 48301 48302 expect it to use in the context of Any. However, for URLs 48303 which use the 48304 48305 scheme `http`, `https`, or no scheme, one can optionally set 48306 up a type 48307 48308 server that maps type URLs to message definitions as 48309 follows: 48310 48311 48312 * If no scheme is provided, `https` is assumed. 48313 48314 * An HTTP GET on the URL must yield a 48315 [google.protobuf.Type][] 48316 value in binary format, or produce an error. 48317 * Applications are allowed to cache lookup results based on 48318 the 48319 URL, or have them precompiled into a binary to avoid any 48320 lookup. Therefore, binary compatibility needs to be preserved 48321 on changes to types. (Use versioned type names to manage 48322 breaking changes.) 48323 48324 Note: this functionality is not currently available in the 48325 official 48326 48327 protobuf release, and it is not used for type URLs beginning 48328 with 48329 48330 type.googleapis.com. 48331 48332 48333 Schemes other than `http`, `https` (or the empty scheme) 48334 might be 48335 48336 used with implementation specific semantics. 48337 value: 48338 type: string 48339 format: byte 48340 description: >- 48341 Must be a valid serialized protocol buffer of the above 48342 specified type. 48343 description: >- 48344 `Any` contains an arbitrary serialized protocol buffer message 48345 along with a 48346 48347 URL that describes the type of the serialized message. 48348 48349 48350 Protobuf library provides support to pack/unpack Any values in 48351 the form 48352 48353 of utility functions or additional generated methods of the Any 48354 type. 48355 48356 48357 Example 1: Pack and unpack a message in C++. 48358 48359 Foo foo = ...; 48360 Any any; 48361 any.PackFrom(foo); 48362 ... 48363 if (any.UnpackTo(&foo)) { 48364 ... 48365 } 48366 48367 Example 2: Pack and unpack a message in Java. 48368 48369 Foo foo = ...; 48370 Any any = Any.pack(foo); 48371 ... 48372 if (any.is(Foo.class)) { 48373 foo = any.unpack(Foo.class); 48374 } 48375 48376 Example 3: Pack and unpack a message in Python. 48377 48378 foo = Foo(...) 48379 any = Any() 48380 any.Pack(foo) 48381 ... 48382 if any.Is(Foo.DESCRIPTOR): 48383 any.Unpack(foo) 48384 ... 48385 48386 Example 4: Pack and unpack a message in Go 48387 48388 foo := &pb.Foo{...} 48389 any, err := ptypes.MarshalAny(foo) 48390 ... 48391 foo := &pb.Foo{} 48392 if err := ptypes.UnmarshalAny(any, foo); err != nil { 48393 ... 48394 } 48395 48396 The pack methods provided by protobuf library will by default 48397 use 48398 48399 'type.googleapis.com/full.type.name' as the type URL and the 48400 unpack 48401 48402 methods only use the fully qualified type name after the last 48403 '/' 48404 48405 in the type URL, for example "foo.bar.com/x/y.z" will yield type 48406 48407 name "y.z". 48408 48409 48410 48411 JSON 48412 48413 ==== 48414 48415 The JSON representation of an `Any` value uses the regular 48416 48417 representation of the deserialized, embedded message, with an 48418 48419 additional field `@type` which contains the type URL. Example: 48420 48421 package google.profile; 48422 message Person { 48423 string first_name = 1; 48424 string last_name = 2; 48425 } 48426 48427 { 48428 "@type": "type.googleapis.com/google.profile.Person", 48429 "firstName": <string>, 48430 "lastName": <string> 48431 } 48432 48433 If the embedded message type is well-known and has a custom JSON 48434 48435 representation, that representation will be embedded adding a 48436 field 48437 48438 `value` which holds the custom JSON in addition to the `@type` 48439 48440 field. Example (for message [google.protobuf.Duration][]): 48441 48442 { 48443 "@type": "type.googleapis.com/google.protobuf.Duration", 48444 "value": "1.212s" 48445 } 48446 jailed: 48447 type: boolean 48448 format: boolean 48449 description: >- 48450 jailed defined whether the validator has been jailed from bonded 48451 status or not. 48452 status: 48453 description: status is the validator status (bonded/unbonding/unbonded). 48454 type: string 48455 enum: 48456 - BOND_STATUS_UNSPECIFIED 48457 - BOND_STATUS_UNBONDED 48458 - BOND_STATUS_UNBONDING 48459 - BOND_STATUS_BONDED 48460 default: BOND_STATUS_UNSPECIFIED 48461 tokens: 48462 type: string 48463 description: tokens define the delegated tokens (incl. self-delegation). 48464 delegator_shares: 48465 type: string 48466 description: >- 48467 delegator_shares defines total shares issued to a validator's 48468 delegators. 48469 description: 48470 description: description defines the description terms for the validator. 48471 type: object 48472 properties: 48473 moniker: 48474 type: string 48475 description: moniker defines a human-readable name for the validator. 48476 identity: 48477 type: string 48478 description: >- 48479 identity defines an optional identity signature (ex. UPort 48480 or Keybase). 48481 website: 48482 type: string 48483 description: website defines an optional website link. 48484 security_contact: 48485 type: string 48486 description: >- 48487 security_contact defines an optional email for security 48488 contact. 48489 details: 48490 type: string 48491 description: details define other optional details. 48492 unbonding_height: 48493 type: string 48494 format: int64 48495 description: >- 48496 unbonding_height defines, if unbonding, the height at which this 48497 validator has begun unbonding. 48498 unbonding_time: 48499 type: string 48500 format: date-time 48501 description: >- 48502 unbonding_time defines, if unbonding, the min time for the 48503 validator to complete unbonding. 48504 commission: 48505 description: commission defines the commission parameters. 48506 type: object 48507 properties: 48508 commission_rates: 48509 description: >- 48510 commission_rates defines the initial commission rates to be 48511 used for creating a validator. 48512 type: object 48513 properties: 48514 rate: 48515 type: string 48516 description: >- 48517 rate is the commission rate charged to delegators, as a 48518 fraction. 48519 max_rate: 48520 type: string 48521 description: >- 48522 max_rate defines the maximum commission rate which 48523 validator can ever charge, as a fraction. 48524 max_change_rate: 48525 type: string 48526 description: >- 48527 max_change_rate defines the maximum daily increase of 48528 the validator commission, as a fraction. 48529 update_time: 48530 type: string 48531 format: date-time 48532 description: >- 48533 update_time is the last time the commission rate was 48534 changed. 48535 min_self_delegation: 48536 type: string 48537 description: >- 48538 min_self_delegation is the validator's self declared minimum 48539 self delegation. 48540 description: >- 48541 Validator defines a validator, together with the total amount of the 48542 48543 Validator's bond shares and their exchange rate to coins. Slashing 48544 results in 48545 48546 a decrease in the exchange rate, allowing correct calculation of 48547 future 48548 48549 undelegations without iterating over delegators. When coins are 48550 delegated to 48551 48552 this validator, the validator is credited with a delegation whose 48553 number of 48554 48555 bond shares is based on the amount of coins delegated divided by the 48556 current 48557 48558 exchange rate. Voting power can be calculated as total bonded shares 48559 48560 multiplied by exchange rate. 48561 description: validators defines the the validators' info of a delegator. 48562 pagination: 48563 description: pagination defines the pagination in the response. 48564 type: object 48565 properties: 48566 next_key: 48567 type: string 48568 format: byte 48569 title: |- 48570 next_key is the key to be passed to PageRequest.key to 48571 query the next page most efficiently 48572 total: 48573 type: string 48574 format: uint64 48575 title: >- 48576 total is total number of results available if 48577 PageRequest.count_total 48578 48579 was set, its value is undefined otherwise 48580 description: |- 48581 QueryDelegatorValidatorsResponse is response type for the 48582 Query/DelegatorValidators RPC method. 48583 cosmos.staking.v1beta1.QueryHistoricalInfoResponse: 48584 type: object 48585 properties: 48586 hist: 48587 description: hist defines the historical info at the given height. 48588 type: object 48589 properties: 48590 header: 48591 type: object 48592 properties: 48593 version: 48594 title: basic block info 48595 type: object 48596 properties: 48597 block: 48598 type: string 48599 format: uint64 48600 app: 48601 type: string 48602 format: uint64 48603 description: >- 48604 Consensus captures the consensus rules for processing a block 48605 in the blockchain, 48606 48607 including all blockchain data structures and the rules of the 48608 application's 48609 48610 state transition machine. 48611 chain_id: 48612 type: string 48613 height: 48614 type: string 48615 format: int64 48616 time: 48617 type: string 48618 format: date-time 48619 last_block_id: 48620 title: prev block info 48621 type: object 48622 properties: 48623 hash: 48624 type: string 48625 format: byte 48626 part_set_header: 48627 type: object 48628 properties: 48629 total: 48630 type: integer 48631 format: int64 48632 hash: 48633 type: string 48634 format: byte 48635 title: PartsetHeader 48636 last_commit_hash: 48637 type: string 48638 format: byte 48639 title: hashes of block data 48640 data_hash: 48641 type: string 48642 format: byte 48643 validators_hash: 48644 type: string 48645 format: byte 48646 title: hashes from the app output from the prev block 48647 next_validators_hash: 48648 type: string 48649 format: byte 48650 consensus_hash: 48651 type: string 48652 format: byte 48653 app_hash: 48654 type: string 48655 format: byte 48656 last_results_hash: 48657 type: string 48658 format: byte 48659 evidence_hash: 48660 type: string 48661 format: byte 48662 title: consensus info 48663 proposer_address: 48664 type: string 48665 format: byte 48666 description: Header defines the structure of a Tendermint block header. 48667 valset: 48668 type: array 48669 items: 48670 type: object 48671 properties: 48672 operator_address: 48673 type: string 48674 description: >- 48675 operator_address defines the address of the validator's 48676 operator; bech encoded in JSON. 48677 consensus_pubkey: 48678 type: object 48679 properties: 48680 type_url: 48681 type: string 48682 description: >- 48683 A URL/resource name that uniquely identifies the type of 48684 the serialized 48685 48686 protocol buffer message. This string must contain at 48687 least 48688 48689 one "/" character. The last segment of the URL's path 48690 must represent 48691 48692 the fully qualified name of the type (as in 48693 48694 `path/google.protobuf.Duration`). The name should be in 48695 a canonical form 48696 48697 (e.g., leading "." is not accepted). 48698 48699 48700 In practice, teams usually precompile into the binary 48701 all types that they 48702 48703 expect it to use in the context of Any. However, for 48704 URLs which use the 48705 48706 scheme `http`, `https`, or no scheme, one can optionally 48707 set up a type 48708 48709 server that maps type URLs to message definitions as 48710 follows: 48711 48712 48713 * If no scheme is provided, `https` is assumed. 48714 48715 * An HTTP GET on the URL must yield a 48716 [google.protobuf.Type][] 48717 value in binary format, or produce an error. 48718 * Applications are allowed to cache lookup results based 48719 on the 48720 URL, or have them precompiled into a binary to avoid any 48721 lookup. Therefore, binary compatibility needs to be preserved 48722 on changes to types. (Use versioned type names to manage 48723 breaking changes.) 48724 48725 Note: this functionality is not currently available in 48726 the official 48727 48728 protobuf release, and it is not used for type URLs 48729 beginning with 48730 48731 type.googleapis.com. 48732 48733 48734 Schemes other than `http`, `https` (or the empty scheme) 48735 might be 48736 48737 used with implementation specific semantics. 48738 value: 48739 type: string 48740 format: byte 48741 description: >- 48742 Must be a valid serialized protocol buffer of the above 48743 specified type. 48744 description: >- 48745 `Any` contains an arbitrary serialized protocol buffer 48746 message along with a 48747 48748 URL that describes the type of the serialized message. 48749 48750 48751 Protobuf library provides support to pack/unpack Any values 48752 in the form 48753 48754 of utility functions or additional generated methods of the 48755 Any type. 48756 48757 48758 Example 1: Pack and unpack a message in C++. 48759 48760 Foo foo = ...; 48761 Any any; 48762 any.PackFrom(foo); 48763 ... 48764 if (any.UnpackTo(&foo)) { 48765 ... 48766 } 48767 48768 Example 2: Pack and unpack a message in Java. 48769 48770 Foo foo = ...; 48771 Any any = Any.pack(foo); 48772 ... 48773 if (any.is(Foo.class)) { 48774 foo = any.unpack(Foo.class); 48775 } 48776 48777 Example 3: Pack and unpack a message in Python. 48778 48779 foo = Foo(...) 48780 any = Any() 48781 any.Pack(foo) 48782 ... 48783 if any.Is(Foo.DESCRIPTOR): 48784 any.Unpack(foo) 48785 ... 48786 48787 Example 4: Pack and unpack a message in Go 48788 48789 foo := &pb.Foo{...} 48790 any, err := ptypes.MarshalAny(foo) 48791 ... 48792 foo := &pb.Foo{} 48793 if err := ptypes.UnmarshalAny(any, foo); err != nil { 48794 ... 48795 } 48796 48797 The pack methods provided by protobuf library will by 48798 default use 48799 48800 'type.googleapis.com/full.type.name' as the type URL and the 48801 unpack 48802 48803 methods only use the fully qualified type name after the 48804 last '/' 48805 48806 in the type URL, for example "foo.bar.com/x/y.z" will yield 48807 type 48808 48809 name "y.z". 48810 48811 48812 48813 JSON 48814 48815 ==== 48816 48817 The JSON representation of an `Any` value uses the regular 48818 48819 representation of the deserialized, embedded message, with 48820 an 48821 48822 additional field `@type` which contains the type URL. 48823 Example: 48824 48825 package google.profile; 48826 message Person { 48827 string first_name = 1; 48828 string last_name = 2; 48829 } 48830 48831 { 48832 "@type": "type.googleapis.com/google.profile.Person", 48833 "firstName": <string>, 48834 "lastName": <string> 48835 } 48836 48837 If the embedded message type is well-known and has a custom 48838 JSON 48839 48840 representation, that representation will be embedded adding 48841 a field 48842 48843 `value` which holds the custom JSON in addition to the 48844 `@type` 48845 48846 field. Example (for message [google.protobuf.Duration][]): 48847 48848 { 48849 "@type": "type.googleapis.com/google.protobuf.Duration", 48850 "value": "1.212s" 48851 } 48852 jailed: 48853 type: boolean 48854 format: boolean 48855 description: >- 48856 jailed defined whether the validator has been jailed from 48857 bonded status or not. 48858 status: 48859 description: status is the validator status (bonded/unbonding/unbonded). 48860 type: string 48861 enum: 48862 - BOND_STATUS_UNSPECIFIED 48863 - BOND_STATUS_UNBONDED 48864 - BOND_STATUS_UNBONDING 48865 - BOND_STATUS_BONDED 48866 default: BOND_STATUS_UNSPECIFIED 48867 tokens: 48868 type: string 48869 description: tokens define the delegated tokens (incl. self-delegation). 48870 delegator_shares: 48871 type: string 48872 description: >- 48873 delegator_shares defines total shares issued to a 48874 validator's delegators. 48875 description: 48876 description: description defines the description terms for the validator. 48877 type: object 48878 properties: 48879 moniker: 48880 type: string 48881 description: moniker defines a human-readable name for the validator. 48882 identity: 48883 type: string 48884 description: >- 48885 identity defines an optional identity signature (ex. 48886 UPort or Keybase). 48887 website: 48888 type: string 48889 description: website defines an optional website link. 48890 security_contact: 48891 type: string 48892 description: >- 48893 security_contact defines an optional email for security 48894 contact. 48895 details: 48896 type: string 48897 description: details define other optional details. 48898 unbonding_height: 48899 type: string 48900 format: int64 48901 description: >- 48902 unbonding_height defines, if unbonding, the height at which 48903 this validator has begun unbonding. 48904 unbonding_time: 48905 type: string 48906 format: date-time 48907 description: >- 48908 unbonding_time defines, if unbonding, the min time for the 48909 validator to complete unbonding. 48910 commission: 48911 description: commission defines the commission parameters. 48912 type: object 48913 properties: 48914 commission_rates: 48915 description: >- 48916 commission_rates defines the initial commission rates to 48917 be used for creating a validator. 48918 type: object 48919 properties: 48920 rate: 48921 type: string 48922 description: >- 48923 rate is the commission rate charged to delegators, 48924 as a fraction. 48925 max_rate: 48926 type: string 48927 description: >- 48928 max_rate defines the maximum commission rate which 48929 validator can ever charge, as a fraction. 48930 max_change_rate: 48931 type: string 48932 description: >- 48933 max_change_rate defines the maximum daily increase 48934 of the validator commission, as a fraction. 48935 update_time: 48936 type: string 48937 format: date-time 48938 description: >- 48939 update_time is the last time the commission rate was 48940 changed. 48941 min_self_delegation: 48942 type: string 48943 description: >- 48944 min_self_delegation is the validator's self declared minimum 48945 self delegation. 48946 description: >- 48947 Validator defines a validator, together with the total amount of 48948 the 48949 48950 Validator's bond shares and their exchange rate to coins. 48951 Slashing results in 48952 48953 a decrease in the exchange rate, allowing correct calculation of 48954 future 48955 48956 undelegations without iterating over delegators. When coins are 48957 delegated to 48958 48959 this validator, the validator is credited with a delegation 48960 whose number of 48961 48962 bond shares is based on the amount of coins delegated divided by 48963 the current 48964 48965 exchange rate. Voting power can be calculated as total bonded 48966 shares 48967 48968 multiplied by exchange rate. 48969 description: >- 48970 QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo 48971 RPC 48972 48973 method. 48974 cosmos.staking.v1beta1.QueryParamsResponse: 48975 type: object 48976 properties: 48977 params: 48978 description: params holds all the parameters of this module. 48979 type: object 48980 properties: 48981 unbonding_time: 48982 type: string 48983 description: unbonding_time is the time duration of unbonding. 48984 max_validators: 48985 type: integer 48986 format: int64 48987 description: max_validators is the maximum number of validators. 48988 max_entries: 48989 type: integer 48990 format: int64 48991 description: >- 48992 max_entries is the max entries for either unbonding delegation or 48993 redelegation (per pair/trio). 48994 historical_entries: 48995 type: integer 48996 format: int64 48997 description: historical_entries is the number of historical entries to persist. 48998 bond_denom: 48999 type: string 49000 description: bond_denom defines the bondable coin denomination. 49001 description: QueryParamsResponse is response type for the Query/Params RPC method. 49002 cosmos.staking.v1beta1.QueryPoolResponse: 49003 type: object 49004 properties: 49005 pool: 49006 description: pool defines the pool info. 49007 type: object 49008 properties: 49009 not_bonded_tokens: 49010 type: string 49011 bonded_tokens: 49012 type: string 49013 description: QueryPoolResponse is response type for the Query/Pool RPC method. 49014 cosmos.staking.v1beta1.QueryRedelegationsResponse: 49015 type: object 49016 properties: 49017 redelegation_responses: 49018 type: array 49019 items: 49020 type: object 49021 properties: 49022 redelegation: 49023 type: object 49024 properties: 49025 delegator_address: 49026 type: string 49027 description: >- 49028 delegator_address is the bech32-encoded address of the 49029 delegator. 49030 validator_src_address: 49031 type: string 49032 description: >- 49033 validator_src_address is the validator redelegation source 49034 operator address. 49035 validator_dst_address: 49036 type: string 49037 description: >- 49038 validator_dst_address is the validator redelegation 49039 destination operator address. 49040 entries: 49041 type: array 49042 items: 49043 type: object 49044 properties: 49045 creation_height: 49046 type: string 49047 format: int64 49048 description: >- 49049 creation_height defines the height which the 49050 redelegation took place. 49051 completion_time: 49052 type: string 49053 format: date-time 49054 description: >- 49055 completion_time defines the unix time for redelegation 49056 completion. 49057 initial_balance: 49058 type: string 49059 description: >- 49060 initial_balance defines the initial balance when 49061 redelegation started. 49062 shares_dst: 49063 type: string 49064 description: >- 49065 shares_dst is the amount of destination-validator 49066 shares created by redelegation. 49067 description: >- 49068 RedelegationEntry defines a redelegation object with 49069 relevant metadata. 49070 description: entries are the redelegation entries. 49071 description: >- 49072 Redelegation contains the list of a particular delegator's 49073 redelegating bonds 49074 49075 from a particular source validator to a particular destination 49076 validator. 49077 entries: 49078 type: array 49079 items: 49080 type: object 49081 properties: 49082 redelegation_entry: 49083 type: object 49084 properties: 49085 creation_height: 49086 type: string 49087 format: int64 49088 description: >- 49089 creation_height defines the height which the 49090 redelegation took place. 49091 completion_time: 49092 type: string 49093 format: date-time 49094 description: >- 49095 completion_time defines the unix time for redelegation 49096 completion. 49097 initial_balance: 49098 type: string 49099 description: >- 49100 initial_balance defines the initial balance when 49101 redelegation started. 49102 shares_dst: 49103 type: string 49104 description: >- 49105 shares_dst is the amount of destination-validator 49106 shares created by redelegation. 49107 description: >- 49108 RedelegationEntry defines a redelegation object with 49109 relevant metadata. 49110 balance: 49111 type: string 49112 description: >- 49113 RedelegationEntryResponse is equivalent to a RedelegationEntry 49114 except that it 49115 49116 contains a balance in addition to shares which is more 49117 suitable for client 49118 49119 responses. 49120 description: >- 49121 RedelegationResponse is equivalent to a Redelegation except that its 49122 entries 49123 49124 contain a balance in addition to shares which is more suitable for 49125 client 49126 49127 responses. 49128 pagination: 49129 description: pagination defines the pagination in the response. 49130 type: object 49131 properties: 49132 next_key: 49133 type: string 49134 format: byte 49135 title: |- 49136 next_key is the key to be passed to PageRequest.key to 49137 query the next page most efficiently 49138 total: 49139 type: string 49140 format: uint64 49141 title: >- 49142 total is total number of results available if 49143 PageRequest.count_total 49144 49145 was set, its value is undefined otherwise 49146 description: >- 49147 QueryRedelegationsResponse is response type for the Query/Redelegations 49148 RPC 49149 49150 method. 49151 cosmos.staking.v1beta1.QueryUnbondingDelegationResponse: 49152 type: object 49153 properties: 49154 unbond: 49155 type: object 49156 properties: 49157 delegator_address: 49158 type: string 49159 description: delegator_address is the bech32-encoded address of the delegator. 49160 validator_address: 49161 type: string 49162 description: validator_address is the bech32-encoded address of the validator. 49163 entries: 49164 type: array 49165 items: 49166 type: object 49167 properties: 49168 creation_height: 49169 type: string 49170 format: int64 49171 description: >- 49172 creation_height is the height which the unbonding took 49173 place. 49174 completion_time: 49175 type: string 49176 format: date-time 49177 description: completion_time is the unix time for unbonding completion. 49178 initial_balance: 49179 type: string 49180 description: >- 49181 initial_balance defines the tokens initially scheduled to 49182 receive at completion. 49183 balance: 49184 type: string 49185 description: balance defines the tokens to receive at completion. 49186 description: >- 49187 UnbondingDelegationEntry defines an unbonding object with 49188 relevant metadata. 49189 description: entries are the unbonding delegation entries. 49190 description: |- 49191 UnbondingDelegation stores all of a single delegator's unbonding bonds 49192 for a single validator in an time-ordered list. 49193 description: |- 49194 QueryDelegationResponse is response type for the Query/UnbondingDelegation 49195 RPC method. 49196 cosmos.staking.v1beta1.QueryValidatorDelegationsResponse: 49197 type: object 49198 properties: 49199 delegation_responses: 49200 type: array 49201 items: 49202 type: object 49203 properties: 49204 delegation: 49205 type: object 49206 properties: 49207 delegator_address: 49208 type: string 49209 description: >- 49210 delegator_address is the bech32-encoded address of the 49211 delegator. 49212 validator_address: 49213 type: string 49214 description: >- 49215 validator_address is the bech32-encoded address of the 49216 validator. 49217 shares: 49218 type: string 49219 description: shares define the delegation shares received. 49220 description: >- 49221 Delegation represents the bond with tokens held by an account. 49222 It is 49223 49224 owned by one delegator, and is associated with the voting power 49225 of one 49226 49227 validator. 49228 balance: 49229 type: object 49230 properties: 49231 denom: 49232 type: string 49233 amount: 49234 type: string 49235 description: >- 49236 Coin defines a token with a denomination and an amount. 49237 49238 49239 NOTE: The amount field is an Int which implements the custom 49240 method 49241 49242 signatures required by gogoproto. 49243 description: >- 49244 DelegationResponse is equivalent to Delegation except that it 49245 contains a 49246 49247 balance in addition to shares which is more suitable for client 49248 responses. 49249 pagination: 49250 description: pagination defines the pagination in the response. 49251 type: object 49252 properties: 49253 next_key: 49254 type: string 49255 format: byte 49256 title: |- 49257 next_key is the key to be passed to PageRequest.key to 49258 query the next page most efficiently 49259 total: 49260 type: string 49261 format: uint64 49262 title: >- 49263 total is total number of results available if 49264 PageRequest.count_total 49265 49266 was set, its value is undefined otherwise 49267 title: |- 49268 QueryValidatorDelegationsResponse is response type for the 49269 Query/ValidatorDelegations RPC method 49270 cosmos.staking.v1beta1.QueryValidatorResponse: 49271 type: object 49272 properties: 49273 validator: 49274 type: object 49275 properties: 49276 operator_address: 49277 type: string 49278 description: >- 49279 operator_address defines the address of the validator's operator; 49280 bech encoded in JSON. 49281 consensus_pubkey: 49282 type: object 49283 properties: 49284 type_url: 49285 type: string 49286 description: >- 49287 A URL/resource name that uniquely identifies the type of the 49288 serialized 49289 49290 protocol buffer message. This string must contain at least 49291 49292 one "/" character. The last segment of the URL's path must 49293 represent 49294 49295 the fully qualified name of the type (as in 49296 49297 `path/google.protobuf.Duration`). The name should be in a 49298 canonical form 49299 49300 (e.g., leading "." is not accepted). 49301 49302 49303 In practice, teams usually precompile into the binary all 49304 types that they 49305 49306 expect it to use in the context of Any. However, for URLs 49307 which use the 49308 49309 scheme `http`, `https`, or no scheme, one can optionally set 49310 up a type 49311 49312 server that maps type URLs to message definitions as follows: 49313 49314 49315 * If no scheme is provided, `https` is assumed. 49316 49317 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 49318 value in binary format, or produce an error. 49319 * Applications are allowed to cache lookup results based on 49320 the 49321 URL, or have them precompiled into a binary to avoid any 49322 lookup. Therefore, binary compatibility needs to be preserved 49323 on changes to types. (Use versioned type names to manage 49324 breaking changes.) 49325 49326 Note: this functionality is not currently available in the 49327 official 49328 49329 protobuf release, and it is not used for type URLs beginning 49330 with 49331 49332 type.googleapis.com. 49333 49334 49335 Schemes other than `http`, `https` (or the empty scheme) might 49336 be 49337 49338 used with implementation specific semantics. 49339 value: 49340 type: string 49341 format: byte 49342 description: >- 49343 Must be a valid serialized protocol buffer of the above 49344 specified type. 49345 description: >- 49346 `Any` contains an arbitrary serialized protocol buffer message 49347 along with a 49348 49349 URL that describes the type of the serialized message. 49350 49351 49352 Protobuf library provides support to pack/unpack Any values in the 49353 form 49354 49355 of utility functions or additional generated methods of the Any 49356 type. 49357 49358 49359 Example 1: Pack and unpack a message in C++. 49360 49361 Foo foo = ...; 49362 Any any; 49363 any.PackFrom(foo); 49364 ... 49365 if (any.UnpackTo(&foo)) { 49366 ... 49367 } 49368 49369 Example 2: Pack and unpack a message in Java. 49370 49371 Foo foo = ...; 49372 Any any = Any.pack(foo); 49373 ... 49374 if (any.is(Foo.class)) { 49375 foo = any.unpack(Foo.class); 49376 } 49377 49378 Example 3: Pack and unpack a message in Python. 49379 49380 foo = Foo(...) 49381 any = Any() 49382 any.Pack(foo) 49383 ... 49384 if any.Is(Foo.DESCRIPTOR): 49385 any.Unpack(foo) 49386 ... 49387 49388 Example 4: Pack and unpack a message in Go 49389 49390 foo := &pb.Foo{...} 49391 any, err := ptypes.MarshalAny(foo) 49392 ... 49393 foo := &pb.Foo{} 49394 if err := ptypes.UnmarshalAny(any, foo); err != nil { 49395 ... 49396 } 49397 49398 The pack methods provided by protobuf library will by default use 49399 49400 'type.googleapis.com/full.type.name' as the type URL and the 49401 unpack 49402 49403 methods only use the fully qualified type name after the last '/' 49404 49405 in the type URL, for example "foo.bar.com/x/y.z" will yield type 49406 49407 name "y.z". 49408 49409 49410 49411 JSON 49412 49413 ==== 49414 49415 The JSON representation of an `Any` value uses the regular 49416 49417 representation of the deserialized, embedded message, with an 49418 49419 additional field `@type` which contains the type URL. Example: 49420 49421 package google.profile; 49422 message Person { 49423 string first_name = 1; 49424 string last_name = 2; 49425 } 49426 49427 { 49428 "@type": "type.googleapis.com/google.profile.Person", 49429 "firstName": <string>, 49430 "lastName": <string> 49431 } 49432 49433 If the embedded message type is well-known and has a custom JSON 49434 49435 representation, that representation will be embedded adding a 49436 field 49437 49438 `value` which holds the custom JSON in addition to the `@type` 49439 49440 field. Example (for message [google.protobuf.Duration][]): 49441 49442 { 49443 "@type": "type.googleapis.com/google.protobuf.Duration", 49444 "value": "1.212s" 49445 } 49446 jailed: 49447 type: boolean 49448 format: boolean 49449 description: >- 49450 jailed defined whether the validator has been jailed from bonded 49451 status or not. 49452 status: 49453 description: status is the validator status (bonded/unbonding/unbonded). 49454 type: string 49455 enum: 49456 - BOND_STATUS_UNSPECIFIED 49457 - BOND_STATUS_UNBONDED 49458 - BOND_STATUS_UNBONDING 49459 - BOND_STATUS_BONDED 49460 default: BOND_STATUS_UNSPECIFIED 49461 tokens: 49462 type: string 49463 description: tokens define the delegated tokens (incl. self-delegation). 49464 delegator_shares: 49465 type: string 49466 description: >- 49467 delegator_shares defines total shares issued to a validator's 49468 delegators. 49469 description: 49470 description: description defines the description terms for the validator. 49471 type: object 49472 properties: 49473 moniker: 49474 type: string 49475 description: moniker defines a human-readable name for the validator. 49476 identity: 49477 type: string 49478 description: >- 49479 identity defines an optional identity signature (ex. UPort or 49480 Keybase). 49481 website: 49482 type: string 49483 description: website defines an optional website link. 49484 security_contact: 49485 type: string 49486 description: >- 49487 security_contact defines an optional email for security 49488 contact. 49489 details: 49490 type: string 49491 description: details define other optional details. 49492 unbonding_height: 49493 type: string 49494 format: int64 49495 description: >- 49496 unbonding_height defines, if unbonding, the height at which this 49497 validator has begun unbonding. 49498 unbonding_time: 49499 type: string 49500 format: date-time 49501 description: >- 49502 unbonding_time defines, if unbonding, the min time for the 49503 validator to complete unbonding. 49504 commission: 49505 description: commission defines the commission parameters. 49506 type: object 49507 properties: 49508 commission_rates: 49509 description: >- 49510 commission_rates defines the initial commission rates to be 49511 used for creating a validator. 49512 type: object 49513 properties: 49514 rate: 49515 type: string 49516 description: >- 49517 rate is the commission rate charged to delegators, as a 49518 fraction. 49519 max_rate: 49520 type: string 49521 description: >- 49522 max_rate defines the maximum commission rate which 49523 validator can ever charge, as a fraction. 49524 max_change_rate: 49525 type: string 49526 description: >- 49527 max_change_rate defines the maximum daily increase of the 49528 validator commission, as a fraction. 49529 update_time: 49530 type: string 49531 format: date-time 49532 description: update_time is the last time the commission rate was changed. 49533 min_self_delegation: 49534 type: string 49535 description: >- 49536 min_self_delegation is the validator's self declared minimum self 49537 delegation. 49538 description: >- 49539 Validator defines a validator, together with the total amount of the 49540 49541 Validator's bond shares and their exchange rate to coins. Slashing 49542 results in 49543 49544 a decrease in the exchange rate, allowing correct calculation of 49545 future 49546 49547 undelegations without iterating over delegators. When coins are 49548 delegated to 49549 49550 this validator, the validator is credited with a delegation whose 49551 number of 49552 49553 bond shares is based on the amount of coins delegated divided by the 49554 current 49555 49556 exchange rate. Voting power can be calculated as total bonded shares 49557 49558 multiplied by exchange rate. 49559 title: QueryValidatorResponse is response type for the Query/Validator RPC method 49560 cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse: 49561 type: object 49562 properties: 49563 unbonding_responses: 49564 type: array 49565 items: 49566 type: object 49567 properties: 49568 delegator_address: 49569 type: string 49570 description: >- 49571 delegator_address is the bech32-encoded address of the 49572 delegator. 49573 validator_address: 49574 type: string 49575 description: >- 49576 validator_address is the bech32-encoded address of the 49577 validator. 49578 entries: 49579 type: array 49580 items: 49581 type: object 49582 properties: 49583 creation_height: 49584 type: string 49585 format: int64 49586 description: >- 49587 creation_height is the height which the unbonding took 49588 place. 49589 completion_time: 49590 type: string 49591 format: date-time 49592 description: completion_time is the unix time for unbonding completion. 49593 initial_balance: 49594 type: string 49595 description: >- 49596 initial_balance defines the tokens initially scheduled to 49597 receive at completion. 49598 balance: 49599 type: string 49600 description: balance defines the tokens to receive at completion. 49601 description: >- 49602 UnbondingDelegationEntry defines an unbonding object with 49603 relevant metadata. 49604 description: entries are the unbonding delegation entries. 49605 description: >- 49606 UnbondingDelegation stores all of a single delegator's unbonding 49607 bonds 49608 49609 for a single validator in an time-ordered list. 49610 pagination: 49611 description: pagination defines the pagination in the response. 49612 type: object 49613 properties: 49614 next_key: 49615 type: string 49616 format: byte 49617 title: |- 49618 next_key is the key to be passed to PageRequest.key to 49619 query the next page most efficiently 49620 total: 49621 type: string 49622 format: uint64 49623 title: >- 49624 total is total number of results available if 49625 PageRequest.count_total 49626 49627 was set, its value is undefined otherwise 49628 description: |- 49629 QueryValidatorUnbondingDelegationsResponse is response type for the 49630 Query/ValidatorUnbondingDelegations RPC method. 49631 cosmos.staking.v1beta1.QueryValidatorsResponse: 49632 type: object 49633 properties: 49634 validators: 49635 type: array 49636 items: 49637 type: object 49638 properties: 49639 operator_address: 49640 type: string 49641 description: >- 49642 operator_address defines the address of the validator's 49643 operator; bech encoded in JSON. 49644 consensus_pubkey: 49645 type: object 49646 properties: 49647 type_url: 49648 type: string 49649 description: >- 49650 A URL/resource name that uniquely identifies the type of the 49651 serialized 49652 49653 protocol buffer message. This string must contain at least 49654 49655 one "/" character. The last segment of the URL's path must 49656 represent 49657 49658 the fully qualified name of the type (as in 49659 49660 `path/google.protobuf.Duration`). The name should be in a 49661 canonical form 49662 49663 (e.g., leading "." is not accepted). 49664 49665 49666 In practice, teams usually precompile into the binary all 49667 types that they 49668 49669 expect it to use in the context of Any. However, for URLs 49670 which use the 49671 49672 scheme `http`, `https`, or no scheme, one can optionally set 49673 up a type 49674 49675 server that maps type URLs to message definitions as 49676 follows: 49677 49678 49679 * If no scheme is provided, `https` is assumed. 49680 49681 * An HTTP GET on the URL must yield a 49682 [google.protobuf.Type][] 49683 value in binary format, or produce an error. 49684 * Applications are allowed to cache lookup results based on 49685 the 49686 URL, or have them precompiled into a binary to avoid any 49687 lookup. Therefore, binary compatibility needs to be preserved 49688 on changes to types. (Use versioned type names to manage 49689 breaking changes.) 49690 49691 Note: this functionality is not currently available in the 49692 official 49693 49694 protobuf release, and it is not used for type URLs beginning 49695 with 49696 49697 type.googleapis.com. 49698 49699 49700 Schemes other than `http`, `https` (or the empty scheme) 49701 might be 49702 49703 used with implementation specific semantics. 49704 value: 49705 type: string 49706 format: byte 49707 description: >- 49708 Must be a valid serialized protocol buffer of the above 49709 specified type. 49710 description: >- 49711 `Any` contains an arbitrary serialized protocol buffer message 49712 along with a 49713 49714 URL that describes the type of the serialized message. 49715 49716 49717 Protobuf library provides support to pack/unpack Any values in 49718 the form 49719 49720 of utility functions or additional generated methods of the Any 49721 type. 49722 49723 49724 Example 1: Pack and unpack a message in C++. 49725 49726 Foo foo = ...; 49727 Any any; 49728 any.PackFrom(foo); 49729 ... 49730 if (any.UnpackTo(&foo)) { 49731 ... 49732 } 49733 49734 Example 2: Pack and unpack a message in Java. 49735 49736 Foo foo = ...; 49737 Any any = Any.pack(foo); 49738 ... 49739 if (any.is(Foo.class)) { 49740 foo = any.unpack(Foo.class); 49741 } 49742 49743 Example 3: Pack and unpack a message in Python. 49744 49745 foo = Foo(...) 49746 any = Any() 49747 any.Pack(foo) 49748 ... 49749 if any.Is(Foo.DESCRIPTOR): 49750 any.Unpack(foo) 49751 ... 49752 49753 Example 4: Pack and unpack a message in Go 49754 49755 foo := &pb.Foo{...} 49756 any, err := ptypes.MarshalAny(foo) 49757 ... 49758 foo := &pb.Foo{} 49759 if err := ptypes.UnmarshalAny(any, foo); err != nil { 49760 ... 49761 } 49762 49763 The pack methods provided by protobuf library will by default 49764 use 49765 49766 'type.googleapis.com/full.type.name' as the type URL and the 49767 unpack 49768 49769 methods only use the fully qualified type name after the last 49770 '/' 49771 49772 in the type URL, for example "foo.bar.com/x/y.z" will yield type 49773 49774 name "y.z". 49775 49776 49777 49778 JSON 49779 49780 ==== 49781 49782 The JSON representation of an `Any` value uses the regular 49783 49784 representation of the deserialized, embedded message, with an 49785 49786 additional field `@type` which contains the type URL. Example: 49787 49788 package google.profile; 49789 message Person { 49790 string first_name = 1; 49791 string last_name = 2; 49792 } 49793 49794 { 49795 "@type": "type.googleapis.com/google.profile.Person", 49796 "firstName": <string>, 49797 "lastName": <string> 49798 } 49799 49800 If the embedded message type is well-known and has a custom JSON 49801 49802 representation, that representation will be embedded adding a 49803 field 49804 49805 `value` which holds the custom JSON in addition to the `@type` 49806 49807 field. Example (for message [google.protobuf.Duration][]): 49808 49809 { 49810 "@type": "type.googleapis.com/google.protobuf.Duration", 49811 "value": "1.212s" 49812 } 49813 jailed: 49814 type: boolean 49815 format: boolean 49816 description: >- 49817 jailed defined whether the validator has been jailed from bonded 49818 status or not. 49819 status: 49820 description: status is the validator status (bonded/unbonding/unbonded). 49821 type: string 49822 enum: 49823 - BOND_STATUS_UNSPECIFIED 49824 - BOND_STATUS_UNBONDED 49825 - BOND_STATUS_UNBONDING 49826 - BOND_STATUS_BONDED 49827 default: BOND_STATUS_UNSPECIFIED 49828 tokens: 49829 type: string 49830 description: tokens define the delegated tokens (incl. self-delegation). 49831 delegator_shares: 49832 type: string 49833 description: >- 49834 delegator_shares defines total shares issued to a validator's 49835 delegators. 49836 description: 49837 description: description defines the description terms for the validator. 49838 type: object 49839 properties: 49840 moniker: 49841 type: string 49842 description: moniker defines a human-readable name for the validator. 49843 identity: 49844 type: string 49845 description: >- 49846 identity defines an optional identity signature (ex. UPort 49847 or Keybase). 49848 website: 49849 type: string 49850 description: website defines an optional website link. 49851 security_contact: 49852 type: string 49853 description: >- 49854 security_contact defines an optional email for security 49855 contact. 49856 details: 49857 type: string 49858 description: details define other optional details. 49859 unbonding_height: 49860 type: string 49861 format: int64 49862 description: >- 49863 unbonding_height defines, if unbonding, the height at which this 49864 validator has begun unbonding. 49865 unbonding_time: 49866 type: string 49867 format: date-time 49868 description: >- 49869 unbonding_time defines, if unbonding, the min time for the 49870 validator to complete unbonding. 49871 commission: 49872 description: commission defines the commission parameters. 49873 type: object 49874 properties: 49875 commission_rates: 49876 description: >- 49877 commission_rates defines the initial commission rates to be 49878 used for creating a validator. 49879 type: object 49880 properties: 49881 rate: 49882 type: string 49883 description: >- 49884 rate is the commission rate charged to delegators, as a 49885 fraction. 49886 max_rate: 49887 type: string 49888 description: >- 49889 max_rate defines the maximum commission rate which 49890 validator can ever charge, as a fraction. 49891 max_change_rate: 49892 type: string 49893 description: >- 49894 max_change_rate defines the maximum daily increase of 49895 the validator commission, as a fraction. 49896 update_time: 49897 type: string 49898 format: date-time 49899 description: >- 49900 update_time is the last time the commission rate was 49901 changed. 49902 min_self_delegation: 49903 type: string 49904 description: >- 49905 min_self_delegation is the validator's self declared minimum 49906 self delegation. 49907 description: >- 49908 Validator defines a validator, together with the total amount of the 49909 49910 Validator's bond shares and their exchange rate to coins. Slashing 49911 results in 49912 49913 a decrease in the exchange rate, allowing correct calculation of 49914 future 49915 49916 undelegations without iterating over delegators. When coins are 49917 delegated to 49918 49919 this validator, the validator is credited with a delegation whose 49920 number of 49921 49922 bond shares is based on the amount of coins delegated divided by the 49923 current 49924 49925 exchange rate. Voting power can be calculated as total bonded shares 49926 49927 multiplied by exchange rate. 49928 description: validators contains all the queried validators. 49929 pagination: 49930 description: pagination defines the pagination in the response. 49931 type: object 49932 properties: 49933 next_key: 49934 type: string 49935 format: byte 49936 title: |- 49937 next_key is the key to be passed to PageRequest.key to 49938 query the next page most efficiently 49939 total: 49940 type: string 49941 format: uint64 49942 title: >- 49943 total is total number of results available if 49944 PageRequest.count_total 49945 49946 was set, its value is undefined otherwise 49947 title: >- 49948 QueryValidatorsResponse is response type for the Query/Validators RPC 49949 method 49950 cosmos.staking.v1beta1.Redelegation: 49951 type: object 49952 properties: 49953 delegator_address: 49954 type: string 49955 description: delegator_address is the bech32-encoded address of the delegator. 49956 validator_src_address: 49957 type: string 49958 description: >- 49959 validator_src_address is the validator redelegation source operator 49960 address. 49961 validator_dst_address: 49962 type: string 49963 description: >- 49964 validator_dst_address is the validator redelegation destination 49965 operator address. 49966 entries: 49967 type: array 49968 items: 49969 type: object 49970 properties: 49971 creation_height: 49972 type: string 49973 format: int64 49974 description: >- 49975 creation_height defines the height which the redelegation took 49976 place. 49977 completion_time: 49978 type: string 49979 format: date-time 49980 description: >- 49981 completion_time defines the unix time for redelegation 49982 completion. 49983 initial_balance: 49984 type: string 49985 description: >- 49986 initial_balance defines the initial balance when redelegation 49987 started. 49988 shares_dst: 49989 type: string 49990 description: >- 49991 shares_dst is the amount of destination-validator shares created 49992 by redelegation. 49993 description: >- 49994 RedelegationEntry defines a redelegation object with relevant 49995 metadata. 49996 description: entries are the redelegation entries. 49997 description: >- 49998 Redelegation contains the list of a particular delegator's redelegating 49999 bonds 50000 50001 from a particular source validator to a particular destination validator. 50002 cosmos.staking.v1beta1.RedelegationEntry: 50003 type: object 50004 properties: 50005 creation_height: 50006 type: string 50007 format: int64 50008 description: creation_height defines the height which the redelegation took place. 50009 completion_time: 50010 type: string 50011 format: date-time 50012 description: completion_time defines the unix time for redelegation completion. 50013 initial_balance: 50014 type: string 50015 description: initial_balance defines the initial balance when redelegation started. 50016 shares_dst: 50017 type: string 50018 description: >- 50019 shares_dst is the amount of destination-validator shares created by 50020 redelegation. 50021 description: RedelegationEntry defines a redelegation object with relevant metadata. 50022 cosmos.staking.v1beta1.RedelegationEntryResponse: 50023 type: object 50024 properties: 50025 redelegation_entry: 50026 type: object 50027 properties: 50028 creation_height: 50029 type: string 50030 format: int64 50031 description: >- 50032 creation_height defines the height which the redelegation took 50033 place. 50034 completion_time: 50035 type: string 50036 format: date-time 50037 description: completion_time defines the unix time for redelegation completion. 50038 initial_balance: 50039 type: string 50040 description: >- 50041 initial_balance defines the initial balance when redelegation 50042 started. 50043 shares_dst: 50044 type: string 50045 description: >- 50046 shares_dst is the amount of destination-validator shares created 50047 by redelegation. 50048 description: >- 50049 RedelegationEntry defines a redelegation object with relevant 50050 metadata. 50051 balance: 50052 type: string 50053 description: >- 50054 RedelegationEntryResponse is equivalent to a RedelegationEntry except that 50055 it 50056 50057 contains a balance in addition to shares which is more suitable for client 50058 50059 responses. 50060 cosmos.staking.v1beta1.RedelegationResponse: 50061 type: object 50062 properties: 50063 redelegation: 50064 type: object 50065 properties: 50066 delegator_address: 50067 type: string 50068 description: delegator_address is the bech32-encoded address of the delegator. 50069 validator_src_address: 50070 type: string 50071 description: >- 50072 validator_src_address is the validator redelegation source 50073 operator address. 50074 validator_dst_address: 50075 type: string 50076 description: >- 50077 validator_dst_address is the validator redelegation destination 50078 operator address. 50079 entries: 50080 type: array 50081 items: 50082 type: object 50083 properties: 50084 creation_height: 50085 type: string 50086 format: int64 50087 description: >- 50088 creation_height defines the height which the redelegation 50089 took place. 50090 completion_time: 50091 type: string 50092 format: date-time 50093 description: >- 50094 completion_time defines the unix time for redelegation 50095 completion. 50096 initial_balance: 50097 type: string 50098 description: >- 50099 initial_balance defines the initial balance when 50100 redelegation started. 50101 shares_dst: 50102 type: string 50103 description: >- 50104 shares_dst is the amount of destination-validator shares 50105 created by redelegation. 50106 description: >- 50107 RedelegationEntry defines a redelegation object with relevant 50108 metadata. 50109 description: entries are the redelegation entries. 50110 description: >- 50111 Redelegation contains the list of a particular delegator's 50112 redelegating bonds 50113 50114 from a particular source validator to a particular destination 50115 validator. 50116 entries: 50117 type: array 50118 items: 50119 type: object 50120 properties: 50121 redelegation_entry: 50122 type: object 50123 properties: 50124 creation_height: 50125 type: string 50126 format: int64 50127 description: >- 50128 creation_height defines the height which the redelegation 50129 took place. 50130 completion_time: 50131 type: string 50132 format: date-time 50133 description: >- 50134 completion_time defines the unix time for redelegation 50135 completion. 50136 initial_balance: 50137 type: string 50138 description: >- 50139 initial_balance defines the initial balance when 50140 redelegation started. 50141 shares_dst: 50142 type: string 50143 description: >- 50144 shares_dst is the amount of destination-validator shares 50145 created by redelegation. 50146 description: >- 50147 RedelegationEntry defines a redelegation object with relevant 50148 metadata. 50149 balance: 50150 type: string 50151 description: >- 50152 RedelegationEntryResponse is equivalent to a RedelegationEntry 50153 except that it 50154 50155 contains a balance in addition to shares which is more suitable for 50156 client 50157 50158 responses. 50159 description: >- 50160 RedelegationResponse is equivalent to a Redelegation except that its 50161 entries 50162 50163 contain a balance in addition to shares which is more suitable for client 50164 50165 responses. 50166 cosmos.staking.v1beta1.UnbondingDelegation: 50167 type: object 50168 properties: 50169 delegator_address: 50170 type: string 50171 description: delegator_address is the bech32-encoded address of the delegator. 50172 validator_address: 50173 type: string 50174 description: validator_address is the bech32-encoded address of the validator. 50175 entries: 50176 type: array 50177 items: 50178 type: object 50179 properties: 50180 creation_height: 50181 type: string 50182 format: int64 50183 description: creation_height is the height which the unbonding took place. 50184 completion_time: 50185 type: string 50186 format: date-time 50187 description: completion_time is the unix time for unbonding completion. 50188 initial_balance: 50189 type: string 50190 description: >- 50191 initial_balance defines the tokens initially scheduled to 50192 receive at completion. 50193 balance: 50194 type: string 50195 description: balance defines the tokens to receive at completion. 50196 description: >- 50197 UnbondingDelegationEntry defines an unbonding object with relevant 50198 metadata. 50199 description: entries are the unbonding delegation entries. 50200 description: |- 50201 UnbondingDelegation stores all of a single delegator's unbonding bonds 50202 for a single validator in an time-ordered list. 50203 cosmos.staking.v1beta1.UnbondingDelegationEntry: 50204 type: object 50205 properties: 50206 creation_height: 50207 type: string 50208 format: int64 50209 description: creation_height is the height which the unbonding took place. 50210 completion_time: 50211 type: string 50212 format: date-time 50213 description: completion_time is the unix time for unbonding completion. 50214 initial_balance: 50215 type: string 50216 description: >- 50217 initial_balance defines the tokens initially scheduled to receive at 50218 completion. 50219 balance: 50220 type: string 50221 description: balance defines the tokens to receive at completion. 50222 description: >- 50223 UnbondingDelegationEntry defines an unbonding object with relevant 50224 metadata. 50225 cosmos.staking.v1beta1.Validator: 50226 type: object 50227 properties: 50228 operator_address: 50229 type: string 50230 description: >- 50231 operator_address defines the address of the validator's operator; bech 50232 encoded in JSON. 50233 consensus_pubkey: 50234 type: object 50235 properties: 50236 type_url: 50237 type: string 50238 description: >- 50239 A URL/resource name that uniquely identifies the type of the 50240 serialized 50241 50242 protocol buffer message. This string must contain at least 50243 50244 one "/" character. The last segment of the URL's path must 50245 represent 50246 50247 the fully qualified name of the type (as in 50248 50249 `path/google.protobuf.Duration`). The name should be in a 50250 canonical form 50251 50252 (e.g., leading "." is not accepted). 50253 50254 50255 In practice, teams usually precompile into the binary all types 50256 that they 50257 50258 expect it to use in the context of Any. However, for URLs which 50259 use the 50260 50261 scheme `http`, `https`, or no scheme, one can optionally set up a 50262 type 50263 50264 server that maps type URLs to message definitions as follows: 50265 50266 50267 * If no scheme is provided, `https` is assumed. 50268 50269 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 50270 value in binary format, or produce an error. 50271 * Applications are allowed to cache lookup results based on the 50272 URL, or have them precompiled into a binary to avoid any 50273 lookup. Therefore, binary compatibility needs to be preserved 50274 on changes to types. (Use versioned type names to manage 50275 breaking changes.) 50276 50277 Note: this functionality is not currently available in the 50278 official 50279 50280 protobuf release, and it is not used for type URLs beginning with 50281 50282 type.googleapis.com. 50283 50284 50285 Schemes other than `http`, `https` (or the empty scheme) might be 50286 50287 used with implementation specific semantics. 50288 value: 50289 type: string 50290 format: byte 50291 description: >- 50292 Must be a valid serialized protocol buffer of the above specified 50293 type. 50294 description: >- 50295 `Any` contains an arbitrary serialized protocol buffer message along 50296 with a 50297 50298 URL that describes the type of the serialized message. 50299 50300 50301 Protobuf library provides support to pack/unpack Any values in the 50302 form 50303 50304 of utility functions or additional generated methods of the Any type. 50305 50306 50307 Example 1: Pack and unpack a message in C++. 50308 50309 Foo foo = ...; 50310 Any any; 50311 any.PackFrom(foo); 50312 ... 50313 if (any.UnpackTo(&foo)) { 50314 ... 50315 } 50316 50317 Example 2: Pack and unpack a message in Java. 50318 50319 Foo foo = ...; 50320 Any any = Any.pack(foo); 50321 ... 50322 if (any.is(Foo.class)) { 50323 foo = any.unpack(Foo.class); 50324 } 50325 50326 Example 3: Pack and unpack a message in Python. 50327 50328 foo = Foo(...) 50329 any = Any() 50330 any.Pack(foo) 50331 ... 50332 if any.Is(Foo.DESCRIPTOR): 50333 any.Unpack(foo) 50334 ... 50335 50336 Example 4: Pack and unpack a message in Go 50337 50338 foo := &pb.Foo{...} 50339 any, err := ptypes.MarshalAny(foo) 50340 ... 50341 foo := &pb.Foo{} 50342 if err := ptypes.UnmarshalAny(any, foo); err != nil { 50343 ... 50344 } 50345 50346 The pack methods provided by protobuf library will by default use 50347 50348 'type.googleapis.com/full.type.name' as the type URL and the unpack 50349 50350 methods only use the fully qualified type name after the last '/' 50351 50352 in the type URL, for example "foo.bar.com/x/y.z" will yield type 50353 50354 name "y.z". 50355 50356 50357 50358 JSON 50359 50360 ==== 50361 50362 The JSON representation of an `Any` value uses the regular 50363 50364 representation of the deserialized, embedded message, with an 50365 50366 additional field `@type` which contains the type URL. Example: 50367 50368 package google.profile; 50369 message Person { 50370 string first_name = 1; 50371 string last_name = 2; 50372 } 50373 50374 { 50375 "@type": "type.googleapis.com/google.profile.Person", 50376 "firstName": <string>, 50377 "lastName": <string> 50378 } 50379 50380 If the embedded message type is well-known and has a custom JSON 50381 50382 representation, that representation will be embedded adding a field 50383 50384 `value` which holds the custom JSON in addition to the `@type` 50385 50386 field. Example (for message [google.protobuf.Duration][]): 50387 50388 { 50389 "@type": "type.googleapis.com/google.protobuf.Duration", 50390 "value": "1.212s" 50391 } 50392 jailed: 50393 type: boolean 50394 format: boolean 50395 description: >- 50396 jailed defined whether the validator has been jailed from bonded 50397 status or not. 50398 status: 50399 description: status is the validator status (bonded/unbonding/unbonded). 50400 type: string 50401 enum: 50402 - BOND_STATUS_UNSPECIFIED 50403 - BOND_STATUS_UNBONDED 50404 - BOND_STATUS_UNBONDING 50405 - BOND_STATUS_BONDED 50406 default: BOND_STATUS_UNSPECIFIED 50407 tokens: 50408 type: string 50409 description: tokens define the delegated tokens (incl. self-delegation). 50410 delegator_shares: 50411 type: string 50412 description: >- 50413 delegator_shares defines total shares issued to a validator's 50414 delegators. 50415 description: 50416 description: description defines the description terms for the validator. 50417 type: object 50418 properties: 50419 moniker: 50420 type: string 50421 description: moniker defines a human-readable name for the validator. 50422 identity: 50423 type: string 50424 description: >- 50425 identity defines an optional identity signature (ex. UPort or 50426 Keybase). 50427 website: 50428 type: string 50429 description: website defines an optional website link. 50430 security_contact: 50431 type: string 50432 description: security_contact defines an optional email for security contact. 50433 details: 50434 type: string 50435 description: details define other optional details. 50436 unbonding_height: 50437 type: string 50438 format: int64 50439 description: >- 50440 unbonding_height defines, if unbonding, the height at which this 50441 validator has begun unbonding. 50442 unbonding_time: 50443 type: string 50444 format: date-time 50445 description: >- 50446 unbonding_time defines, if unbonding, the min time for the validator 50447 to complete unbonding. 50448 commission: 50449 description: commission defines the commission parameters. 50450 type: object 50451 properties: 50452 commission_rates: 50453 description: >- 50454 commission_rates defines the initial commission rates to be used 50455 for creating a validator. 50456 type: object 50457 properties: 50458 rate: 50459 type: string 50460 description: >- 50461 rate is the commission rate charged to delegators, as a 50462 fraction. 50463 max_rate: 50464 type: string 50465 description: >- 50466 max_rate defines the maximum commission rate which validator 50467 can ever charge, as a fraction. 50468 max_change_rate: 50469 type: string 50470 description: >- 50471 max_change_rate defines the maximum daily increase of the 50472 validator commission, as a fraction. 50473 update_time: 50474 type: string 50475 format: date-time 50476 description: update_time is the last time the commission rate was changed. 50477 min_self_delegation: 50478 type: string 50479 description: >- 50480 min_self_delegation is the validator's self declared minimum self 50481 delegation. 50482 description: >- 50483 Validator defines a validator, together with the total amount of the 50484 50485 Validator's bond shares and their exchange rate to coins. Slashing results 50486 in 50487 50488 a decrease in the exchange rate, allowing correct calculation of future 50489 50490 undelegations without iterating over delegators. When coins are delegated 50491 to 50492 50493 this validator, the validator is credited with a delegation whose number 50494 of 50495 50496 bond shares is based on the amount of coins delegated divided by the 50497 current 50498 50499 exchange rate. Voting power can be calculated as total bonded shares 50500 50501 multiplied by exchange rate. 50502 cosmos.base.abci.v1beta1.ABCIMessageLog: 50503 type: object 50504 properties: 50505 msg_index: 50506 type: integer 50507 format: int64 50508 log: 50509 type: string 50510 events: 50511 type: array 50512 items: 50513 type: object 50514 properties: 50515 type: 50516 type: string 50517 attributes: 50518 type: array 50519 items: 50520 type: object 50521 properties: 50522 key: 50523 type: string 50524 value: 50525 type: string 50526 description: >- 50527 Attribute defines an attribute wrapper where the key and value 50528 are 50529 50530 strings instead of raw bytes. 50531 description: |- 50532 StringEvent defines en Event object wrapper where all the attributes 50533 contain key/value pairs that are strings instead of raw bytes. 50534 description: |- 50535 Events contains a slice of Event objects that were emitted during some 50536 execution. 50537 description: >- 50538 ABCIMessageLog defines a structure containing an indexed tx ABCI message 50539 log. 50540 cosmos.base.abci.v1beta1.Attribute: 50541 type: object 50542 properties: 50543 key: 50544 type: string 50545 value: 50546 type: string 50547 description: |- 50548 Attribute defines an attribute wrapper where the key and value are 50549 strings instead of raw bytes. 50550 cosmos.base.abci.v1beta1.GasInfo: 50551 type: object 50552 properties: 50553 gas_wanted: 50554 type: string 50555 format: uint64 50556 description: GasWanted is the maximum units of work we allow this tx to perform. 50557 gas_used: 50558 type: string 50559 format: uint64 50560 description: GasUsed is the amount of gas actually consumed. 50561 description: GasInfo defines tx execution gas context. 50562 cosmos.base.abci.v1beta1.Result: 50563 type: object 50564 properties: 50565 data: 50566 type: string 50567 format: byte 50568 description: >- 50569 Data is any data returned from message or handler execution. It MUST 50570 be 50571 50572 length prefixed in order to separate data from multiple message 50573 executions. 50574 log: 50575 type: string 50576 description: Log contains the log information from message or handler execution. 50577 events: 50578 type: array 50579 items: 50580 type: object 50581 properties: 50582 type: 50583 type: string 50584 attributes: 50585 type: array 50586 items: 50587 type: object 50588 properties: 50589 key: 50590 type: string 50591 format: byte 50592 value: 50593 type: string 50594 format: byte 50595 index: 50596 type: boolean 50597 format: boolean 50598 description: >- 50599 EventAttribute is a single key-value pair, associated with an 50600 event. 50601 description: >- 50602 Event allows application developers to attach additional information 50603 to 50604 50605 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 50606 ResponseDeliverTx. 50607 50608 Later, transactions may be queried using these events. 50609 description: >- 50610 Events contains a slice of Event objects that were emitted during 50611 message 50612 50613 or handler execution. 50614 description: Result is the union of ResponseFormat and ResponseCheckTx. 50615 cosmos.base.abci.v1beta1.StringEvent: 50616 type: object 50617 properties: 50618 type: 50619 type: string 50620 attributes: 50621 type: array 50622 items: 50623 type: object 50624 properties: 50625 key: 50626 type: string 50627 value: 50628 type: string 50629 description: |- 50630 Attribute defines an attribute wrapper where the key and value are 50631 strings instead of raw bytes. 50632 description: |- 50633 StringEvent defines en Event object wrapper where all the attributes 50634 contain key/value pairs that are strings instead of raw bytes. 50635 cosmos.base.abci.v1beta1.TxResponse: 50636 type: object 50637 properties: 50638 height: 50639 type: string 50640 format: int64 50641 title: The block height 50642 txhash: 50643 type: string 50644 description: The transaction hash. 50645 codespace: 50646 type: string 50647 title: Namespace for the Code 50648 code: 50649 type: integer 50650 format: int64 50651 description: Response code. 50652 data: 50653 type: string 50654 description: 'Result bytes, if any.' 50655 raw_log: 50656 type: string 50657 description: |- 50658 The output of the application's logger (raw string). May be 50659 non-deterministic. 50660 logs: 50661 type: array 50662 items: 50663 type: object 50664 properties: 50665 msg_index: 50666 type: integer 50667 format: int64 50668 log: 50669 type: string 50670 events: 50671 type: array 50672 items: 50673 type: object 50674 properties: 50675 type: 50676 type: string 50677 attributes: 50678 type: array 50679 items: 50680 type: object 50681 properties: 50682 key: 50683 type: string 50684 value: 50685 type: string 50686 description: >- 50687 Attribute defines an attribute wrapper where the key and 50688 value are 50689 50690 strings instead of raw bytes. 50691 description: >- 50692 StringEvent defines en Event object wrapper where all the 50693 attributes 50694 50695 contain key/value pairs that are strings instead of raw bytes. 50696 description: >- 50697 Events contains a slice of Event objects that were emitted 50698 during some 50699 50700 execution. 50701 description: >- 50702 ABCIMessageLog defines a structure containing an indexed tx ABCI 50703 message log. 50704 description: >- 50705 The output of the application's logger (typed). May be 50706 non-deterministic. 50707 info: 50708 type: string 50709 description: Additional information. May be non-deterministic. 50710 gas_wanted: 50711 type: string 50712 format: int64 50713 description: Amount of gas requested for transaction. 50714 gas_used: 50715 type: string 50716 format: int64 50717 description: Amount of gas consumed by transaction. 50718 tx: 50719 type: object 50720 properties: 50721 type_url: 50722 type: string 50723 description: >- 50724 A URL/resource name that uniquely identifies the type of the 50725 serialized 50726 50727 protocol buffer message. This string must contain at least 50728 50729 one "/" character. The last segment of the URL's path must 50730 represent 50731 50732 the fully qualified name of the type (as in 50733 50734 `path/google.protobuf.Duration`). The name should be in a 50735 canonical form 50736 50737 (e.g., leading "." is not accepted). 50738 50739 50740 In practice, teams usually precompile into the binary all types 50741 that they 50742 50743 expect it to use in the context of Any. However, for URLs which 50744 use the 50745 50746 scheme `http`, `https`, or no scheme, one can optionally set up a 50747 type 50748 50749 server that maps type URLs to message definitions as follows: 50750 50751 50752 * If no scheme is provided, `https` is assumed. 50753 50754 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 50755 value in binary format, or produce an error. 50756 * Applications are allowed to cache lookup results based on the 50757 URL, or have them precompiled into a binary to avoid any 50758 lookup. Therefore, binary compatibility needs to be preserved 50759 on changes to types. (Use versioned type names to manage 50760 breaking changes.) 50761 50762 Note: this functionality is not currently available in the 50763 official 50764 50765 protobuf release, and it is not used for type URLs beginning with 50766 50767 type.googleapis.com. 50768 50769 50770 Schemes other than `http`, `https` (or the empty scheme) might be 50771 50772 used with implementation specific semantics. 50773 value: 50774 type: string 50775 format: byte 50776 description: >- 50777 Must be a valid serialized protocol buffer of the above specified 50778 type. 50779 description: >- 50780 `Any` contains an arbitrary serialized protocol buffer message along 50781 with a 50782 50783 URL that describes the type of the serialized message. 50784 50785 50786 Protobuf library provides support to pack/unpack Any values in the 50787 form 50788 50789 of utility functions or additional generated methods of the Any type. 50790 50791 50792 Example 1: Pack and unpack a message in C++. 50793 50794 Foo foo = ...; 50795 Any any; 50796 any.PackFrom(foo); 50797 ... 50798 if (any.UnpackTo(&foo)) { 50799 ... 50800 } 50801 50802 Example 2: Pack and unpack a message in Java. 50803 50804 Foo foo = ...; 50805 Any any = Any.pack(foo); 50806 ... 50807 if (any.is(Foo.class)) { 50808 foo = any.unpack(Foo.class); 50809 } 50810 50811 Example 3: Pack and unpack a message in Python. 50812 50813 foo = Foo(...) 50814 any = Any() 50815 any.Pack(foo) 50816 ... 50817 if any.Is(Foo.DESCRIPTOR): 50818 any.Unpack(foo) 50819 ... 50820 50821 Example 4: Pack and unpack a message in Go 50822 50823 foo := &pb.Foo{...} 50824 any, err := ptypes.MarshalAny(foo) 50825 ... 50826 foo := &pb.Foo{} 50827 if err := ptypes.UnmarshalAny(any, foo); err != nil { 50828 ... 50829 } 50830 50831 The pack methods provided by protobuf library will by default use 50832 50833 'type.googleapis.com/full.type.name' as the type URL and the unpack 50834 50835 methods only use the fully qualified type name after the last '/' 50836 50837 in the type URL, for example "foo.bar.com/x/y.z" will yield type 50838 50839 name "y.z". 50840 50841 50842 50843 JSON 50844 50845 ==== 50846 50847 The JSON representation of an `Any` value uses the regular 50848 50849 representation of the deserialized, embedded message, with an 50850 50851 additional field `@type` which contains the type URL. Example: 50852 50853 package google.profile; 50854 message Person { 50855 string first_name = 1; 50856 string last_name = 2; 50857 } 50858 50859 { 50860 "@type": "type.googleapis.com/google.profile.Person", 50861 "firstName": <string>, 50862 "lastName": <string> 50863 } 50864 50865 If the embedded message type is well-known and has a custom JSON 50866 50867 representation, that representation will be embedded adding a field 50868 50869 `value` which holds the custom JSON in addition to the `@type` 50870 50871 field. Example (for message [google.protobuf.Duration][]): 50872 50873 { 50874 "@type": "type.googleapis.com/google.protobuf.Duration", 50875 "value": "1.212s" 50876 } 50877 timestamp: 50878 type: string 50879 description: >- 50880 Time of the previous block. For heights > 1, it's the weighted median 50881 of 50882 50883 the timestamps of the valid votes in the block.LastCommit. For height 50884 == 1, 50885 50886 it's genesis time. 50887 events: 50888 type: array 50889 items: 50890 type: object 50891 properties: 50892 type: 50893 type: string 50894 attributes: 50895 type: array 50896 items: 50897 type: object 50898 properties: 50899 key: 50900 type: string 50901 format: byte 50902 value: 50903 type: string 50904 format: byte 50905 index: 50906 type: boolean 50907 format: boolean 50908 description: >- 50909 EventAttribute is a single key-value pair, associated with an 50910 event. 50911 description: >- 50912 Event allows application developers to attach additional information 50913 to 50914 50915 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 50916 ResponseDeliverTx. 50917 50918 Later, transactions may be queried using these events. 50919 description: >- 50920 Events defines all the events emitted by processing a transaction. 50921 Note, 50922 50923 these events include those emitted by processing all the messages and 50924 those 50925 50926 emitted from the ante handler. Whereas Logs contains the events, with 50927 50928 additional metadata, emitted only by processing the messages. 50929 50930 50931 Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 50932 description: >- 50933 TxResponse defines a structure containing relevant tx data and metadata. 50934 The 50935 50936 tags are stringified and the log is JSON decoded. 50937 cosmos.crypto.multisig.v1beta1.CompactBitArray: 50938 type: object 50939 properties: 50940 extra_bits_stored: 50941 type: integer 50942 format: int64 50943 elems: 50944 type: string 50945 format: byte 50946 description: |- 50947 CompactBitArray is an implementation of a space efficient bit array. 50948 This is used to ensure that the encoded data takes up a minimal amount of 50949 space after proto encoding. 50950 This is not thread safe, and is not intended for concurrent usage. 50951 cosmos.tx.signing.v1beta1.SignMode: 50952 type: string 50953 enum: 50954 - SIGN_MODE_UNSPECIFIED 50955 - SIGN_MODE_DIRECT 50956 - SIGN_MODE_TEXTUAL 50957 - SIGN_MODE_LEGACY_AMINO_JSON 50958 - SIGN_MODE_EIP_191 50959 default: SIGN_MODE_UNSPECIFIED 50960 description: |- 50961 SignMode represents a signing mode with its own security guarantees. 50962 50963 - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be 50964 rejected 50965 - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is 50966 verified with raw bytes from Tx 50967 - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some 50968 human-readable textual representation on top of the binary representation 50969 from SIGN_MODE_DIRECT 50970 - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses 50971 Amino JSON and will be removed in the future 50972 - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos 50973 SDK. Ref: https://eips.ethereum.org/EIPS/eip-191 50974 50975 Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant, 50976 but is not implemented on the SDK by default. To enable EIP-191, you need 50977 to pass a custom `TxConfig` that has an implementation of 50978 `SignModeHandler` for EIP-191. The SDK may decide to fully support 50979 EIP-191 in the future. 50980 50981 Since: cosmos-sdk 0.45.2 50982 cosmos.tx.v1beta1.AuthInfo: 50983 type: object 50984 properties: 50985 signer_infos: 50986 type: array 50987 items: 50988 $ref: '#/definitions/cosmos.tx.v1beta1.SignerInfo' 50989 description: >- 50990 signer_infos defines the signing modes for the required signers. The 50991 number 50992 50993 and order of elements must match the required signers from TxBody's 50994 50995 messages. The first element is the primary signer and the one which 50996 pays 50997 50998 the fee. 50999 fee: 51000 description: >- 51001 Fee is the fee and gas limit for the transaction. The first signer is 51002 the 51003 51004 primary signer and the one which pays the fee. The fee can be 51005 calculated 51006 51007 based on the cost of evaluating the body and doing signature 51008 verification 51009 51010 of the signers. This can be estimated via simulation. 51011 type: object 51012 properties: 51013 amount: 51014 type: array 51015 items: 51016 type: object 51017 properties: 51018 denom: 51019 type: string 51020 amount: 51021 type: string 51022 description: >- 51023 Coin defines a token with a denomination and an amount. 51024 51025 51026 NOTE: The amount field is an Int which implements the custom 51027 method 51028 51029 signatures required by gogoproto. 51030 title: amount is the amount of coins to be paid as a fee 51031 gas_limit: 51032 type: string 51033 format: uint64 51034 title: >- 51035 gas_limit is the maximum gas that can be used in transaction 51036 processing 51037 51038 before an out of gas error occurs 51039 payer: 51040 type: string 51041 description: >- 51042 if unset, the first signer is responsible for paying the fees. If 51043 set, the specified account must pay the fees. 51044 51045 the payer must be a tx signer (and thus have signed this field in 51046 AuthInfo). 51047 51048 setting this field does *not* change the ordering of required 51049 signers for the transaction. 51050 granter: 51051 type: string 51052 title: >- 51053 if set, the fee payer (either the first signer or the value of the 51054 payer field) requests that a fee grant be used 51055 51056 to pay fees instead of the fee payer's own balance. If an 51057 appropriate fee grant does not exist or the chain does 51058 51059 not support fee grants, this will fail 51060 description: |- 51061 AuthInfo describes the fee and signer modes that are used to sign a 51062 transaction. 51063 cosmos.tx.v1beta1.BroadcastMode: 51064 type: string 51065 enum: 51066 - BROADCAST_MODE_UNSPECIFIED 51067 - BROADCAST_MODE_BLOCK 51068 - BROADCAST_MODE_SYNC 51069 - BROADCAST_MODE_ASYNC 51070 default: BROADCAST_MODE_UNSPECIFIED 51071 description: >- 51072 BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC 51073 method. 51074 51075 - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering 51076 - BROADCAST_MODE_BLOCK: DEPRECATED: use BROADCAST_MODE_SYNC instead, 51077 - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for 51078 a CheckTx execution response only. 51079 - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns 51080 immediately. 51081 cosmos.tx.v1beta1.BroadcastTxRequest: 51082 type: object 51083 properties: 51084 tx_bytes: 51085 type: string 51086 format: byte 51087 description: tx_bytes is the raw transaction. 51088 mode: 51089 type: string 51090 enum: 51091 - BROADCAST_MODE_UNSPECIFIED 51092 - BROADCAST_MODE_BLOCK 51093 - BROADCAST_MODE_SYNC 51094 - BROADCAST_MODE_ASYNC 51095 default: BROADCAST_MODE_UNSPECIFIED 51096 description: >- 51097 BroadcastMode specifies the broadcast mode for the TxService.Broadcast 51098 RPC method. 51099 51100 - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering 51101 - BROADCAST_MODE_BLOCK: DEPRECATED: use BROADCAST_MODE_SYNC instead, 51102 - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for 51103 a CheckTx execution response only. 51104 - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns 51105 immediately. 51106 description: |- 51107 BroadcastTxRequest is the request type for the Service.BroadcastTxRequest 51108 RPC method. 51109 cosmos.tx.v1beta1.BroadcastTxResponse: 51110 type: object 51111 properties: 51112 tx_response: 51113 type: object 51114 properties: 51115 height: 51116 type: string 51117 format: int64 51118 title: The block height 51119 txhash: 51120 type: string 51121 description: The transaction hash. 51122 codespace: 51123 type: string 51124 title: Namespace for the Code 51125 code: 51126 type: integer 51127 format: int64 51128 description: Response code. 51129 data: 51130 type: string 51131 description: 'Result bytes, if any.' 51132 raw_log: 51133 type: string 51134 description: |- 51135 The output of the application's logger (raw string). May be 51136 non-deterministic. 51137 logs: 51138 type: array 51139 items: 51140 type: object 51141 properties: 51142 msg_index: 51143 type: integer 51144 format: int64 51145 log: 51146 type: string 51147 events: 51148 type: array 51149 items: 51150 type: object 51151 properties: 51152 type: 51153 type: string 51154 attributes: 51155 type: array 51156 items: 51157 type: object 51158 properties: 51159 key: 51160 type: string 51161 value: 51162 type: string 51163 description: >- 51164 Attribute defines an attribute wrapper where the key 51165 and value are 51166 51167 strings instead of raw bytes. 51168 description: >- 51169 StringEvent defines en Event object wrapper where all the 51170 attributes 51171 51172 contain key/value pairs that are strings instead of raw 51173 bytes. 51174 description: >- 51175 Events contains a slice of Event objects that were emitted 51176 during some 51177 51178 execution. 51179 description: >- 51180 ABCIMessageLog defines a structure containing an indexed tx ABCI 51181 message log. 51182 description: >- 51183 The output of the application's logger (typed). May be 51184 non-deterministic. 51185 info: 51186 type: string 51187 description: Additional information. May be non-deterministic. 51188 gas_wanted: 51189 type: string 51190 format: int64 51191 description: Amount of gas requested for transaction. 51192 gas_used: 51193 type: string 51194 format: int64 51195 description: Amount of gas consumed by transaction. 51196 tx: 51197 type: object 51198 properties: 51199 type_url: 51200 type: string 51201 description: >- 51202 A URL/resource name that uniquely identifies the type of the 51203 serialized 51204 51205 protocol buffer message. This string must contain at least 51206 51207 one "/" character. The last segment of the URL's path must 51208 represent 51209 51210 the fully qualified name of the type (as in 51211 51212 `path/google.protobuf.Duration`). The name should be in a 51213 canonical form 51214 51215 (e.g., leading "." is not accepted). 51216 51217 51218 In practice, teams usually precompile into the binary all 51219 types that they 51220 51221 expect it to use in the context of Any. However, for URLs 51222 which use the 51223 51224 scheme `http`, `https`, or no scheme, one can optionally set 51225 up a type 51226 51227 server that maps type URLs to message definitions as follows: 51228 51229 51230 * If no scheme is provided, `https` is assumed. 51231 51232 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 51233 value in binary format, or produce an error. 51234 * Applications are allowed to cache lookup results based on 51235 the 51236 URL, or have them precompiled into a binary to avoid any 51237 lookup. Therefore, binary compatibility needs to be preserved 51238 on changes to types. (Use versioned type names to manage 51239 breaking changes.) 51240 51241 Note: this functionality is not currently available in the 51242 official 51243 51244 protobuf release, and it is not used for type URLs beginning 51245 with 51246 51247 type.googleapis.com. 51248 51249 51250 Schemes other than `http`, `https` (or the empty scheme) might 51251 be 51252 51253 used with implementation specific semantics. 51254 value: 51255 type: string 51256 format: byte 51257 description: >- 51258 Must be a valid serialized protocol buffer of the above 51259 specified type. 51260 description: >- 51261 `Any` contains an arbitrary serialized protocol buffer message 51262 along with a 51263 51264 URL that describes the type of the serialized message. 51265 51266 51267 Protobuf library provides support to pack/unpack Any values in the 51268 form 51269 51270 of utility functions or additional generated methods of the Any 51271 type. 51272 51273 51274 Example 1: Pack and unpack a message in C++. 51275 51276 Foo foo = ...; 51277 Any any; 51278 any.PackFrom(foo); 51279 ... 51280 if (any.UnpackTo(&foo)) { 51281 ... 51282 } 51283 51284 Example 2: Pack and unpack a message in Java. 51285 51286 Foo foo = ...; 51287 Any any = Any.pack(foo); 51288 ... 51289 if (any.is(Foo.class)) { 51290 foo = any.unpack(Foo.class); 51291 } 51292 51293 Example 3: Pack and unpack a message in Python. 51294 51295 foo = Foo(...) 51296 any = Any() 51297 any.Pack(foo) 51298 ... 51299 if any.Is(Foo.DESCRIPTOR): 51300 any.Unpack(foo) 51301 ... 51302 51303 Example 4: Pack and unpack a message in Go 51304 51305 foo := &pb.Foo{...} 51306 any, err := ptypes.MarshalAny(foo) 51307 ... 51308 foo := &pb.Foo{} 51309 if err := ptypes.UnmarshalAny(any, foo); err != nil { 51310 ... 51311 } 51312 51313 The pack methods provided by protobuf library will by default use 51314 51315 'type.googleapis.com/full.type.name' as the type URL and the 51316 unpack 51317 51318 methods only use the fully qualified type name after the last '/' 51319 51320 in the type URL, for example "foo.bar.com/x/y.z" will yield type 51321 51322 name "y.z". 51323 51324 51325 51326 JSON 51327 51328 ==== 51329 51330 The JSON representation of an `Any` value uses the regular 51331 51332 representation of the deserialized, embedded message, with an 51333 51334 additional field `@type` which contains the type URL. Example: 51335 51336 package google.profile; 51337 message Person { 51338 string first_name = 1; 51339 string last_name = 2; 51340 } 51341 51342 { 51343 "@type": "type.googleapis.com/google.profile.Person", 51344 "firstName": <string>, 51345 "lastName": <string> 51346 } 51347 51348 If the embedded message type is well-known and has a custom JSON 51349 51350 representation, that representation will be embedded adding a 51351 field 51352 51353 `value` which holds the custom JSON in addition to the `@type` 51354 51355 field. Example (for message [google.protobuf.Duration][]): 51356 51357 { 51358 "@type": "type.googleapis.com/google.protobuf.Duration", 51359 "value": "1.212s" 51360 } 51361 timestamp: 51362 type: string 51363 description: >- 51364 Time of the previous block. For heights > 1, it's the weighted 51365 median of 51366 51367 the timestamps of the valid votes in the block.LastCommit. For 51368 height == 1, 51369 51370 it's genesis time. 51371 events: 51372 type: array 51373 items: 51374 type: object 51375 properties: 51376 type: 51377 type: string 51378 attributes: 51379 type: array 51380 items: 51381 type: object 51382 properties: 51383 key: 51384 type: string 51385 format: byte 51386 value: 51387 type: string 51388 format: byte 51389 index: 51390 type: boolean 51391 format: boolean 51392 description: >- 51393 EventAttribute is a single key-value pair, associated with 51394 an event. 51395 description: >- 51396 Event allows application developers to attach additional 51397 information to 51398 51399 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 51400 ResponseDeliverTx. 51401 51402 Later, transactions may be queried using these events. 51403 description: >- 51404 Events defines all the events emitted by processing a transaction. 51405 Note, 51406 51407 these events include those emitted by processing all the messages 51408 and those 51409 51410 emitted from the ante handler. Whereas Logs contains the events, 51411 with 51412 51413 additional metadata, emitted only by processing the messages. 51414 51415 51416 Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 51417 description: >- 51418 TxResponse defines a structure containing relevant tx data and 51419 metadata. The 51420 51421 tags are stringified and the log is JSON decoded. 51422 description: |- 51423 BroadcastTxResponse is the response type for the 51424 Service.BroadcastTx method. 51425 cosmos.tx.v1beta1.Fee: 51426 type: object 51427 properties: 51428 amount: 51429 type: array 51430 items: 51431 type: object 51432 properties: 51433 denom: 51434 type: string 51435 amount: 51436 type: string 51437 description: |- 51438 Coin defines a token with a denomination and an amount. 51439 51440 NOTE: The amount field is an Int which implements the custom method 51441 signatures required by gogoproto. 51442 title: amount is the amount of coins to be paid as a fee 51443 gas_limit: 51444 type: string 51445 format: uint64 51446 title: >- 51447 gas_limit is the maximum gas that can be used in transaction 51448 processing 51449 51450 before an out of gas error occurs 51451 payer: 51452 type: string 51453 description: >- 51454 if unset, the first signer is responsible for paying the fees. If set, 51455 the specified account must pay the fees. 51456 51457 the payer must be a tx signer (and thus have signed this field in 51458 AuthInfo). 51459 51460 setting this field does *not* change the ordering of required signers 51461 for the transaction. 51462 granter: 51463 type: string 51464 title: >- 51465 if set, the fee payer (either the first signer or the value of the 51466 payer field) requests that a fee grant be used 51467 51468 to pay fees instead of the fee payer's own balance. If an appropriate 51469 fee grant does not exist or the chain does 51470 51471 not support fee grants, this will fail 51472 description: >- 51473 Fee includes the amount of coins paid in fees and the maximum 51474 51475 gas to be used by the transaction. The ratio yields an effective 51476 "gasprice", 51477 51478 which must be above some miminum to be accepted into the mempool. 51479 cosmos.tx.v1beta1.GetBlockWithTxsResponse: 51480 type: object 51481 properties: 51482 txs: 51483 type: array 51484 items: 51485 $ref: '#/definitions/cosmos.tx.v1beta1.Tx' 51486 description: txs are the transactions in the block. 51487 block_id: 51488 type: object 51489 properties: 51490 hash: 51491 type: string 51492 format: byte 51493 part_set_header: 51494 type: object 51495 properties: 51496 total: 51497 type: integer 51498 format: int64 51499 hash: 51500 type: string 51501 format: byte 51502 title: PartsetHeader 51503 title: BlockID 51504 block: 51505 type: object 51506 properties: 51507 header: 51508 type: object 51509 properties: 51510 version: 51511 title: basic block info 51512 type: object 51513 properties: 51514 block: 51515 type: string 51516 format: uint64 51517 app: 51518 type: string 51519 format: uint64 51520 description: >- 51521 Consensus captures the consensus rules for processing a block 51522 in the blockchain, 51523 51524 including all blockchain data structures and the rules of the 51525 application's 51526 51527 state transition machine. 51528 chain_id: 51529 type: string 51530 height: 51531 type: string 51532 format: int64 51533 time: 51534 type: string 51535 format: date-time 51536 last_block_id: 51537 type: object 51538 properties: 51539 hash: 51540 type: string 51541 format: byte 51542 part_set_header: 51543 type: object 51544 properties: 51545 total: 51546 type: integer 51547 format: int64 51548 hash: 51549 type: string 51550 format: byte 51551 title: PartsetHeader 51552 title: BlockID 51553 last_commit_hash: 51554 type: string 51555 format: byte 51556 title: hashes of block data 51557 data_hash: 51558 type: string 51559 format: byte 51560 validators_hash: 51561 type: string 51562 format: byte 51563 title: hashes from the app output from the prev block 51564 next_validators_hash: 51565 type: string 51566 format: byte 51567 consensus_hash: 51568 type: string 51569 format: byte 51570 app_hash: 51571 type: string 51572 format: byte 51573 last_results_hash: 51574 type: string 51575 format: byte 51576 evidence_hash: 51577 type: string 51578 format: byte 51579 title: consensus info 51580 proposer_address: 51581 type: string 51582 format: byte 51583 description: Header defines the structure of a Tendermint block header. 51584 data: 51585 type: object 51586 properties: 51587 txs: 51588 type: array 51589 items: 51590 type: string 51591 format: byte 51592 description: >- 51593 Txs that will be applied by state @ block.Height+1. 51594 51595 NOTE: not all txs here are valid. We're just agreeing on the 51596 order first. 51597 51598 This means that block.AppHash does not include these txs. 51599 title: Data contains the set of transactions included in the block 51600 evidence: 51601 type: object 51602 properties: 51603 evidence: 51604 type: array 51605 items: 51606 type: object 51607 properties: 51608 duplicate_vote_evidence: 51609 type: object 51610 properties: 51611 vote_a: 51612 type: object 51613 properties: 51614 type: 51615 type: string 51616 enum: 51617 - SIGNED_MSG_TYPE_UNKNOWN 51618 - SIGNED_MSG_TYPE_PREVOTE 51619 - SIGNED_MSG_TYPE_PRECOMMIT 51620 - SIGNED_MSG_TYPE_PROPOSAL 51621 default: SIGNED_MSG_TYPE_UNKNOWN 51622 description: >- 51623 SignedMsgType is a type of signed message in the 51624 consensus. 51625 51626 - SIGNED_MSG_TYPE_PREVOTE: Votes 51627 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 51628 height: 51629 type: string 51630 format: int64 51631 round: 51632 type: integer 51633 format: int32 51634 block_id: 51635 type: object 51636 properties: 51637 hash: 51638 type: string 51639 format: byte 51640 part_set_header: 51641 type: object 51642 properties: 51643 total: 51644 type: integer 51645 format: int64 51646 hash: 51647 type: string 51648 format: byte 51649 title: PartsetHeader 51650 title: BlockID 51651 timestamp: 51652 type: string 51653 format: date-time 51654 validator_address: 51655 type: string 51656 format: byte 51657 validator_index: 51658 type: integer 51659 format: int32 51660 signature: 51661 type: string 51662 format: byte 51663 description: >- 51664 Vote represents a prevote, precommit, or commit vote 51665 from validators for 51666 51667 consensus. 51668 vote_b: 51669 type: object 51670 properties: 51671 type: 51672 type: string 51673 enum: 51674 - SIGNED_MSG_TYPE_UNKNOWN 51675 - SIGNED_MSG_TYPE_PREVOTE 51676 - SIGNED_MSG_TYPE_PRECOMMIT 51677 - SIGNED_MSG_TYPE_PROPOSAL 51678 default: SIGNED_MSG_TYPE_UNKNOWN 51679 description: >- 51680 SignedMsgType is a type of signed message in the 51681 consensus. 51682 51683 - SIGNED_MSG_TYPE_PREVOTE: Votes 51684 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 51685 height: 51686 type: string 51687 format: int64 51688 round: 51689 type: integer 51690 format: int32 51691 block_id: 51692 type: object 51693 properties: 51694 hash: 51695 type: string 51696 format: byte 51697 part_set_header: 51698 type: object 51699 properties: 51700 total: 51701 type: integer 51702 format: int64 51703 hash: 51704 type: string 51705 format: byte 51706 title: PartsetHeader 51707 title: BlockID 51708 timestamp: 51709 type: string 51710 format: date-time 51711 validator_address: 51712 type: string 51713 format: byte 51714 validator_index: 51715 type: integer 51716 format: int32 51717 signature: 51718 type: string 51719 format: byte 51720 description: >- 51721 Vote represents a prevote, precommit, or commit vote 51722 from validators for 51723 51724 consensus. 51725 total_voting_power: 51726 type: string 51727 format: int64 51728 validator_power: 51729 type: string 51730 format: int64 51731 timestamp: 51732 type: string 51733 format: date-time 51734 description: >- 51735 DuplicateVoteEvidence contains evidence of a validator 51736 signed two conflicting votes. 51737 light_client_attack_evidence: 51738 type: object 51739 properties: 51740 conflicting_block: 51741 type: object 51742 properties: 51743 signed_header: 51744 type: object 51745 properties: 51746 header: 51747 type: object 51748 properties: 51749 version: 51750 title: basic block info 51751 type: object 51752 properties: 51753 block: 51754 type: string 51755 format: uint64 51756 app: 51757 type: string 51758 format: uint64 51759 description: >- 51760 Consensus captures the consensus rules 51761 for processing a block in the 51762 blockchain, 51763 51764 including all blockchain data structures 51765 and the rules of the application's 51766 51767 state transition machine. 51768 chain_id: 51769 type: string 51770 height: 51771 type: string 51772 format: int64 51773 time: 51774 type: string 51775 format: date-time 51776 last_block_id: 51777 type: object 51778 properties: 51779 hash: 51780 type: string 51781 format: byte 51782 part_set_header: 51783 type: object 51784 properties: 51785 total: 51786 type: integer 51787 format: int64 51788 hash: 51789 type: string 51790 format: byte 51791 title: PartsetHeader 51792 title: BlockID 51793 last_commit_hash: 51794 type: string 51795 format: byte 51796 title: hashes of block data 51797 data_hash: 51798 type: string 51799 format: byte 51800 validators_hash: 51801 type: string 51802 format: byte 51803 title: >- 51804 hashes from the app output from the prev 51805 block 51806 next_validators_hash: 51807 type: string 51808 format: byte 51809 consensus_hash: 51810 type: string 51811 format: byte 51812 app_hash: 51813 type: string 51814 format: byte 51815 last_results_hash: 51816 type: string 51817 format: byte 51818 evidence_hash: 51819 type: string 51820 format: byte 51821 title: consensus info 51822 proposer_address: 51823 type: string 51824 format: byte 51825 description: >- 51826 Header defines the structure of a Tendermint 51827 block header. 51828 commit: 51829 type: object 51830 properties: 51831 height: 51832 type: string 51833 format: int64 51834 round: 51835 type: integer 51836 format: int32 51837 block_id: 51838 type: object 51839 properties: 51840 hash: 51841 type: string 51842 format: byte 51843 part_set_header: 51844 type: object 51845 properties: 51846 total: 51847 type: integer 51848 format: int64 51849 hash: 51850 type: string 51851 format: byte 51852 title: PartsetHeader 51853 title: BlockID 51854 signatures: 51855 type: array 51856 items: 51857 type: object 51858 properties: 51859 block_id_flag: 51860 type: string 51861 enum: 51862 - BLOCK_ID_FLAG_UNKNOWN 51863 - BLOCK_ID_FLAG_ABSENT 51864 - BLOCK_ID_FLAG_COMMIT 51865 - BLOCK_ID_FLAG_NIL 51866 default: BLOCK_ID_FLAG_UNKNOWN 51867 title: >- 51868 BlockIdFlag indicates which BlcokID the 51869 signature is for 51870 validator_address: 51871 type: string 51872 format: byte 51873 timestamp: 51874 type: string 51875 format: date-time 51876 signature: 51877 type: string 51878 format: byte 51879 description: >- 51880 CommitSig is a part of the Vote included 51881 in a Commit. 51882 description: >- 51883 Commit contains the evidence that a block 51884 was committed by a set of validators. 51885 validator_set: 51886 type: object 51887 properties: 51888 validators: 51889 type: array 51890 items: 51891 type: object 51892 properties: 51893 address: 51894 type: string 51895 format: byte 51896 pub_key: 51897 type: object 51898 properties: 51899 ed25519: 51900 type: string 51901 format: byte 51902 secp256k1: 51903 type: string 51904 format: byte 51905 title: >- 51906 PublicKey defines the keys available for 51907 use with Tendermint Validators 51908 voting_power: 51909 type: string 51910 format: int64 51911 proposer_priority: 51912 type: string 51913 format: int64 51914 proposer: 51915 type: object 51916 properties: 51917 address: 51918 type: string 51919 format: byte 51920 pub_key: 51921 type: object 51922 properties: 51923 ed25519: 51924 type: string 51925 format: byte 51926 secp256k1: 51927 type: string 51928 format: byte 51929 title: >- 51930 PublicKey defines the keys available for 51931 use with Tendermint Validators 51932 voting_power: 51933 type: string 51934 format: int64 51935 proposer_priority: 51936 type: string 51937 format: int64 51938 total_voting_power: 51939 type: string 51940 format: int64 51941 common_height: 51942 type: string 51943 format: int64 51944 byzantine_validators: 51945 type: array 51946 items: 51947 type: object 51948 properties: 51949 address: 51950 type: string 51951 format: byte 51952 pub_key: 51953 type: object 51954 properties: 51955 ed25519: 51956 type: string 51957 format: byte 51958 secp256k1: 51959 type: string 51960 format: byte 51961 title: >- 51962 PublicKey defines the keys available for use 51963 with Tendermint Validators 51964 voting_power: 51965 type: string 51966 format: int64 51967 proposer_priority: 51968 type: string 51969 format: int64 51970 total_voting_power: 51971 type: string 51972 format: int64 51973 timestamp: 51974 type: string 51975 format: date-time 51976 description: >- 51977 LightClientAttackEvidence contains evidence of a set of 51978 validators attempting to mislead a light client. 51979 last_commit: 51980 type: object 51981 properties: 51982 height: 51983 type: string 51984 format: int64 51985 round: 51986 type: integer 51987 format: int32 51988 block_id: 51989 type: object 51990 properties: 51991 hash: 51992 type: string 51993 format: byte 51994 part_set_header: 51995 type: object 51996 properties: 51997 total: 51998 type: integer 51999 format: int64 52000 hash: 52001 type: string 52002 format: byte 52003 title: PartsetHeader 52004 title: BlockID 52005 signatures: 52006 type: array 52007 items: 52008 type: object 52009 properties: 52010 block_id_flag: 52011 type: string 52012 enum: 52013 - BLOCK_ID_FLAG_UNKNOWN 52014 - BLOCK_ID_FLAG_ABSENT 52015 - BLOCK_ID_FLAG_COMMIT 52016 - BLOCK_ID_FLAG_NIL 52017 default: BLOCK_ID_FLAG_UNKNOWN 52018 title: BlockIdFlag indicates which BlcokID the signature is for 52019 validator_address: 52020 type: string 52021 format: byte 52022 timestamp: 52023 type: string 52024 format: date-time 52025 signature: 52026 type: string 52027 format: byte 52028 description: CommitSig is a part of the Vote included in a Commit. 52029 description: >- 52030 Commit contains the evidence that a block was committed by a set 52031 of validators. 52032 pagination: 52033 description: pagination defines a pagination for the response. 52034 type: object 52035 properties: 52036 next_key: 52037 type: string 52038 format: byte 52039 title: |- 52040 next_key is the key to be passed to PageRequest.key to 52041 query the next page most efficiently 52042 total: 52043 type: string 52044 format: uint64 52045 title: >- 52046 total is total number of results available if 52047 PageRequest.count_total 52048 52049 was set, its value is undefined otherwise 52050 description: >- 52051 GetBlockWithTxsResponse is the response type for the 52052 Service.GetBlockWithTxs method. 52053 52054 52055 Since: cosmos-sdk 0.45.2 52056 cosmos.tx.v1beta1.GetTxResponse: 52057 type: object 52058 properties: 52059 tx: 52060 $ref: '#/definitions/cosmos.tx.v1beta1.Tx' 52061 description: tx is the queried transaction. 52062 tx_response: 52063 type: object 52064 properties: 52065 height: 52066 type: string 52067 format: int64 52068 title: The block height 52069 txhash: 52070 type: string 52071 description: The transaction hash. 52072 codespace: 52073 type: string 52074 title: Namespace for the Code 52075 code: 52076 type: integer 52077 format: int64 52078 description: Response code. 52079 data: 52080 type: string 52081 description: 'Result bytes, if any.' 52082 raw_log: 52083 type: string 52084 description: |- 52085 The output of the application's logger (raw string). May be 52086 non-deterministic. 52087 logs: 52088 type: array 52089 items: 52090 type: object 52091 properties: 52092 msg_index: 52093 type: integer 52094 format: int64 52095 log: 52096 type: string 52097 events: 52098 type: array 52099 items: 52100 type: object 52101 properties: 52102 type: 52103 type: string 52104 attributes: 52105 type: array 52106 items: 52107 type: object 52108 properties: 52109 key: 52110 type: string 52111 value: 52112 type: string 52113 description: >- 52114 Attribute defines an attribute wrapper where the key 52115 and value are 52116 52117 strings instead of raw bytes. 52118 description: >- 52119 StringEvent defines en Event object wrapper where all the 52120 attributes 52121 52122 contain key/value pairs that are strings instead of raw 52123 bytes. 52124 description: >- 52125 Events contains a slice of Event objects that were emitted 52126 during some 52127 52128 execution. 52129 description: >- 52130 ABCIMessageLog defines a structure containing an indexed tx ABCI 52131 message log. 52132 description: >- 52133 The output of the application's logger (typed). May be 52134 non-deterministic. 52135 info: 52136 type: string 52137 description: Additional information. May be non-deterministic. 52138 gas_wanted: 52139 type: string 52140 format: int64 52141 description: Amount of gas requested for transaction. 52142 gas_used: 52143 type: string 52144 format: int64 52145 description: Amount of gas consumed by transaction. 52146 tx: 52147 type: object 52148 properties: 52149 type_url: 52150 type: string 52151 description: >- 52152 A URL/resource name that uniquely identifies the type of the 52153 serialized 52154 52155 protocol buffer message. This string must contain at least 52156 52157 one "/" character. The last segment of the URL's path must 52158 represent 52159 52160 the fully qualified name of the type (as in 52161 52162 `path/google.protobuf.Duration`). The name should be in a 52163 canonical form 52164 52165 (e.g., leading "." is not accepted). 52166 52167 52168 In practice, teams usually precompile into the binary all 52169 types that they 52170 52171 expect it to use in the context of Any. However, for URLs 52172 which use the 52173 52174 scheme `http`, `https`, or no scheme, one can optionally set 52175 up a type 52176 52177 server that maps type URLs to message definitions as follows: 52178 52179 52180 * If no scheme is provided, `https` is assumed. 52181 52182 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 52183 value in binary format, or produce an error. 52184 * Applications are allowed to cache lookup results based on 52185 the 52186 URL, or have them precompiled into a binary to avoid any 52187 lookup. Therefore, binary compatibility needs to be preserved 52188 on changes to types. (Use versioned type names to manage 52189 breaking changes.) 52190 52191 Note: this functionality is not currently available in the 52192 official 52193 52194 protobuf release, and it is not used for type URLs beginning 52195 with 52196 52197 type.googleapis.com. 52198 52199 52200 Schemes other than `http`, `https` (or the empty scheme) might 52201 be 52202 52203 used with implementation specific semantics. 52204 value: 52205 type: string 52206 format: byte 52207 description: >- 52208 Must be a valid serialized protocol buffer of the above 52209 specified type. 52210 description: >- 52211 `Any` contains an arbitrary serialized protocol buffer message 52212 along with a 52213 52214 URL that describes the type of the serialized message. 52215 52216 52217 Protobuf library provides support to pack/unpack Any values in the 52218 form 52219 52220 of utility functions or additional generated methods of the Any 52221 type. 52222 52223 52224 Example 1: Pack and unpack a message in C++. 52225 52226 Foo foo = ...; 52227 Any any; 52228 any.PackFrom(foo); 52229 ... 52230 if (any.UnpackTo(&foo)) { 52231 ... 52232 } 52233 52234 Example 2: Pack and unpack a message in Java. 52235 52236 Foo foo = ...; 52237 Any any = Any.pack(foo); 52238 ... 52239 if (any.is(Foo.class)) { 52240 foo = any.unpack(Foo.class); 52241 } 52242 52243 Example 3: Pack and unpack a message in Python. 52244 52245 foo = Foo(...) 52246 any = Any() 52247 any.Pack(foo) 52248 ... 52249 if any.Is(Foo.DESCRIPTOR): 52250 any.Unpack(foo) 52251 ... 52252 52253 Example 4: Pack and unpack a message in Go 52254 52255 foo := &pb.Foo{...} 52256 any, err := ptypes.MarshalAny(foo) 52257 ... 52258 foo := &pb.Foo{} 52259 if err := ptypes.UnmarshalAny(any, foo); err != nil { 52260 ... 52261 } 52262 52263 The pack methods provided by protobuf library will by default use 52264 52265 'type.googleapis.com/full.type.name' as the type URL and the 52266 unpack 52267 52268 methods only use the fully qualified type name after the last '/' 52269 52270 in the type URL, for example "foo.bar.com/x/y.z" will yield type 52271 52272 name "y.z". 52273 52274 52275 52276 JSON 52277 52278 ==== 52279 52280 The JSON representation of an `Any` value uses the regular 52281 52282 representation of the deserialized, embedded message, with an 52283 52284 additional field `@type` which contains the type URL. Example: 52285 52286 package google.profile; 52287 message Person { 52288 string first_name = 1; 52289 string last_name = 2; 52290 } 52291 52292 { 52293 "@type": "type.googleapis.com/google.profile.Person", 52294 "firstName": <string>, 52295 "lastName": <string> 52296 } 52297 52298 If the embedded message type is well-known and has a custom JSON 52299 52300 representation, that representation will be embedded adding a 52301 field 52302 52303 `value` which holds the custom JSON in addition to the `@type` 52304 52305 field. Example (for message [google.protobuf.Duration][]): 52306 52307 { 52308 "@type": "type.googleapis.com/google.protobuf.Duration", 52309 "value": "1.212s" 52310 } 52311 timestamp: 52312 type: string 52313 description: >- 52314 Time of the previous block. For heights > 1, it's the weighted 52315 median of 52316 52317 the timestamps of the valid votes in the block.LastCommit. For 52318 height == 1, 52319 52320 it's genesis time. 52321 events: 52322 type: array 52323 items: 52324 type: object 52325 properties: 52326 type: 52327 type: string 52328 attributes: 52329 type: array 52330 items: 52331 type: object 52332 properties: 52333 key: 52334 type: string 52335 format: byte 52336 value: 52337 type: string 52338 format: byte 52339 index: 52340 type: boolean 52341 format: boolean 52342 description: >- 52343 EventAttribute is a single key-value pair, associated with 52344 an event. 52345 description: >- 52346 Event allows application developers to attach additional 52347 information to 52348 52349 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 52350 ResponseDeliverTx. 52351 52352 Later, transactions may be queried using these events. 52353 description: >- 52354 Events defines all the events emitted by processing a transaction. 52355 Note, 52356 52357 these events include those emitted by processing all the messages 52358 and those 52359 52360 emitted from the ante handler. Whereas Logs contains the events, 52361 with 52362 52363 additional metadata, emitted only by processing the messages. 52364 52365 52366 Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 52367 description: >- 52368 TxResponse defines a structure containing relevant tx data and 52369 metadata. The 52370 52371 tags are stringified and the log is JSON decoded. 52372 description: GetTxResponse is the response type for the Service.GetTx method. 52373 cosmos.tx.v1beta1.GetTxsEventResponse: 52374 type: object 52375 properties: 52376 txs: 52377 type: array 52378 items: 52379 $ref: '#/definitions/cosmos.tx.v1beta1.Tx' 52380 description: txs is the list of queried transactions. 52381 tx_responses: 52382 type: array 52383 items: 52384 type: object 52385 properties: 52386 height: 52387 type: string 52388 format: int64 52389 title: The block height 52390 txhash: 52391 type: string 52392 description: The transaction hash. 52393 codespace: 52394 type: string 52395 title: Namespace for the Code 52396 code: 52397 type: integer 52398 format: int64 52399 description: Response code. 52400 data: 52401 type: string 52402 description: 'Result bytes, if any.' 52403 raw_log: 52404 type: string 52405 description: |- 52406 The output of the application's logger (raw string). May be 52407 non-deterministic. 52408 logs: 52409 type: array 52410 items: 52411 type: object 52412 properties: 52413 msg_index: 52414 type: integer 52415 format: int64 52416 log: 52417 type: string 52418 events: 52419 type: array 52420 items: 52421 type: object 52422 properties: 52423 type: 52424 type: string 52425 attributes: 52426 type: array 52427 items: 52428 type: object 52429 properties: 52430 key: 52431 type: string 52432 value: 52433 type: string 52434 description: >- 52435 Attribute defines an attribute wrapper where the 52436 key and value are 52437 52438 strings instead of raw bytes. 52439 description: >- 52440 StringEvent defines en Event object wrapper where all 52441 the attributes 52442 52443 contain key/value pairs that are strings instead of raw 52444 bytes. 52445 description: >- 52446 Events contains a slice of Event objects that were emitted 52447 during some 52448 52449 execution. 52450 description: >- 52451 ABCIMessageLog defines a structure containing an indexed tx 52452 ABCI message log. 52453 description: >- 52454 The output of the application's logger (typed). May be 52455 non-deterministic. 52456 info: 52457 type: string 52458 description: Additional information. May be non-deterministic. 52459 gas_wanted: 52460 type: string 52461 format: int64 52462 description: Amount of gas requested for transaction. 52463 gas_used: 52464 type: string 52465 format: int64 52466 description: Amount of gas consumed by transaction. 52467 tx: 52468 type: object 52469 properties: 52470 type_url: 52471 type: string 52472 description: >- 52473 A URL/resource name that uniquely identifies the type of the 52474 serialized 52475 52476 protocol buffer message. This string must contain at least 52477 52478 one "/" character. The last segment of the URL's path must 52479 represent 52480 52481 the fully qualified name of the type (as in 52482 52483 `path/google.protobuf.Duration`). The name should be in a 52484 canonical form 52485 52486 (e.g., leading "." is not accepted). 52487 52488 52489 In practice, teams usually precompile into the binary all 52490 types that they 52491 52492 expect it to use in the context of Any. However, for URLs 52493 which use the 52494 52495 scheme `http`, `https`, or no scheme, one can optionally set 52496 up a type 52497 52498 server that maps type URLs to message definitions as 52499 follows: 52500 52501 52502 * If no scheme is provided, `https` is assumed. 52503 52504 * An HTTP GET on the URL must yield a 52505 [google.protobuf.Type][] 52506 value in binary format, or produce an error. 52507 * Applications are allowed to cache lookup results based on 52508 the 52509 URL, or have them precompiled into a binary to avoid any 52510 lookup. Therefore, binary compatibility needs to be preserved 52511 on changes to types. (Use versioned type names to manage 52512 breaking changes.) 52513 52514 Note: this functionality is not currently available in the 52515 official 52516 52517 protobuf release, and it is not used for type URLs beginning 52518 with 52519 52520 type.googleapis.com. 52521 52522 52523 Schemes other than `http`, `https` (or the empty scheme) 52524 might be 52525 52526 used with implementation specific semantics. 52527 value: 52528 type: string 52529 format: byte 52530 description: >- 52531 Must be a valid serialized protocol buffer of the above 52532 specified type. 52533 description: >- 52534 `Any` contains an arbitrary serialized protocol buffer message 52535 along with a 52536 52537 URL that describes the type of the serialized message. 52538 52539 52540 Protobuf library provides support to pack/unpack Any values in 52541 the form 52542 52543 of utility functions or additional generated methods of the Any 52544 type. 52545 52546 52547 Example 1: Pack and unpack a message in C++. 52548 52549 Foo foo = ...; 52550 Any any; 52551 any.PackFrom(foo); 52552 ... 52553 if (any.UnpackTo(&foo)) { 52554 ... 52555 } 52556 52557 Example 2: Pack and unpack a message in Java. 52558 52559 Foo foo = ...; 52560 Any any = Any.pack(foo); 52561 ... 52562 if (any.is(Foo.class)) { 52563 foo = any.unpack(Foo.class); 52564 } 52565 52566 Example 3: Pack and unpack a message in Python. 52567 52568 foo = Foo(...) 52569 any = Any() 52570 any.Pack(foo) 52571 ... 52572 if any.Is(Foo.DESCRIPTOR): 52573 any.Unpack(foo) 52574 ... 52575 52576 Example 4: Pack and unpack a message in Go 52577 52578 foo := &pb.Foo{...} 52579 any, err := ptypes.MarshalAny(foo) 52580 ... 52581 foo := &pb.Foo{} 52582 if err := ptypes.UnmarshalAny(any, foo); err != nil { 52583 ... 52584 } 52585 52586 The pack methods provided by protobuf library will by default 52587 use 52588 52589 'type.googleapis.com/full.type.name' as the type URL and the 52590 unpack 52591 52592 methods only use the fully qualified type name after the last 52593 '/' 52594 52595 in the type URL, for example "foo.bar.com/x/y.z" will yield type 52596 52597 name "y.z". 52598 52599 52600 52601 JSON 52602 52603 ==== 52604 52605 The JSON representation of an `Any` value uses the regular 52606 52607 representation of the deserialized, embedded message, with an 52608 52609 additional field `@type` which contains the type URL. Example: 52610 52611 package google.profile; 52612 message Person { 52613 string first_name = 1; 52614 string last_name = 2; 52615 } 52616 52617 { 52618 "@type": "type.googleapis.com/google.profile.Person", 52619 "firstName": <string>, 52620 "lastName": <string> 52621 } 52622 52623 If the embedded message type is well-known and has a custom JSON 52624 52625 representation, that representation will be embedded adding a 52626 field 52627 52628 `value` which holds the custom JSON in addition to the `@type` 52629 52630 field. Example (for message [google.protobuf.Duration][]): 52631 52632 { 52633 "@type": "type.googleapis.com/google.protobuf.Duration", 52634 "value": "1.212s" 52635 } 52636 timestamp: 52637 type: string 52638 description: >- 52639 Time of the previous block. For heights > 1, it's the weighted 52640 median of 52641 52642 the timestamps of the valid votes in the block.LastCommit. For 52643 height == 1, 52644 52645 it's genesis time. 52646 events: 52647 type: array 52648 items: 52649 type: object 52650 properties: 52651 type: 52652 type: string 52653 attributes: 52654 type: array 52655 items: 52656 type: object 52657 properties: 52658 key: 52659 type: string 52660 format: byte 52661 value: 52662 type: string 52663 format: byte 52664 index: 52665 type: boolean 52666 format: boolean 52667 description: >- 52668 EventAttribute is a single key-value pair, associated 52669 with an event. 52670 description: >- 52671 Event allows application developers to attach additional 52672 information to 52673 52674 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 52675 ResponseDeliverTx. 52676 52677 Later, transactions may be queried using these events. 52678 description: >- 52679 Events defines all the events emitted by processing a 52680 transaction. Note, 52681 52682 these events include those emitted by processing all the 52683 messages and those 52684 52685 emitted from the ante handler. Whereas Logs contains the events, 52686 with 52687 52688 additional metadata, emitted only by processing the messages. 52689 52690 52691 Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 52692 description: >- 52693 TxResponse defines a structure containing relevant tx data and 52694 metadata. The 52695 52696 tags are stringified and the log is JSON decoded. 52697 description: tx_responses is the list of queried TxResponses. 52698 pagination: 52699 description: pagination defines a pagination for the response. 52700 type: object 52701 properties: 52702 next_key: 52703 type: string 52704 format: byte 52705 title: |- 52706 next_key is the key to be passed to PageRequest.key to 52707 query the next page most efficiently 52708 total: 52709 type: string 52710 format: uint64 52711 title: >- 52712 total is total number of results available if 52713 PageRequest.count_total 52714 52715 was set, its value is undefined otherwise 52716 description: |- 52717 GetTxsEventResponse is the response type for the Service.TxsByEvents 52718 RPC method. 52719 cosmos.tx.v1beta1.ModeInfo: 52720 type: object 52721 properties: 52722 single: 52723 title: single represents a single signer 52724 type: object 52725 properties: 52726 mode: 52727 title: mode is the signing mode of the single signer 52728 type: string 52729 enum: 52730 - SIGN_MODE_UNSPECIFIED 52731 - SIGN_MODE_DIRECT 52732 - SIGN_MODE_TEXTUAL 52733 - SIGN_MODE_LEGACY_AMINO_JSON 52734 - SIGN_MODE_EIP_191 52735 default: SIGN_MODE_UNSPECIFIED 52736 description: >- 52737 SignMode represents a signing mode with its own security 52738 guarantees. 52739 52740 - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be 52741 rejected 52742 - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is 52743 verified with raw bytes from Tx 52744 - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some 52745 human-readable textual representation on top of the binary 52746 representation 52747 52748 from SIGN_MODE_DIRECT 52749 - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses 52750 Amino JSON and will be removed in the future 52751 - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos 52752 SDK. Ref: https://eips.ethereum.org/EIPS/eip-191 52753 52754 52755 Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum 52756 variant, 52757 52758 but is not implemented on the SDK by default. To enable EIP-191, 52759 you need 52760 52761 to pass a custom `TxConfig` that has an implementation of 52762 52763 `SignModeHandler` for EIP-191. The SDK may decide to fully support 52764 52765 EIP-191 in the future. 52766 52767 52768 Since: cosmos-sdk 0.45.2 52769 multi: 52770 $ref: '#/definitions/cosmos.tx.v1beta1.ModeInfo.Multi' 52771 title: multi represents a nested multisig signer 52772 description: ModeInfo describes the signing mode of a single or nested multisig signer. 52773 cosmos.tx.v1beta1.ModeInfo.Multi: 52774 type: object 52775 properties: 52776 bitarray: 52777 title: bitarray specifies which keys within the multisig are signing 52778 type: object 52779 properties: 52780 extra_bits_stored: 52781 type: integer 52782 format: int64 52783 elems: 52784 type: string 52785 format: byte 52786 description: >- 52787 CompactBitArray is an implementation of a space efficient bit array. 52788 52789 This is used to ensure that the encoded data takes up a minimal amount 52790 of 52791 52792 space after proto encoding. 52793 52794 This is not thread safe, and is not intended for concurrent usage. 52795 mode_infos: 52796 type: array 52797 items: 52798 $ref: '#/definitions/cosmos.tx.v1beta1.ModeInfo' 52799 title: |- 52800 mode_infos is the corresponding modes of the signers of the multisig 52801 which could include nested multisig public keys 52802 title: Multi is the mode info for a multisig public key 52803 cosmos.tx.v1beta1.ModeInfo.Single: 52804 type: object 52805 properties: 52806 mode: 52807 title: mode is the signing mode of the single signer 52808 type: string 52809 enum: 52810 - SIGN_MODE_UNSPECIFIED 52811 - SIGN_MODE_DIRECT 52812 - SIGN_MODE_TEXTUAL 52813 - SIGN_MODE_LEGACY_AMINO_JSON 52814 - SIGN_MODE_EIP_191 52815 default: SIGN_MODE_UNSPECIFIED 52816 description: >- 52817 SignMode represents a signing mode with its own security guarantees. 52818 52819 - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be 52820 rejected 52821 - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is 52822 verified with raw bytes from Tx 52823 - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some 52824 human-readable textual representation on top of the binary 52825 representation 52826 52827 from SIGN_MODE_DIRECT 52828 - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses 52829 Amino JSON and will be removed in the future 52830 - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos 52831 SDK. Ref: https://eips.ethereum.org/EIPS/eip-191 52832 52833 52834 Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant, 52835 52836 but is not implemented on the SDK by default. To enable EIP-191, you 52837 need 52838 52839 to pass a custom `TxConfig` that has an implementation of 52840 52841 `SignModeHandler` for EIP-191. The SDK may decide to fully support 52842 52843 EIP-191 in the future. 52844 52845 52846 Since: cosmos-sdk 0.45.2 52847 title: |- 52848 Single is the mode info for a single signer. It is structured as a message 52849 to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the 52850 future 52851 cosmos.tx.v1beta1.OrderBy: 52852 type: string 52853 enum: 52854 - ORDER_BY_UNSPECIFIED 52855 - ORDER_BY_ASC 52856 - ORDER_BY_DESC 52857 default: ORDER_BY_UNSPECIFIED 52858 description: >- 52859 - ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting 52860 order. OrderBy defaults to ASC in this case. 52861 - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order 52862 - ORDER_BY_DESC: ORDER_BY_DESC defines descending order 52863 title: OrderBy defines the sorting order 52864 cosmos.tx.v1beta1.SignerInfo: 52865 type: object 52866 properties: 52867 public_key: 52868 type: object 52869 properties: 52870 type_url: 52871 type: string 52872 description: >- 52873 A URL/resource name that uniquely identifies the type of the 52874 serialized 52875 52876 protocol buffer message. This string must contain at least 52877 52878 one "/" character. The last segment of the URL's path must 52879 represent 52880 52881 the fully qualified name of the type (as in 52882 52883 `path/google.protobuf.Duration`). The name should be in a 52884 canonical form 52885 52886 (e.g., leading "." is not accepted). 52887 52888 52889 In practice, teams usually precompile into the binary all types 52890 that they 52891 52892 expect it to use in the context of Any. However, for URLs which 52893 use the 52894 52895 scheme `http`, `https`, or no scheme, one can optionally set up a 52896 type 52897 52898 server that maps type URLs to message definitions as follows: 52899 52900 52901 * If no scheme is provided, `https` is assumed. 52902 52903 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 52904 value in binary format, or produce an error. 52905 * Applications are allowed to cache lookup results based on the 52906 URL, or have them precompiled into a binary to avoid any 52907 lookup. Therefore, binary compatibility needs to be preserved 52908 on changes to types. (Use versioned type names to manage 52909 breaking changes.) 52910 52911 Note: this functionality is not currently available in the 52912 official 52913 52914 protobuf release, and it is not used for type URLs beginning with 52915 52916 type.googleapis.com. 52917 52918 52919 Schemes other than `http`, `https` (or the empty scheme) might be 52920 52921 used with implementation specific semantics. 52922 value: 52923 type: string 52924 format: byte 52925 description: >- 52926 Must be a valid serialized protocol buffer of the above specified 52927 type. 52928 description: >- 52929 `Any` contains an arbitrary serialized protocol buffer message along 52930 with a 52931 52932 URL that describes the type of the serialized message. 52933 52934 52935 Protobuf library provides support to pack/unpack Any values in the 52936 form 52937 52938 of utility functions or additional generated methods of the Any type. 52939 52940 52941 Example 1: Pack and unpack a message in C++. 52942 52943 Foo foo = ...; 52944 Any any; 52945 any.PackFrom(foo); 52946 ... 52947 if (any.UnpackTo(&foo)) { 52948 ... 52949 } 52950 52951 Example 2: Pack and unpack a message in Java. 52952 52953 Foo foo = ...; 52954 Any any = Any.pack(foo); 52955 ... 52956 if (any.is(Foo.class)) { 52957 foo = any.unpack(Foo.class); 52958 } 52959 52960 Example 3: Pack and unpack a message in Python. 52961 52962 foo = Foo(...) 52963 any = Any() 52964 any.Pack(foo) 52965 ... 52966 if any.Is(Foo.DESCRIPTOR): 52967 any.Unpack(foo) 52968 ... 52969 52970 Example 4: Pack and unpack a message in Go 52971 52972 foo := &pb.Foo{...} 52973 any, err := ptypes.MarshalAny(foo) 52974 ... 52975 foo := &pb.Foo{} 52976 if err := ptypes.UnmarshalAny(any, foo); err != nil { 52977 ... 52978 } 52979 52980 The pack methods provided by protobuf library will by default use 52981 52982 'type.googleapis.com/full.type.name' as the type URL and the unpack 52983 52984 methods only use the fully qualified type name after the last '/' 52985 52986 in the type URL, for example "foo.bar.com/x/y.z" will yield type 52987 52988 name "y.z". 52989 52990 52991 52992 JSON 52993 52994 ==== 52995 52996 The JSON representation of an `Any` value uses the regular 52997 52998 representation of the deserialized, embedded message, with an 52999 53000 additional field `@type` which contains the type URL. Example: 53001 53002 package google.profile; 53003 message Person { 53004 string first_name = 1; 53005 string last_name = 2; 53006 } 53007 53008 { 53009 "@type": "type.googleapis.com/google.profile.Person", 53010 "firstName": <string>, 53011 "lastName": <string> 53012 } 53013 53014 If the embedded message type is well-known and has a custom JSON 53015 53016 representation, that representation will be embedded adding a field 53017 53018 `value` which holds the custom JSON in addition to the `@type` 53019 53020 field. Example (for message [google.protobuf.Duration][]): 53021 53022 { 53023 "@type": "type.googleapis.com/google.protobuf.Duration", 53024 "value": "1.212s" 53025 } 53026 mode_info: 53027 $ref: '#/definitions/cosmos.tx.v1beta1.ModeInfo' 53028 title: |- 53029 mode_info describes the signing mode of the signer and is a nested 53030 structure to support nested multisig pubkey's 53031 sequence: 53032 type: string 53033 format: uint64 53034 description: >- 53035 sequence is the sequence of the account, which describes the 53036 53037 number of committed transactions signed by a given address. It is used 53038 to 53039 53040 prevent replay attacks. 53041 description: |- 53042 SignerInfo describes the public key and signing mode of a single top-level 53043 signer. 53044 cosmos.tx.v1beta1.SimulateRequest: 53045 type: object 53046 properties: 53047 tx: 53048 $ref: '#/definitions/cosmos.tx.v1beta1.Tx' 53049 description: |- 53050 tx is the transaction to simulate. 53051 Deprecated. Send raw tx bytes instead. 53052 tx_bytes: 53053 type: string 53054 format: byte 53055 description: |- 53056 tx_bytes is the raw transaction. 53057 53058 Since: cosmos-sdk 0.43 53059 description: |- 53060 SimulateRequest is the request type for the Service.Simulate 53061 RPC method. 53062 cosmos.tx.v1beta1.SimulateResponse: 53063 type: object 53064 properties: 53065 gas_info: 53066 description: gas_info is the information about gas used in the simulation. 53067 type: object 53068 properties: 53069 gas_wanted: 53070 type: string 53071 format: uint64 53072 description: >- 53073 GasWanted is the maximum units of work we allow this tx to 53074 perform. 53075 gas_used: 53076 type: string 53077 format: uint64 53078 description: GasUsed is the amount of gas actually consumed. 53079 result: 53080 description: result is the result of the simulation. 53081 type: object 53082 properties: 53083 data: 53084 type: string 53085 format: byte 53086 description: >- 53087 Data is any data returned from message or handler execution. It 53088 MUST be 53089 53090 length prefixed in order to separate data from multiple message 53091 executions. 53092 log: 53093 type: string 53094 description: >- 53095 Log contains the log information from message or handler 53096 execution. 53097 events: 53098 type: array 53099 items: 53100 type: object 53101 properties: 53102 type: 53103 type: string 53104 attributes: 53105 type: array 53106 items: 53107 type: object 53108 properties: 53109 key: 53110 type: string 53111 format: byte 53112 value: 53113 type: string 53114 format: byte 53115 index: 53116 type: boolean 53117 format: boolean 53118 description: >- 53119 EventAttribute is a single key-value pair, associated with 53120 an event. 53121 description: >- 53122 Event allows application developers to attach additional 53123 information to 53124 53125 ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and 53126 ResponseDeliverTx. 53127 53128 Later, transactions may be queried using these events. 53129 description: >- 53130 Events contains a slice of Event objects that were emitted during 53131 message 53132 53133 or handler execution. 53134 description: |- 53135 SimulateResponse is the response type for the 53136 Service.SimulateRPC method. 53137 cosmos.tx.v1beta1.Tx: 53138 type: object 53139 properties: 53140 body: 53141 title: body is the processable content of the transaction 53142 type: object 53143 properties: 53144 messages: 53145 type: array 53146 items: 53147 type: object 53148 properties: 53149 type_url: 53150 type: string 53151 description: >- 53152 A URL/resource name that uniquely identifies the type of the 53153 serialized 53154 53155 protocol buffer message. This string must contain at least 53156 53157 one "/" character. The last segment of the URL's path must 53158 represent 53159 53160 the fully qualified name of the type (as in 53161 53162 `path/google.protobuf.Duration`). The name should be in a 53163 canonical form 53164 53165 (e.g., leading "." is not accepted). 53166 53167 53168 In practice, teams usually precompile into the binary all 53169 types that they 53170 53171 expect it to use in the context of Any. However, for URLs 53172 which use the 53173 53174 scheme `http`, `https`, or no scheme, one can optionally set 53175 up a type 53176 53177 server that maps type URLs to message definitions as 53178 follows: 53179 53180 53181 * If no scheme is provided, `https` is assumed. 53182 53183 * An HTTP GET on the URL must yield a 53184 [google.protobuf.Type][] 53185 value in binary format, or produce an error. 53186 * Applications are allowed to cache lookup results based on 53187 the 53188 URL, or have them precompiled into a binary to avoid any 53189 lookup. Therefore, binary compatibility needs to be preserved 53190 on changes to types. (Use versioned type names to manage 53191 breaking changes.) 53192 53193 Note: this functionality is not currently available in the 53194 official 53195 53196 protobuf release, and it is not used for type URLs beginning 53197 with 53198 53199 type.googleapis.com. 53200 53201 53202 Schemes other than `http`, `https` (or the empty scheme) 53203 might be 53204 53205 used with implementation specific semantics. 53206 value: 53207 type: string 53208 format: byte 53209 description: >- 53210 Must be a valid serialized protocol buffer of the above 53211 specified type. 53212 description: >- 53213 `Any` contains an arbitrary serialized protocol buffer message 53214 along with a 53215 53216 URL that describes the type of the serialized message. 53217 53218 53219 Protobuf library provides support to pack/unpack Any values in 53220 the form 53221 53222 of utility functions or additional generated methods of the Any 53223 type. 53224 53225 53226 Example 1: Pack and unpack a message in C++. 53227 53228 Foo foo = ...; 53229 Any any; 53230 any.PackFrom(foo); 53231 ... 53232 if (any.UnpackTo(&foo)) { 53233 ... 53234 } 53235 53236 Example 2: Pack and unpack a message in Java. 53237 53238 Foo foo = ...; 53239 Any any = Any.pack(foo); 53240 ... 53241 if (any.is(Foo.class)) { 53242 foo = any.unpack(Foo.class); 53243 } 53244 53245 Example 3: Pack and unpack a message in Python. 53246 53247 foo = Foo(...) 53248 any = Any() 53249 any.Pack(foo) 53250 ... 53251 if any.Is(Foo.DESCRIPTOR): 53252 any.Unpack(foo) 53253 ... 53254 53255 Example 4: Pack and unpack a message in Go 53256 53257 foo := &pb.Foo{...} 53258 any, err := ptypes.MarshalAny(foo) 53259 ... 53260 foo := &pb.Foo{} 53261 if err := ptypes.UnmarshalAny(any, foo); err != nil { 53262 ... 53263 } 53264 53265 The pack methods provided by protobuf library will by default 53266 use 53267 53268 'type.googleapis.com/full.type.name' as the type URL and the 53269 unpack 53270 53271 methods only use the fully qualified type name after the last 53272 '/' 53273 53274 in the type URL, for example "foo.bar.com/x/y.z" will yield type 53275 53276 name "y.z". 53277 53278 53279 53280 JSON 53281 53282 ==== 53283 53284 The JSON representation of an `Any` value uses the regular 53285 53286 representation of the deserialized, embedded message, with an 53287 53288 additional field `@type` which contains the type URL. Example: 53289 53290 package google.profile; 53291 message Person { 53292 string first_name = 1; 53293 string last_name = 2; 53294 } 53295 53296 { 53297 "@type": "type.googleapis.com/google.profile.Person", 53298 "firstName": <string>, 53299 "lastName": <string> 53300 } 53301 53302 If the embedded message type is well-known and has a custom JSON 53303 53304 representation, that representation will be embedded adding a 53305 field 53306 53307 `value` which holds the custom JSON in addition to the `@type` 53308 53309 field. Example (for message [google.protobuf.Duration][]): 53310 53311 { 53312 "@type": "type.googleapis.com/google.protobuf.Duration", 53313 "value": "1.212s" 53314 } 53315 description: >- 53316 messages is a list of messages to be executed. The required 53317 signers of 53318 53319 those messages define the number and order of elements in 53320 AuthInfo's 53321 53322 signer_infos and Tx's signatures. Each required signer address is 53323 added to 53324 53325 the list only the first time it occurs. 53326 53327 By convention, the first required signer (usually from the first 53328 message) 53329 53330 is referred to as the primary signer and pays the fee for the 53331 whole 53332 53333 transaction. 53334 memo: 53335 type: string 53336 description: >- 53337 memo is any arbitrary note/comment to be added to the transaction. 53338 53339 WARNING: in clients, any publicly exposed text should not be 53340 called memo, 53341 53342 but should be called `note` instead (see 53343 https://github.com/cosmos/cosmos-sdk/issues/9122). 53344 timeout_height: 53345 type: string 53346 format: uint64 53347 title: |- 53348 timeout is the block height after which this transaction will not 53349 be processed by the chain 53350 extension_options: 53351 type: array 53352 items: 53353 type: object 53354 properties: 53355 type_url: 53356 type: string 53357 description: >- 53358 A URL/resource name that uniquely identifies the type of the 53359 serialized 53360 53361 protocol buffer message. This string must contain at least 53362 53363 one "/" character. The last segment of the URL's path must 53364 represent 53365 53366 the fully qualified name of the type (as in 53367 53368 `path/google.protobuf.Duration`). The name should be in a 53369 canonical form 53370 53371 (e.g., leading "." is not accepted). 53372 53373 53374 In practice, teams usually precompile into the binary all 53375 types that they 53376 53377 expect it to use in the context of Any. However, for URLs 53378 which use the 53379 53380 scheme `http`, `https`, or no scheme, one can optionally set 53381 up a type 53382 53383 server that maps type URLs to message definitions as 53384 follows: 53385 53386 53387 * If no scheme is provided, `https` is assumed. 53388 53389 * An HTTP GET on the URL must yield a 53390 [google.protobuf.Type][] 53391 value in binary format, or produce an error. 53392 * Applications are allowed to cache lookup results based on 53393 the 53394 URL, or have them precompiled into a binary to avoid any 53395 lookup. Therefore, binary compatibility needs to be preserved 53396 on changes to types. (Use versioned type names to manage 53397 breaking changes.) 53398 53399 Note: this functionality is not currently available in the 53400 official 53401 53402 protobuf release, and it is not used for type URLs beginning 53403 with 53404 53405 type.googleapis.com. 53406 53407 53408 Schemes other than `http`, `https` (or the empty scheme) 53409 might be 53410 53411 used with implementation specific semantics. 53412 value: 53413 type: string 53414 format: byte 53415 description: >- 53416 Must be a valid serialized protocol buffer of the above 53417 specified type. 53418 description: >- 53419 `Any` contains an arbitrary serialized protocol buffer message 53420 along with a 53421 53422 URL that describes the type of the serialized message. 53423 53424 53425 Protobuf library provides support to pack/unpack Any values in 53426 the form 53427 53428 of utility functions or additional generated methods of the Any 53429 type. 53430 53431 53432 Example 1: Pack and unpack a message in C++. 53433 53434 Foo foo = ...; 53435 Any any; 53436 any.PackFrom(foo); 53437 ... 53438 if (any.UnpackTo(&foo)) { 53439 ... 53440 } 53441 53442 Example 2: Pack and unpack a message in Java. 53443 53444 Foo foo = ...; 53445 Any any = Any.pack(foo); 53446 ... 53447 if (any.is(Foo.class)) { 53448 foo = any.unpack(Foo.class); 53449 } 53450 53451 Example 3: Pack and unpack a message in Python. 53452 53453 foo = Foo(...) 53454 any = Any() 53455 any.Pack(foo) 53456 ... 53457 if any.Is(Foo.DESCRIPTOR): 53458 any.Unpack(foo) 53459 ... 53460 53461 Example 4: Pack and unpack a message in Go 53462 53463 foo := &pb.Foo{...} 53464 any, err := ptypes.MarshalAny(foo) 53465 ... 53466 foo := &pb.Foo{} 53467 if err := ptypes.UnmarshalAny(any, foo); err != nil { 53468 ... 53469 } 53470 53471 The pack methods provided by protobuf library will by default 53472 use 53473 53474 'type.googleapis.com/full.type.name' as the type URL and the 53475 unpack 53476 53477 methods only use the fully qualified type name after the last 53478 '/' 53479 53480 in the type URL, for example "foo.bar.com/x/y.z" will yield type 53481 53482 name "y.z". 53483 53484 53485 53486 JSON 53487 53488 ==== 53489 53490 The JSON representation of an `Any` value uses the regular 53491 53492 representation of the deserialized, embedded message, with an 53493 53494 additional field `@type` which contains the type URL. Example: 53495 53496 package google.profile; 53497 message Person { 53498 string first_name = 1; 53499 string last_name = 2; 53500 } 53501 53502 { 53503 "@type": "type.googleapis.com/google.profile.Person", 53504 "firstName": <string>, 53505 "lastName": <string> 53506 } 53507 53508 If the embedded message type is well-known and has a custom JSON 53509 53510 representation, that representation will be embedded adding a 53511 field 53512 53513 `value` which holds the custom JSON in addition to the `@type` 53514 53515 field. Example (for message [google.protobuf.Duration][]): 53516 53517 { 53518 "@type": "type.googleapis.com/google.protobuf.Duration", 53519 "value": "1.212s" 53520 } 53521 title: >- 53522 extension_options are arbitrary options that can be added by 53523 chains 53524 53525 when the default options are not sufficient. If any of these are 53526 present 53527 53528 and can't be handled, the transaction will be rejected 53529 non_critical_extension_options: 53530 type: array 53531 items: 53532 type: object 53533 properties: 53534 type_url: 53535 type: string 53536 description: >- 53537 A URL/resource name that uniquely identifies the type of the 53538 serialized 53539 53540 protocol buffer message. This string must contain at least 53541 53542 one "/" character. The last segment of the URL's path must 53543 represent 53544 53545 the fully qualified name of the type (as in 53546 53547 `path/google.protobuf.Duration`). The name should be in a 53548 canonical form 53549 53550 (e.g., leading "." is not accepted). 53551 53552 53553 In practice, teams usually precompile into the binary all 53554 types that they 53555 53556 expect it to use in the context of Any. However, for URLs 53557 which use the 53558 53559 scheme `http`, `https`, or no scheme, one can optionally set 53560 up a type 53561 53562 server that maps type URLs to message definitions as 53563 follows: 53564 53565 53566 * If no scheme is provided, `https` is assumed. 53567 53568 * An HTTP GET on the URL must yield a 53569 [google.protobuf.Type][] 53570 value in binary format, or produce an error. 53571 * Applications are allowed to cache lookup results based on 53572 the 53573 URL, or have them precompiled into a binary to avoid any 53574 lookup. Therefore, binary compatibility needs to be preserved 53575 on changes to types. (Use versioned type names to manage 53576 breaking changes.) 53577 53578 Note: this functionality is not currently available in the 53579 official 53580 53581 protobuf release, and it is not used for type URLs beginning 53582 with 53583 53584 type.googleapis.com. 53585 53586 53587 Schemes other than `http`, `https` (or the empty scheme) 53588 might be 53589 53590 used with implementation specific semantics. 53591 value: 53592 type: string 53593 format: byte 53594 description: >- 53595 Must be a valid serialized protocol buffer of the above 53596 specified type. 53597 description: >- 53598 `Any` contains an arbitrary serialized protocol buffer message 53599 along with a 53600 53601 URL that describes the type of the serialized message. 53602 53603 53604 Protobuf library provides support to pack/unpack Any values in 53605 the form 53606 53607 of utility functions or additional generated methods of the Any 53608 type. 53609 53610 53611 Example 1: Pack and unpack a message in C++. 53612 53613 Foo foo = ...; 53614 Any any; 53615 any.PackFrom(foo); 53616 ... 53617 if (any.UnpackTo(&foo)) { 53618 ... 53619 } 53620 53621 Example 2: Pack and unpack a message in Java. 53622 53623 Foo foo = ...; 53624 Any any = Any.pack(foo); 53625 ... 53626 if (any.is(Foo.class)) { 53627 foo = any.unpack(Foo.class); 53628 } 53629 53630 Example 3: Pack and unpack a message in Python. 53631 53632 foo = Foo(...) 53633 any = Any() 53634 any.Pack(foo) 53635 ... 53636 if any.Is(Foo.DESCRIPTOR): 53637 any.Unpack(foo) 53638 ... 53639 53640 Example 4: Pack and unpack a message in Go 53641 53642 foo := &pb.Foo{...} 53643 any, err := ptypes.MarshalAny(foo) 53644 ... 53645 foo := &pb.Foo{} 53646 if err := ptypes.UnmarshalAny(any, foo); err != nil { 53647 ... 53648 } 53649 53650 The pack methods provided by protobuf library will by default 53651 use 53652 53653 'type.googleapis.com/full.type.name' as the type URL and the 53654 unpack 53655 53656 methods only use the fully qualified type name after the last 53657 '/' 53658 53659 in the type URL, for example "foo.bar.com/x/y.z" will yield type 53660 53661 name "y.z". 53662 53663 53664 53665 JSON 53666 53667 ==== 53668 53669 The JSON representation of an `Any` value uses the regular 53670 53671 representation of the deserialized, embedded message, with an 53672 53673 additional field `@type` which contains the type URL. Example: 53674 53675 package google.profile; 53676 message Person { 53677 string first_name = 1; 53678 string last_name = 2; 53679 } 53680 53681 { 53682 "@type": "type.googleapis.com/google.profile.Person", 53683 "firstName": <string>, 53684 "lastName": <string> 53685 } 53686 53687 If the embedded message type is well-known and has a custom JSON 53688 53689 representation, that representation will be embedded adding a 53690 field 53691 53692 `value` which holds the custom JSON in addition to the `@type` 53693 53694 field. Example (for message [google.protobuf.Duration][]): 53695 53696 { 53697 "@type": "type.googleapis.com/google.protobuf.Duration", 53698 "value": "1.212s" 53699 } 53700 title: >- 53701 extension_options are arbitrary options that can be added by 53702 chains 53703 53704 when the default options are not sufficient. If any of these are 53705 present 53706 53707 and can't be handled, they will be ignored 53708 description: TxBody is the body of a transaction that all signers sign over. 53709 auth_info: 53710 $ref: '#/definitions/cosmos.tx.v1beta1.AuthInfo' 53711 title: |- 53712 auth_info is the authorization related content of the transaction, 53713 specifically signers, signer modes and fee 53714 signatures: 53715 type: array 53716 items: 53717 type: string 53718 format: byte 53719 description: >- 53720 signatures is a list of signatures that matches the length and order 53721 of 53722 53723 AuthInfo's signer_infos to allow connecting signature meta information 53724 like 53725 53726 public key and signing mode by position. 53727 description: Tx is the standard type used for broadcasting transactions. 53728 cosmos.tx.v1beta1.TxBody: 53729 type: object 53730 properties: 53731 messages: 53732 type: array 53733 items: 53734 type: object 53735 properties: 53736 type_url: 53737 type: string 53738 description: >- 53739 A URL/resource name that uniquely identifies the type of the 53740 serialized 53741 53742 protocol buffer message. This string must contain at least 53743 53744 one "/" character. The last segment of the URL's path must 53745 represent 53746 53747 the fully qualified name of the type (as in 53748 53749 `path/google.protobuf.Duration`). The name should be in a 53750 canonical form 53751 53752 (e.g., leading "." is not accepted). 53753 53754 53755 In practice, teams usually precompile into the binary all types 53756 that they 53757 53758 expect it to use in the context of Any. However, for URLs which 53759 use the 53760 53761 scheme `http`, `https`, or no scheme, one can optionally set up 53762 a type 53763 53764 server that maps type URLs to message definitions as follows: 53765 53766 53767 * If no scheme is provided, `https` is assumed. 53768 53769 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 53770 value in binary format, or produce an error. 53771 * Applications are allowed to cache lookup results based on the 53772 URL, or have them precompiled into a binary to avoid any 53773 lookup. Therefore, binary compatibility needs to be preserved 53774 on changes to types. (Use versioned type names to manage 53775 breaking changes.) 53776 53777 Note: this functionality is not currently available in the 53778 official 53779 53780 protobuf release, and it is not used for type URLs beginning 53781 with 53782 53783 type.googleapis.com. 53784 53785 53786 Schemes other than `http`, `https` (or the empty scheme) might 53787 be 53788 53789 used with implementation specific semantics. 53790 value: 53791 type: string 53792 format: byte 53793 description: >- 53794 Must be a valid serialized protocol buffer of the above 53795 specified type. 53796 description: >- 53797 `Any` contains an arbitrary serialized protocol buffer message along 53798 with a 53799 53800 URL that describes the type of the serialized message. 53801 53802 53803 Protobuf library provides support to pack/unpack Any values in the 53804 form 53805 53806 of utility functions or additional generated methods of the Any 53807 type. 53808 53809 53810 Example 1: Pack and unpack a message in C++. 53811 53812 Foo foo = ...; 53813 Any any; 53814 any.PackFrom(foo); 53815 ... 53816 if (any.UnpackTo(&foo)) { 53817 ... 53818 } 53819 53820 Example 2: Pack and unpack a message in Java. 53821 53822 Foo foo = ...; 53823 Any any = Any.pack(foo); 53824 ... 53825 if (any.is(Foo.class)) { 53826 foo = any.unpack(Foo.class); 53827 } 53828 53829 Example 3: Pack and unpack a message in Python. 53830 53831 foo = Foo(...) 53832 any = Any() 53833 any.Pack(foo) 53834 ... 53835 if any.Is(Foo.DESCRIPTOR): 53836 any.Unpack(foo) 53837 ... 53838 53839 Example 4: Pack and unpack a message in Go 53840 53841 foo := &pb.Foo{...} 53842 any, err := ptypes.MarshalAny(foo) 53843 ... 53844 foo := &pb.Foo{} 53845 if err := ptypes.UnmarshalAny(any, foo); err != nil { 53846 ... 53847 } 53848 53849 The pack methods provided by protobuf library will by default use 53850 53851 'type.googleapis.com/full.type.name' as the type URL and the unpack 53852 53853 methods only use the fully qualified type name after the last '/' 53854 53855 in the type URL, for example "foo.bar.com/x/y.z" will yield type 53856 53857 name "y.z". 53858 53859 53860 53861 JSON 53862 53863 ==== 53864 53865 The JSON representation of an `Any` value uses the regular 53866 53867 representation of the deserialized, embedded message, with an 53868 53869 additional field `@type` which contains the type URL. Example: 53870 53871 package google.profile; 53872 message Person { 53873 string first_name = 1; 53874 string last_name = 2; 53875 } 53876 53877 { 53878 "@type": "type.googleapis.com/google.profile.Person", 53879 "firstName": <string>, 53880 "lastName": <string> 53881 } 53882 53883 If the embedded message type is well-known and has a custom JSON 53884 53885 representation, that representation will be embedded adding a field 53886 53887 `value` which holds the custom JSON in addition to the `@type` 53888 53889 field. Example (for message [google.protobuf.Duration][]): 53890 53891 { 53892 "@type": "type.googleapis.com/google.protobuf.Duration", 53893 "value": "1.212s" 53894 } 53895 description: >- 53896 messages is a list of messages to be executed. The required signers of 53897 53898 those messages define the number and order of elements in AuthInfo's 53899 53900 signer_infos and Tx's signatures. Each required signer address is 53901 added to 53902 53903 the list only the first time it occurs. 53904 53905 By convention, the first required signer (usually from the first 53906 message) 53907 53908 is referred to as the primary signer and pays the fee for the whole 53909 53910 transaction. 53911 memo: 53912 type: string 53913 description: >- 53914 memo is any arbitrary note/comment to be added to the transaction. 53915 53916 WARNING: in clients, any publicly exposed text should not be called 53917 memo, 53918 53919 but should be called `note` instead (see 53920 https://github.com/cosmos/cosmos-sdk/issues/9122). 53921 timeout_height: 53922 type: string 53923 format: uint64 53924 title: |- 53925 timeout is the block height after which this transaction will not 53926 be processed by the chain 53927 extension_options: 53928 type: array 53929 items: 53930 type: object 53931 properties: 53932 type_url: 53933 type: string 53934 description: >- 53935 A URL/resource name that uniquely identifies the type of the 53936 serialized 53937 53938 protocol buffer message. This string must contain at least 53939 53940 one "/" character. The last segment of the URL's path must 53941 represent 53942 53943 the fully qualified name of the type (as in 53944 53945 `path/google.protobuf.Duration`). The name should be in a 53946 canonical form 53947 53948 (e.g., leading "." is not accepted). 53949 53950 53951 In practice, teams usually precompile into the binary all types 53952 that they 53953 53954 expect it to use in the context of Any. However, for URLs which 53955 use the 53956 53957 scheme `http`, `https`, or no scheme, one can optionally set up 53958 a type 53959 53960 server that maps type URLs to message definitions as follows: 53961 53962 53963 * If no scheme is provided, `https` is assumed. 53964 53965 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 53966 value in binary format, or produce an error. 53967 * Applications are allowed to cache lookup results based on the 53968 URL, or have them precompiled into a binary to avoid any 53969 lookup. Therefore, binary compatibility needs to be preserved 53970 on changes to types. (Use versioned type names to manage 53971 breaking changes.) 53972 53973 Note: this functionality is not currently available in the 53974 official 53975 53976 protobuf release, and it is not used for type URLs beginning 53977 with 53978 53979 type.googleapis.com. 53980 53981 53982 Schemes other than `http`, `https` (or the empty scheme) might 53983 be 53984 53985 used with implementation specific semantics. 53986 value: 53987 type: string 53988 format: byte 53989 description: >- 53990 Must be a valid serialized protocol buffer of the above 53991 specified type. 53992 description: >- 53993 `Any` contains an arbitrary serialized protocol buffer message along 53994 with a 53995 53996 URL that describes the type of the serialized message. 53997 53998 53999 Protobuf library provides support to pack/unpack Any values in the 54000 form 54001 54002 of utility functions or additional generated methods of the Any 54003 type. 54004 54005 54006 Example 1: Pack and unpack a message in C++. 54007 54008 Foo foo = ...; 54009 Any any; 54010 any.PackFrom(foo); 54011 ... 54012 if (any.UnpackTo(&foo)) { 54013 ... 54014 } 54015 54016 Example 2: Pack and unpack a message in Java. 54017 54018 Foo foo = ...; 54019 Any any = Any.pack(foo); 54020 ... 54021 if (any.is(Foo.class)) { 54022 foo = any.unpack(Foo.class); 54023 } 54024 54025 Example 3: Pack and unpack a message in Python. 54026 54027 foo = Foo(...) 54028 any = Any() 54029 any.Pack(foo) 54030 ... 54031 if any.Is(Foo.DESCRIPTOR): 54032 any.Unpack(foo) 54033 ... 54034 54035 Example 4: Pack and unpack a message in Go 54036 54037 foo := &pb.Foo{...} 54038 any, err := ptypes.MarshalAny(foo) 54039 ... 54040 foo := &pb.Foo{} 54041 if err := ptypes.UnmarshalAny(any, foo); err != nil { 54042 ... 54043 } 54044 54045 The pack methods provided by protobuf library will by default use 54046 54047 'type.googleapis.com/full.type.name' as the type URL and the unpack 54048 54049 methods only use the fully qualified type name after the last '/' 54050 54051 in the type URL, for example "foo.bar.com/x/y.z" will yield type 54052 54053 name "y.z". 54054 54055 54056 54057 JSON 54058 54059 ==== 54060 54061 The JSON representation of an `Any` value uses the regular 54062 54063 representation of the deserialized, embedded message, with an 54064 54065 additional field `@type` which contains the type URL. Example: 54066 54067 package google.profile; 54068 message Person { 54069 string first_name = 1; 54070 string last_name = 2; 54071 } 54072 54073 { 54074 "@type": "type.googleapis.com/google.profile.Person", 54075 "firstName": <string>, 54076 "lastName": <string> 54077 } 54078 54079 If the embedded message type is well-known and has a custom JSON 54080 54081 representation, that representation will be embedded adding a field 54082 54083 `value` which holds the custom JSON in addition to the `@type` 54084 54085 field. Example (for message [google.protobuf.Duration][]): 54086 54087 { 54088 "@type": "type.googleapis.com/google.protobuf.Duration", 54089 "value": "1.212s" 54090 } 54091 title: >- 54092 extension_options are arbitrary options that can be added by chains 54093 54094 when the default options are not sufficient. If any of these are 54095 present 54096 54097 and can't be handled, the transaction will be rejected 54098 non_critical_extension_options: 54099 type: array 54100 items: 54101 type: object 54102 properties: 54103 type_url: 54104 type: string 54105 description: >- 54106 A URL/resource name that uniquely identifies the type of the 54107 serialized 54108 54109 protocol buffer message. This string must contain at least 54110 54111 one "/" character. The last segment of the URL's path must 54112 represent 54113 54114 the fully qualified name of the type (as in 54115 54116 `path/google.protobuf.Duration`). The name should be in a 54117 canonical form 54118 54119 (e.g., leading "." is not accepted). 54120 54121 54122 In practice, teams usually precompile into the binary all types 54123 that they 54124 54125 expect it to use in the context of Any. However, for URLs which 54126 use the 54127 54128 scheme `http`, `https`, or no scheme, one can optionally set up 54129 a type 54130 54131 server that maps type URLs to message definitions as follows: 54132 54133 54134 * If no scheme is provided, `https` is assumed. 54135 54136 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 54137 value in binary format, or produce an error. 54138 * Applications are allowed to cache lookup results based on the 54139 URL, or have them precompiled into a binary to avoid any 54140 lookup. Therefore, binary compatibility needs to be preserved 54141 on changes to types. (Use versioned type names to manage 54142 breaking changes.) 54143 54144 Note: this functionality is not currently available in the 54145 official 54146 54147 protobuf release, and it is not used for type URLs beginning 54148 with 54149 54150 type.googleapis.com. 54151 54152 54153 Schemes other than `http`, `https` (or the empty scheme) might 54154 be 54155 54156 used with implementation specific semantics. 54157 value: 54158 type: string 54159 format: byte 54160 description: >- 54161 Must be a valid serialized protocol buffer of the above 54162 specified type. 54163 description: >- 54164 `Any` contains an arbitrary serialized protocol buffer message along 54165 with a 54166 54167 URL that describes the type of the serialized message. 54168 54169 54170 Protobuf library provides support to pack/unpack Any values in the 54171 form 54172 54173 of utility functions or additional generated methods of the Any 54174 type. 54175 54176 54177 Example 1: Pack and unpack a message in C++. 54178 54179 Foo foo = ...; 54180 Any any; 54181 any.PackFrom(foo); 54182 ... 54183 if (any.UnpackTo(&foo)) { 54184 ... 54185 } 54186 54187 Example 2: Pack and unpack a message in Java. 54188 54189 Foo foo = ...; 54190 Any any = Any.pack(foo); 54191 ... 54192 if (any.is(Foo.class)) { 54193 foo = any.unpack(Foo.class); 54194 } 54195 54196 Example 3: Pack and unpack a message in Python. 54197 54198 foo = Foo(...) 54199 any = Any() 54200 any.Pack(foo) 54201 ... 54202 if any.Is(Foo.DESCRIPTOR): 54203 any.Unpack(foo) 54204 ... 54205 54206 Example 4: Pack and unpack a message in Go 54207 54208 foo := &pb.Foo{...} 54209 any, err := ptypes.MarshalAny(foo) 54210 ... 54211 foo := &pb.Foo{} 54212 if err := ptypes.UnmarshalAny(any, foo); err != nil { 54213 ... 54214 } 54215 54216 The pack methods provided by protobuf library will by default use 54217 54218 'type.googleapis.com/full.type.name' as the type URL and the unpack 54219 54220 methods only use the fully qualified type name after the last '/' 54221 54222 in the type URL, for example "foo.bar.com/x/y.z" will yield type 54223 54224 name "y.z". 54225 54226 54227 54228 JSON 54229 54230 ==== 54231 54232 The JSON representation of an `Any` value uses the regular 54233 54234 representation of the deserialized, embedded message, with an 54235 54236 additional field `@type` which contains the type URL. Example: 54237 54238 package google.profile; 54239 message Person { 54240 string first_name = 1; 54241 string last_name = 2; 54242 } 54243 54244 { 54245 "@type": "type.googleapis.com/google.profile.Person", 54246 "firstName": <string>, 54247 "lastName": <string> 54248 } 54249 54250 If the embedded message type is well-known and has a custom JSON 54251 54252 representation, that representation will be embedded adding a field 54253 54254 `value` which holds the custom JSON in addition to the `@type` 54255 54256 field. Example (for message [google.protobuf.Duration][]): 54257 54258 { 54259 "@type": "type.googleapis.com/google.protobuf.Duration", 54260 "value": "1.212s" 54261 } 54262 title: >- 54263 extension_options are arbitrary options that can be added by chains 54264 54265 when the default options are not sufficient. If any of these are 54266 present 54267 54268 and can't be handled, they will be ignored 54269 description: TxBody is the body of a transaction that all signers sign over. 54270 cosmos.upgrade.v1beta1.ModuleVersion: 54271 type: object 54272 properties: 54273 name: 54274 type: string 54275 title: name of the app module 54276 version: 54277 type: string 54278 format: uint64 54279 title: consensus version of the app module 54280 description: |- 54281 ModuleVersion specifies a module and its consensus version. 54282 54283 Since: cosmos-sdk 0.43 54284 cosmos.upgrade.v1beta1.Plan: 54285 type: object 54286 properties: 54287 name: 54288 type: string 54289 description: >- 54290 Sets the name for the upgrade. This name will be used by the upgraded 54291 54292 version of the software to apply any special "on-upgrade" commands 54293 during 54294 54295 the first BeginBlock method after the upgrade is applied. It is also 54296 used 54297 54298 to detect whether a software version can handle a given upgrade. If no 54299 54300 upgrade handler with this name has been set in the software, it will 54301 be 54302 54303 assumed that the software is out-of-date when the upgrade Time or 54304 Height is 54305 54306 reached and the software will exit. 54307 time: 54308 type: string 54309 format: date-time 54310 description: >- 54311 Deprecated: Time based upgrades have been deprecated. Time based 54312 upgrade logic 54313 54314 has been removed from the SDK. 54315 54316 If this field is not empty, an error will be thrown. 54317 height: 54318 type: string 54319 format: int64 54320 description: |- 54321 The height at which the upgrade must be performed. 54322 Only used if Time is not set. 54323 info: 54324 type: string 54325 title: |- 54326 Any application specific upgrade info to be included on-chain 54327 such as a git commit that validators could automatically upgrade to 54328 upgraded_client_state: 54329 type: object 54330 properties: 54331 type_url: 54332 type: string 54333 description: >- 54334 A URL/resource name that uniquely identifies the type of the 54335 serialized 54336 54337 protocol buffer message. This string must contain at least 54338 54339 one "/" character. The last segment of the URL's path must 54340 represent 54341 54342 the fully qualified name of the type (as in 54343 54344 `path/google.protobuf.Duration`). The name should be in a 54345 canonical form 54346 54347 (e.g., leading "." is not accepted). 54348 54349 54350 In practice, teams usually precompile into the binary all types 54351 that they 54352 54353 expect it to use in the context of Any. However, for URLs which 54354 use the 54355 54356 scheme `http`, `https`, or no scheme, one can optionally set up a 54357 type 54358 54359 server that maps type URLs to message definitions as follows: 54360 54361 54362 * If no scheme is provided, `https` is assumed. 54363 54364 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 54365 value in binary format, or produce an error. 54366 * Applications are allowed to cache lookup results based on the 54367 URL, or have them precompiled into a binary to avoid any 54368 lookup. Therefore, binary compatibility needs to be preserved 54369 on changes to types. (Use versioned type names to manage 54370 breaking changes.) 54371 54372 Note: this functionality is not currently available in the 54373 official 54374 54375 protobuf release, and it is not used for type URLs beginning with 54376 54377 type.googleapis.com. 54378 54379 54380 Schemes other than `http`, `https` (or the empty scheme) might be 54381 54382 used with implementation specific semantics. 54383 value: 54384 type: string 54385 format: byte 54386 description: >- 54387 Must be a valid serialized protocol buffer of the above specified 54388 type. 54389 description: >- 54390 `Any` contains an arbitrary serialized protocol buffer message along 54391 with a 54392 54393 URL that describes the type of the serialized message. 54394 54395 54396 Protobuf library provides support to pack/unpack Any values in the 54397 form 54398 54399 of utility functions or additional generated methods of the Any type. 54400 54401 54402 Example 1: Pack and unpack a message in C++. 54403 54404 Foo foo = ...; 54405 Any any; 54406 any.PackFrom(foo); 54407 ... 54408 if (any.UnpackTo(&foo)) { 54409 ... 54410 } 54411 54412 Example 2: Pack and unpack a message in Java. 54413 54414 Foo foo = ...; 54415 Any any = Any.pack(foo); 54416 ... 54417 if (any.is(Foo.class)) { 54418 foo = any.unpack(Foo.class); 54419 } 54420 54421 Example 3: Pack and unpack a message in Python. 54422 54423 foo = Foo(...) 54424 any = Any() 54425 any.Pack(foo) 54426 ... 54427 if any.Is(Foo.DESCRIPTOR): 54428 any.Unpack(foo) 54429 ... 54430 54431 Example 4: Pack and unpack a message in Go 54432 54433 foo := &pb.Foo{...} 54434 any, err := ptypes.MarshalAny(foo) 54435 ... 54436 foo := &pb.Foo{} 54437 if err := ptypes.UnmarshalAny(any, foo); err != nil { 54438 ... 54439 } 54440 54441 The pack methods provided by protobuf library will by default use 54442 54443 'type.googleapis.com/full.type.name' as the type URL and the unpack 54444 54445 methods only use the fully qualified type name after the last '/' 54446 54447 in the type URL, for example "foo.bar.com/x/y.z" will yield type 54448 54449 name "y.z". 54450 54451 54452 54453 JSON 54454 54455 ==== 54456 54457 The JSON representation of an `Any` value uses the regular 54458 54459 representation of the deserialized, embedded message, with an 54460 54461 additional field `@type` which contains the type URL. Example: 54462 54463 package google.profile; 54464 message Person { 54465 string first_name = 1; 54466 string last_name = 2; 54467 } 54468 54469 { 54470 "@type": "type.googleapis.com/google.profile.Person", 54471 "firstName": <string>, 54472 "lastName": <string> 54473 } 54474 54475 If the embedded message type is well-known and has a custom JSON 54476 54477 representation, that representation will be embedded adding a field 54478 54479 `value` which holds the custom JSON in addition to the `@type` 54480 54481 field. Example (for message [google.protobuf.Duration][]): 54482 54483 { 54484 "@type": "type.googleapis.com/google.protobuf.Duration", 54485 "value": "1.212s" 54486 } 54487 description: >- 54488 Plan specifies information about a planned upgrade and when it should 54489 occur. 54490 cosmos.upgrade.v1beta1.QueryAppliedPlanResponse: 54491 type: object 54492 properties: 54493 height: 54494 type: string 54495 format: int64 54496 description: height is the block height at which the plan was applied. 54497 description: >- 54498 QueryAppliedPlanResponse is the response type for the Query/AppliedPlan 54499 RPC 54500 54501 method. 54502 cosmos.upgrade.v1beta1.QueryCurrentPlanResponse: 54503 type: object 54504 properties: 54505 plan: 54506 description: plan is the current upgrade plan. 54507 type: object 54508 properties: 54509 name: 54510 type: string 54511 description: >- 54512 Sets the name for the upgrade. This name will be used by the 54513 upgraded 54514 54515 version of the software to apply any special "on-upgrade" commands 54516 during 54517 54518 the first BeginBlock method after the upgrade is applied. It is 54519 also used 54520 54521 to detect whether a software version can handle a given upgrade. 54522 If no 54523 54524 upgrade handler with this name has been set in the software, it 54525 will be 54526 54527 assumed that the software is out-of-date when the upgrade Time or 54528 Height is 54529 54530 reached and the software will exit. 54531 time: 54532 type: string 54533 format: date-time 54534 description: >- 54535 Deprecated: Time based upgrades have been deprecated. Time based 54536 upgrade logic 54537 54538 has been removed from the SDK. 54539 54540 If this field is not empty, an error will be thrown. 54541 height: 54542 type: string 54543 format: int64 54544 description: |- 54545 The height at which the upgrade must be performed. 54546 Only used if Time is not set. 54547 info: 54548 type: string 54549 title: >- 54550 Any application specific upgrade info to be included on-chain 54551 54552 such as a git commit that validators could automatically upgrade 54553 to 54554 upgraded_client_state: 54555 type: object 54556 properties: 54557 type_url: 54558 type: string 54559 description: >- 54560 A URL/resource name that uniquely identifies the type of the 54561 serialized 54562 54563 protocol buffer message. This string must contain at least 54564 54565 one "/" character. The last segment of the URL's path must 54566 represent 54567 54568 the fully qualified name of the type (as in 54569 54570 `path/google.protobuf.Duration`). The name should be in a 54571 canonical form 54572 54573 (e.g., leading "." is not accepted). 54574 54575 54576 In practice, teams usually precompile into the binary all 54577 types that they 54578 54579 expect it to use in the context of Any. However, for URLs 54580 which use the 54581 54582 scheme `http`, `https`, or no scheme, one can optionally set 54583 up a type 54584 54585 server that maps type URLs to message definitions as follows: 54586 54587 54588 * If no scheme is provided, `https` is assumed. 54589 54590 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 54591 value in binary format, or produce an error. 54592 * Applications are allowed to cache lookup results based on 54593 the 54594 URL, or have them precompiled into a binary to avoid any 54595 lookup. Therefore, binary compatibility needs to be preserved 54596 on changes to types. (Use versioned type names to manage 54597 breaking changes.) 54598 54599 Note: this functionality is not currently available in the 54600 official 54601 54602 protobuf release, and it is not used for type URLs beginning 54603 with 54604 54605 type.googleapis.com. 54606 54607 54608 Schemes other than `http`, `https` (or the empty scheme) might 54609 be 54610 54611 used with implementation specific semantics. 54612 value: 54613 type: string 54614 format: byte 54615 description: >- 54616 Must be a valid serialized protocol buffer of the above 54617 specified type. 54618 description: >- 54619 `Any` contains an arbitrary serialized protocol buffer message 54620 along with a 54621 54622 URL that describes the type of the serialized message. 54623 54624 54625 Protobuf library provides support to pack/unpack Any values in the 54626 form 54627 54628 of utility functions or additional generated methods of the Any 54629 type. 54630 54631 54632 Example 1: Pack and unpack a message in C++. 54633 54634 Foo foo = ...; 54635 Any any; 54636 any.PackFrom(foo); 54637 ... 54638 if (any.UnpackTo(&foo)) { 54639 ... 54640 } 54641 54642 Example 2: Pack and unpack a message in Java. 54643 54644 Foo foo = ...; 54645 Any any = Any.pack(foo); 54646 ... 54647 if (any.is(Foo.class)) { 54648 foo = any.unpack(Foo.class); 54649 } 54650 54651 Example 3: Pack and unpack a message in Python. 54652 54653 foo = Foo(...) 54654 any = Any() 54655 any.Pack(foo) 54656 ... 54657 if any.Is(Foo.DESCRIPTOR): 54658 any.Unpack(foo) 54659 ... 54660 54661 Example 4: Pack and unpack a message in Go 54662 54663 foo := &pb.Foo{...} 54664 any, err := ptypes.MarshalAny(foo) 54665 ... 54666 foo := &pb.Foo{} 54667 if err := ptypes.UnmarshalAny(any, foo); err != nil { 54668 ... 54669 } 54670 54671 The pack methods provided by protobuf library will by default use 54672 54673 'type.googleapis.com/full.type.name' as the type URL and the 54674 unpack 54675 54676 methods only use the fully qualified type name after the last '/' 54677 54678 in the type URL, for example "foo.bar.com/x/y.z" will yield type 54679 54680 name "y.z". 54681 54682 54683 54684 JSON 54685 54686 ==== 54687 54688 The JSON representation of an `Any` value uses the regular 54689 54690 representation of the deserialized, embedded message, with an 54691 54692 additional field `@type` which contains the type URL. Example: 54693 54694 package google.profile; 54695 message Person { 54696 string first_name = 1; 54697 string last_name = 2; 54698 } 54699 54700 { 54701 "@type": "type.googleapis.com/google.profile.Person", 54702 "firstName": <string>, 54703 "lastName": <string> 54704 } 54705 54706 If the embedded message type is well-known and has a custom JSON 54707 54708 representation, that representation will be embedded adding a 54709 field 54710 54711 `value` which holds the custom JSON in addition to the `@type` 54712 54713 field. Example (for message [google.protobuf.Duration][]): 54714 54715 { 54716 "@type": "type.googleapis.com/google.protobuf.Duration", 54717 "value": "1.212s" 54718 } 54719 description: >- 54720 QueryCurrentPlanResponse is the response type for the Query/CurrentPlan 54721 RPC 54722 54723 method. 54724 cosmos.upgrade.v1beta1.QueryModuleVersionsResponse: 54725 type: object 54726 properties: 54727 module_versions: 54728 type: array 54729 items: 54730 type: object 54731 properties: 54732 name: 54733 type: string 54734 title: name of the app module 54735 version: 54736 type: string 54737 format: uint64 54738 title: consensus version of the app module 54739 description: |- 54740 ModuleVersion specifies a module and its consensus version. 54741 54742 Since: cosmos-sdk 0.43 54743 description: >- 54744 module_versions is a list of module names with their consensus 54745 versions. 54746 description: >- 54747 QueryModuleVersionsResponse is the response type for the 54748 Query/ModuleVersions 54749 54750 RPC method. 54751 54752 54753 Since: cosmos-sdk 0.43 54754 cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse: 54755 type: object 54756 properties: 54757 upgraded_consensus_state: 54758 type: string 54759 format: byte 54760 title: 'Since: cosmos-sdk 0.43' 54761 description: >- 54762 QueryUpgradedConsensusStateResponse is the response type for the 54763 Query/UpgradedConsensusState 54764 54765 RPC method. 54766 cosmos.authz.v1beta1.Grant: 54767 type: object 54768 properties: 54769 authorization: 54770 type: object 54771 properties: 54772 type_url: 54773 type: string 54774 description: >- 54775 A URL/resource name that uniquely identifies the type of the 54776 serialized 54777 54778 protocol buffer message. This string must contain at least 54779 54780 one "/" character. The last segment of the URL's path must 54781 represent 54782 54783 the fully qualified name of the type (as in 54784 54785 `path/google.protobuf.Duration`). The name should be in a 54786 canonical form 54787 54788 (e.g., leading "." is not accepted). 54789 54790 54791 In practice, teams usually precompile into the binary all types 54792 that they 54793 54794 expect it to use in the context of Any. However, for URLs which 54795 use the 54796 54797 scheme `http`, `https`, or no scheme, one can optionally set up a 54798 type 54799 54800 server that maps type URLs to message definitions as follows: 54801 54802 54803 * If no scheme is provided, `https` is assumed. 54804 54805 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 54806 value in binary format, or produce an error. 54807 * Applications are allowed to cache lookup results based on the 54808 URL, or have them precompiled into a binary to avoid any 54809 lookup. Therefore, binary compatibility needs to be preserved 54810 on changes to types. (Use versioned type names to manage 54811 breaking changes.) 54812 54813 Note: this functionality is not currently available in the 54814 official 54815 54816 protobuf release, and it is not used for type URLs beginning with 54817 54818 type.googleapis.com. 54819 54820 54821 Schemes other than `http`, `https` (or the empty scheme) might be 54822 54823 used with implementation specific semantics. 54824 value: 54825 type: string 54826 format: byte 54827 description: >- 54828 Must be a valid serialized protocol buffer of the above specified 54829 type. 54830 description: >- 54831 `Any` contains an arbitrary serialized protocol buffer message along 54832 with a 54833 54834 URL that describes the type of the serialized message. 54835 54836 54837 Protobuf library provides support to pack/unpack Any values in the 54838 form 54839 54840 of utility functions or additional generated methods of the Any type. 54841 54842 54843 Example 1: Pack and unpack a message in C++. 54844 54845 Foo foo = ...; 54846 Any any; 54847 any.PackFrom(foo); 54848 ... 54849 if (any.UnpackTo(&foo)) { 54850 ... 54851 } 54852 54853 Example 2: Pack and unpack a message in Java. 54854 54855 Foo foo = ...; 54856 Any any = Any.pack(foo); 54857 ... 54858 if (any.is(Foo.class)) { 54859 foo = any.unpack(Foo.class); 54860 } 54861 54862 Example 3: Pack and unpack a message in Python. 54863 54864 foo = Foo(...) 54865 any = Any() 54866 any.Pack(foo) 54867 ... 54868 if any.Is(Foo.DESCRIPTOR): 54869 any.Unpack(foo) 54870 ... 54871 54872 Example 4: Pack and unpack a message in Go 54873 54874 foo := &pb.Foo{...} 54875 any, err := ptypes.MarshalAny(foo) 54876 ... 54877 foo := &pb.Foo{} 54878 if err := ptypes.UnmarshalAny(any, foo); err != nil { 54879 ... 54880 } 54881 54882 The pack methods provided by protobuf library will by default use 54883 54884 'type.googleapis.com/full.type.name' as the type URL and the unpack 54885 54886 methods only use the fully qualified type name after the last '/' 54887 54888 in the type URL, for example "foo.bar.com/x/y.z" will yield type 54889 54890 name "y.z". 54891 54892 54893 54894 JSON 54895 54896 ==== 54897 54898 The JSON representation of an `Any` value uses the regular 54899 54900 representation of the deserialized, embedded message, with an 54901 54902 additional field `@type` which contains the type URL. Example: 54903 54904 package google.profile; 54905 message Person { 54906 string first_name = 1; 54907 string last_name = 2; 54908 } 54909 54910 { 54911 "@type": "type.googleapis.com/google.profile.Person", 54912 "firstName": <string>, 54913 "lastName": <string> 54914 } 54915 54916 If the embedded message type is well-known and has a custom JSON 54917 54918 representation, that representation will be embedded adding a field 54919 54920 `value` which holds the custom JSON in addition to the `@type` 54921 54922 field. Example (for message [google.protobuf.Duration][]): 54923 54924 { 54925 "@type": "type.googleapis.com/google.protobuf.Duration", 54926 "value": "1.212s" 54927 } 54928 expiration: 54929 type: string 54930 format: date-time 54931 description: |- 54932 Grant gives permissions to execute 54933 the provide method with expiration time. 54934 cosmos.authz.v1beta1.GrantAuthorization: 54935 type: object 54936 properties: 54937 granter: 54938 type: string 54939 grantee: 54940 type: string 54941 authorization: 54942 type: object 54943 properties: 54944 type_url: 54945 type: string 54946 description: >- 54947 A URL/resource name that uniquely identifies the type of the 54948 serialized 54949 54950 protocol buffer message. This string must contain at least 54951 54952 one "/" character. The last segment of the URL's path must 54953 represent 54954 54955 the fully qualified name of the type (as in 54956 54957 `path/google.protobuf.Duration`). The name should be in a 54958 canonical form 54959 54960 (e.g., leading "." is not accepted). 54961 54962 54963 In practice, teams usually precompile into the binary all types 54964 that they 54965 54966 expect it to use in the context of Any. However, for URLs which 54967 use the 54968 54969 scheme `http`, `https`, or no scheme, one can optionally set up a 54970 type 54971 54972 server that maps type URLs to message definitions as follows: 54973 54974 54975 * If no scheme is provided, `https` is assumed. 54976 54977 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 54978 value in binary format, or produce an error. 54979 * Applications are allowed to cache lookup results based on the 54980 URL, or have them precompiled into a binary to avoid any 54981 lookup. Therefore, binary compatibility needs to be preserved 54982 on changes to types. (Use versioned type names to manage 54983 breaking changes.) 54984 54985 Note: this functionality is not currently available in the 54986 official 54987 54988 protobuf release, and it is not used for type URLs beginning with 54989 54990 type.googleapis.com. 54991 54992 54993 Schemes other than `http`, `https` (or the empty scheme) might be 54994 54995 used with implementation specific semantics. 54996 value: 54997 type: string 54998 format: byte 54999 description: >- 55000 Must be a valid serialized protocol buffer of the above specified 55001 type. 55002 description: >- 55003 `Any` contains an arbitrary serialized protocol buffer message along 55004 with a 55005 55006 URL that describes the type of the serialized message. 55007 55008 55009 Protobuf library provides support to pack/unpack Any values in the 55010 form 55011 55012 of utility functions or additional generated methods of the Any type. 55013 55014 55015 Example 1: Pack and unpack a message in C++. 55016 55017 Foo foo = ...; 55018 Any any; 55019 any.PackFrom(foo); 55020 ... 55021 if (any.UnpackTo(&foo)) { 55022 ... 55023 } 55024 55025 Example 2: Pack and unpack a message in Java. 55026 55027 Foo foo = ...; 55028 Any any = Any.pack(foo); 55029 ... 55030 if (any.is(Foo.class)) { 55031 foo = any.unpack(Foo.class); 55032 } 55033 55034 Example 3: Pack and unpack a message in Python. 55035 55036 foo = Foo(...) 55037 any = Any() 55038 any.Pack(foo) 55039 ... 55040 if any.Is(Foo.DESCRIPTOR): 55041 any.Unpack(foo) 55042 ... 55043 55044 Example 4: Pack and unpack a message in Go 55045 55046 foo := &pb.Foo{...} 55047 any, err := ptypes.MarshalAny(foo) 55048 ... 55049 foo := &pb.Foo{} 55050 if err := ptypes.UnmarshalAny(any, foo); err != nil { 55051 ... 55052 } 55053 55054 The pack methods provided by protobuf library will by default use 55055 55056 'type.googleapis.com/full.type.name' as the type URL and the unpack 55057 55058 methods only use the fully qualified type name after the last '/' 55059 55060 in the type URL, for example "foo.bar.com/x/y.z" will yield type 55061 55062 name "y.z". 55063 55064 55065 55066 JSON 55067 55068 ==== 55069 55070 The JSON representation of an `Any` value uses the regular 55071 55072 representation of the deserialized, embedded message, with an 55073 55074 additional field `@type` which contains the type URL. Example: 55075 55076 package google.profile; 55077 message Person { 55078 string first_name = 1; 55079 string last_name = 2; 55080 } 55081 55082 { 55083 "@type": "type.googleapis.com/google.profile.Person", 55084 "firstName": <string>, 55085 "lastName": <string> 55086 } 55087 55088 If the embedded message type is well-known and has a custom JSON 55089 55090 representation, that representation will be embedded adding a field 55091 55092 `value` which holds the custom JSON in addition to the `@type` 55093 55094 field. Example (for message [google.protobuf.Duration][]): 55095 55096 { 55097 "@type": "type.googleapis.com/google.protobuf.Duration", 55098 "value": "1.212s" 55099 } 55100 expiration: 55101 type: string 55102 format: date-time 55103 description: 'Since: cosmos-sdk 0.45.2' 55104 title: >- 55105 GrantAuthorization extends a grant with both the addresses of the grantee 55106 and granter. 55107 55108 It is used in genesis.proto and query.proto 55109 cosmos.authz.v1beta1.QueryGranteeGrantsResponse: 55110 type: object 55111 properties: 55112 grants: 55113 type: array 55114 items: 55115 type: object 55116 properties: 55117 granter: 55118 type: string 55119 grantee: 55120 type: string 55121 authorization: 55122 type: object 55123 properties: 55124 type_url: 55125 type: string 55126 description: >- 55127 A URL/resource name that uniquely identifies the type of the 55128 serialized 55129 55130 protocol buffer message. This string must contain at least 55131 55132 one "/" character. The last segment of the URL's path must 55133 represent 55134 55135 the fully qualified name of the type (as in 55136 55137 `path/google.protobuf.Duration`). The name should be in a 55138 canonical form 55139 55140 (e.g., leading "." is not accepted). 55141 55142 55143 In practice, teams usually precompile into the binary all 55144 types that they 55145 55146 expect it to use in the context of Any. However, for URLs 55147 which use the 55148 55149 scheme `http`, `https`, or no scheme, one can optionally set 55150 up a type 55151 55152 server that maps type URLs to message definitions as 55153 follows: 55154 55155 55156 * If no scheme is provided, `https` is assumed. 55157 55158 * An HTTP GET on the URL must yield a 55159 [google.protobuf.Type][] 55160 value in binary format, or produce an error. 55161 * Applications are allowed to cache lookup results based on 55162 the 55163 URL, or have them precompiled into a binary to avoid any 55164 lookup. Therefore, binary compatibility needs to be preserved 55165 on changes to types. (Use versioned type names to manage 55166 breaking changes.) 55167 55168 Note: this functionality is not currently available in the 55169 official 55170 55171 protobuf release, and it is not used for type URLs beginning 55172 with 55173 55174 type.googleapis.com. 55175 55176 55177 Schemes other than `http`, `https` (or the empty scheme) 55178 might be 55179 55180 used with implementation specific semantics. 55181 value: 55182 type: string 55183 format: byte 55184 description: >- 55185 Must be a valid serialized protocol buffer of the above 55186 specified type. 55187 description: >- 55188 `Any` contains an arbitrary serialized protocol buffer message 55189 along with a 55190 55191 URL that describes the type of the serialized message. 55192 55193 55194 Protobuf library provides support to pack/unpack Any values in 55195 the form 55196 55197 of utility functions or additional generated methods of the Any 55198 type. 55199 55200 55201 Example 1: Pack and unpack a message in C++. 55202 55203 Foo foo = ...; 55204 Any any; 55205 any.PackFrom(foo); 55206 ... 55207 if (any.UnpackTo(&foo)) { 55208 ... 55209 } 55210 55211 Example 2: Pack and unpack a message in Java. 55212 55213 Foo foo = ...; 55214 Any any = Any.pack(foo); 55215 ... 55216 if (any.is(Foo.class)) { 55217 foo = any.unpack(Foo.class); 55218 } 55219 55220 Example 3: Pack and unpack a message in Python. 55221 55222 foo = Foo(...) 55223 any = Any() 55224 any.Pack(foo) 55225 ... 55226 if any.Is(Foo.DESCRIPTOR): 55227 any.Unpack(foo) 55228 ... 55229 55230 Example 4: Pack and unpack a message in Go 55231 55232 foo := &pb.Foo{...} 55233 any, err := ptypes.MarshalAny(foo) 55234 ... 55235 foo := &pb.Foo{} 55236 if err := ptypes.UnmarshalAny(any, foo); err != nil { 55237 ... 55238 } 55239 55240 The pack methods provided by protobuf library will by default 55241 use 55242 55243 'type.googleapis.com/full.type.name' as the type URL and the 55244 unpack 55245 55246 methods only use the fully qualified type name after the last 55247 '/' 55248 55249 in the type URL, for example "foo.bar.com/x/y.z" will yield type 55250 55251 name "y.z". 55252 55253 55254 55255 JSON 55256 55257 ==== 55258 55259 The JSON representation of an `Any` value uses the regular 55260 55261 representation of the deserialized, embedded message, with an 55262 55263 additional field `@type` which contains the type URL. Example: 55264 55265 package google.profile; 55266 message Person { 55267 string first_name = 1; 55268 string last_name = 2; 55269 } 55270 55271 { 55272 "@type": "type.googleapis.com/google.profile.Person", 55273 "firstName": <string>, 55274 "lastName": <string> 55275 } 55276 55277 If the embedded message type is well-known and has a custom JSON 55278 55279 representation, that representation will be embedded adding a 55280 field 55281 55282 `value` which holds the custom JSON in addition to the `@type` 55283 55284 field. Example (for message [google.protobuf.Duration][]): 55285 55286 { 55287 "@type": "type.googleapis.com/google.protobuf.Duration", 55288 "value": "1.212s" 55289 } 55290 expiration: 55291 type: string 55292 format: date-time 55293 description: 'Since: cosmos-sdk 0.45.2' 55294 title: >- 55295 GrantAuthorization extends a grant with both the addresses of the 55296 grantee and granter. 55297 55298 It is used in genesis.proto and query.proto 55299 description: grants is a list of grants granted to the grantee. 55300 pagination: 55301 description: pagination defines an pagination for the response. 55302 type: object 55303 properties: 55304 next_key: 55305 type: string 55306 format: byte 55307 title: |- 55308 next_key is the key to be passed to PageRequest.key to 55309 query the next page most efficiently 55310 total: 55311 type: string 55312 format: uint64 55313 title: >- 55314 total is total number of results available if 55315 PageRequest.count_total 55316 55317 was set, its value is undefined otherwise 55318 description: >- 55319 QueryGranteeGrantsResponse is the response type for the 55320 Query/GranteeGrants RPC method. 55321 cosmos.authz.v1beta1.QueryGranterGrantsResponse: 55322 type: object 55323 properties: 55324 grants: 55325 type: array 55326 items: 55327 type: object 55328 properties: 55329 granter: 55330 type: string 55331 grantee: 55332 type: string 55333 authorization: 55334 type: object 55335 properties: 55336 type_url: 55337 type: string 55338 description: >- 55339 A URL/resource name that uniquely identifies the type of the 55340 serialized 55341 55342 protocol buffer message. This string must contain at least 55343 55344 one "/" character. The last segment of the URL's path must 55345 represent 55346 55347 the fully qualified name of the type (as in 55348 55349 `path/google.protobuf.Duration`). The name should be in a 55350 canonical form 55351 55352 (e.g., leading "." is not accepted). 55353 55354 55355 In practice, teams usually precompile into the binary all 55356 types that they 55357 55358 expect it to use in the context of Any. However, for URLs 55359 which use the 55360 55361 scheme `http`, `https`, or no scheme, one can optionally set 55362 up a type 55363 55364 server that maps type URLs to message definitions as 55365 follows: 55366 55367 55368 * If no scheme is provided, `https` is assumed. 55369 55370 * An HTTP GET on the URL must yield a 55371 [google.protobuf.Type][] 55372 value in binary format, or produce an error. 55373 * Applications are allowed to cache lookup results based on 55374 the 55375 URL, or have them precompiled into a binary to avoid any 55376 lookup. Therefore, binary compatibility needs to be preserved 55377 on changes to types. (Use versioned type names to manage 55378 breaking changes.) 55379 55380 Note: this functionality is not currently available in the 55381 official 55382 55383 protobuf release, and it is not used for type URLs beginning 55384 with 55385 55386 type.googleapis.com. 55387 55388 55389 Schemes other than `http`, `https` (or the empty scheme) 55390 might be 55391 55392 used with implementation specific semantics. 55393 value: 55394 type: string 55395 format: byte 55396 description: >- 55397 Must be a valid serialized protocol buffer of the above 55398 specified type. 55399 description: >- 55400 `Any` contains an arbitrary serialized protocol buffer message 55401 along with a 55402 55403 URL that describes the type of the serialized message. 55404 55405 55406 Protobuf library provides support to pack/unpack Any values in 55407 the form 55408 55409 of utility functions or additional generated methods of the Any 55410 type. 55411 55412 55413 Example 1: Pack and unpack a message in C++. 55414 55415 Foo foo = ...; 55416 Any any; 55417 any.PackFrom(foo); 55418 ... 55419 if (any.UnpackTo(&foo)) { 55420 ... 55421 } 55422 55423 Example 2: Pack and unpack a message in Java. 55424 55425 Foo foo = ...; 55426 Any any = Any.pack(foo); 55427 ... 55428 if (any.is(Foo.class)) { 55429 foo = any.unpack(Foo.class); 55430 } 55431 55432 Example 3: Pack and unpack a message in Python. 55433 55434 foo = Foo(...) 55435 any = Any() 55436 any.Pack(foo) 55437 ... 55438 if any.Is(Foo.DESCRIPTOR): 55439 any.Unpack(foo) 55440 ... 55441 55442 Example 4: Pack and unpack a message in Go 55443 55444 foo := &pb.Foo{...} 55445 any, err := ptypes.MarshalAny(foo) 55446 ... 55447 foo := &pb.Foo{} 55448 if err := ptypes.UnmarshalAny(any, foo); err != nil { 55449 ... 55450 } 55451 55452 The pack methods provided by protobuf library will by default 55453 use 55454 55455 'type.googleapis.com/full.type.name' as the type URL and the 55456 unpack 55457 55458 methods only use the fully qualified type name after the last 55459 '/' 55460 55461 in the type URL, for example "foo.bar.com/x/y.z" will yield type 55462 55463 name "y.z". 55464 55465 55466 55467 JSON 55468 55469 ==== 55470 55471 The JSON representation of an `Any` value uses the regular 55472 55473 representation of the deserialized, embedded message, with an 55474 55475 additional field `@type` which contains the type URL. Example: 55476 55477 package google.profile; 55478 message Person { 55479 string first_name = 1; 55480 string last_name = 2; 55481 } 55482 55483 { 55484 "@type": "type.googleapis.com/google.profile.Person", 55485 "firstName": <string>, 55486 "lastName": <string> 55487 } 55488 55489 If the embedded message type is well-known and has a custom JSON 55490 55491 representation, that representation will be embedded adding a 55492 field 55493 55494 `value` which holds the custom JSON in addition to the `@type` 55495 55496 field. Example (for message [google.protobuf.Duration][]): 55497 55498 { 55499 "@type": "type.googleapis.com/google.protobuf.Duration", 55500 "value": "1.212s" 55501 } 55502 expiration: 55503 type: string 55504 format: date-time 55505 description: 'Since: cosmos-sdk 0.45.2' 55506 title: >- 55507 GrantAuthorization extends a grant with both the addresses of the 55508 grantee and granter. 55509 55510 It is used in genesis.proto and query.proto 55511 description: grants is a list of grants granted by the granter. 55512 pagination: 55513 description: pagination defines an pagination for the response. 55514 type: object 55515 properties: 55516 next_key: 55517 type: string 55518 format: byte 55519 title: |- 55520 next_key is the key to be passed to PageRequest.key to 55521 query the next page most efficiently 55522 total: 55523 type: string 55524 format: uint64 55525 title: >- 55526 total is total number of results available if 55527 PageRequest.count_total 55528 55529 was set, its value is undefined otherwise 55530 description: >- 55531 QueryGranterGrantsResponse is the response type for the 55532 Query/GranterGrants RPC method. 55533 cosmos.authz.v1beta1.QueryGrantsResponse: 55534 type: object 55535 properties: 55536 grants: 55537 type: array 55538 items: 55539 type: object 55540 properties: 55541 authorization: 55542 type: object 55543 properties: 55544 type_url: 55545 type: string 55546 description: >- 55547 A URL/resource name that uniquely identifies the type of the 55548 serialized 55549 55550 protocol buffer message. This string must contain at least 55551 55552 one "/" character. The last segment of the URL's path must 55553 represent 55554 55555 the fully qualified name of the type (as in 55556 55557 `path/google.protobuf.Duration`). The name should be in a 55558 canonical form 55559 55560 (e.g., leading "." is not accepted). 55561 55562 55563 In practice, teams usually precompile into the binary all 55564 types that they 55565 55566 expect it to use in the context of Any. However, for URLs 55567 which use the 55568 55569 scheme `http`, `https`, or no scheme, one can optionally set 55570 up a type 55571 55572 server that maps type URLs to message definitions as 55573 follows: 55574 55575 55576 * If no scheme is provided, `https` is assumed. 55577 55578 * An HTTP GET on the URL must yield a 55579 [google.protobuf.Type][] 55580 value in binary format, or produce an error. 55581 * Applications are allowed to cache lookup results based on 55582 the 55583 URL, or have them precompiled into a binary to avoid any 55584 lookup. Therefore, binary compatibility needs to be preserved 55585 on changes to types. (Use versioned type names to manage 55586 breaking changes.) 55587 55588 Note: this functionality is not currently available in the 55589 official 55590 55591 protobuf release, and it is not used for type URLs beginning 55592 with 55593 55594 type.googleapis.com. 55595 55596 55597 Schemes other than `http`, `https` (or the empty scheme) 55598 might be 55599 55600 used with implementation specific semantics. 55601 value: 55602 type: string 55603 format: byte 55604 description: >- 55605 Must be a valid serialized protocol buffer of the above 55606 specified type. 55607 description: >- 55608 `Any` contains an arbitrary serialized protocol buffer message 55609 along with a 55610 55611 URL that describes the type of the serialized message. 55612 55613 55614 Protobuf library provides support to pack/unpack Any values in 55615 the form 55616 55617 of utility functions or additional generated methods of the Any 55618 type. 55619 55620 55621 Example 1: Pack and unpack a message in C++. 55622 55623 Foo foo = ...; 55624 Any any; 55625 any.PackFrom(foo); 55626 ... 55627 if (any.UnpackTo(&foo)) { 55628 ... 55629 } 55630 55631 Example 2: Pack and unpack a message in Java. 55632 55633 Foo foo = ...; 55634 Any any = Any.pack(foo); 55635 ... 55636 if (any.is(Foo.class)) { 55637 foo = any.unpack(Foo.class); 55638 } 55639 55640 Example 3: Pack and unpack a message in Python. 55641 55642 foo = Foo(...) 55643 any = Any() 55644 any.Pack(foo) 55645 ... 55646 if any.Is(Foo.DESCRIPTOR): 55647 any.Unpack(foo) 55648 ... 55649 55650 Example 4: Pack and unpack a message in Go 55651 55652 foo := &pb.Foo{...} 55653 any, err := ptypes.MarshalAny(foo) 55654 ... 55655 foo := &pb.Foo{} 55656 if err := ptypes.UnmarshalAny(any, foo); err != nil { 55657 ... 55658 } 55659 55660 The pack methods provided by protobuf library will by default 55661 use 55662 55663 'type.googleapis.com/full.type.name' as the type URL and the 55664 unpack 55665 55666 methods only use the fully qualified type name after the last 55667 '/' 55668 55669 in the type URL, for example "foo.bar.com/x/y.z" will yield type 55670 55671 name "y.z". 55672 55673 55674 55675 JSON 55676 55677 ==== 55678 55679 The JSON representation of an `Any` value uses the regular 55680 55681 representation of the deserialized, embedded message, with an 55682 55683 additional field `@type` which contains the type URL. Example: 55684 55685 package google.profile; 55686 message Person { 55687 string first_name = 1; 55688 string last_name = 2; 55689 } 55690 55691 { 55692 "@type": "type.googleapis.com/google.profile.Person", 55693 "firstName": <string>, 55694 "lastName": <string> 55695 } 55696 55697 If the embedded message type is well-known and has a custom JSON 55698 55699 representation, that representation will be embedded adding a 55700 field 55701 55702 `value` which holds the custom JSON in addition to the `@type` 55703 55704 field. Example (for message [google.protobuf.Duration][]): 55705 55706 { 55707 "@type": "type.googleapis.com/google.protobuf.Duration", 55708 "value": "1.212s" 55709 } 55710 expiration: 55711 type: string 55712 format: date-time 55713 description: |- 55714 Grant gives permissions to execute 55715 the provide method with expiration time. 55716 description: authorizations is a list of grants granted for grantee by granter. 55717 pagination: 55718 description: pagination defines an pagination for the response. 55719 type: object 55720 properties: 55721 next_key: 55722 type: string 55723 format: byte 55724 title: |- 55725 next_key is the key to be passed to PageRequest.key to 55726 query the next page most efficiently 55727 total: 55728 type: string 55729 format: uint64 55730 title: >- 55731 total is total number of results available if 55732 PageRequest.count_total 55733 55734 was set, its value is undefined otherwise 55735 description: >- 55736 QueryGrantsResponse is the response type for the Query/Authorizations RPC 55737 method. 55738 lbm.foundation.v1.Censorship: 55739 type: object 55740 properties: 55741 msg_type_url: 55742 type: string 55743 authority: 55744 type: string 55745 enum: 55746 - CENSORSHIP_AUTHORITY_UNSPECIFIED 55747 - CENSORSHIP_AUTHORITY_GOVERNANCE 55748 - CENSORSHIP_AUTHORITY_FOUNDATION 55749 default: CENSORSHIP_AUTHORITY_UNSPECIFIED 55750 description: |2- 55751 - CENSORSHIP_AUTHORITY_UNSPECIFIED: CENSORSHIP_AUTHORITY_UNSPECIFIED defines an invalid authority. 55752 - CENSORSHIP_AUTHORITY_GOVERNANCE: CENSORSHIP_AUTHORITY_GOVERNANCE defines x/gov authority. 55753 - CENSORSHIP_AUTHORITY_FOUNDATION: CENSORSHIP_AUTHORITY_FOUNDATION defines x/foundation authority. 55754 lbm.foundation.v1.CensorshipAuthority: 55755 type: string 55756 enum: 55757 - CENSORSHIP_AUTHORITY_UNSPECIFIED 55758 - CENSORSHIP_AUTHORITY_GOVERNANCE 55759 - CENSORSHIP_AUTHORITY_FOUNDATION 55760 default: CENSORSHIP_AUTHORITY_UNSPECIFIED 55761 description: |2- 55762 - CENSORSHIP_AUTHORITY_UNSPECIFIED: CENSORSHIP_AUTHORITY_UNSPECIFIED defines an invalid authority. 55763 - CENSORSHIP_AUTHORITY_GOVERNANCE: CENSORSHIP_AUTHORITY_GOVERNANCE defines x/gov authority. 55764 - CENSORSHIP_AUTHORITY_FOUNDATION: CENSORSHIP_AUTHORITY_FOUNDATION defines x/foundation authority. 55765 lbm.foundation.v1.FoundationInfo: 55766 type: object 55767 properties: 55768 version: 55769 type: string 55770 format: uint64 55771 title: >- 55772 version is used to track changes to the foundation's membership 55773 structure that 55774 55775 would break existing proposals. Whenever any member is added or 55776 removed, 55777 55778 this version is incremented and will cause proposals based on older 55779 versions 55780 55781 of the foundation to fail 55782 total_weight: 55783 type: string 55784 description: total_weight is the number of the foundation members. 55785 decision_policy: 55786 type: object 55787 properties: 55788 type_url: 55789 type: string 55790 description: >- 55791 A URL/resource name that uniquely identifies the type of the 55792 serialized 55793 55794 protocol buffer message. This string must contain at least 55795 55796 one "/" character. The last segment of the URL's path must 55797 represent 55798 55799 the fully qualified name of the type (as in 55800 55801 `path/google.protobuf.Duration`). The name should be in a 55802 canonical form 55803 55804 (e.g., leading "." is not accepted). 55805 55806 55807 In practice, teams usually precompile into the binary all types 55808 that they 55809 55810 expect it to use in the context of Any. However, for URLs which 55811 use the 55812 55813 scheme `http`, `https`, or no scheme, one can optionally set up a 55814 type 55815 55816 server that maps type URLs to message definitions as follows: 55817 55818 55819 * If no scheme is provided, `https` is assumed. 55820 55821 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 55822 value in binary format, or produce an error. 55823 * Applications are allowed to cache lookup results based on the 55824 URL, or have them precompiled into a binary to avoid any 55825 lookup. Therefore, binary compatibility needs to be preserved 55826 on changes to types. (Use versioned type names to manage 55827 breaking changes.) 55828 55829 Note: this functionality is not currently available in the 55830 official 55831 55832 protobuf release, and it is not used for type URLs beginning with 55833 55834 type.googleapis.com. 55835 55836 55837 Schemes other than `http`, `https` (or the empty scheme) 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 specified 55845 type. 55846 description: >- 55847 `Any` contains an arbitrary serialized protocol buffer message along 55848 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 the 55854 form 55855 55856 of utility functions or additional generated methods of the Any type. 55857 55858 55859 Example 1: Pack and unpack a message in C++. 55860 55861 Foo foo = ...; 55862 Any any; 55863 any.PackFrom(foo); 55864 ... 55865 if (any.UnpackTo(&foo)) { 55866 ... 55867 } 55868 55869 Example 2: Pack and unpack a message in Java. 55870 55871 Foo foo = ...; 55872 Any any = Any.pack(foo); 55873 ... 55874 if (any.is(Foo.class)) { 55875 foo = any.unpack(Foo.class); 55876 } 55877 55878 Example 3: Pack and unpack a message in Python. 55879 55880 foo = Foo(...) 55881 any = Any() 55882 any.Pack(foo) 55883 ... 55884 if any.Is(Foo.DESCRIPTOR): 55885 any.Unpack(foo) 55886 ... 55887 55888 Example 4: Pack and unpack a message in Go 55889 55890 foo := &pb.Foo{...} 55891 any, err := ptypes.MarshalAny(foo) 55892 ... 55893 foo := &pb.Foo{} 55894 if err := ptypes.UnmarshalAny(any, foo); err != nil { 55895 ... 55896 } 55897 55898 The pack methods provided by protobuf library will by default use 55899 55900 'type.googleapis.com/full.type.name' as the type URL and the unpack 55901 55902 methods only use the fully qualified type name after the last '/' 55903 55904 in the type URL, for example "foo.bar.com/x/y.z" will yield type 55905 55906 name "y.z". 55907 55908 55909 55910 JSON 55911 55912 ==== 55913 55914 The JSON representation of an `Any` value uses the regular 55915 55916 representation of the deserialized, embedded message, with an 55917 55918 additional field `@type` which contains the type URL. Example: 55919 55920 package google.profile; 55921 message Person { 55922 string first_name = 1; 55923 string last_name = 2; 55924 } 55925 55926 { 55927 "@type": "type.googleapis.com/google.profile.Person", 55928 "firstName": <string>, 55929 "lastName": <string> 55930 } 55931 55932 If the embedded message type is well-known and has a custom JSON 55933 55934 representation, that representation will be embedded adding a field 55935 55936 `value` which holds the custom JSON in addition to the `@type` 55937 55938 field. Example (for message [google.protobuf.Duration][]): 55939 55940 { 55941 "@type": "type.googleapis.com/google.protobuf.Duration", 55942 "value": "1.212s" 55943 } 55944 description: >- 55945 FoundationInfo represents the high-level on-chain information for the 55946 foundation. 55947 lbm.foundation.v1.Member: 55948 type: object 55949 properties: 55950 address: 55951 type: string 55952 description: address is the member's account address. 55953 metadata: 55954 type: string 55955 description: metadata is any arbitrary metadata to attached to the member. 55956 added_at: 55957 type: string 55958 format: date-time 55959 description: added_at is a timestamp specifying when a member was added. 55960 description: >- 55961 Member represents a foundation member with an account address and 55962 metadata. 55963 lbm.foundation.v1.Params: 55964 type: object 55965 properties: 55966 foundation_tax: 55967 type: string 55968 description: Params defines the parameters for the foundation module. 55969 lbm.foundation.v1.Proposal: 55970 type: object 55971 properties: 55972 id: 55973 type: string 55974 format: uint64 55975 description: id is the unique id of the proposal. 55976 metadata: 55977 type: string 55978 description: metadata is any arbitrary metadata to attached to the proposal. 55979 proposers: 55980 type: array 55981 items: 55982 type: string 55983 description: proposers are the account addresses of the proposers. 55984 submit_time: 55985 type: string 55986 format: date-time 55987 description: submit_time is a timestamp specifying when a proposal was submitted. 55988 foundation_version: 55989 type: string 55990 format: uint64 55991 description: >- 55992 foundation_version tracks the version of the foundation that this 55993 proposal corresponds to. 55994 55995 When foundation info is changed, existing proposals from previous 55996 foundation versions will become invalid. 55997 status: 55998 description: >- 55999 status represents the high level position in the life cycle of the 56000 proposal. Initial value is Submitted. 56001 type: string 56002 enum: 56003 - PROPOSAL_STATUS_UNSPECIFIED 56004 - PROPOSAL_STATUS_SUBMITTED 56005 - PROPOSAL_STATUS_ACCEPTED 56006 - PROPOSAL_STATUS_REJECTED 56007 - PROPOSAL_STATUS_ABORTED 56008 - PROPOSAL_STATUS_WITHDRAWN 56009 default: PROPOSAL_STATUS_UNSPECIFIED 56010 final_tally_result: 56011 description: >- 56012 final_tally_result contains the sums of all votes for this 56013 56014 proposal for each vote option, after tallying. When querying a 56015 proposal 56016 56017 via gRPC, this field is not populated until the proposal's voting 56018 period 56019 56020 has ended. 56021 type: object 56022 properties: 56023 yes_count: 56024 type: string 56025 description: yes_count is the sum of yes votes. 56026 abstain_count: 56027 type: string 56028 description: abstain_count is the sum of abstainers. 56029 no_count: 56030 type: string 56031 description: no is the sum of no votes. 56032 no_with_veto_count: 56033 type: string 56034 description: no_with_veto_count is the sum of veto. 56035 voting_period_end: 56036 type: string 56037 format: date-time 56038 description: >- 56039 voting_period_end is the timestamp before which voting must be done. 56040 56041 Unless a successfull MsgExec is called before (to execute a proposal 56042 whose 56043 56044 tally is successful before the voting period ends), tallying will be 56045 done 56046 56047 at this point, and the `final_tally_result`, as well 56048 56049 as `status` and `result` fields will be accordingly updated. 56050 executor_result: 56051 description: >- 56052 executor_result is the final result based on the votes and election 56053 rule. Initial value is NotRun. 56054 type: string 56055 enum: 56056 - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 56057 - PROPOSAL_EXECUTOR_RESULT_NOT_RUN 56058 - PROPOSAL_EXECUTOR_RESULT_SUCCESS 56059 - PROPOSAL_EXECUTOR_RESULT_FAILURE 56060 default: PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 56061 messages: 56062 type: array 56063 items: 56064 type: object 56065 properties: 56066 type_url: 56067 type: string 56068 description: >- 56069 A URL/resource name that uniquely identifies the type of the 56070 serialized 56071 56072 protocol buffer message. This string must contain at least 56073 56074 one "/" character. The last segment of the URL's path must 56075 represent 56076 56077 the fully qualified name of the type (as in 56078 56079 `path/google.protobuf.Duration`). The name should be in a 56080 canonical form 56081 56082 (e.g., leading "." is not accepted). 56083 56084 56085 In practice, teams usually precompile into the binary all types 56086 that they 56087 56088 expect it to use in the context of Any. However, for URLs which 56089 use the 56090 56091 scheme `http`, `https`, or no scheme, one can optionally set up 56092 a type 56093 56094 server that maps type URLs to message definitions as follows: 56095 56096 56097 * If no scheme is provided, `https` is assumed. 56098 56099 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 56100 value in binary format, or produce an error. 56101 * Applications are allowed to cache lookup results based on the 56102 URL, or have them precompiled into a binary to avoid any 56103 lookup. Therefore, binary compatibility needs to be preserved 56104 on changes to types. (Use versioned type names to manage 56105 breaking changes.) 56106 56107 Note: this functionality is not currently available in the 56108 official 56109 56110 protobuf release, and it is not used for type URLs beginning 56111 with 56112 56113 type.googleapis.com. 56114 56115 56116 Schemes other than `http`, `https` (or the empty scheme) might 56117 be 56118 56119 used with implementation specific semantics. 56120 value: 56121 type: string 56122 format: byte 56123 description: >- 56124 Must be a valid serialized protocol buffer of the above 56125 specified type. 56126 description: >- 56127 `Any` contains an arbitrary serialized protocol buffer message along 56128 with a 56129 56130 URL that describes the type of the serialized message. 56131 56132 56133 Protobuf library provides support to pack/unpack Any values in the 56134 form 56135 56136 of utility functions or additional generated methods of the Any 56137 type. 56138 56139 56140 Example 1: Pack and unpack a message in C++. 56141 56142 Foo foo = ...; 56143 Any any; 56144 any.PackFrom(foo); 56145 ... 56146 if (any.UnpackTo(&foo)) { 56147 ... 56148 } 56149 56150 Example 2: Pack and unpack a message in Java. 56151 56152 Foo foo = ...; 56153 Any any = Any.pack(foo); 56154 ... 56155 if (any.is(Foo.class)) { 56156 foo = any.unpack(Foo.class); 56157 } 56158 56159 Example 3: Pack and unpack a message in Python. 56160 56161 foo = Foo(...) 56162 any = Any() 56163 any.Pack(foo) 56164 ... 56165 if any.Is(Foo.DESCRIPTOR): 56166 any.Unpack(foo) 56167 ... 56168 56169 Example 4: Pack and unpack a message in Go 56170 56171 foo := &pb.Foo{...} 56172 any, err := ptypes.MarshalAny(foo) 56173 ... 56174 foo := &pb.Foo{} 56175 if err := ptypes.UnmarshalAny(any, foo); err != nil { 56176 ... 56177 } 56178 56179 The pack methods provided by protobuf library will by default use 56180 56181 'type.googleapis.com/full.type.name' as the type URL and the unpack 56182 56183 methods only use the fully qualified type name after the last '/' 56184 56185 in the type URL, for example "foo.bar.com/x/y.z" will yield type 56186 56187 name "y.z". 56188 56189 56190 56191 JSON 56192 56193 ==== 56194 56195 The JSON representation of an `Any` value uses the regular 56196 56197 representation of the deserialized, embedded message, with an 56198 56199 additional field `@type` which contains the type URL. Example: 56200 56201 package google.profile; 56202 message Person { 56203 string first_name = 1; 56204 string last_name = 2; 56205 } 56206 56207 { 56208 "@type": "type.googleapis.com/google.profile.Person", 56209 "firstName": <string>, 56210 "lastName": <string> 56211 } 56212 56213 If the embedded message type is well-known and has a custom JSON 56214 56215 representation, that representation will be embedded adding a field 56216 56217 `value` which holds the custom JSON in addition to the `@type` 56218 56219 field. Example (for message [google.protobuf.Duration][]): 56220 56221 { 56222 "@type": "type.googleapis.com/google.protobuf.Duration", 56223 "value": "1.212s" 56224 } 56225 description: >- 56226 messages is a list of Msgs that will be executed if the proposal 56227 passes. 56228 description: >- 56229 Proposal defines a foundation proposal. Any member of the foundation can 56230 submit a proposal 56231 56232 for a group policy to decide upon. 56233 56234 A proposal consists of a set of `sdk.Msg`s that will be executed if the 56235 proposal 56236 56237 passes as well as some optional metadata associated with the proposal. 56238 lbm.foundation.v1.ProposalExecutorResult: 56239 type: string 56240 enum: 56241 - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 56242 - PROPOSAL_EXECUTOR_RESULT_NOT_RUN 56243 - PROPOSAL_EXECUTOR_RESULT_SUCCESS 56244 - PROPOSAL_EXECUTOR_RESULT_FAILURE 56245 default: PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 56246 description: |- 56247 ProposalExecutorResult defines types of proposal executor results. 56248 56249 - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED: An empty value is not allowed. 56250 - PROPOSAL_EXECUTOR_RESULT_NOT_RUN: We have not yet run the executor. 56251 - PROPOSAL_EXECUTOR_RESULT_SUCCESS: The executor was successful and proposed action updated state. 56252 - PROPOSAL_EXECUTOR_RESULT_FAILURE: The executor returned an error and proposed action didn't update state. 56253 lbm.foundation.v1.ProposalStatus: 56254 type: string 56255 enum: 56256 - PROPOSAL_STATUS_UNSPECIFIED 56257 - PROPOSAL_STATUS_SUBMITTED 56258 - PROPOSAL_STATUS_ACCEPTED 56259 - PROPOSAL_STATUS_REJECTED 56260 - PROPOSAL_STATUS_ABORTED 56261 - PROPOSAL_STATUS_WITHDRAWN 56262 default: PROPOSAL_STATUS_UNSPECIFIED 56263 description: |- 56264 ProposalStatus defines proposal statuses. 56265 56266 - PROPOSAL_STATUS_UNSPECIFIED: An empty value is invalid and not allowed. 56267 - PROPOSAL_STATUS_SUBMITTED: Initial status of a proposal when submitted. 56268 - PROPOSAL_STATUS_ACCEPTED: Final status of a proposal when the final tally is done and the outcome 56269 passes the foundation's decision policy. 56270 - PROPOSAL_STATUS_REJECTED: Final status of a proposal when the final tally is done and the outcome 56271 is rejected by the foundation's decision policy. 56272 - PROPOSAL_STATUS_ABORTED: Final status of a proposal when the decision policy is modified before the 56273 final tally. 56274 - PROPOSAL_STATUS_WITHDRAWN: A proposal can be withdrawn before the voting start time by the owner. 56275 When this happens the final status is Withdrawn. 56276 lbm.foundation.v1.QueryCensorshipsResponse: 56277 type: object 56278 properties: 56279 censorships: 56280 type: array 56281 items: 56282 type: object 56283 properties: 56284 msg_type_url: 56285 type: string 56286 authority: 56287 type: string 56288 enum: 56289 - CENSORSHIP_AUTHORITY_UNSPECIFIED 56290 - CENSORSHIP_AUTHORITY_GOVERNANCE 56291 - CENSORSHIP_AUTHORITY_FOUNDATION 56292 default: CENSORSHIP_AUTHORITY_UNSPECIFIED 56293 description: |2- 56294 - CENSORSHIP_AUTHORITY_UNSPECIFIED: CENSORSHIP_AUTHORITY_UNSPECIFIED defines an invalid authority. 56295 - CENSORSHIP_AUTHORITY_GOVERNANCE: CENSORSHIP_AUTHORITY_GOVERNANCE defines x/gov authority. 56296 - CENSORSHIP_AUTHORITY_FOUNDATION: CENSORSHIP_AUTHORITY_FOUNDATION defines x/foundation authority. 56297 description: authorizations is a list of grants granted for grantee. 56298 pagination: 56299 description: pagination defines the pagination in the response. 56300 type: object 56301 properties: 56302 next_key: 56303 type: string 56304 format: byte 56305 title: |- 56306 next_key is the key to be passed to PageRequest.key to 56307 query the next page most efficiently 56308 total: 56309 type: string 56310 format: uint64 56311 title: >- 56312 total is total number of results available if 56313 PageRequest.count_total 56314 56315 was set, its value is undefined otherwise 56316 description: >- 56317 QueryCensorshipsResponse is the response type for the Query/Censorships 56318 RPC method. 56319 lbm.foundation.v1.QueryFoundationInfoResponse: 56320 type: object 56321 properties: 56322 info: 56323 description: info is the FoundationInfo for the foundation. 56324 type: object 56325 properties: 56326 version: 56327 type: string 56328 format: uint64 56329 title: >- 56330 version is used to track changes to the foundation's membership 56331 structure that 56332 56333 would break existing proposals. Whenever any member is added or 56334 removed, 56335 56336 this version is incremented and will cause proposals based on 56337 older versions 56338 56339 of the foundation to fail 56340 total_weight: 56341 type: string 56342 description: total_weight is the number of the foundation members. 56343 decision_policy: 56344 type: object 56345 properties: 56346 type_url: 56347 type: string 56348 description: >- 56349 A URL/resource name that uniquely identifies the type of the 56350 serialized 56351 56352 protocol buffer message. This string must contain at least 56353 56354 one "/" character. The last segment of the URL's path must 56355 represent 56356 56357 the fully qualified name of the type (as in 56358 56359 `path/google.protobuf.Duration`). The name should be in a 56360 canonical form 56361 56362 (e.g., leading "." is not accepted). 56363 56364 56365 In practice, teams usually precompile into the binary all 56366 types that they 56367 56368 expect it to use in the context of Any. However, for URLs 56369 which use the 56370 56371 scheme `http`, `https`, or no scheme, one can optionally set 56372 up a type 56373 56374 server that maps type URLs to message definitions as follows: 56375 56376 56377 * If no scheme is provided, `https` is assumed. 56378 56379 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 56380 value in binary format, or produce an error. 56381 * Applications are allowed to cache lookup results based on 56382 the 56383 URL, or have them precompiled into a binary to avoid any 56384 lookup. Therefore, binary compatibility needs to be preserved 56385 on changes to types. (Use versioned type names to manage 56386 breaking changes.) 56387 56388 Note: this functionality is not currently available in the 56389 official 56390 56391 protobuf release, and it is not used for type URLs beginning 56392 with 56393 56394 type.googleapis.com. 56395 56396 56397 Schemes other than `http`, `https` (or the empty scheme) might 56398 be 56399 56400 used with implementation specific semantics. 56401 value: 56402 type: string 56403 format: byte 56404 description: >- 56405 Must be a valid serialized protocol buffer of the above 56406 specified type. 56407 description: >- 56408 `Any` contains an arbitrary serialized protocol buffer message 56409 along with a 56410 56411 URL that describes the type of the serialized message. 56412 56413 56414 Protobuf library provides support to pack/unpack Any values in the 56415 form 56416 56417 of utility functions or additional generated methods of the Any 56418 type. 56419 56420 56421 Example 1: Pack and unpack a message in C++. 56422 56423 Foo foo = ...; 56424 Any any; 56425 any.PackFrom(foo); 56426 ... 56427 if (any.UnpackTo(&foo)) { 56428 ... 56429 } 56430 56431 Example 2: Pack and unpack a message in Java. 56432 56433 Foo foo = ...; 56434 Any any = Any.pack(foo); 56435 ... 56436 if (any.is(Foo.class)) { 56437 foo = any.unpack(Foo.class); 56438 } 56439 56440 Example 3: Pack and unpack a message in Python. 56441 56442 foo = Foo(...) 56443 any = Any() 56444 any.Pack(foo) 56445 ... 56446 if any.Is(Foo.DESCRIPTOR): 56447 any.Unpack(foo) 56448 ... 56449 56450 Example 4: Pack and unpack a message in Go 56451 56452 foo := &pb.Foo{...} 56453 any, err := ptypes.MarshalAny(foo) 56454 ... 56455 foo := &pb.Foo{} 56456 if err := ptypes.UnmarshalAny(any, foo); err != nil { 56457 ... 56458 } 56459 56460 The pack methods provided by protobuf library will by default use 56461 56462 'type.googleapis.com/full.type.name' as the type URL and the 56463 unpack 56464 56465 methods only use the fully qualified type name after the last '/' 56466 56467 in the type URL, for example "foo.bar.com/x/y.z" will yield type 56468 56469 name "y.z". 56470 56471 56472 56473 JSON 56474 56475 ==== 56476 56477 The JSON representation of an `Any` value uses the regular 56478 56479 representation of the deserialized, embedded message, with an 56480 56481 additional field `@type` which contains the type URL. Example: 56482 56483 package google.profile; 56484 message Person { 56485 string first_name = 1; 56486 string last_name = 2; 56487 } 56488 56489 { 56490 "@type": "type.googleapis.com/google.profile.Person", 56491 "firstName": <string>, 56492 "lastName": <string> 56493 } 56494 56495 If the embedded message type is well-known and has a custom JSON 56496 56497 representation, that representation will be embedded adding a 56498 field 56499 56500 `value` which holds the custom JSON in addition to the `@type` 56501 56502 field. Example (for message [google.protobuf.Duration][]): 56503 56504 { 56505 "@type": "type.googleapis.com/google.protobuf.Duration", 56506 "value": "1.212s" 56507 } 56508 description: QueryFoundationInfoResponse is the Query/FoundationInfo response type. 56509 lbm.foundation.v1.QueryGrantsResponse: 56510 type: object 56511 properties: 56512 authorizations: 56513 type: array 56514 items: 56515 type: object 56516 properties: 56517 type_url: 56518 type: string 56519 description: >- 56520 A URL/resource name that uniquely identifies the type of the 56521 serialized 56522 56523 protocol buffer message. This string must contain at least 56524 56525 one "/" character. The last segment of the URL's path must 56526 represent 56527 56528 the fully qualified name of the type (as in 56529 56530 `path/google.protobuf.Duration`). The name should be in a 56531 canonical form 56532 56533 (e.g., leading "." is not accepted). 56534 56535 56536 In practice, teams usually precompile into the binary all types 56537 that they 56538 56539 expect it to use in the context of Any. However, for URLs which 56540 use the 56541 56542 scheme `http`, `https`, or no scheme, one can optionally set up 56543 a type 56544 56545 server that maps type URLs to message definitions as follows: 56546 56547 56548 * If no scheme is provided, `https` is assumed. 56549 56550 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 56551 value in binary format, or produce an error. 56552 * Applications are allowed to cache lookup results based on the 56553 URL, or have them precompiled into a binary to avoid any 56554 lookup. Therefore, binary compatibility needs to be preserved 56555 on changes to types. (Use versioned type names to manage 56556 breaking changes.) 56557 56558 Note: this functionality is not currently available in the 56559 official 56560 56561 protobuf release, and it is not used for type URLs beginning 56562 with 56563 56564 type.googleapis.com. 56565 56566 56567 Schemes other than `http`, `https` (or the empty scheme) might 56568 be 56569 56570 used with implementation specific semantics. 56571 value: 56572 type: string 56573 format: byte 56574 description: >- 56575 Must be a valid serialized protocol buffer of the above 56576 specified type. 56577 description: >- 56578 `Any` contains an arbitrary serialized protocol buffer message along 56579 with a 56580 56581 URL that describes the type of the serialized message. 56582 56583 56584 Protobuf library provides support to pack/unpack Any values in the 56585 form 56586 56587 of utility functions or additional generated methods of the Any 56588 type. 56589 56590 56591 Example 1: Pack and unpack a message in C++. 56592 56593 Foo foo = ...; 56594 Any any; 56595 any.PackFrom(foo); 56596 ... 56597 if (any.UnpackTo(&foo)) { 56598 ... 56599 } 56600 56601 Example 2: Pack and unpack a message in Java. 56602 56603 Foo foo = ...; 56604 Any any = Any.pack(foo); 56605 ... 56606 if (any.is(Foo.class)) { 56607 foo = any.unpack(Foo.class); 56608 } 56609 56610 Example 3: Pack and unpack a message in Python. 56611 56612 foo = Foo(...) 56613 any = Any() 56614 any.Pack(foo) 56615 ... 56616 if any.Is(Foo.DESCRIPTOR): 56617 any.Unpack(foo) 56618 ... 56619 56620 Example 4: Pack and unpack a message in Go 56621 56622 foo := &pb.Foo{...} 56623 any, err := ptypes.MarshalAny(foo) 56624 ... 56625 foo := &pb.Foo{} 56626 if err := ptypes.UnmarshalAny(any, foo); err != nil { 56627 ... 56628 } 56629 56630 The pack methods provided by protobuf library will by default use 56631 56632 'type.googleapis.com/full.type.name' as the type URL and the unpack 56633 56634 methods only use the fully qualified type name after the last '/' 56635 56636 in the type URL, for example "foo.bar.com/x/y.z" will yield type 56637 56638 name "y.z". 56639 56640 56641 56642 JSON 56643 56644 ==== 56645 56646 The JSON representation of an `Any` value uses the regular 56647 56648 representation of the deserialized, embedded message, with an 56649 56650 additional field `@type` which contains the type URL. Example: 56651 56652 package google.profile; 56653 message Person { 56654 string first_name = 1; 56655 string last_name = 2; 56656 } 56657 56658 { 56659 "@type": "type.googleapis.com/google.profile.Person", 56660 "firstName": <string>, 56661 "lastName": <string> 56662 } 56663 56664 If the embedded message type is well-known and has a custom JSON 56665 56666 representation, that representation will be embedded adding a field 56667 56668 `value` which holds the custom JSON in addition to the `@type` 56669 56670 field. Example (for message [google.protobuf.Duration][]): 56671 56672 { 56673 "@type": "type.googleapis.com/google.protobuf.Duration", 56674 "value": "1.212s" 56675 } 56676 description: authorizations is a list of grants granted for grantee. 56677 pagination: 56678 description: pagination defines the pagination in the response. 56679 type: object 56680 properties: 56681 next_key: 56682 type: string 56683 format: byte 56684 title: |- 56685 next_key is the key to be passed to PageRequest.key to 56686 query the next page most efficiently 56687 total: 56688 type: string 56689 format: uint64 56690 title: >- 56691 total is total number of results available if 56692 PageRequest.count_total 56693 56694 was set, its value is undefined otherwise 56695 description: QueryGrantsResponse is the response type for the Query/Grants RPC method. 56696 lbm.foundation.v1.QueryMemberResponse: 56697 type: object 56698 properties: 56699 member: 56700 type: object 56701 properties: 56702 address: 56703 type: string 56704 description: address is the member's account address. 56705 metadata: 56706 type: string 56707 description: metadata is any arbitrary metadata to attached to the member. 56708 added_at: 56709 type: string 56710 format: date-time 56711 description: added_at is a timestamp specifying when a member was added. 56712 description: >- 56713 Member represents a foundation member with an account address and 56714 metadata. 56715 description: QueryMemberResponse is the Query/MemberResponse response type. 56716 lbm.foundation.v1.QueryMembersResponse: 56717 type: object 56718 properties: 56719 members: 56720 type: array 56721 items: 56722 type: object 56723 properties: 56724 address: 56725 type: string 56726 description: address is the member's account address. 56727 metadata: 56728 type: string 56729 description: metadata is any arbitrary metadata to attached to the member. 56730 added_at: 56731 type: string 56732 format: date-time 56733 description: added_at is a timestamp specifying when a member was added. 56734 description: >- 56735 Member represents a foundation member with an account address and 56736 metadata. 56737 description: members are the members of the foundation. 56738 pagination: 56739 description: pagination defines the pagination in the response. 56740 type: object 56741 properties: 56742 next_key: 56743 type: string 56744 format: byte 56745 title: |- 56746 next_key is the key to be passed to PageRequest.key to 56747 query the next page most efficiently 56748 total: 56749 type: string 56750 format: uint64 56751 title: >- 56752 total is total number of results available if 56753 PageRequest.count_total 56754 56755 was set, its value is undefined otherwise 56756 description: QueryMembersResponse is the Query/MembersResponse response type. 56757 lbm.foundation.v1.QueryParamsResponse: 56758 type: object 56759 properties: 56760 params: 56761 type: object 56762 properties: 56763 foundation_tax: 56764 type: string 56765 description: Params defines the parameters for the foundation module. 56766 description: QueryParamsResponse is the response type for the Query/Params RPC method. 56767 lbm.foundation.v1.QueryProposalResponse: 56768 type: object 56769 properties: 56770 proposal: 56771 type: object 56772 properties: 56773 id: 56774 type: string 56775 format: uint64 56776 description: id is the unique id of the proposal. 56777 metadata: 56778 type: string 56779 description: metadata is any arbitrary metadata to attached to the proposal. 56780 proposers: 56781 type: array 56782 items: 56783 type: string 56784 description: proposers are the account addresses of the proposers. 56785 submit_time: 56786 type: string 56787 format: date-time 56788 description: >- 56789 submit_time is a timestamp specifying when a proposal was 56790 submitted. 56791 foundation_version: 56792 type: string 56793 format: uint64 56794 description: >- 56795 foundation_version tracks the version of the foundation that this 56796 proposal corresponds to. 56797 56798 When foundation info is changed, existing proposals from previous 56799 foundation versions will become invalid. 56800 status: 56801 description: >- 56802 status represents the high level position in the life cycle of the 56803 proposal. Initial value is Submitted. 56804 type: string 56805 enum: 56806 - PROPOSAL_STATUS_UNSPECIFIED 56807 - PROPOSAL_STATUS_SUBMITTED 56808 - PROPOSAL_STATUS_ACCEPTED 56809 - PROPOSAL_STATUS_REJECTED 56810 - PROPOSAL_STATUS_ABORTED 56811 - PROPOSAL_STATUS_WITHDRAWN 56812 default: PROPOSAL_STATUS_UNSPECIFIED 56813 final_tally_result: 56814 description: >- 56815 final_tally_result contains the sums of all votes for this 56816 56817 proposal for each vote option, after tallying. When querying a 56818 proposal 56819 56820 via gRPC, this field is not populated until the proposal's voting 56821 period 56822 56823 has ended. 56824 type: object 56825 properties: 56826 yes_count: 56827 type: string 56828 description: yes_count is the sum of yes votes. 56829 abstain_count: 56830 type: string 56831 description: abstain_count is the sum of abstainers. 56832 no_count: 56833 type: string 56834 description: no is the sum of no votes. 56835 no_with_veto_count: 56836 type: string 56837 description: no_with_veto_count is the sum of veto. 56838 voting_period_end: 56839 type: string 56840 format: date-time 56841 description: >- 56842 voting_period_end is the timestamp before which voting must be 56843 done. 56844 56845 Unless a successfull MsgExec is called before (to execute a 56846 proposal whose 56847 56848 tally is successful before the voting period ends), tallying will 56849 be done 56850 56851 at this point, and the `final_tally_result`, as well 56852 56853 as `status` and `result` fields will be accordingly updated. 56854 executor_result: 56855 description: >- 56856 executor_result is the final result based on the votes and 56857 election rule. Initial value is NotRun. 56858 type: string 56859 enum: 56860 - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 56861 - PROPOSAL_EXECUTOR_RESULT_NOT_RUN 56862 - PROPOSAL_EXECUTOR_RESULT_SUCCESS 56863 - PROPOSAL_EXECUTOR_RESULT_FAILURE 56864 default: PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 56865 messages: 56866 type: array 56867 items: 56868 type: object 56869 properties: 56870 type_url: 56871 type: string 56872 description: >- 56873 A URL/resource name that uniquely identifies the type of the 56874 serialized 56875 56876 protocol buffer message. This string must contain at least 56877 56878 one "/" character. The last segment of the URL's path must 56879 represent 56880 56881 the fully qualified name of the type (as in 56882 56883 `path/google.protobuf.Duration`). The name should be in a 56884 canonical form 56885 56886 (e.g., leading "." is not accepted). 56887 56888 56889 In practice, teams usually precompile into the binary all 56890 types that they 56891 56892 expect it to use in the context of Any. However, for URLs 56893 which use the 56894 56895 scheme `http`, `https`, or no scheme, one can optionally set 56896 up a type 56897 56898 server that maps type URLs to message definitions as 56899 follows: 56900 56901 56902 * If no scheme is provided, `https` is assumed. 56903 56904 * An HTTP GET on the URL must yield a 56905 [google.protobuf.Type][] 56906 value in binary format, or produce an error. 56907 * Applications are allowed to cache lookup results based on 56908 the 56909 URL, or have them precompiled into a binary to avoid any 56910 lookup. Therefore, binary compatibility needs to be preserved 56911 on changes to types. (Use versioned type names to manage 56912 breaking changes.) 56913 56914 Note: this functionality is not currently available in the 56915 official 56916 56917 protobuf release, and it is not used for type URLs beginning 56918 with 56919 56920 type.googleapis.com. 56921 56922 56923 Schemes other than `http`, `https` (or the empty scheme) 56924 might be 56925 56926 used with implementation specific semantics. 56927 value: 56928 type: string 56929 format: byte 56930 description: >- 56931 Must be a valid serialized protocol buffer of the above 56932 specified type. 56933 description: >- 56934 `Any` contains an arbitrary serialized protocol buffer message 56935 along with a 56936 56937 URL that describes the type of the serialized message. 56938 56939 56940 Protobuf library provides support to pack/unpack Any values in 56941 the form 56942 56943 of utility functions or additional generated methods of the Any 56944 type. 56945 56946 56947 Example 1: Pack and unpack a message in C++. 56948 56949 Foo foo = ...; 56950 Any any; 56951 any.PackFrom(foo); 56952 ... 56953 if (any.UnpackTo(&foo)) { 56954 ... 56955 } 56956 56957 Example 2: Pack and unpack a message in Java. 56958 56959 Foo foo = ...; 56960 Any any = Any.pack(foo); 56961 ... 56962 if (any.is(Foo.class)) { 56963 foo = any.unpack(Foo.class); 56964 } 56965 56966 Example 3: Pack and unpack a message in Python. 56967 56968 foo = Foo(...) 56969 any = Any() 56970 any.Pack(foo) 56971 ... 56972 if any.Is(Foo.DESCRIPTOR): 56973 any.Unpack(foo) 56974 ... 56975 56976 Example 4: Pack and unpack a message in Go 56977 56978 foo := &pb.Foo{...} 56979 any, err := ptypes.MarshalAny(foo) 56980 ... 56981 foo := &pb.Foo{} 56982 if err := ptypes.UnmarshalAny(any, foo); err != nil { 56983 ... 56984 } 56985 56986 The pack methods provided by protobuf library will by default 56987 use 56988 56989 'type.googleapis.com/full.type.name' as the type URL and the 56990 unpack 56991 56992 methods only use the fully qualified type name after the last 56993 '/' 56994 56995 in the type URL, for example "foo.bar.com/x/y.z" will yield type 56996 56997 name "y.z". 56998 56999 57000 57001 JSON 57002 57003 ==== 57004 57005 The JSON representation of an `Any` value uses the regular 57006 57007 representation of the deserialized, embedded message, with an 57008 57009 additional field `@type` which contains the type URL. Example: 57010 57011 package google.profile; 57012 message Person { 57013 string first_name = 1; 57014 string last_name = 2; 57015 } 57016 57017 { 57018 "@type": "type.googleapis.com/google.profile.Person", 57019 "firstName": <string>, 57020 "lastName": <string> 57021 } 57022 57023 If the embedded message type is well-known and has a custom JSON 57024 57025 representation, that representation will be embedded adding a 57026 field 57027 57028 `value` which holds the custom JSON in addition to the `@type` 57029 57030 field. Example (for message [google.protobuf.Duration][]): 57031 57032 { 57033 "@type": "type.googleapis.com/google.protobuf.Duration", 57034 "value": "1.212s" 57035 } 57036 description: >- 57037 messages is a list of Msgs that will be executed if the proposal 57038 passes. 57039 description: >- 57040 Proposal defines a foundation proposal. Any member of the foundation 57041 can submit a proposal 57042 57043 for a group policy to decide upon. 57044 57045 A proposal consists of a set of `sdk.Msg`s that will be executed if 57046 the proposal 57047 57048 passes as well as some optional metadata associated with the proposal. 57049 description: QueryProposalResponse is the Query/Proposal response type. 57050 lbm.foundation.v1.QueryProposalsResponse: 57051 type: object 57052 properties: 57053 proposals: 57054 type: array 57055 items: 57056 type: object 57057 properties: 57058 id: 57059 type: string 57060 format: uint64 57061 description: id is the unique id of the proposal. 57062 metadata: 57063 type: string 57064 description: metadata is any arbitrary metadata to attached to the proposal. 57065 proposers: 57066 type: array 57067 items: 57068 type: string 57069 description: proposers are the account addresses of the proposers. 57070 submit_time: 57071 type: string 57072 format: date-time 57073 description: >- 57074 submit_time is a timestamp specifying when a proposal was 57075 submitted. 57076 foundation_version: 57077 type: string 57078 format: uint64 57079 description: >- 57080 foundation_version tracks the version of the foundation that 57081 this proposal corresponds to. 57082 57083 When foundation info is changed, existing proposals from 57084 previous foundation versions will become invalid. 57085 status: 57086 description: >- 57087 status represents the high level position in the life cycle of 57088 the proposal. Initial value is Submitted. 57089 type: string 57090 enum: 57091 - PROPOSAL_STATUS_UNSPECIFIED 57092 - PROPOSAL_STATUS_SUBMITTED 57093 - PROPOSAL_STATUS_ACCEPTED 57094 - PROPOSAL_STATUS_REJECTED 57095 - PROPOSAL_STATUS_ABORTED 57096 - PROPOSAL_STATUS_WITHDRAWN 57097 default: PROPOSAL_STATUS_UNSPECIFIED 57098 final_tally_result: 57099 description: >- 57100 final_tally_result contains the sums of all votes for this 57101 57102 proposal for each vote option, after tallying. When querying a 57103 proposal 57104 57105 via gRPC, this field is not populated until the proposal's 57106 voting period 57107 57108 has ended. 57109 type: object 57110 properties: 57111 yes_count: 57112 type: string 57113 description: yes_count is the sum of yes votes. 57114 abstain_count: 57115 type: string 57116 description: abstain_count is the sum of abstainers. 57117 no_count: 57118 type: string 57119 description: no is the sum of no votes. 57120 no_with_veto_count: 57121 type: string 57122 description: no_with_veto_count is the sum of veto. 57123 voting_period_end: 57124 type: string 57125 format: date-time 57126 description: >- 57127 voting_period_end is the timestamp before which voting must be 57128 done. 57129 57130 Unless a successfull MsgExec is called before (to execute a 57131 proposal whose 57132 57133 tally is successful before the voting period ends), tallying 57134 will be done 57135 57136 at this point, and the `final_tally_result`, as well 57137 57138 as `status` and `result` fields will be accordingly updated. 57139 executor_result: 57140 description: >- 57141 executor_result is the final result based on the votes and 57142 election rule. Initial value is NotRun. 57143 type: string 57144 enum: 57145 - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 57146 - PROPOSAL_EXECUTOR_RESULT_NOT_RUN 57147 - PROPOSAL_EXECUTOR_RESULT_SUCCESS 57148 - PROPOSAL_EXECUTOR_RESULT_FAILURE 57149 default: PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED 57150 messages: 57151 type: array 57152 items: 57153 type: object 57154 properties: 57155 type_url: 57156 type: string 57157 description: >- 57158 A URL/resource name that uniquely identifies the type of 57159 the serialized 57160 57161 protocol buffer message. This string must contain at least 57162 57163 one "/" character. The last segment of the URL's path must 57164 represent 57165 57166 the fully qualified name of the type (as in 57167 57168 `path/google.protobuf.Duration`). The name should be in a 57169 canonical form 57170 57171 (e.g., leading "." is not accepted). 57172 57173 57174 In practice, teams usually precompile into the binary all 57175 types that they 57176 57177 expect it to use in the context of Any. However, for URLs 57178 which use the 57179 57180 scheme `http`, `https`, or no scheme, one can optionally 57181 set up a type 57182 57183 server that maps type URLs to message definitions as 57184 follows: 57185 57186 57187 * If no scheme is provided, `https` is assumed. 57188 57189 * An HTTP GET on the URL must yield a 57190 [google.protobuf.Type][] 57191 value in binary format, or produce an error. 57192 * Applications are allowed to cache lookup results based 57193 on the 57194 URL, or have them precompiled into a binary to avoid any 57195 lookup. Therefore, binary compatibility needs to be preserved 57196 on changes to types. (Use versioned type names to manage 57197 breaking changes.) 57198 57199 Note: this functionality is not currently available in the 57200 official 57201 57202 protobuf release, and it is not used for type URLs 57203 beginning with 57204 57205 type.googleapis.com. 57206 57207 57208 Schemes other than `http`, `https` (or the empty scheme) 57209 might be 57210 57211 used with implementation specific semantics. 57212 value: 57213 type: string 57214 format: byte 57215 description: >- 57216 Must be a valid serialized protocol buffer of the above 57217 specified type. 57218 description: >- 57219 `Any` contains an arbitrary serialized protocol buffer message 57220 along with a 57221 57222 URL that describes the type of the serialized message. 57223 57224 57225 Protobuf library provides support to pack/unpack Any values in 57226 the form 57227 57228 of utility functions or additional generated methods of the 57229 Any type. 57230 57231 57232 Example 1: Pack and unpack a message in C++. 57233 57234 Foo foo = ...; 57235 Any any; 57236 any.PackFrom(foo); 57237 ... 57238 if (any.UnpackTo(&foo)) { 57239 ... 57240 } 57241 57242 Example 2: Pack and unpack a message in Java. 57243 57244 Foo foo = ...; 57245 Any any = Any.pack(foo); 57246 ... 57247 if (any.is(Foo.class)) { 57248 foo = any.unpack(Foo.class); 57249 } 57250 57251 Example 3: Pack and unpack a message in Python. 57252 57253 foo = Foo(...) 57254 any = Any() 57255 any.Pack(foo) 57256 ... 57257 if any.Is(Foo.DESCRIPTOR): 57258 any.Unpack(foo) 57259 ... 57260 57261 Example 4: Pack and unpack a message in Go 57262 57263 foo := &pb.Foo{...} 57264 any, err := ptypes.MarshalAny(foo) 57265 ... 57266 foo := &pb.Foo{} 57267 if err := ptypes.UnmarshalAny(any, foo); err != nil { 57268 ... 57269 } 57270 57271 The pack methods provided by protobuf library will by default 57272 use 57273 57274 'type.googleapis.com/full.type.name' as the type URL and the 57275 unpack 57276 57277 methods only use the fully qualified type name after the last 57278 '/' 57279 57280 in the type URL, for example "foo.bar.com/x/y.z" will yield 57281 type 57282 57283 name "y.z". 57284 57285 57286 57287 JSON 57288 57289 ==== 57290 57291 The JSON representation of an `Any` value uses the regular 57292 57293 representation of the deserialized, embedded message, with an 57294 57295 additional field `@type` which contains the type URL. Example: 57296 57297 package google.profile; 57298 message Person { 57299 string first_name = 1; 57300 string last_name = 2; 57301 } 57302 57303 { 57304 "@type": "type.googleapis.com/google.profile.Person", 57305 "firstName": <string>, 57306 "lastName": <string> 57307 } 57308 57309 If the embedded message type is well-known and has a custom 57310 JSON 57311 57312 representation, that representation will be embedded adding a 57313 field 57314 57315 `value` which holds the custom JSON in addition to the `@type` 57316 57317 field. Example (for message [google.protobuf.Duration][]): 57318 57319 { 57320 "@type": "type.googleapis.com/google.protobuf.Duration", 57321 "value": "1.212s" 57322 } 57323 description: >- 57324 messages is a list of Msgs that will be executed if the proposal 57325 passes. 57326 description: >- 57327 Proposal defines a foundation proposal. Any member of the foundation 57328 can submit a proposal 57329 57330 for a group policy to decide upon. 57331 57332 A proposal consists of a set of `sdk.Msg`s that will be executed if 57333 the proposal 57334 57335 passes as well as some optional metadata associated with the 57336 proposal. 57337 description: proposals are the proposals of the foundation. 57338 pagination: 57339 description: pagination defines the pagination in the response. 57340 type: object 57341 properties: 57342 next_key: 57343 type: string 57344 format: byte 57345 title: |- 57346 next_key is the key to be passed to PageRequest.key to 57347 query the next page most efficiently 57348 total: 57349 type: string 57350 format: uint64 57351 title: >- 57352 total is total number of results available if 57353 PageRequest.count_total 57354 57355 was set, its value is undefined otherwise 57356 description: QueryProposalsResponse is the Query/Proposals response type. 57357 lbm.foundation.v1.QueryTallyResultResponse: 57358 type: object 57359 properties: 57360 tally: 57361 description: tally defines the requested tally. 57362 type: object 57363 properties: 57364 yes_count: 57365 type: string 57366 description: yes_count is the sum of yes votes. 57367 abstain_count: 57368 type: string 57369 description: abstain_count is the sum of abstainers. 57370 no_count: 57371 type: string 57372 description: no is the sum of no votes. 57373 no_with_veto_count: 57374 type: string 57375 description: no_with_veto_count is the sum of veto. 57376 description: QueryTallyResultResponse is the Query/TallyResult response type. 57377 lbm.foundation.v1.QueryTreasuryResponse: 57378 type: object 57379 properties: 57380 amount: 57381 type: array 57382 items: 57383 type: object 57384 properties: 57385 denom: 57386 type: string 57387 amount: 57388 type: string 57389 description: |- 57390 DecCoin defines a token with a denomination and a decimal amount. 57391 57392 NOTE: The amount field is an Dec which implements the custom method 57393 signatures required by gogoproto. 57394 description: |- 57395 QueryTreasuryResponse is the response type for the 57396 Query/Treasury RPC method. 57397 lbm.foundation.v1.QueryVoteResponse: 57398 type: object 57399 properties: 57400 vote: 57401 type: object 57402 properties: 57403 proposal_id: 57404 type: string 57405 format: uint64 57406 description: proposal is the unique ID of the proposal. 57407 voter: 57408 type: string 57409 description: voter is the account address of the voter. 57410 option: 57411 description: option is the voter's choice on the proposal. 57412 type: string 57413 enum: 57414 - VOTE_OPTION_UNSPECIFIED 57415 - VOTE_OPTION_YES 57416 - VOTE_OPTION_ABSTAIN 57417 - VOTE_OPTION_NO 57418 - VOTE_OPTION_NO_WITH_VETO 57419 default: VOTE_OPTION_UNSPECIFIED 57420 metadata: 57421 type: string 57422 description: metadata is any arbitrary metadata to attached to the vote. 57423 submit_time: 57424 type: string 57425 format: date-time 57426 description: submit_time is the timestamp when the vote was submitted. 57427 description: Vote represents a vote for a proposal. 57428 description: QueryVoteResponse is the Query/Vote response type. 57429 lbm.foundation.v1.QueryVotesResponse: 57430 type: object 57431 properties: 57432 votes: 57433 type: array 57434 items: 57435 type: object 57436 properties: 57437 proposal_id: 57438 type: string 57439 format: uint64 57440 description: proposal is the unique ID of the proposal. 57441 voter: 57442 type: string 57443 description: voter is the account address of the voter. 57444 option: 57445 description: option is the voter's choice on the proposal. 57446 type: string 57447 enum: 57448 - VOTE_OPTION_UNSPECIFIED 57449 - VOTE_OPTION_YES 57450 - VOTE_OPTION_ABSTAIN 57451 - VOTE_OPTION_NO 57452 - VOTE_OPTION_NO_WITH_VETO 57453 default: VOTE_OPTION_UNSPECIFIED 57454 metadata: 57455 type: string 57456 description: metadata is any arbitrary metadata to attached to the vote. 57457 submit_time: 57458 type: string 57459 format: date-time 57460 description: submit_time is the timestamp when the vote was submitted. 57461 description: Vote represents a vote for a proposal. 57462 description: votes are the list of votes for given proposal_id. 57463 pagination: 57464 description: pagination defines the pagination in the response. 57465 type: object 57466 properties: 57467 next_key: 57468 type: string 57469 format: byte 57470 title: |- 57471 next_key is the key to be passed to PageRequest.key to 57472 query the next page most efficiently 57473 total: 57474 type: string 57475 format: uint64 57476 title: >- 57477 total is total number of results available if 57478 PageRequest.count_total 57479 57480 was set, its value is undefined otherwise 57481 description: QueryVotesResponse is the Query/Votes response type. 57482 lbm.foundation.v1.TallyResult: 57483 type: object 57484 properties: 57485 yes_count: 57486 type: string 57487 description: yes_count is the sum of yes votes. 57488 abstain_count: 57489 type: string 57490 description: abstain_count is the sum of abstainers. 57491 no_count: 57492 type: string 57493 description: no is the sum of no votes. 57494 no_with_veto_count: 57495 type: string 57496 description: no_with_veto_count is the sum of veto. 57497 description: TallyResult represents the sum of votes for each vote option. 57498 lbm.foundation.v1.Vote: 57499 type: object 57500 properties: 57501 proposal_id: 57502 type: string 57503 format: uint64 57504 description: proposal is the unique ID of the proposal. 57505 voter: 57506 type: string 57507 description: voter is the account address of the voter. 57508 option: 57509 description: option is the voter's choice on the proposal. 57510 type: string 57511 enum: 57512 - VOTE_OPTION_UNSPECIFIED 57513 - VOTE_OPTION_YES 57514 - VOTE_OPTION_ABSTAIN 57515 - VOTE_OPTION_NO 57516 - VOTE_OPTION_NO_WITH_VETO 57517 default: VOTE_OPTION_UNSPECIFIED 57518 metadata: 57519 type: string 57520 description: metadata is any arbitrary metadata to attached to the vote. 57521 submit_time: 57522 type: string 57523 format: date-time 57524 description: submit_time is the timestamp when the vote was submitted. 57525 description: Vote represents a vote for a proposal. 57526 lbm.foundation.v1.VoteOption: 57527 type: string 57528 enum: 57529 - VOTE_OPTION_UNSPECIFIED 57530 - VOTE_OPTION_YES 57531 - VOTE_OPTION_ABSTAIN 57532 - VOTE_OPTION_NO 57533 - VOTE_OPTION_NO_WITH_VETO 57534 default: VOTE_OPTION_UNSPECIFIED 57535 description: |- 57536 VoteOption enumerates the valid vote options for a given proposal. 57537 57538 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 57539 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 57540 - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. 57541 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 57542 - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. 57543 lbm.token.v1.Contract: 57544 type: object 57545 properties: 57546 id: 57547 type: string 57548 description: id defines the unique identifier of the contract. 57549 name: 57550 type: string 57551 description: >- 57552 name defines the human-readable name of the contract. mandatory (not 57553 ERC20 compliant). 57554 symbol: 57555 type: string 57556 description: >- 57557 symbol is an abbreviated name for contract. mandatory (not ERC20 57558 compliant). 57559 uri: 57560 type: string 57561 description: an uri for the image of the contract stored off chain. 57562 meta: 57563 type: string 57564 description: meta is a brief description of contract. 57565 decimals: 57566 type: integer 57567 format: int32 57568 description: >- 57569 decimals is the number of decimals which one must divide the amount by 57570 to get its user representation. 57571 mintable: 57572 type: boolean 57573 format: boolean 57574 description: mintable represents whether the token is allowed to mint or burn. 57575 description: Contract defines token information. 57576 lbm.token.v1.Grant: 57577 type: object 57578 properties: 57579 grantee: 57580 type: string 57581 description: address of the grantee. 57582 permission: 57583 description: permission on the contract. 57584 type: string 57585 enum: 57586 - PERMISSION_UNSPECIFIED 57587 - PERMISSION_MODIFY 57588 - PERMISSION_MINT 57589 - PERMISSION_BURN 57590 default: PERMISSION_UNSPECIFIED 57591 description: Grant defines permission given to a grantee. 57592 lbm.token.v1.Permission: 57593 type: string 57594 enum: 57595 - PERMISSION_UNSPECIFIED 57596 - PERMISSION_MODIFY 57597 - PERMISSION_MINT 57598 - PERMISSION_BURN 57599 default: PERMISSION_UNSPECIFIED 57600 description: |- 57601 Permission enumerates the valid permissions on a contract. 57602 57603 - PERMISSION_UNSPECIFIED: unspecified defines the default permission which is invalid. 57604 - PERMISSION_MODIFY: PERMISSION_MODIFY defines a permission to modify a contract. 57605 - PERMISSION_MINT: PERMISSION_MINT defines a permission to mint tokens of a contract. 57606 - PERMISSION_BURN: PERMISSION_BURN defines a permission to burn tokens of a contract. 57607 lbm.token.v1.QueryBalanceResponse: 57608 type: object 57609 properties: 57610 amount: 57611 type: string 57612 description: the balance of the tokens. 57613 title: QueryBalanceResponse is the response type for the Query/Balance RPC method 57614 lbm.token.v1.QueryBurntResponse: 57615 type: object 57616 properties: 57617 amount: 57618 type: string 57619 description: the amount of the burnt tokens. 57620 title: QueryBurntResponse is the response type for the Query/Burnt RPC method 57621 lbm.token.v1.QueryContractResponse: 57622 type: object 57623 properties: 57624 contract: 57625 type: object 57626 properties: 57627 id: 57628 type: string 57629 description: id defines the unique identifier of the contract. 57630 name: 57631 type: string 57632 description: >- 57633 name defines the human-readable name of the contract. mandatory 57634 (not ERC20 compliant). 57635 symbol: 57636 type: string 57637 description: >- 57638 symbol is an abbreviated name for contract. mandatory (not ERC20 57639 compliant). 57640 uri: 57641 type: string 57642 description: an uri for the image of the contract stored off chain. 57643 meta: 57644 type: string 57645 description: meta is a brief description of contract. 57646 decimals: 57647 type: integer 57648 format: int32 57649 description: >- 57650 decimals is the number of decimals which one must divide the 57651 amount by to get its user representation. 57652 mintable: 57653 type: boolean 57654 format: boolean 57655 description: mintable represents whether the token is allowed to mint or burn. 57656 description: Contract defines token information. 57657 title: >- 57658 QueryContractResponse is the response type for the Query/Contract RPC 57659 method 57660 lbm.token.v1.QueryGranteeGrantsResponse: 57661 type: object 57662 properties: 57663 grants: 57664 type: array 57665 items: 57666 type: object 57667 properties: 57668 grantee: 57669 type: string 57670 description: address of the grantee. 57671 permission: 57672 description: permission on the contract. 57673 type: string 57674 enum: 57675 - PERMISSION_UNSPECIFIED 57676 - PERMISSION_MODIFY 57677 - PERMISSION_MINT 57678 - PERMISSION_BURN 57679 default: PERMISSION_UNSPECIFIED 57680 description: Grant defines permission given to a grantee. 57681 description: all the grants on the grantee. 57682 pagination: 57683 description: pagination defines the pagination in the response. 57684 type: object 57685 properties: 57686 next_key: 57687 type: string 57688 format: byte 57689 title: |- 57690 next_key is the key to be passed to PageRequest.key to 57691 query the next page most efficiently 57692 total: 57693 type: string 57694 format: uint64 57695 title: >- 57696 total is total number of results available if 57697 PageRequest.count_total 57698 57699 was set, its value is undefined otherwise 57700 title: >- 57701 QueryGranteeGrantsResponse is the response type for the 57702 Query/GranteeGrants RPC method 57703 lbm.token.v1.QueryHoldersByOperatorResponse: 57704 type: object 57705 properties: 57706 holders: 57707 type: array 57708 items: 57709 type: string 57710 title: holder addresses 57711 pagination: 57712 description: pagination defines the pagination in the response. 57713 type: object 57714 properties: 57715 next_key: 57716 type: string 57717 format: byte 57718 title: |- 57719 next_key is the key to be passed to PageRequest.key to 57720 query the next page most efficiently 57721 total: 57722 type: string 57723 format: uint64 57724 title: >- 57725 total is total number of results available if 57726 PageRequest.count_total 57727 57728 was set, its value is undefined otherwise 57729 title: >- 57730 QueryHoldersByOperatorResponse is the response type for the 57731 Query/HoldersByOperator RPC method 57732 lbm.token.v1.QueryIsOperatorForResponse: 57733 type: object 57734 properties: 57735 authorized: 57736 type: boolean 57737 format: boolean 57738 title: >- 57739 QueryIsOperatorForResponse is the response type for the 57740 Query/IsOperatorFor RPC method 57741 lbm.token.v1.QueryMintedResponse: 57742 type: object 57743 properties: 57744 amount: 57745 type: string 57746 description: the amount of the minted tokens. 57747 title: QueryMintedResponse is the response type for the Query/Minted RPC method 57748 lbm.token.v1.QuerySupplyResponse: 57749 type: object 57750 properties: 57751 amount: 57752 type: string 57753 description: the supply of the tokens. 57754 title: QuerySupplyResponse is the response type for the Query/Supply RPC method 57755 lbm.collection.v1.Coin: 57756 type: object 57757 properties: 57758 token_id: 57759 type: string 57760 description: token id associated with the token. 57761 amount: 57762 type: string 57763 description: amount of the token. 57764 description: Coin defines a token with a token id and an amount. 57765 lbm.collection.v1.Contract: 57766 type: object 57767 properties: 57768 id: 57769 type: string 57770 description: contract_id defines the unique identifier of the contract. 57771 name: 57772 type: string 57773 description: name defines the human-readable name of the contract. 57774 meta: 57775 type: string 57776 description: meta is a brief description of the contract. 57777 uri: 57778 type: string 57779 description: uri for the contract image stored off chain. 57780 description: Contract defines the information of the contract for the collection. 57781 lbm.collection.v1.Grant: 57782 type: object 57783 properties: 57784 grantee: 57785 type: string 57786 description: address of the grantee. 57787 permission: 57788 description: permission on the contract. 57789 type: string 57790 enum: 57791 - PERMISSION_UNSPECIFIED 57792 - PERMISSION_ISSUE 57793 - PERMISSION_MODIFY 57794 - PERMISSION_MINT 57795 - PERMISSION_BURN 57796 default: PERMISSION_UNSPECIFIED 57797 description: |- 57798 Grant defines permission given to a grantee. 57799 57800 Since: 0.46.0 (finschia) 57801 lbm.collection.v1.NFT: 57802 type: object 57803 properties: 57804 token_id: 57805 type: string 57806 description: token id defines the unique identifier of the token. 57807 name: 57808 type: string 57809 description: name defines the human-readable name of the token. 57810 meta: 57811 type: string 57812 description: meta is a brief description of the token. 57813 description: |- 57814 NFT defines the information of non-fungible token. 57815 57816 Since: 0.46.0 (finschia) 57817 lbm.collection.v1.Permission: 57818 type: string 57819 enum: 57820 - PERMISSION_UNSPECIFIED 57821 - PERMISSION_ISSUE 57822 - PERMISSION_MODIFY 57823 - PERMISSION_MINT 57824 - PERMISSION_BURN 57825 default: PERMISSION_UNSPECIFIED 57826 description: |- 57827 Permission enumerates the valid permissions on a contract. 57828 57829 - PERMISSION_UNSPECIFIED: unspecified defines the default permission which is invalid. 57830 - PERMISSION_ISSUE: PERMISSION_ISSUE defines a permission to create a token class. 57831 - PERMISSION_MODIFY: PERMISSION_MODIFY defines a permission to modify a contract. 57832 - PERMISSION_MINT: PERMISSION_MINT defines a permission to mint tokens of a contract. 57833 - PERMISSION_BURN: PERMISSION_BURN defines a permission to burn tokens of a contract. 57834 lbm.collection.v1.QueryAllBalancesResponse: 57835 type: object 57836 properties: 57837 balances: 57838 type: array 57839 items: 57840 type: object 57841 properties: 57842 token_id: 57843 type: string 57844 description: token id associated with the token. 57845 amount: 57846 type: string 57847 description: amount of the token. 57848 description: Coin defines a token with a token id and an amount. 57849 description: balances is the balalces of all the tokens. 57850 pagination: 57851 description: pagination defines the pagination in the response. 57852 type: object 57853 properties: 57854 next_key: 57855 type: string 57856 format: byte 57857 title: |- 57858 next_key is the key to be passed to PageRequest.key to 57859 query the next page most efficiently 57860 total: 57861 type: string 57862 format: uint64 57863 title: >- 57864 total is total number of results available if 57865 PageRequest.count_total 57866 57867 was set, its value is undefined otherwise 57868 description: >- 57869 QueryAllBalancesResponse is the response type for the Query/AllBalances 57870 RPC method. 57871 lbm.collection.v1.QueryBalanceResponse: 57872 type: object 57873 properties: 57874 balance: 57875 type: object 57876 properties: 57877 token_id: 57878 type: string 57879 description: token id associated with the token. 57880 amount: 57881 type: string 57882 description: amount of the token. 57883 description: Coin defines a token with a token id and an amount. 57884 description: >- 57885 QueryBalanceResponse is the response type for the Query/Balance RPC 57886 method. 57887 lbm.collection.v1.QueryChildrenResponse: 57888 type: object 57889 properties: 57890 children: 57891 type: array 57892 items: 57893 type: object 57894 properties: 57895 token_id: 57896 type: string 57897 description: token id defines the unique identifier of the token. 57898 name: 57899 type: string 57900 description: name defines the human-readable name of the token. 57901 meta: 57902 type: string 57903 description: meta is a brief description of the token. 57904 description: |- 57905 NFT defines the information of non-fungible token. 57906 57907 Since: 0.46.0 (finschia) 57908 description: children is the information of the child tokens. 57909 pagination: 57910 description: pagination defines the pagination in the response. 57911 type: object 57912 properties: 57913 next_key: 57914 type: string 57915 format: byte 57916 title: |- 57917 next_key is the key to be passed to PageRequest.key to 57918 query the next page most efficiently 57919 total: 57920 type: string 57921 format: uint64 57922 title: >- 57923 total is total number of results available if 57924 PageRequest.count_total 57925 57926 was set, its value is undefined otherwise 57927 description: >- 57928 QueryChildrenResponse is the response type for the Query/Children RPC 57929 method. 57930 lbm.collection.v1.QueryContractResponse: 57931 type: object 57932 properties: 57933 contract: 57934 description: contract is the information of the contract. 57935 type: object 57936 properties: 57937 id: 57938 type: string 57939 description: contract_id defines the unique identifier of the contract. 57940 name: 57941 type: string 57942 description: name defines the human-readable name of the contract. 57943 meta: 57944 type: string 57945 description: meta is a brief description of the contract. 57946 uri: 57947 type: string 57948 description: uri for the contract image stored off chain. 57949 description: >- 57950 QueryContractResponse is the response type for the Query/Contract RPC 57951 method. 57952 lbm.collection.v1.QueryFTBurntResponse: 57953 type: object 57954 properties: 57955 burnt: 57956 type: string 57957 description: burnt is the amount of the burnt tokens. 57958 description: >- 57959 QueryFTBurntResponse is the response type for the Query/FTBurnt RPC 57960 method. 57961 lbm.collection.v1.QueryFTMintedResponse: 57962 type: object 57963 properties: 57964 minted: 57965 type: string 57966 description: minted is the amount of the minted tokens. 57967 description: >- 57968 QueryFTMintedResponse is the response type for the Query/FTMinted RPC 57969 method. 57970 lbm.collection.v1.QueryFTSupplyResponse: 57971 type: object 57972 properties: 57973 supply: 57974 type: string 57975 description: supply is the supply of the tokens. 57976 description: >- 57977 QueryFTSupplyResponse is the response type for the Query/FTSupply RPC 57978 method. 57979 lbm.collection.v1.QueryGranteeGrantsResponse: 57980 type: object 57981 properties: 57982 grants: 57983 type: array 57984 items: 57985 type: object 57986 properties: 57987 grantee: 57988 type: string 57989 description: address of the grantee. 57990 permission: 57991 description: permission on the contract. 57992 type: string 57993 enum: 57994 - PERMISSION_UNSPECIFIED 57995 - PERMISSION_ISSUE 57996 - PERMISSION_MODIFY 57997 - PERMISSION_MINT 57998 - PERMISSION_BURN 57999 default: PERMISSION_UNSPECIFIED 58000 description: |- 58001 Grant defines permission given to a grantee. 58002 58003 Since: 0.46.0 (finschia) 58004 pagination: 58005 description: pagination defines the pagination in the response. 58006 type: object 58007 properties: 58008 next_key: 58009 type: string 58010 format: byte 58011 title: |- 58012 next_key is the key to be passed to PageRequest.key to 58013 query the next page most efficiently 58014 total: 58015 type: string 58016 format: uint64 58017 title: >- 58018 total is total number of results available if 58019 PageRequest.count_total 58020 58021 was set, its value is undefined otherwise 58022 description: >- 58023 QueryGranteeGrantsResponse is the response type for the 58024 Query/GranteeGrants RPC method. 58025 lbm.collection.v1.QueryHasParentResponse: 58026 type: object 58027 properties: 58028 has_parent: 58029 type: boolean 58030 format: boolean 58031 description: whether the token has its parent. 58032 description: >- 58033 QueryHasParentResponse is the response type for the Query/HasParent RPC 58034 method. 58035 lbm.collection.v1.QueryHoldersByOperatorResponse: 58036 type: object 58037 properties: 58038 holders: 58039 type: array 58040 items: 58041 type: string 58042 pagination: 58043 description: pagination defines the pagination in the response. 58044 type: object 58045 properties: 58046 next_key: 58047 type: string 58048 format: byte 58049 title: |- 58050 next_key is the key to be passed to PageRequest.key to 58051 query the next page most efficiently 58052 total: 58053 type: string 58054 format: uint64 58055 title: >- 58056 total is total number of results available if 58057 PageRequest.count_total 58058 58059 was set, its value is undefined otherwise 58060 description: >- 58061 QueryHoldersByOperatorResponse is the response type for the 58062 Query/HoldersByOperator RPC method. 58063 lbm.collection.v1.QueryIsOperatorForResponse: 58064 type: object 58065 properties: 58066 authorized: 58067 type: boolean 58068 format: boolean 58069 description: >- 58070 QueryIsOperatorForResponse is the response type for the 58071 Query/IsOperatorFor RPC method. 58072 lbm.collection.v1.QueryNFTBurntResponse: 58073 type: object 58074 properties: 58075 burnt: 58076 type: string 58077 description: burnt is the amount of the burnt tokens. 58078 description: >- 58079 QueryNFTBurntResponse is the response type for the Query/NFTBurnt RPC 58080 method. 58081 lbm.collection.v1.QueryNFTMintedResponse: 58082 type: object 58083 properties: 58084 minted: 58085 type: string 58086 description: minted is the amount of minted tokens. 58087 description: >- 58088 QueryNFTMintedResponse is the response type for the Query/NFTMinted RPC 58089 method. 58090 lbm.collection.v1.QueryNFTSupplyResponse: 58091 type: object 58092 properties: 58093 supply: 58094 type: string 58095 description: supply is the supply of the non-fungible token. 58096 description: >- 58097 QueryNFTSupplyResponse is the response type for the Query/NFTSupply RPC 58098 method. 58099 lbm.collection.v1.QueryParentResponse: 58100 type: object 58101 properties: 58102 parent: 58103 type: object 58104 properties: 58105 token_id: 58106 type: string 58107 description: token id defines the unique identifier of the token. 58108 name: 58109 type: string 58110 description: name defines the human-readable name of the token. 58111 meta: 58112 type: string 58113 description: meta is a brief description of the token. 58114 description: |- 58115 NFT defines the information of non-fungible token. 58116 58117 Since: 0.46.0 (finschia) 58118 description: QueryParentResponse is the response type for the Query/Parent RPC method. 58119 lbm.collection.v1.QueryRootResponse: 58120 type: object 58121 properties: 58122 root: 58123 type: object 58124 properties: 58125 token_id: 58126 type: string 58127 description: token id defines the unique identifier of the token. 58128 name: 58129 type: string 58130 description: name defines the human-readable name of the token. 58131 meta: 58132 type: string 58133 description: meta is a brief description of the token. 58134 description: |- 58135 NFT defines the information of non-fungible token. 58136 58137 Since: 0.46.0 (finschia) 58138 description: QueryRootResponse is the response type for the Query/Root RPC method. 58139 lbm.collection.v1.QueryTokenClassTypeNameResponse: 58140 type: object 58141 properties: 58142 name: 58143 type: string 58144 description: type name of the token class. 58145 description: >- 58146 QueryTokenClassTypeNameResponse is the response type for the 58147 Query/TokenClassTypeName RPC method. 58148 58149 58150 Since: 0.46.0 (finschia) 58151 lbm.collection.v1.QueryTokenResponse: 58152 type: object 58153 properties: 58154 token: 58155 type: object 58156 properties: 58157 type_url: 58158 type: string 58159 description: >- 58160 A URL/resource name that uniquely identifies the type of the 58161 serialized 58162 58163 protocol buffer message. This string must contain at least 58164 58165 one "/" character. The last segment of the URL's path must 58166 represent 58167 58168 the fully qualified name of the type (as in 58169 58170 `path/google.protobuf.Duration`). The name should be in a 58171 canonical form 58172 58173 (e.g., leading "." is not accepted). 58174 58175 58176 In practice, teams usually precompile into the binary all types 58177 that they 58178 58179 expect it to use in the context of Any. However, for URLs which 58180 use the 58181 58182 scheme `http`, `https`, or no scheme, one can optionally set up a 58183 type 58184 58185 server that maps type URLs to message definitions as follows: 58186 58187 58188 * If no scheme is provided, `https` is assumed. 58189 58190 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 58191 value in binary format, or produce an error. 58192 * Applications are allowed to cache lookup results based on the 58193 URL, or have them precompiled into a binary to avoid any 58194 lookup. Therefore, binary compatibility needs to be preserved 58195 on changes to types. (Use versioned type names to manage 58196 breaking changes.) 58197 58198 Note: this functionality is not currently available in the 58199 official 58200 58201 protobuf release, and it is not used for type URLs beginning with 58202 58203 type.googleapis.com. 58204 58205 58206 Schemes other than `http`, `https` (or the empty scheme) might be 58207 58208 used with implementation specific semantics. 58209 value: 58210 type: string 58211 format: byte 58212 description: >- 58213 Must be a valid serialized protocol buffer of the above specified 58214 type. 58215 description: >- 58216 `Any` contains an arbitrary serialized protocol buffer message along 58217 with a 58218 58219 URL that describes the type of the serialized message. 58220 58221 58222 Protobuf library provides support to pack/unpack Any values in the 58223 form 58224 58225 of utility functions or additional generated methods of the Any type. 58226 58227 58228 Example 1: Pack and unpack a message in C++. 58229 58230 Foo foo = ...; 58231 Any any; 58232 any.PackFrom(foo); 58233 ... 58234 if (any.UnpackTo(&foo)) { 58235 ... 58236 } 58237 58238 Example 2: Pack and unpack a message in Java. 58239 58240 Foo foo = ...; 58241 Any any = Any.pack(foo); 58242 ... 58243 if (any.is(Foo.class)) { 58244 foo = any.unpack(Foo.class); 58245 } 58246 58247 Example 3: Pack and unpack a message in Python. 58248 58249 foo = Foo(...) 58250 any = Any() 58251 any.Pack(foo) 58252 ... 58253 if any.Is(Foo.DESCRIPTOR): 58254 any.Unpack(foo) 58255 ... 58256 58257 Example 4: Pack and unpack a message in Go 58258 58259 foo := &pb.Foo{...} 58260 any, err := ptypes.MarshalAny(foo) 58261 ... 58262 foo := &pb.Foo{} 58263 if err := ptypes.UnmarshalAny(any, foo); err != nil { 58264 ... 58265 } 58266 58267 The pack methods provided by protobuf library will by default use 58268 58269 'type.googleapis.com/full.type.name' as the type URL and the unpack 58270 58271 methods only use the fully qualified type name after the last '/' 58272 58273 in the type URL, for example "foo.bar.com/x/y.z" will yield type 58274 58275 name "y.z". 58276 58277 58278 58279 JSON 58280 58281 ==== 58282 58283 The JSON representation of an `Any` value uses the regular 58284 58285 representation of the deserialized, embedded message, with an 58286 58287 additional field `@type` which contains the type URL. Example: 58288 58289 package google.profile; 58290 message Person { 58291 string first_name = 1; 58292 string last_name = 2; 58293 } 58294 58295 { 58296 "@type": "type.googleapis.com/google.profile.Person", 58297 "firstName": <string>, 58298 "lastName": <string> 58299 } 58300 58301 If the embedded message type is well-known and has a custom JSON 58302 58303 representation, that representation will be embedded adding a field 58304 58305 `value` which holds the custom JSON in addition to the `@type` 58306 58307 field. Example (for message [google.protobuf.Duration][]): 58308 58309 { 58310 "@type": "type.googleapis.com/google.protobuf.Duration", 58311 "value": "1.212s" 58312 } 58313 description: QueryTokenResponse is the response type for the Query/Token RPC method. 58314 lbm.collection.v1.QueryTokenTypeResponse: 58315 type: object 58316 properties: 58317 token_type: 58318 description: token type is the information of the token type. 58319 type: object 58320 properties: 58321 contract_id: 58322 type: string 58323 description: contract id associated with the contract. 58324 token_type: 58325 type: string 58326 description: |- 58327 token type defines the unique identifier of the token type. 58328 the format of the value is identical to that of class_id. 58329 name: 58330 type: string 58331 description: name defines the human-readable name of the token type. 58332 meta: 58333 type: string 58334 description: meta is a brief description of the token type. 58335 title: 'Deprecated: use TokenClass' 58336 description: >- 58337 QueryTokenTypeResponse is the response type for the Query/TokenType RPC 58338 method. 58339 lbm.collection.v1.TokenType: 58340 type: object 58341 properties: 58342 contract_id: 58343 type: string 58344 description: contract id associated with the contract. 58345 token_type: 58346 type: string 58347 description: |- 58348 token type defines the unique identifier of the token type. 58349 the format of the value is identical to that of class_id. 58350 name: 58351 type: string 58352 description: name defines the human-readable name of the token type. 58353 meta: 58354 type: string 58355 description: meta is a brief description of the token type. 58356 description: |- 58357 TokenType defines the information of token type. 58358 It represents a NFTClass whose class_id is token_type. 58359 58360 Note: There is no TokenType instance for FTClass. 58361 title: 'Deprecated: use TokenClass' 58362 cosmos.feegrant.v1beta1.Grant: 58363 type: object 58364 properties: 58365 granter: 58366 type: string 58367 description: >- 58368 granter is the address of the user granting an allowance of their 58369 funds. 58370 grantee: 58371 type: string 58372 description: >- 58373 grantee is the address of the user being granted an allowance of 58374 another user's funds. 58375 allowance: 58376 description: allowance can be any of basic and filtered fee allowance. 58377 type: object 58378 properties: 58379 type_url: 58380 type: string 58381 description: >- 58382 A URL/resource name that uniquely identifies the type of the 58383 serialized 58384 58385 protocol buffer message. This string must contain at least 58386 58387 one "/" character. The last segment of the URL's path must 58388 represent 58389 58390 the fully qualified name of the type (as in 58391 58392 `path/google.protobuf.Duration`). The name should be in a 58393 canonical form 58394 58395 (e.g., leading "." is not accepted). 58396 58397 58398 In practice, teams usually precompile into the binary all types 58399 that they 58400 58401 expect it to use in the context of Any. However, for URLs which 58402 use the 58403 58404 scheme `http`, `https`, or no scheme, one can optionally set up a 58405 type 58406 58407 server that maps type URLs to message definitions as follows: 58408 58409 58410 * If no scheme is provided, `https` is assumed. 58411 58412 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 58413 value in binary format, or produce an error. 58414 * Applications are allowed to cache lookup results based on the 58415 URL, or have them precompiled into a binary to avoid any 58416 lookup. Therefore, binary compatibility needs to be preserved 58417 on changes to types. (Use versioned type names to manage 58418 breaking changes.) 58419 58420 Note: this functionality is not currently available in the 58421 official 58422 58423 protobuf release, and it is not used for type URLs beginning with 58424 58425 type.googleapis.com. 58426 58427 58428 Schemes other than `http`, `https` (or the empty scheme) might be 58429 58430 used with implementation specific semantics. 58431 value: 58432 type: string 58433 format: byte 58434 description: >- 58435 Must be a valid serialized protocol buffer of the above specified 58436 type. 58437 title: Grant is stored in the KVStore to record a grant with full context 58438 cosmos.feegrant.v1beta1.QueryAllowanceResponse: 58439 type: object 58440 properties: 58441 allowance: 58442 description: allowance is a allowance granted for grantee by granter. 58443 type: object 58444 properties: 58445 granter: 58446 type: string 58447 description: >- 58448 granter is the address of the user granting an allowance of their 58449 funds. 58450 grantee: 58451 type: string 58452 description: >- 58453 grantee is the address of the user being granted an allowance of 58454 another user's funds. 58455 allowance: 58456 description: allowance can be any of basic and filtered fee allowance. 58457 type: object 58458 properties: 58459 type_url: 58460 type: string 58461 description: >- 58462 A URL/resource name that uniquely identifies the type of the 58463 serialized 58464 58465 protocol buffer message. This string must contain at least 58466 58467 one "/" character. The last segment of the URL's path must 58468 represent 58469 58470 the fully qualified name of the type (as in 58471 58472 `path/google.protobuf.Duration`). The name should be in a 58473 canonical form 58474 58475 (e.g., leading "." is not accepted). 58476 58477 58478 In practice, teams usually precompile into the binary all 58479 types that they 58480 58481 expect it to use in the context of Any. However, for URLs 58482 which use the 58483 58484 scheme `http`, `https`, or no scheme, one can optionally set 58485 up a type 58486 58487 server that maps type URLs to message definitions as follows: 58488 58489 58490 * If no scheme is provided, `https` is assumed. 58491 58492 * An HTTP GET on the URL must yield a [google.protobuf.Type][] 58493 value in binary format, or produce an error. 58494 * Applications are allowed to cache lookup results based on 58495 the 58496 URL, or have them precompiled into a binary to avoid any 58497 lookup. Therefore, binary compatibility needs to be preserved 58498 on changes to types. (Use versioned type names to manage 58499 breaking changes.) 58500 58501 Note: this functionality is not currently available in the 58502 official 58503 58504 protobuf release, and it is not used for type URLs beginning 58505 with 58506 58507 type.googleapis.com. 58508 58509 58510 Schemes other than `http`, `https` (or the empty scheme) might 58511 be 58512 58513 used with implementation specific semantics. 58514 value: 58515 type: string 58516 format: byte 58517 description: >- 58518 Must be a valid serialized protocol buffer of the above 58519 specified type. 58520 title: Grant is stored in the KVStore to record a grant with full context 58521 description: >- 58522 QueryAllowanceResponse is the response type for the Query/Allowance RPC 58523 method. 58524 cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse: 58525 type: object 58526 properties: 58527 allowances: 58528 type: array 58529 items: 58530 type: object 58531 properties: 58532 granter: 58533 type: string 58534 description: >- 58535 granter is the address of the user granting an allowance of 58536 their funds. 58537 grantee: 58538 type: string 58539 description: >- 58540 grantee is the address of the user being granted an allowance of 58541 another user's funds. 58542 allowance: 58543 description: allowance can be any of basic and filtered fee allowance. 58544 type: object 58545 properties: 58546 type_url: 58547 type: string 58548 description: >- 58549 A URL/resource name that uniquely identifies the type of the 58550 serialized 58551 58552 protocol buffer message. This string must contain at least 58553 58554 one "/" character. The last segment of the URL's path must 58555 represent 58556 58557 the fully qualified name of the type (as in 58558 58559 `path/google.protobuf.Duration`). The name should be in a 58560 canonical form 58561 58562 (e.g., leading "." is not accepted). 58563 58564 58565 In practice, teams usually precompile into the binary all 58566 types that they 58567 58568 expect it to use in the context of Any. However, for URLs 58569 which use the 58570 58571 scheme `http`, `https`, or no scheme, one can optionally set 58572 up a type 58573 58574 server that maps type URLs to message definitions as 58575 follows: 58576 58577 58578 * If no scheme is provided, `https` is assumed. 58579 58580 * An HTTP GET on the URL must yield a 58581 [google.protobuf.Type][] 58582 value in binary format, or produce an error. 58583 * Applications are allowed to cache lookup results based on 58584 the 58585 URL, or have them precompiled into a binary to avoid any 58586 lookup. Therefore, binary compatibility needs to be preserved 58587 on changes to types. (Use versioned type names to manage 58588 breaking changes.) 58589 58590 Note: this functionality is not currently available in the 58591 official 58592 58593 protobuf release, and it is not used for type URLs beginning 58594 with 58595 58596 type.googleapis.com. 58597 58598 58599 Schemes other than `http`, `https` (or the empty scheme) 58600 might be 58601 58602 used with implementation specific semantics. 58603 value: 58604 type: string 58605 format: byte 58606 description: >- 58607 Must be a valid serialized protocol buffer of the above 58608 specified type. 58609 title: Grant is stored in the KVStore to record a grant with full context 58610 description: allowances that have been issued by the granter. 58611 pagination: 58612 description: pagination defines an pagination for the response. 58613 type: object 58614 properties: 58615 next_key: 58616 type: string 58617 format: byte 58618 title: |- 58619 next_key is the key to be passed to PageRequest.key to 58620 query the next page most efficiently 58621 total: 58622 type: string 58623 format: uint64 58624 title: >- 58625 total is total number of results available if 58626 PageRequest.count_total 58627 58628 was set, its value is undefined otherwise 58629 description: >- 58630 QueryAllowancesByGranterResponse is the response type for the 58631 Query/AllowancesByGranter RPC method. 58632 cosmos.feegrant.v1beta1.QueryAllowancesResponse: 58633 type: object 58634 properties: 58635 allowances: 58636 type: array 58637 items: 58638 type: object 58639 properties: 58640 granter: 58641 type: string 58642 description: >- 58643 granter is the address of the user granting an allowance of 58644 their funds. 58645 grantee: 58646 type: string 58647 description: >- 58648 grantee is the address of the user being granted an allowance of 58649 another user's funds. 58650 allowance: 58651 description: allowance can be any of basic and filtered fee allowance. 58652 type: object 58653 properties: 58654 type_url: 58655 type: string 58656 description: >- 58657 A URL/resource name that uniquely identifies the type of the 58658 serialized 58659 58660 protocol buffer message. This string must contain at least 58661 58662 one "/" character. The last segment of the URL's path must 58663 represent 58664 58665 the fully qualified name of the type (as in 58666 58667 `path/google.protobuf.Duration`). The name should be in a 58668 canonical form 58669 58670 (e.g., leading "." is not accepted). 58671 58672 58673 In practice, teams usually precompile into the binary all 58674 types that they 58675 58676 expect it to use in the context of Any. However, for URLs 58677 which use the 58678 58679 scheme `http`, `https`, or no scheme, one can optionally set 58680 up a type 58681 58682 server that maps type URLs to message definitions as 58683 follows: 58684 58685 58686 * If no scheme is provided, `https` is assumed. 58687 58688 * An HTTP GET on the URL must yield a 58689 [google.protobuf.Type][] 58690 value in binary format, or produce an error. 58691 * Applications are allowed to cache lookup results based on 58692 the 58693 URL, or have them precompiled into a binary to avoid any 58694 lookup. Therefore, binary compatibility needs to be preserved 58695 on changes to types. (Use versioned type names to manage 58696 breaking changes.) 58697 58698 Note: this functionality is not currently available in the 58699 official 58700 58701 protobuf release, and it is not used for type URLs beginning 58702 with 58703 58704 type.googleapis.com. 58705 58706 58707 Schemes other than `http`, `https` (or the empty scheme) 58708 might be 58709 58710 used with implementation specific semantics. 58711 value: 58712 type: string 58713 format: byte 58714 description: >- 58715 Must be a valid serialized protocol buffer of the above 58716 specified type. 58717 title: Grant is stored in the KVStore to record a grant with full context 58718 description: allowances are allowance's granted for grantee by granter. 58719 pagination: 58720 description: pagination defines an pagination for the response. 58721 type: object 58722 properties: 58723 next_key: 58724 type: string 58725 format: byte 58726 title: |- 58727 next_key is the key to be passed to PageRequest.key to 58728 query the next page most efficiently 58729 total: 58730 type: string 58731 format: uint64 58732 title: >- 58733 total is total number of results available if 58734 PageRequest.count_total 58735 58736 was set, its value is undefined otherwise 58737 description: >- 58738 QueryAllowancesResponse is the response type for the Query/Allowances RPC 58739 method. 58740 cosmos.base.node.v1beta1.ConfigResponse: 58741 type: object 58742 properties: 58743 minimum_gas_price: 58744 type: string 58745 description: ConfigResponse defines the response structure for the Config gRPC query. 58746 lbm.tx.v1beta1.GetBlockWithTxsResponse: 58747 type: object 58748 properties: 58749 txs: 58750 type: array 58751 items: 58752 $ref: '#/definitions/cosmos.tx.v1beta1.Tx' 58753 description: txs are the transactions in the block. 58754 block_id: 58755 type: object 58756 properties: 58757 hash: 58758 type: string 58759 format: byte 58760 part_set_header: 58761 type: object 58762 properties: 58763 total: 58764 type: integer 58765 format: int64 58766 hash: 58767 type: string 58768 format: byte 58769 title: PartsetHeader 58770 title: BlockID 58771 block: 58772 type: object 58773 properties: 58774 header: 58775 type: object 58776 properties: 58777 version: 58778 title: basic block info 58779 type: object 58780 properties: 58781 block: 58782 type: string 58783 format: uint64 58784 app: 58785 type: string 58786 format: uint64 58787 description: >- 58788 Consensus captures the consensus rules for processing a block 58789 in the blockchain, 58790 58791 including all blockchain data structures and the rules of the 58792 application's 58793 58794 state transition machine. 58795 chain_id: 58796 type: string 58797 height: 58798 type: string 58799 format: int64 58800 time: 58801 type: string 58802 format: date-time 58803 last_block_id: 58804 type: object 58805 properties: 58806 hash: 58807 type: string 58808 format: byte 58809 part_set_header: 58810 type: object 58811 properties: 58812 total: 58813 type: integer 58814 format: int64 58815 hash: 58816 type: string 58817 format: byte 58818 title: PartsetHeader 58819 title: BlockID 58820 last_commit_hash: 58821 type: string 58822 format: byte 58823 title: hashes of block data 58824 data_hash: 58825 type: string 58826 format: byte 58827 validators_hash: 58828 type: string 58829 format: byte 58830 title: hashes from the app output from the prev block 58831 next_validators_hash: 58832 type: string 58833 format: byte 58834 consensus_hash: 58835 type: string 58836 format: byte 58837 app_hash: 58838 type: string 58839 format: byte 58840 last_results_hash: 58841 type: string 58842 format: byte 58843 evidence_hash: 58844 type: string 58845 format: byte 58846 title: consensus info 58847 proposer_address: 58848 type: string 58849 format: byte 58850 description: Header defines the structure of a Tendermint block header. 58851 data: 58852 type: object 58853 properties: 58854 txs: 58855 type: array 58856 items: 58857 type: string 58858 format: byte 58859 description: >- 58860 Txs that will be applied by state @ block.Height+1. 58861 58862 NOTE: not all txs here are valid. We're just agreeing on the 58863 order first. 58864 58865 This means that block.AppHash does not include these txs. 58866 title: Data contains the set of transactions included in the block 58867 evidence: 58868 type: object 58869 properties: 58870 evidence: 58871 type: array 58872 items: 58873 type: object 58874 properties: 58875 duplicate_vote_evidence: 58876 type: object 58877 properties: 58878 vote_a: 58879 type: object 58880 properties: 58881 type: 58882 type: string 58883 enum: 58884 - SIGNED_MSG_TYPE_UNKNOWN 58885 - SIGNED_MSG_TYPE_PREVOTE 58886 - SIGNED_MSG_TYPE_PRECOMMIT 58887 - SIGNED_MSG_TYPE_PROPOSAL 58888 default: SIGNED_MSG_TYPE_UNKNOWN 58889 description: >- 58890 SignedMsgType is a type of signed message in the 58891 consensus. 58892 58893 - SIGNED_MSG_TYPE_PREVOTE: Votes 58894 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 58895 height: 58896 type: string 58897 format: int64 58898 round: 58899 type: integer 58900 format: int32 58901 block_id: 58902 type: object 58903 properties: 58904 hash: 58905 type: string 58906 format: byte 58907 part_set_header: 58908 type: object 58909 properties: 58910 total: 58911 type: integer 58912 format: int64 58913 hash: 58914 type: string 58915 format: byte 58916 title: PartsetHeader 58917 title: BlockID 58918 timestamp: 58919 type: string 58920 format: date-time 58921 validator_address: 58922 type: string 58923 format: byte 58924 validator_index: 58925 type: integer 58926 format: int32 58927 signature: 58928 type: string 58929 format: byte 58930 description: >- 58931 Vote represents a prevote, precommit, or commit vote 58932 from validators for 58933 58934 consensus. 58935 vote_b: 58936 type: object 58937 properties: 58938 type: 58939 type: string 58940 enum: 58941 - SIGNED_MSG_TYPE_UNKNOWN 58942 - SIGNED_MSG_TYPE_PREVOTE 58943 - SIGNED_MSG_TYPE_PRECOMMIT 58944 - SIGNED_MSG_TYPE_PROPOSAL 58945 default: SIGNED_MSG_TYPE_UNKNOWN 58946 description: >- 58947 SignedMsgType is a type of signed message in the 58948 consensus. 58949 58950 - SIGNED_MSG_TYPE_PREVOTE: Votes 58951 - SIGNED_MSG_TYPE_PROPOSAL: Proposals 58952 height: 58953 type: string 58954 format: int64 58955 round: 58956 type: integer 58957 format: int32 58958 block_id: 58959 type: object 58960 properties: 58961 hash: 58962 type: string 58963 format: byte 58964 part_set_header: 58965 type: object 58966 properties: 58967 total: 58968 type: integer 58969 format: int64 58970 hash: 58971 type: string 58972 format: byte 58973 title: PartsetHeader 58974 title: BlockID 58975 timestamp: 58976 type: string 58977 format: date-time 58978 validator_address: 58979 type: string 58980 format: byte 58981 validator_index: 58982 type: integer 58983 format: int32 58984 signature: 58985 type: string 58986 format: byte 58987 description: >- 58988 Vote represents a prevote, precommit, or commit vote 58989 from validators for 58990 58991 consensus. 58992 total_voting_power: 58993 type: string 58994 format: int64 58995 validator_power: 58996 type: string 58997 format: int64 58998 timestamp: 58999 type: string 59000 format: date-time 59001 description: >- 59002 DuplicateVoteEvidence contains evidence of a validator 59003 signed two conflicting votes. 59004 light_client_attack_evidence: 59005 type: object 59006 properties: 59007 conflicting_block: 59008 type: object 59009 properties: 59010 signed_header: 59011 type: object 59012 properties: 59013 header: 59014 type: object 59015 properties: 59016 version: 59017 title: basic block info 59018 type: object 59019 properties: 59020 block: 59021 type: string 59022 format: uint64 59023 app: 59024 type: string 59025 format: uint64 59026 description: >- 59027 Consensus captures the consensus rules 59028 for processing a block in the 59029 blockchain, 59030 59031 including all blockchain data structures 59032 and the rules of the application's 59033 59034 state transition machine. 59035 chain_id: 59036 type: string 59037 height: 59038 type: string 59039 format: int64 59040 time: 59041 type: string 59042 format: date-time 59043 last_block_id: 59044 type: object 59045 properties: 59046 hash: 59047 type: string 59048 format: byte 59049 part_set_header: 59050 type: object 59051 properties: 59052 total: 59053 type: integer 59054 format: int64 59055 hash: 59056 type: string 59057 format: byte 59058 title: PartsetHeader 59059 title: BlockID 59060 last_commit_hash: 59061 type: string 59062 format: byte 59063 title: hashes of block data 59064 data_hash: 59065 type: string 59066 format: byte 59067 validators_hash: 59068 type: string 59069 format: byte 59070 title: >- 59071 hashes from the app output from the prev 59072 block 59073 next_validators_hash: 59074 type: string 59075 format: byte 59076 consensus_hash: 59077 type: string 59078 format: byte 59079 app_hash: 59080 type: string 59081 format: byte 59082 last_results_hash: 59083 type: string 59084 format: byte 59085 evidence_hash: 59086 type: string 59087 format: byte 59088 title: consensus info 59089 proposer_address: 59090 type: string 59091 format: byte 59092 description: >- 59093 Header defines the structure of a Tendermint 59094 block header. 59095 commit: 59096 type: object 59097 properties: 59098 height: 59099 type: string 59100 format: int64 59101 round: 59102 type: integer 59103 format: int32 59104 block_id: 59105 type: object 59106 properties: 59107 hash: 59108 type: string 59109 format: byte 59110 part_set_header: 59111 type: object 59112 properties: 59113 total: 59114 type: integer 59115 format: int64 59116 hash: 59117 type: string 59118 format: byte 59119 title: PartsetHeader 59120 title: BlockID 59121 signatures: 59122 type: array 59123 items: 59124 type: object 59125 properties: 59126 block_id_flag: 59127 type: string 59128 enum: 59129 - BLOCK_ID_FLAG_UNKNOWN 59130 - BLOCK_ID_FLAG_ABSENT 59131 - BLOCK_ID_FLAG_COMMIT 59132 - BLOCK_ID_FLAG_NIL 59133 default: BLOCK_ID_FLAG_UNKNOWN 59134 title: >- 59135 BlockIdFlag indicates which BlcokID the 59136 signature is for 59137 validator_address: 59138 type: string 59139 format: byte 59140 timestamp: 59141 type: string 59142 format: date-time 59143 signature: 59144 type: string 59145 format: byte 59146 description: >- 59147 CommitSig is a part of the Vote included 59148 in a Commit. 59149 description: >- 59150 Commit contains the evidence that a block 59151 was committed by a set of validators. 59152 validator_set: 59153 type: object 59154 properties: 59155 validators: 59156 type: array 59157 items: 59158 type: object 59159 properties: 59160 address: 59161 type: string 59162 format: byte 59163 pub_key: 59164 type: object 59165 properties: 59166 ed25519: 59167 type: string 59168 format: byte 59169 secp256k1: 59170 type: string 59171 format: byte 59172 title: >- 59173 PublicKey defines the keys available for 59174 use with Tendermint Validators 59175 voting_power: 59176 type: string 59177 format: int64 59178 proposer_priority: 59179 type: string 59180 format: int64 59181 proposer: 59182 type: object 59183 properties: 59184 address: 59185 type: string 59186 format: byte 59187 pub_key: 59188 type: object 59189 properties: 59190 ed25519: 59191 type: string 59192 format: byte 59193 secp256k1: 59194 type: string 59195 format: byte 59196 title: >- 59197 PublicKey defines the keys available for 59198 use with Tendermint Validators 59199 voting_power: 59200 type: string 59201 format: int64 59202 proposer_priority: 59203 type: string 59204 format: int64 59205 total_voting_power: 59206 type: string 59207 format: int64 59208 common_height: 59209 type: string 59210 format: int64 59211 byzantine_validators: 59212 type: array 59213 items: 59214 type: object 59215 properties: 59216 address: 59217 type: string 59218 format: byte 59219 pub_key: 59220 type: object 59221 properties: 59222 ed25519: 59223 type: string 59224 format: byte 59225 secp256k1: 59226 type: string 59227 format: byte 59228 title: >- 59229 PublicKey defines the keys available for use 59230 with Tendermint Validators 59231 voting_power: 59232 type: string 59233 format: int64 59234 proposer_priority: 59235 type: string 59236 format: int64 59237 total_voting_power: 59238 type: string 59239 format: int64 59240 timestamp: 59241 type: string 59242 format: date-time 59243 description: >- 59244 LightClientAttackEvidence contains evidence of a set of 59245 validators attempting to mislead a light client. 59246 last_commit: 59247 type: object 59248 properties: 59249 height: 59250 type: string 59251 format: int64 59252 round: 59253 type: integer 59254 format: int32 59255 block_id: 59256 type: object 59257 properties: 59258 hash: 59259 type: string 59260 format: byte 59261 part_set_header: 59262 type: object 59263 properties: 59264 total: 59265 type: integer 59266 format: int64 59267 hash: 59268 type: string 59269 format: byte 59270 title: PartsetHeader 59271 title: BlockID 59272 signatures: 59273 type: array 59274 items: 59275 type: object 59276 properties: 59277 block_id_flag: 59278 type: string 59279 enum: 59280 - BLOCK_ID_FLAG_UNKNOWN 59281 - BLOCK_ID_FLAG_ABSENT 59282 - BLOCK_ID_FLAG_COMMIT 59283 - BLOCK_ID_FLAG_NIL 59284 default: BLOCK_ID_FLAG_UNKNOWN 59285 title: BlockIdFlag indicates which BlcokID the signature is for 59286 validator_address: 59287 type: string 59288 format: byte 59289 timestamp: 59290 type: string 59291 format: date-time 59292 signature: 59293 type: string 59294 format: byte 59295 description: CommitSig is a part of the Vote included in a Commit. 59296 description: >- 59297 Commit contains the evidence that a block was committed by a set 59298 of validators. 59299 entropy: 59300 title: '*** Ostracon Extended Fields ***' 59301 type: object 59302 properties: 59303 round: 59304 type: integer 59305 format: int32 59306 proof: 59307 type: string 59308 format: byte 59309 pagination: 59310 description: pagination defines a pagination for the response. 59311 type: object 59312 properties: 59313 next_key: 59314 type: string 59315 format: byte 59316 title: |- 59317 next_key is the key to be passed to PageRequest.key to 59318 query the next page most efficiently 59319 total: 59320 type: string 59321 format: uint64 59322 title: >- 59323 total is total number of results available if 59324 PageRequest.count_total 59325 59326 was set, its value is undefined otherwise 59327 description: >- 59328 GetBlockWithTxsResponse is the response type for the 59329 Service.GetBlockWithTxs method. 59330 59331 59332 Since: finschia-sdk 0.47.0 59333 lbm.fbridge.v1.BridgeStatus: 59334 type: string 59335 enum: 59336 - BRIDGE_STATUS_UNSPECIFIED 59337 - BRIDGE_STATUS_ACTIVE 59338 - BRIDGE_STATUS_INACTIVE 59339 default: BRIDGE_STATUS_UNSPECIFIED 59340 description: |2- 59341 - BRIDGE_STATUS_UNSPECIFIED: BRIDGE_STATUS_UNSPECIFIED defines an unspecified bridge status. 59342 - BRIDGE_STATUS_ACTIVE: BRIDGE_STATUS_ACTIVE defines an active bridge status. 59343 - BRIDGE_STATUS_INACTIVE: BRIDGE_STATUS_INACTIVE defines an inactive bridge status. 59344 lbm.fbridge.v1.BridgeStatusMetadata: 59345 type: object 59346 properties: 59347 inactive: 59348 type: string 59349 format: uint64 59350 title: the number of inactived bridge switch 59351 active: 59352 type: string 59353 format: uint64 59354 title: the number of activated bridge switch 59355 description: BridgeStatusMetadata defines the metadata of the bridge status. 59356 lbm.fbridge.v1.Fraction: 59357 type: object 59358 properties: 59359 numerator: 59360 type: string 59361 format: uint64 59362 denominator: 59363 type: string 59364 format: uint64 59365 description: |- 59366 Fraction defines the protobuf message type for tmmath.Fraction that only 59367 supports positive values. 59368 lbm.fbridge.v1.Params: 59369 type: object 59370 properties: 59371 operator_trust_level: 59372 description: ratio of how many operators' confirmations are needed to be valid. 59373 type: object 59374 properties: 59375 numerator: 59376 type: string 59377 format: uint64 59378 denominator: 59379 type: string 59380 format: uint64 59381 guardian_trust_level: 59382 description: ratio of how many guardians' confirmations are needed to be valid. 59383 type: object 59384 properties: 59385 numerator: 59386 type: string 59387 format: uint64 59388 denominator: 59389 type: string 59390 format: uint64 59391 judge_trust_level: 59392 description: ratio of how many judges' confirmations are needed to be valid. 59393 type: object 59394 properties: 59395 numerator: 59396 type: string 59397 format: uint64 59398 denominator: 59399 type: string 59400 format: uint64 59401 timelock_period: 59402 type: string 59403 format: uint64 59404 title: default timelock period for each provision (unix timestamp) 59405 proposal_period: 59406 type: string 59407 format: uint64 59408 title: default period of the proposal to update the role 59409 target_denom: 59410 type: string 59411 description: >- 59412 target denom of the bridge module. This is the base denom of Finschia 59413 normally. 59414 lbm.fbridge.v1.ProvisionData: 59415 type: object 59416 properties: 59417 seq: 59418 type: string 59419 format: uint64 59420 title: the sequence number of the bridge request 59421 amount: 59422 type: string 59423 title: the amount of token to be claimed 59424 sender: 59425 type: string 59426 title: the sender address on the source chain 59427 receiver: 59428 type: string 59429 title: the recipient address on the destination chain 59430 description: Provision is a struct that represents a provision internally. 59431 lbm.fbridge.v1.ProvisionStatus: 59432 type: object 59433 properties: 59434 timelock_end: 59435 type: string 59436 format: uint64 59437 title: >- 59438 the unix timestamp the provision will be able to be claimed (unix 59439 timestamp) 59440 confirm_counts: 59441 type: integer 59442 format: int32 59443 title: a value that tells how many operators have submitted this provision 59444 is_claimed: 59445 type: boolean 59446 format: boolean 59447 title: whether the provision has been claimed 59448 description: >- 59449 ProvisionStatus is a struct that represents the status of a provision. 59450 59451 To optimize computational cost, we have collected frequently changing 59452 values from provision. 59453 lbm.fbridge.v1.QueryBridgeStatusResponse: 59454 type: object 59455 properties: 59456 status: 59457 type: string 59458 enum: 59459 - BRIDGE_STATUS_UNSPECIFIED 59460 - BRIDGE_STATUS_ACTIVE 59461 - BRIDGE_STATUS_INACTIVE 59462 default: BRIDGE_STATUS_UNSPECIFIED 59463 description: |2- 59464 - BRIDGE_STATUS_UNSPECIFIED: BRIDGE_STATUS_UNSPECIFIED defines an unspecified bridge status. 59465 - BRIDGE_STATUS_ACTIVE: BRIDGE_STATUS_ACTIVE defines an active bridge status. 59466 - BRIDGE_STATUS_INACTIVE: BRIDGE_STATUS_INACTIVE defines an inactive bridge status. 59467 metadata: 59468 type: object 59469 properties: 59470 inactive: 59471 type: string 59472 format: uint64 59473 title: the number of inactived bridge switch 59474 active: 59475 type: string 59476 format: uint64 59477 title: the number of activated bridge switch 59478 description: BridgeStatusMetadata defines the metadata of the bridge status. 59479 lbm.fbridge.v1.QueryCommitmentsResponse: 59480 type: object 59481 properties: 59482 commitments: 59483 type: array 59484 items: 59485 type: string 59486 lbm.fbridge.v1.QueryConfirmedProvisionResponse: 59487 type: object 59488 properties: 59489 data: 59490 type: object 59491 properties: 59492 seq: 59493 type: string 59494 format: uint64 59495 title: the sequence number of the bridge request 59496 amount: 59497 type: string 59498 title: the amount of token to be claimed 59499 sender: 59500 type: string 59501 title: the sender address on the source chain 59502 receiver: 59503 type: string 59504 title: the recipient address on the destination chain 59505 description: Provision is a struct that represents a provision internally. 59506 status: 59507 type: object 59508 properties: 59509 timelock_end: 59510 type: string 59511 format: uint64 59512 title: >- 59513 the unix timestamp the provision will be able to be claimed (unix 59514 timestamp) 59515 confirm_counts: 59516 type: integer 59517 format: int32 59518 title: >- 59519 a value that tells how many operators have submitted this 59520 provision 59521 is_claimed: 59522 type: boolean 59523 format: boolean 59524 title: whether the provision has been claimed 59525 description: >- 59526 ProvisionStatus is a struct that represents the status of a provision. 59527 59528 To optimize computational cost, we have collected frequently changing 59529 values from provision. 59530 lbm.fbridge.v1.QueryGreatestConsecutiveConfirmedSeqResponse: 59531 type: object 59532 properties: 59533 seq: 59534 type: string 59535 format: uint64 59536 lbm.fbridge.v1.QueryGreatestSeqByOperatorResponse: 59537 type: object 59538 properties: 59539 seq: 59540 type: string 59541 format: uint64 59542 lbm.fbridge.v1.QueryMemberResponse: 59543 type: object 59544 properties: 59545 role: 59546 type: string 59547 lbm.fbridge.v1.QueryMembersResponse: 59548 type: object 59549 properties: 59550 members: 59551 type: array 59552 items: 59553 type: string 59554 lbm.fbridge.v1.QueryNeededSubmissionSeqsResponse: 59555 type: object 59556 properties: 59557 seqs: 59558 type: array 59559 items: 59560 type: string 59561 format: uint64 59562 lbm.fbridge.v1.QueryNextSeqSendResponse: 59563 type: object 59564 properties: 59565 seq: 59566 type: string 59567 format: uint64 59568 lbm.fbridge.v1.QueryParamsResponse: 59569 type: object 59570 properties: 59571 params: 59572 type: object 59573 properties: 59574 operator_trust_level: 59575 description: ratio of how many operators' confirmations are needed to be valid. 59576 type: object 59577 properties: 59578 numerator: 59579 type: string 59580 format: uint64 59581 denominator: 59582 type: string 59583 format: uint64 59584 guardian_trust_level: 59585 description: ratio of how many guardians' confirmations are needed to be valid. 59586 type: object 59587 properties: 59588 numerator: 59589 type: string 59590 format: uint64 59591 denominator: 59592 type: string 59593 format: uint64 59594 judge_trust_level: 59595 description: ratio of how many judges' confirmations are needed to be valid. 59596 type: object 59597 properties: 59598 numerator: 59599 type: string 59600 format: uint64 59601 denominator: 59602 type: string 59603 format: uint64 59604 timelock_period: 59605 type: string 59606 format: uint64 59607 title: default timelock period for each provision (unix timestamp) 59608 proposal_period: 59609 type: string 59610 format: uint64 59611 title: default period of the proposal to update the role 59612 target_denom: 59613 type: string 59614 description: >- 59615 target denom of the bridge module. This is the base denom of 59616 Finschia normally. 59617 lbm.fbridge.v1.QueryProposalResponse: 59618 type: object 59619 properties: 59620 proposal: 59621 type: object 59622 properties: 59623 id: 59624 type: string 59625 format: uint64 59626 proposer: 59627 type: string 59628 title: the proposer address 59629 target: 59630 type: string 59631 title: the address to update the role 59632 role: 59633 title: |- 59634 the role to be updated 59635 - unspecified : 0, used to remove the address from a group 59636 - guardian : 1 59637 - operator : 2 59638 - judge : 3 59639 type: string 59640 enum: 59641 - UNSPECIFIED 59642 - GUARDIAN 59643 - OPERATOR 59644 - JUDGE 59645 default: UNSPECIFIED 59646 description: 'Role defines the role of the operator, guardian, and judge.' 59647 expired_at: 59648 type: string 59649 format: date-time 59650 title: the unix timestamp the proposal will be expired (unix timestamp) 59651 lbm.fbridge.v1.QueryProposalsResponse: 59652 type: object 59653 properties: 59654 proposals: 59655 type: array 59656 items: 59657 type: object 59658 properties: 59659 id: 59660 type: string 59661 format: uint64 59662 proposer: 59663 type: string 59664 title: the proposer address 59665 target: 59666 type: string 59667 title: the address to update the role 59668 role: 59669 title: |- 59670 the role to be updated 59671 - unspecified : 0, used to remove the address from a group 59672 - guardian : 1 59673 - operator : 2 59674 - judge : 3 59675 type: string 59676 enum: 59677 - UNSPECIFIED 59678 - GUARDIAN 59679 - OPERATOR 59680 - JUDGE 59681 default: UNSPECIFIED 59682 description: 'Role defines the role of the operator, guardian, and judge.' 59683 expired_at: 59684 type: string 59685 format: date-time 59686 title: the unix timestamp the proposal will be expired (unix timestamp) 59687 pagination: 59688 description: pagination defines an pagination for the response. 59689 type: object 59690 properties: 59691 next_key: 59692 type: string 59693 format: byte 59694 title: |- 59695 next_key is the key to be passed to PageRequest.key to 59696 query the next page most efficiently 59697 total: 59698 type: string 59699 format: uint64 59700 title: >- 59701 total is total number of results available if 59702 PageRequest.count_total 59703 59704 was set, its value is undefined otherwise 59705 lbm.fbridge.v1.QuerySeqToBlocknumsResponse: 59706 type: object 59707 properties: 59708 blocknums: 59709 type: array 59710 items: 59711 type: string 59712 format: uint64 59713 lbm.fbridge.v1.QuerySubmittedProvisionResponse: 59714 type: object 59715 properties: 59716 data: 59717 type: object 59718 properties: 59719 seq: 59720 type: string 59721 format: uint64 59722 title: the sequence number of the bridge request 59723 amount: 59724 type: string 59725 title: the amount of token to be claimed 59726 sender: 59727 type: string 59728 title: the sender address on the source chain 59729 receiver: 59730 type: string 59731 title: the recipient address on the destination chain 59732 description: Provision is a struct that represents a provision internally. 59733 status: 59734 type: object 59735 properties: 59736 timelock_end: 59737 type: string 59738 format: uint64 59739 title: >- 59740 the unix timestamp the provision will be able to be claimed (unix 59741 timestamp) 59742 confirm_counts: 59743 type: integer 59744 format: int32 59745 title: >- 59746 a value that tells how many operators have submitted this 59747 provision 59748 is_claimed: 59749 type: boolean 59750 format: boolean 59751 title: whether the provision has been claimed 59752 description: >- 59753 ProvisionStatus is a struct that represents the status of a provision. 59754 59755 To optimize computational cost, we have collected frequently changing 59756 values from provision. 59757 lbm.fbridge.v1.QueryVoteResponse: 59758 type: object 59759 properties: 59760 vote: 59761 type: object 59762 properties: 59763 proposal_id: 59764 type: string 59765 format: uint64 59766 voter: 59767 type: string 59768 option: 59769 type: string 59770 enum: 59771 - VOTE_OPTION_UNSPECIFIED 59772 - VOTE_OPTION_YES 59773 - VOTE_OPTION_NO 59774 default: VOTE_OPTION_UNSPECIFIED 59775 description: >- 59776 VoteOption enumerates the valid vote options for a given role 59777 proposal. 59778 59779 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 59780 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 59781 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 59782 description: Vote defines a vote on a role proposal. 59783 lbm.fbridge.v1.QueryVotesResponse: 59784 type: object 59785 properties: 59786 votes: 59787 type: array 59788 items: 59789 type: object 59790 properties: 59791 proposal_id: 59792 type: string 59793 format: uint64 59794 voter: 59795 type: string 59796 option: 59797 type: string 59798 enum: 59799 - VOTE_OPTION_UNSPECIFIED 59800 - VOTE_OPTION_YES 59801 - VOTE_OPTION_NO 59802 default: VOTE_OPTION_UNSPECIFIED 59803 description: >- 59804 VoteOption enumerates the valid vote options for a given role 59805 proposal. 59806 59807 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 59808 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 59809 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 59810 description: Vote defines a vote on a role proposal. 59811 description: votes defined the queried votes. 59812 lbm.fbridge.v1.Role: 59813 type: string 59814 enum: 59815 - UNSPECIFIED 59816 - GUARDIAN 59817 - OPERATOR 59818 - JUDGE 59819 default: UNSPECIFIED 59820 description: 'Role defines the role of the operator, guardian, and judge.' 59821 lbm.fbridge.v1.RoleProposal: 59822 type: object 59823 properties: 59824 id: 59825 type: string 59826 format: uint64 59827 proposer: 59828 type: string 59829 title: the proposer address 59830 target: 59831 type: string 59832 title: the address to update the role 59833 role: 59834 title: |- 59835 the role to be updated 59836 - unspecified : 0, used to remove the address from a group 59837 - guardian : 1 59838 - operator : 2 59839 - judge : 3 59840 type: string 59841 enum: 59842 - UNSPECIFIED 59843 - GUARDIAN 59844 - OPERATOR 59845 - JUDGE 59846 default: UNSPECIFIED 59847 description: 'Role defines the role of the operator, guardian, and judge.' 59848 expired_at: 59849 type: string 59850 format: date-time 59851 title: the unix timestamp the proposal will be expired (unix timestamp) 59852 lbm.fbridge.v1.Vote: 59853 type: object 59854 properties: 59855 proposal_id: 59856 type: string 59857 format: uint64 59858 voter: 59859 type: string 59860 option: 59861 type: string 59862 enum: 59863 - VOTE_OPTION_UNSPECIFIED 59864 - VOTE_OPTION_YES 59865 - VOTE_OPTION_NO 59866 default: VOTE_OPTION_UNSPECIFIED 59867 description: >- 59868 VoteOption enumerates the valid vote options for a given role 59869 proposal. 59870 59871 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 59872 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 59873 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 59874 description: Vote defines a vote on a role proposal. 59875 lbm.fbridge.v1.VoteOption: 59876 type: string 59877 enum: 59878 - VOTE_OPTION_UNSPECIFIED 59879 - VOTE_OPTION_YES 59880 - VOTE_OPTION_NO 59881 default: VOTE_OPTION_UNSPECIFIED 59882 description: |- 59883 VoteOption enumerates the valid vote options for a given role proposal. 59884 59885 - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. 59886 - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. 59887 - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. 59888 lbm.fswap.v1.QuerySwapResponse: 59889 type: object 59890 properties: 59891 swap: 59892 type: object 59893 properties: 59894 from_denom: 59895 type: string 59896 to_denom: 59897 type: string 59898 amount_cap_for_to_denom: 59899 type: string 59900 swap_rate: 59901 type: string 59902 lbm.fswap.v1.QuerySwappedResponse: 59903 type: object 59904 properties: 59905 from_coin_amount: 59906 type: object 59907 properties: 59908 denom: 59909 type: string 59910 amount: 59911 type: string 59912 description: |- 59913 Coin defines a token with a denomination and an amount. 59914 59915 NOTE: The amount field is an Int which implements the custom method 59916 signatures required by gogoproto. 59917 to_coin_amount: 59918 type: object 59919 properties: 59920 denom: 59921 type: string 59922 amount: 59923 type: string 59924 description: |- 59925 Coin defines a token with a denomination and an amount. 59926 59927 NOTE: The amount field is an Int which implements the custom method 59928 signatures required by gogoproto. 59929 lbm.fswap.v1.QuerySwapsResponse: 59930 type: object 59931 properties: 59932 swaps: 59933 type: array 59934 items: 59935 type: object 59936 properties: 59937 from_denom: 59938 type: string 59939 to_denom: 59940 type: string 59941 amount_cap_for_to_denom: 59942 type: string 59943 swap_rate: 59944 type: string 59945 pagination: 59946 type: object 59947 properties: 59948 next_key: 59949 type: string 59950 format: byte 59951 title: |- 59952 next_key is the key to be passed to PageRequest.key to 59953 query the next page most efficiently 59954 total: 59955 type: string 59956 format: uint64 59957 title: >- 59958 total is total number of results available if 59959 PageRequest.count_total 59960 59961 was set, its value is undefined otherwise 59962 description: |- 59963 PageResponse is to be embedded in gRPC response messages where the 59964 corresponding request message has used PageRequest. 59965 59966 message SomeResponse { 59967 repeated Bar results = 1; 59968 PageResponse page = 2; 59969 } 59970 lbm.fswap.v1.QueryTotalSwappableToCoinAmountResponse: 59971 type: object 59972 properties: 59973 swappable_amount: 59974 type: object 59975 properties: 59976 denom: 59977 type: string 59978 amount: 59979 type: string 59980 description: |- 59981 Coin defines a token with a denomination and an amount. 59982 59983 NOTE: The amount field is an Int which implements the custom method 59984 signatures required by gogoproto. 59985 lbm.fswap.v1.Swap: 59986 type: object 59987 properties: 59988 from_denom: 59989 type: string 59990 to_denom: 59991 type: string 59992 amount_cap_for_to_denom: 59993 type: string 59994 swap_rate: 59995 type: string