github.com/fiagdao/tendermint@v0.32.11-0.20220824195748-2087fcc480c1/rpc/swagger/swagger.yaml (about) 1 openapi: 3.0.0 2 info: 3 title: RPC client for Tendermint 4 description: A REST interface for state queries, transaction generation and broadcasting. 5 version: "Master" 6 license: 7 name: Apache 2.0 8 url: https://github.com/tendermint/tendermint/blob/master/LICENSE 9 servers: 10 - url: https://rpc.cosmos.network 11 description: Cosmos mainnet node to interact with the Tendermint RPC 12 - url: http://localhost:26657 13 description: Interact with the Tendermint RPC locally on your device 14 tags: 15 - name: Websocket 16 description: Subscribe/unsubscribe are reserved for websocket events. 17 - name: Info 18 description: Informations about the node APIs 19 - name: Tx 20 description: Transactions broadcast APIs 21 - name: ABCI 22 description: ABCI APIs 23 - name: Evidence 24 description: Evidence APIs 25 paths: 26 /broadcast_tx_sync: 27 get: 28 summary: Returns with the response from CheckTx. Does not wait for DeliverTx result. 29 tags: 30 - Tx 31 operationId: broadcast_tx_sync 32 description: | 33 If you want to be sure that the transaction is included in a block, you can 34 subscribe for the result using JSONRPC via a websocket. See 35 https://docs.tendermint.com/master/app-dev/subscribing-to-events-via-websocket.html 36 If you haven't received anything after a couple of blocks, resend it. If the 37 same happens again, send it to some other node. A few reasons why it could 38 happen: 39 40 1. malicious node can drop or pretend it had committed your tx 41 2. malicious proposer (not necessary the one you're communicating with) can 42 drop transactions, which might become valid in the future 43 (https://github.com/tendermint/tendermint/issues/3322) 44 45 46 Please refer to 47 https://docs.tendermint.com/master/tendermint-core/using-tendermint.html#formatting 48 for formatting/encoding rules. 49 parameters: 50 - in: query 51 name: tx 52 required: true 53 schema: 54 type: string 55 example: "456" 56 description: The transaction 57 responses: 58 200: 59 description: Empty 60 content: 61 application/json: 62 schema: 63 $ref: "#/components/schemas/BroadcastTxResponse" 64 500: 65 description: Error 66 content: 67 application/json: 68 schema: 69 $ref: "#/components/schemas/ErrorResponse" 70 /broadcast_tx_async: 71 get: 72 summary: Returns right away, with no response. Does not wait for CheckTx nor DeliverTx results. 73 tags: 74 - Tx 75 operationId: broadcast_tx_async 76 description: | 77 If you want to be sure that the transaction is included in a block, you can 78 subscribe for the result using JSONRPC via a websocket. See 79 https://docs.tendermint.com/master/app-dev/subscribing-to-events-via-websocket.html 80 If you haven't received anything after a couple of blocks, resend it. If the 81 same happens again, send it to some other node. A few reasons why it could 82 happen: 83 84 1. malicious node can drop or pretend it had committed your tx 85 2. malicious proposer (not necessary the one you're communicating with) can 86 drop transactions, which might become valid in the future 87 (https://github.com/tendermint/tendermint/issues/3322) 88 3. node can be offline 89 90 Please refer to 91 https://docs.tendermint.com/master/tendermint-core/using-tendermint.html#formatting 92 for formatting/encoding rules. 93 parameters: 94 - in: query 95 name: tx 96 required: true 97 schema: 98 type: string 99 example: "123" 100 description: The transaction 101 responses: 102 200: 103 description: empty answer 104 content: 105 application/json: 106 schema: 107 $ref: "#/components/schemas/BroadcastTxResponse" 108 500: 109 description: empty error 110 content: 111 application/json: 112 schema: 113 $ref: "#/components/schemas/ErrorResponse" 114 /broadcast_tx_commit: 115 get: 116 summary: Returns with the responses from CheckTx and DeliverTx. 117 tags: 118 - Tx 119 operationId: broadcast_tx_commit 120 description: | 121 IMPORTANT: use only for testing and development. In production, use 122 BroadcastTxSync or BroadcastTxAsync. You can subscribe for the transaction 123 result using JSONRPC via a websocket. See 124 https://docs.tendermint.com/master/app-dev/subscribing-to-events-via-websocket.html 125 126 CONTRACT: only returns error if mempool.CheckTx() errs or if we timeout 127 waiting for tx to commit. 128 129 If CheckTx or DeliverTx fail, no error will be returned, but the returned result 130 will contain a non-OK ABCI code. 131 132 Please refer to 133 https://docs.tendermint.com/master/tendermint-core/using-tendermint.html#formatting 134 for formatting/encoding rules. 135 parameters: 136 - in: query 137 name: tx 138 required: true 139 schema: 140 type: string 141 example: "785" 142 description: The transaction 143 responses: 144 200: 145 description: empty answer 146 content: 147 application/json: 148 schema: 149 $ref: "#/components/schemas/BroadcastTxCommitResponse" 150 500: 151 description: empty error 152 content: 153 application/json: 154 schema: 155 $ref: "#/components/schemas/ErrorResponse" 156 /subscribe: 157 get: 158 summary: Subscribe for events via WebSocket. 159 tags: 160 - Websocket 161 operationId: subscribe 162 description: | 163 To tell which events you want, you need to provide a query. query is a 164 string, which has a form: "condition AND condition ..." (no OR at the 165 moment). condition has a form: "key operation operand". key is a string with 166 a restricted set of possible symbols ( \t\n\r\\()"'=>< are not allowed). 167 operation can be "=", "<", "<=", ">", ">=", "CONTAINS" AND "EXISTS". operand 168 can be a string (escaped with single quotes), number, date or time. 169 170 Examples: 171 tm.event = 'NewBlock' # new blocks 172 tm.event = 'CompleteProposal' # node got a complete proposal 173 tm.event = 'Tx' AND tx.hash = 'XYZ' # single transaction 174 tm.event = 'Tx' AND tx.height = 5 # all txs of the fifth block 175 tx.height = 5 # all txs of the fifth block 176 177 Tendermint provides a few predefined keys: tm.event, tx.hash and tx.height. 178 Note for transactions, you can define additional keys by providing events with 179 DeliverTx response. 180 181 import ( 182 abci "github.com/tendermint/tendermint/abci/types" 183 "github.com/tendermint/tendermint/libs/pubsub/query" 184 ) 185 186 abci.ResponseDeliverTx{ 187 Events: []abci.Event{ 188 { 189 Type: "rewards.withdraw", 190 Attributes: kv.Pairs{ 191 kv.Pair{Key: []byte("address"), Value: []byte("AddrA")}, 192 kv.Pair{Key: []byte("source"), Value: []byte("SrcX")}, 193 kv.Pair{Key: []byte("amount"), Value: []byte("...")}, 194 kv.Pair{Key: []byte("balance"), Value: []byte("...")}, 195 }, 196 }, 197 { 198 Type: "rewards.withdraw", 199 Attributes: kv.Pairs{ 200 kv.Pair{Key: []byte("address"), Value: []byte("AddrB")}, 201 kv.Pair{Key: []byte("source"), Value: []byte("SrcY")}, 202 kv.Pair{Key: []byte("amount"), Value: []byte("...")}, 203 kv.Pair{Key: []byte("balance"), Value: []byte("...")}, 204 }, 205 }, 206 { 207 Type: "transfer", 208 Attributes: kv.Pairs{ 209 kv.Pair{Key: []byte("sender"), Value: []byte("AddrC")}, 210 kv.Pair{Key: []byte("recipient"), Value: []byte("AddrD")}, 211 kv.Pair{Key: []byte("amount"), Value: []byte("...")}, 212 }, 213 }, 214 }, 215 } 216 217 All events are indexed by a composite key of the form {eventType}.{evenAttrKey}. 218 In the above examples, the following keys would be indexed: 219 - rewards.withdraw.address 220 - rewards.withdraw.source 221 - rewards.withdraw.amount 222 - rewards.withdraw.balance 223 - transfer.sender 224 - transfer.recipient 225 - transfer.amount 226 227 Multiple event types with duplicate keys are allowed and are meant to 228 categorize unique and distinct events. In the above example, all events 229 indexed under the key `rewards.withdraw.address` will have the following 230 values stored and queryable: 231 232 - AddrA 233 - AddrB 234 235 To create a query for txs where address AddrA withdrew rewards: 236 query.MustParse("tm.event = 'Tx' AND rewards.withdraw.address = 'AddrA'") 237 238 To create a query for txs where address AddrA withdrew rewards from source Y: 239 query.MustParse("tm.event = 'Tx' AND rewards.withdraw.address = 'AddrA' AND rewards.withdraw.source = 'Y'") 240 241 To create a query for txs where AddrA transferred funds: 242 query.MustParse("tm.event = 'Tx' AND transfer.sender = 'AddrA'") 243 244 The following queries would return no results: 245 query.MustParse("tm.event = 'Tx' AND transfer.sender = 'AddrZ'") 246 query.MustParse("tm.event = 'Tx' AND rewards.withdraw.address = 'AddrZ'") 247 query.MustParse("tm.event = 'Tx' AND rewards.withdraw.source = 'W'") 248 249 See list of all possible events here 250 https://godoc.org/github.com/tendermint/tendermint/types#pkg-constants 251 252 For complete query syntax, check out 253 https://godoc.org/github.com/tendermint/tendermint/libs/pubsub/query. 254 255 ```go 256 import rpchttp "github.com/tendermint/rpc/client/http" 257 import "github.com/tendermint/tendermint/types" 258 259 client := rpchttp.New("tcp:0.0.0.0:26657", "/websocket") 260 err := client.Start() 261 if err != nil { 262 handle error 263 } 264 defer client.Stop() 265 ctx, cancel := context.WithTimeout(context.Background(), 1 * time.Second) 266 defer cancel() 267 query := "tm.event = 'Tx' AND tx.height = 3" 268 txs, err := client.Subscribe(ctx, "test-client", query) 269 if err != nil { 270 handle error 271 } 272 273 go func() { 274 for e := range txs { 275 fmt.Println("got ", e.Data.(types.EventDataTx)) 276 } 277 }() 278 ``` 279 parameters: 280 - in: query 281 name: query 282 required: true 283 schema: 284 type: string 285 example: tm.event = 'Tx' AND tx.height = 5 286 description: | 287 query is a string, which has a form: "condition AND condition ..." (no OR at the 288 moment). condition has a form: "key operation operand". key is a string with 289 a restricted set of possible symbols ( \t\n\r\\()"'=>< are not allowed). 290 operation can be "=", "<", "<=", ">", ">=", "CONTAINS". operand can be a 291 string (escaped with single quotes), number, date or time. 292 responses: 293 200: 294 description: empty answer 295 content: 296 application/json: 297 schema: 298 $ref: "#/components/schemas/EmptyResponse" 299 500: 300 description: empty error 301 content: 302 application/json: 303 schema: 304 $ref: "#/components/schemas/ErrorResponse" 305 /unsubscribe: 306 get: 307 summary: Unsubscribe from event on Websocket 308 tags: 309 - Websocket 310 operationId: unsubscribe 311 description: | 312 ```go 313 client := rpchttp.New("tcp:0.0.0.0:26657", "/websocket") 314 err := client.Start() 315 if err != nil { 316 handle error 317 } 318 defer client.Stop() 319 query := "tm.event = 'Tx' AND tx.height = 3" 320 err = client.Unsubscribe(context.Background(), "test-client", query) 321 if err != nil { 322 handle error 323 } 324 ``` 325 parameters: 326 - in: query 327 name: query 328 required: true 329 schema: 330 type: string 331 example: tm.event = 'Tx' AND tx.height = 5 332 description: | 333 query is a string, which has a form: "condition AND condition ..." (no OR at the 334 moment). condition has a form: "key operation operand". key is a string with 335 a restricted set of possible symbols ( \t\n\r\\()"'=>< are not allowed). 336 operation can be "=", "<", "<=", ">", ">=", "CONTAINS". operand can be a 337 string (escaped with single quotes), number, date or time. 338 responses: 339 200: 340 description: Answer 341 content: 342 application/json: 343 schema: 344 $ref: "#/components/schemas/EmptyResponse" 345 500: 346 description: Error 347 content: 348 application/json: 349 schema: 350 $ref: "#/components/schemas/ErrorResponse" 351 /unsubscribe_all: 352 get: 353 summary: Unsubscribe from all events via WebSocket 354 tags: 355 - Websocket 356 operationId: unsubscribe_all 357 description: | 358 Unsubscribe from all events via WebSocket 359 responses: 360 200: 361 description: empty answer 362 content: 363 application/json: 364 schema: 365 $ref: "#/components/schemas/EmptyResponse" 366 500: 367 description: empty error 368 content: 369 application/json: 370 schema: 371 $ref: "#/components/schemas/ErrorResponse" 372 /health: 373 get: 374 summary: Node heartbeat 375 tags: 376 - Info 377 operationId: health 378 description: | 379 Get node health. Returns empty result (200 OK) on success, no response - in case of an error. 380 responses: 381 200: 382 description: Gets Node Health 383 content: 384 application/json: 385 schema: 386 $ref: "#/components/schemas/EmptyResponse" 387 500: 388 description: empty error 389 content: 390 application/json: 391 schema: 392 $ref: "#/components/schemas/ErrorResponse" 393 /status: 394 get: 395 summary: Node Status 396 operationId: status 397 tags: 398 - Info 399 description: | 400 Get Tendermint status including node info, pubkey, latest block hash, app hash, block height and time. 401 responses: 402 200: 403 description: Status of the node 404 content: 405 application/json: 406 schema: 407 $ref: "#/components/schemas/StatusResponse" 408 500: 409 description: empty error 410 content: 411 application/json: 412 schema: 413 $ref: "#/components/schemas/ErrorResponse" 414 /consensus_reactor_status: 415 get: 416 summary: Status of Consensus Reactor 417 operationId: consensus_reactor_status 418 tags: 419 - Info 420 description: | 421 Get Tendermint consensus reactor status, returns info about whether if it's catching up via fast sync 422 responses: 423 200: 424 description: Status of the node 425 content: 426 application/json: 427 schema: 428 $ref: "#/components/schemas/ConsensusReactorStatus" 429 500: 430 description: empty error 431 content: 432 application/json: 433 schema: 434 $ref: "#/components/schemas/ErrorResponse" 435 /net_info: 436 get: 437 summary: Network informations 438 operationId: net_info 439 tags: 440 - Info 441 description: | 442 Get network info. 443 responses: 444 200: 445 description: empty answer 446 content: 447 application/json: 448 schema: 449 $ref: "#/components/schemas/NetInfoResponse" 450 500: 451 description: empty error 452 content: 453 application/json: 454 schema: 455 $ref: "#/components/schemas/ErrorResponse" 456 /dial_seeds: 457 post: 458 summary: Dial Seeds (Unsafe) 459 operationId: dial_seeds 460 tags: 461 - unsafe 462 description: | 463 Dial a peer, this route in under unsafe, and has to manually enabled to use 464 parameters: 465 - description: string of possible peers 466 in: body 467 name: Array of peers to connect to 468 required: true 469 schema: 470 $ref: "#/components/schemas/dialSeedsPost" 471 responses: 472 200: 473 description: Dialing seeds in progress. See /net_info for details 474 content: 475 application/json: 476 schema: 477 $ref: "#/components/schemas/dialResp" 478 500: 479 description: empty error 480 content: 481 application/json: 482 schema: 483 $ref: "#/components/schemas/ErrorResponse" 484 /dial_peers: 485 post: 486 summary: Add Peers/Persistent Peers (unsafe) 487 operationId: dial_peers 488 tags: 489 - unsafe 490 description: | 491 Set a persistent peer, this route in under unsafe, and has to manually enabled to use 492 parameters: 493 - description: string of possible peers, bool argument if they should be added as persistent 494 in: body 495 name: Array of peers to connect to & if they should be persistent 496 required: true 497 schema: 498 $ref: "#/components/schemas/dialPeersPost" 499 responses: 500 200: 501 description: Dialing seeds in progress. See /net_info for details 502 content: 503 application/json: 504 schema: 505 $ref: "#/components/schemas/dialResp" 506 500: 507 description: empty error 508 content: 509 application/json: 510 schema: 511 $ref: "#/components/schemas/ErrorResponse" 512 /blockchain: 513 get: 514 summary: Get block headers for minHeight <= height <= maxHeight. 515 operationId: blockchain 516 parameters: 517 - in: query 518 name: minHeight 519 description: Minimum block height to return 520 schema: 521 type: number 522 example: 1 523 - in: query 524 name: maxHeight 525 description: Maximum block height to return 526 schema: 527 type: number 528 example: 2 529 tags: 530 - Info 531 description: | 532 Get Blockchain info. 533 responses: 534 200: 535 description: Block headers, returned in descending order (highest first). 536 content: 537 application/json: 538 schema: 539 $ref: "#/components/schemas/BlockchainResponse" 540 500: 541 description: Error 542 content: 543 application/json: 544 schema: 545 $ref: "#/components/schemas/ErrorResponse" 546 /block: 547 get: 548 summary: Get block at a specified height 549 operationId: block 550 parameters: 551 - in: query 552 name: height 553 schema: 554 type: number 555 default: 0 556 example: 1 557 description: height to return. If no height is provided, it will fetch the latest block. 558 tags: 559 - Info 560 description: | 561 Get Block. 562 responses: 563 200: 564 description: Block informations. 565 content: 566 application/json: 567 schema: 568 $ref: "#/components/schemas/BlockResponse" 569 500: 570 description: Error 571 content: 572 application/json: 573 schema: 574 $ref: "#/components/schemas/ErrorResponse" 575 /block_by_hash: 576 get: 577 summary: Get block by hash 578 operationId: block_by_hash 579 parameters: 580 - in: query 581 name: hash 582 description: block hash 583 required: true 584 schema: 585 type: string 586 example: "0xD70952032620CC4E2737EB8AC379806359D8E0B17B0488F627997A0B043ABDED" 587 tags: 588 - Info 589 description: | 590 Get Block By Hash. 591 responses: 592 200: 593 description: Block informations. 594 content: 595 application/json: 596 schema: 597 $ref: "#/components/schemas/BlockResponse" 598 500: 599 description: Error 600 content: 601 application/json: 602 schema: 603 $ref: "#/components/schemas/ErrorResponse" 604 /block_results: 605 get: 606 summary: Get block results at a specified height 607 operationId: block_results 608 parameters: 609 - in: query 610 name: height 611 description: height to return. If no height is provided, it will fetch informations regarding the latest block. 612 schema: 613 type: number 614 default: 0 615 example: 1 616 tags: 617 - Info 618 description: | 619 Get block_results. 620 responses: 621 200: 622 description: Block results. 623 content: 624 application/json: 625 schema: 626 $ref: "#/components/schemas/BlockResultsResponse" 627 500: 628 description: Error 629 content: 630 application/json: 631 schema: 632 $ref: "#/components/schemas/ErrorResponse" 633 /commit: 634 get: 635 summary: Get commit results at a specified height 636 operationId: commit 637 parameters: 638 - in: query 639 name: height 640 description: height to return. If no height is provided, it will fetch commit informations regarding the latest block. 641 schema: 642 type: number 643 default: 0 644 example: 1 645 tags: 646 - Info 647 description: | 648 Get Commit. 649 responses: 650 200: 651 description: Commit results. 652 content: 653 application/json: 654 schema: 655 $ref: "#/components/schemas/CommitResponse" 656 500: 657 description: Error 658 content: 659 application/json: 660 schema: 661 $ref: "#/components/schemas/ErrorResponse" 662 /validators: 663 get: 664 summary: Get validator set at a specified height 665 operationId: validators 666 parameters: 667 - in: query 668 name: height 669 description: height to return. If no height is provided, it will fetch validator set which corresponds to the latest block. 670 schema: 671 type: number 672 default: 0 673 example: 1 674 - in: query 675 name: page 676 description: "Page number (1-based)" 677 required: false 678 schema: 679 type: number 680 default: 0 681 example: 1 682 - in: query 683 name: per_page 684 description: "Number of entries per page (max: 100)" 685 required: false 686 schema: 687 type: number 688 example: 30 689 default: 30 690 tags: 691 - Info 692 description: | 693 Get Validators. 694 responses: 695 200: 696 description: Commit results. 697 content: 698 application/json: 699 schema: 700 $ref: "#/components/schemas/ValidatorsResponse" 701 500: 702 description: Error 703 content: 704 application/json: 705 schema: 706 $ref: "#/components/schemas/ErrorResponse" 707 /genesis: 708 get: 709 summary: Get Genesis 710 operationId: genesis 711 tags: 712 - Info 713 description: | 714 Get genesis. 715 responses: 716 200: 717 description: Genesis results. 718 content: 719 application/json: 720 schema: 721 $ref: "#/components/schemas/GenesisResponse" 722 500: 723 description: Error 724 content: 725 application/json: 726 schema: 727 $ref: "#/components/schemas/ErrorResponse" 728 /dump_consensus_state: 729 get: 730 summary: Get consensus state 731 operationId: dump_consensus_state 732 tags: 733 - Info 734 description: | 735 Get consensus state. 736 737 Not safe to call from inside the ABCI application during a block execution. 738 responses: 739 200: 740 description: consensus state results. 741 content: 742 application/json: 743 schema: 744 $ref: "#/components/schemas/DumpConsensusResponse" 745 500: 746 description: Error 747 content: 748 application/json: 749 schema: 750 $ref: "#/components/schemas/ErrorResponse" 751 /consensus_state: 752 get: 753 summary: Get consensus state 754 operationId: consensus_state 755 tags: 756 - Info 757 description: | 758 Get consensus state. 759 760 Not safe to call from inside the ABCI application during a block execution. 761 responses: 762 200: 763 description: consensus state results. 764 content: 765 application/json: 766 schema: 767 $ref: "#/components/schemas/ConsensusStateResponse" 768 500: 769 description: Error 770 content: 771 application/json: 772 schema: 773 $ref: "#/components/schemas/ErrorResponse" 774 /consensus_params: 775 get: 776 summary: Get consensus parameters 777 operationId: consensus_params 778 parameters: 779 - in: query 780 name: height 781 description: height to return. If no height is provided, it will fetch commit informations regarding the latest block. 782 schema: 783 type: number 784 default: 0 785 example: 1 786 tags: 787 - Info 788 description: | 789 Get consensus parameters. 790 responses: 791 200: 792 description: consensus parameters results. 793 content: 794 application/json: 795 schema: 796 $ref: "#/components/schemas/ConsensusParamsResponse" 797 500: 798 description: Error 799 content: 800 application/json: 801 schema: 802 $ref: "#/components/schemas/ErrorResponse" 803 /unconfirmed_txs: 804 get: 805 summary: Get the list of unconfirmed transactions 806 operationId: unconfirmed_txs 807 parameters: 808 - in: query 809 name: limit 810 description: Maximum number of unconfirmed transactions to return 811 schema: 812 type: number 813 example: 1 814 tags: 815 - Info 816 description: | 817 Get list of unconfirmed transactions 818 responses: 819 200: 820 description: List of unconfirmed transactions 821 content: 822 application/json: 823 schema: 824 $ref: "#/components/schemas/UnconfirmedTransactionsResponse" 825 500: 826 description: Error 827 content: 828 application/json: 829 schema: 830 $ref: "#/components/schemas/ErrorResponse" 831 /num_unconfirmed_txs: 832 get: 833 summary: Get data about unconfirmed transactions 834 operationId: num_unconfirmed_txs 835 tags: 836 - Info 837 description: | 838 Get data about unconfirmed transactions 839 responses: 840 200: 841 description: status about unconfirmed transactions 842 content: 843 application/json: 844 schema: 845 $ref: "#/components/schemas/NumUnconfirmedTransactionsResponse" 846 500: 847 description: Error 848 content: 849 application/json: 850 schema: 851 $ref: "#/components/schemas/ErrorResponse" 852 /tx_search: 853 get: 854 summary: Search for transactions 855 operationId: tx_search 856 parameters: 857 - in: query 858 name: query 859 description: Query 860 required: true 861 schema: 862 type: string 863 example: "tx.height=1000" 864 - in: query 865 name: prove 866 description: Include proofs of the transactions inclusion in the block 867 required: false 868 schema: 869 type: boolean 870 default: false 871 example: true 872 - in: query 873 name: page 874 description: "Page number (1-based)" 875 required: false 876 schema: 877 type: number 878 default: 1 879 example: 1 880 - in: query 881 name: per_page 882 description: "Number of entries per page (max: 100)" 883 required: false 884 schema: 885 type: number 886 default: 30 887 example: 30 888 - in: query 889 name: order_by 890 description: Order in which transactions are sorted ("asc" or "desc"), by height & index. If empty, default sorting will be still applied. 891 required: false 892 schema: 893 type: string 894 default: "asc" 895 example: "asc" 896 tags: 897 - Info 898 description: | 899 Get list of unconfirmed transactions 900 responses: 901 200: 902 description: List of unconfirmed transactions 903 content: 904 application/json: 905 schema: 906 $ref: "#/components/schemas/TxSearchResponse" 907 500: 908 description: Error 909 content: 910 application/json: 911 schema: 912 $ref: "#/components/schemas/ErrorResponse" 913 /tx: 914 get: 915 summary: Get transactions by hash 916 operationId: tx 917 parameters: 918 - in: query 919 name: hash 920 description: transaction Hash to retrive 921 required: true 922 schema: 923 type: string 924 example: "0xD70952032620CC4E2737EB8AC379806359D8E0B17B0488F627997A0B043ABDED" 925 - in: query 926 name: prove 927 description: Include proofs of the transactions inclusion in the block 928 required: false 929 schema: 930 type: boolean 931 example: true 932 default: false 933 tags: 934 - Info 935 description: | 936 Get a trasasction 937 responses: 938 200: 939 description: Get a transaction` 940 content: 941 application/json: 942 schema: 943 $ref: "#/components/schemas/TxResponse" 944 500: 945 description: Error 946 content: 947 application/json: 948 schema: 949 $ref: "#/components/schemas/ErrorResponse" 950 /abci_info: 951 get: 952 summary: Get some info about the application. 953 operationId: abci_info 954 tags: 955 - ABCI 956 description: | 957 Get some info about the application. 958 responses: 959 200: 960 description: Get some info about the application. 961 content: 962 application/json: 963 schema: 964 $ref: "#/components/schemas/ABCIInfoResponse" 965 500: 966 description: Error 967 content: 968 application/json: 969 schema: 970 $ref: "#/components/schemas/ErrorResponse" 971 /abci_query: 972 get: 973 summary: Query the application for some information. 974 operationId: abci_query 975 parameters: 976 - in: query 977 name: path 978 description: Path to the data ("/a/b/c") 979 required: true 980 schema: 981 type: string 982 example: "/a/b/c" 983 - in: query 984 name: data 985 description: Data 986 required: true 987 schema: 988 type: string 989 example: "IHAVENOIDEA" 990 - in: query 991 name: height 992 description: Height (0 means latest) 993 required: false 994 schema: 995 type: number 996 example: 1 997 default: 0 998 - in: query 999 name: prove 1000 description: Include proofs of the transactions inclusion in the block 1001 required: false 1002 schema: 1003 type: boolean 1004 example: true 1005 default: false 1006 tags: 1007 - ABCI 1008 description: | 1009 Query the application for some information. 1010 responses: 1011 200: 1012 description: Response of the submitted query 1013 content: 1014 application/json: 1015 schema: 1016 $ref: "#/components/schemas/ABCIQueryResponse" 1017 500: 1018 description: Error 1019 content: 1020 application/json: 1021 schema: 1022 $ref: "#/components/schemas/ErrorResponse" 1023 /broadcast_evidence: 1024 get: 1025 summary: Broadcast evidence of the misbehavior. 1026 operationId: broadcast_evidence 1027 parameters: 1028 - in: query 1029 name: evidence 1030 description: Amino-encoded JSON evidence 1031 required: true 1032 schema: 1033 type: string 1034 example: "JSON_EVIDENCE_Amino_encoded" 1035 tags: 1036 - Info 1037 description: | 1038 Broadcast evidence of the misbehavior. 1039 responses: 1040 200: 1041 description: Broadcast evidence of the misbehavior. 1042 content: 1043 application/json: 1044 schema: 1045 $ref: "#/components/schemas/BroadcastEvidenceResponse" 1046 500: 1047 description: Error 1048 content: 1049 application/json: 1050 schema: 1051 $ref: "#/components/schemas/ErrorResponse" 1052 1053 components: 1054 schemas: 1055 JSONRPC: 1056 type: object 1057 properties: 1058 id: 1059 type: number 1060 example: 0 1061 jsonrpc: 1062 type: string 1063 example: "2.0" 1064 EmptyResponse: 1065 description: Empty Response 1066 allOf: 1067 - $ref: "#/components/schemas/JSONRPC" 1068 - type: object 1069 properties: 1070 result: 1071 type: object 1072 additionalProperties: {} 1073 ErrorResponse: 1074 description: Error Response 1075 allOf: 1076 - $ref: "#/components/schemas/JSONRPC" 1077 - type: object 1078 properties: 1079 error: 1080 type: string 1081 example: "Description of failure" 1082 ProtocolVersion: 1083 type: object 1084 properties: 1085 p2p: 1086 type: string 1087 example: "7" 1088 block: 1089 type: string 1090 example: "10" 1091 app: 1092 type: string 1093 example: "0" 1094 PubKey: 1095 type: object 1096 properties: 1097 type: 1098 type: string 1099 example: "tendermint/PubKeyEd25519" 1100 value: 1101 type: string 1102 example: "A6DoBUypNtUAyEHWtQ9bFjfNg8Bo9CrnkUGl6k6OHN4=" 1103 NodeInfo: 1104 type: object 1105 properties: 1106 protocol_version: 1107 $ref: "#/components/schemas/ProtocolVersion" 1108 id: 1109 type: string 1110 example: "5576458aef205977e18fd50b274e9b5d9014525a" 1111 listen_addr: 1112 type: string 1113 example: "tcp:0.0.0.0:26656" 1114 network: 1115 type: string 1116 example: "cosmoshub-2" 1117 version: 1118 type: string 1119 example: "0.32.1" 1120 channels: 1121 type: string 1122 example: "4020212223303800" 1123 moniker: 1124 type: string 1125 example: "moniker-node" 1126 other: 1127 type: object 1128 properties: 1129 tx_index: 1130 type: string 1131 example: "on" 1132 rpc_address: 1133 type: string 1134 example: "tcp:0.0.0.0:26657" 1135 example: "moniker-node" 1136 SyncInfo: 1137 type: object 1138 properties: 1139 latest_block_hash: 1140 type: string 1141 example: "790BA84C3545FCCC49A5C629CEE6EA58A6E875C3862175BDC11EE7AF54703501" 1142 latest_app_hash: 1143 type: string 1144 example: "C9AEBB441B787D9F1D846DE51F3826F4FD386108B59B08239653ABF59455C3F8" 1145 latest_block_height: 1146 type: string 1147 example: "1262196" 1148 latest_block_time: 1149 type: string 1150 example: "2019-08-01T11:52:22.818762194Z" 1151 earliest_block_hash: 1152 type: string 1153 example: "790BA84C3545FCCC49A5C629CEE6EA58A6E875C3862175BDC11EE7AF54703501" 1154 earliest_app_hash: 1155 type: string 1156 example: "C9AEBB441B787D9F1D846DE51F3826F4FD386108B59B08239653ABF59455C3F8" 1157 earliest_block_height: 1158 type: string 1159 example: "1262196" 1160 earliest_block_time: 1161 type: string 1162 example: "2019-08-01T11:52:22.818762194Z" 1163 catching_up: 1164 type: boolean 1165 example: false 1166 ValidatorInfo: 1167 type: object 1168 properties: 1169 address: 1170 type: string 1171 example: "5D6A51A8E9899C44079C6AF90618BA0369070E6E" 1172 pub_key: 1173 $ref: "#/components/schemas/PubKey" 1174 voting_power: 1175 type: string 1176 example: "0" 1177 Status: 1178 description: Status Response 1179 type: object 1180 properties: 1181 node_info: 1182 $ref: "#/components/schemas/NodeInfo" 1183 sync_info: 1184 $ref: "#/components/schemas/SyncInfo" 1185 validator_info: 1186 $ref: "#/components/schemas/ValidatorInfo" 1187 ConsensusReactorStatus: 1188 description: ConsensusReactorStatus Response 1189 type: object 1190 properties: 1191 is_catching_up: 1192 type: boolean 1193 example: false 1194 StatusResponse: 1195 description: Status Response 1196 allOf: 1197 - $ref: "#/components/schemas/JSONRPC" 1198 - type: object 1199 properties: 1200 result: 1201 $ref: "#/components/schemas/Status" 1202 Monitor: 1203 type: object 1204 properties: 1205 Active: 1206 type: boolean 1207 example: true 1208 Start: 1209 type: string 1210 example: "2019-07-31T14:31:28.66Z" 1211 Duration: 1212 type: string 1213 example: "168901060000000" 1214 Idle: 1215 type: string 1216 example: "168901040000000" 1217 Bytes: 1218 type: string 1219 example: "5" 1220 Samples: 1221 type: string 1222 example: "1" 1223 InstRate: 1224 type: string 1225 example: "0" 1226 CurRate: 1227 type: string 1228 example: "0" 1229 AvgRate: 1230 type: string 1231 example: "0" 1232 PeakRate: 1233 type: string 1234 example: "0" 1235 BytesRem: 1236 type: string 1237 example: "0" 1238 TimeRem: 1239 type: string 1240 example: "0" 1241 Progress: 1242 type: number 1243 example: 0 1244 Channel: 1245 type: object 1246 properties: 1247 ID: 1248 type: number 1249 example: 48 1250 SendQueueCapacity: 1251 type: string 1252 example: "1" 1253 SendQueueSize: 1254 type: string 1255 example: "0" 1256 Priority: 1257 type: string 1258 example: "5" 1259 RecentlySent: 1260 type: string 1261 example: "0" 1262 ConnectionStatus: 1263 type: object 1264 properties: 1265 Duration: 1266 type: string 1267 example: "168901057956119" 1268 SendMonitor: 1269 $ref: "#/components/schemas/Monitor" 1270 RecvMonitor: 1271 $ref: "#/components/schemas/Monitor" 1272 Channels: 1273 type: array 1274 items: 1275 $ref: "#/components/schemas/Channel" 1276 Peer: 1277 type: object 1278 properties: 1279 node_info: 1280 $ref: "#/components/schemas/NodeInfo" 1281 is_outbound: 1282 type: boolean 1283 example: true 1284 connection_status: 1285 $ref: "#/components/schemas/ConnectionStatus" 1286 remote_ip: 1287 type: string 1288 example: "95.179.155.35" 1289 NetInfo: 1290 type: object 1291 properties: 1292 listening: 1293 type: boolean 1294 example: true 1295 listeners: 1296 type: array 1297 items: 1298 type: string 1299 example: "Listener(@)" 1300 n_peers: 1301 type: number 1302 example: "1" 1303 peers: 1304 type: array 1305 items: 1306 $ref: "#/components/schemas/Peer" 1307 NetInfoResponse: 1308 description: NetInfo Response 1309 allOf: 1310 - $ref: "#/components/schemas/JSONRPC" 1311 - type: object 1312 properties: 1313 result: 1314 $ref: "#/components/schemas/NetInfo" 1315 BlockID: 1316 required: 1317 - "hash" 1318 - "parts" 1319 properties: 1320 hash: 1321 type: string 1322 example: "D82C2734BB0E76C772A10994B210EF9D11505D1B98CB189D9CF7F9A5488672A5" 1323 parts: 1324 required: 1325 - "total" 1326 - "hash" 1327 properties: 1328 total: 1329 type: string 1330 example: "1" 1331 hash: 1332 type: string 1333 example: "CB02DCAA7FB46BF874052EC2273FD0B1F2CF2E1593298D9781E60FE9C3DB8638" 1334 type: object 1335 type: object 1336 BlockHeader: 1337 required: 1338 - "version" 1339 - "chain_id" 1340 - "height" 1341 - "time" 1342 - "last_block_id" 1343 - "last_commit_hash" 1344 - "data_hash" 1345 - "validators_hash" 1346 - "next_validators_hash" 1347 - "consensus_hash" 1348 - "app_hash" 1349 - "last_results_hash" 1350 - "evidence_hash" 1351 - "proposer_address" 1352 properties: 1353 version: 1354 required: 1355 - "block" 1356 - "app" 1357 properties: 1358 block: 1359 type: string 1360 example: "10" 1361 app: 1362 type: string 1363 example: "0" 1364 type: object 1365 chain_id: 1366 type: string 1367 example: "cosmoshub-2" 1368 height: 1369 type: string 1370 example: "12" 1371 time: 1372 type: string 1373 example: "2019-04-22T17:01:51.701356223Z" 1374 last_block_id: 1375 $ref: "#/components/schemas/BlockID" 1376 last_commit_hash: 1377 type: string 1378 example: "21B9BC845AD2CB2C4193CDD17BFC506F1EBE5A7402E84AD96E64171287A34812" 1379 data_hash: 1380 type: string 1381 example: "970886F99E77ED0D60DA8FCE0447C2676E59F2F77302B0C4AA10E1D02F18EF73" 1382 validators_hash: 1383 type: string 1384 example: "D658BFD100CA8025CFD3BECFE86194322731D387286FBD26E059115FD5F2BCA0" 1385 next_validators_hash: 1386 type: string 1387 example: "D658BFD100CA8025CFD3BECFE86194322731D387286FBD26E059115FD5F2BCA0" 1388 consensus_hash: 1389 type: string 1390 example: "0F2908883A105C793B74495EB7D6DF2EEA479ED7FC9349206A65CB0F9987A0B8" 1391 app_hash: 1392 type: string 1393 example: "223BF64D4A01074DC523A80E76B9BBC786C791FB0A1893AC5B14866356FCFD6C" 1394 last_results_hash: 1395 type: string 1396 example: "" 1397 evidence_hash: 1398 type: string 1399 example: "" 1400 proposer_address: 1401 type: string 1402 example: "D540AB022088612AC74B287D076DBFBC4A377A2E" 1403 type: object 1404 BlockId: 1405 required: 1406 - "hash" 1407 - "parts" 1408 properties: 1409 hash: 1410 type: string 1411 example: "112BC173FD838FB68EB43476816CD7B4C6661B6884A9E357B417EE957E1CF8F7" 1412 parts: 1413 required: 1414 - "total" 1415 - "hash" 1416 properties: 1417 total: 1418 type: string 1419 example: "1" 1420 hash: 1421 type: string 1422 example: "38D4B26B5B725C4F13571EFE022C030390E4C33C8CF6F88EDD142EA769642DBD" 1423 type: object 1424 type: object 1425 BlockMeta: 1426 type: object 1427 properties: 1428 block_id: 1429 $ref: "#/components/schemas/BlockId" 1430 block_size: 1431 type: number 1432 example: 1000000 1433 header: 1434 $ref: "#/components/schemas/BlockHeader" 1435 num_txs: 1436 type: string 1437 example: "54" 1438 Blockchain: 1439 type: object 1440 required: 1441 - "last_height" 1442 - "block_metas" 1443 properties: 1444 last_height: 1445 type: string 1446 example: "1276718" 1447 block_metas: 1448 type: "array" 1449 items: 1450 $ref: "#/components/schemas/BlockMeta" 1451 BlockchainResponse: 1452 description: Blockchain info 1453 allOf: 1454 - $ref: "#/components/schemas/JSONRPC" 1455 - type: object 1456 properties: 1457 result: 1458 $ref: "#/components/schemas/Blockchain" 1459 Commit: 1460 required: 1461 - "type" 1462 - "height" 1463 - "round" 1464 - "block_id" 1465 - "timestamp" 1466 - "validator_address" 1467 - "validator_index" 1468 - "signature" 1469 properties: 1470 type: 1471 type: number 1472 example: 2 1473 height: 1474 type: string 1475 example: "1262085" 1476 round: 1477 type: string 1478 example: "0" 1479 block_id: 1480 $ref: "#/components/schemas/BlockID" 1481 timestamp: 1482 type: string 1483 example: "2019-08-01T11:39:38.867269833Z" 1484 validator_address: 1485 type: string 1486 example: "000001E443FD237E4B616E2FA69DF4EE3D49A94F" 1487 validator_index: 1488 type: string 1489 example: "0" 1490 signature: 1491 type: string 1492 example: "DBchvucTzAUEJnGYpNvMdqLhBAHG4Px8BsOBB3J3mAFCLGeuG7uJqy+nVngKzZdPhPi8RhmE/xcw/M9DOJjEDg==" 1493 Block: 1494 type: object 1495 properties: 1496 header: 1497 $ref: "#/components/schemas/BlockHeader" 1498 data: 1499 type: array 1500 items: 1501 type: string 1502 example: "yQHwYl3uCkKoo2GaChRnd+THLQ2RM87nEZrE19910Z28ABIUWW/t8AtIMwcyU0sT32RcMDI9GF0aEAoFdWF0b20SBzEwMDAwMDASEwoNCgV1YXRvbRIEMzEwMRCd8gEaagom61rphyEDoJPxlcjRoNDtZ9xMdvs+lRzFaHe2dl2P5R2yVCWrsHISQKkqX5H1zXAIJuC57yw0Yb03Fwy75VRip0ZBtLiYsUqkOsPUoQZAhDNP+6LY+RUwz/nVzedkF0S29NZ32QXdGv0=" 1503 evidence: 1504 type: array 1505 items: 1506 $ref: "#/components/schemas/Evidence" 1507 last_commit: 1508 type: object 1509 properties: 1510 height: 1511 type: number 1512 round: 1513 type: number 1514 block_id: 1515 $ref: "#/components/schemas/BlockID" 1516 signatures: 1517 type: array 1518 items: 1519 $ref: "#/components/schemas/Commit" 1520 Validator: 1521 type: object 1522 properties: 1523 pub_key: 1524 $ref: "#/components/schemas/PubKey" 1525 voting_power: 1526 type: number 1527 address: 1528 type: string 1529 Evidence: 1530 type: object 1531 properties: 1532 type: 1533 type: string 1534 height: 1535 type: number 1536 time: 1537 type: number 1538 total_voting_power: 1539 type: number 1540 validator: 1541 $ref: "#/components/schemas/Validator" 1542 BlockComplete: 1543 type: object 1544 properties: 1545 block_id: 1546 $ref: "#/components/schemas/BlockID" 1547 block: 1548 $ref: "#/components/schemas/Block" 1549 BlockResponse: 1550 description: Blockc info 1551 allOf: 1552 - $ref: "#/components/schemas/JSONRPC" 1553 - type: object 1554 properties: 1555 result: 1556 $ref: "#/components/schemas/BlockComplete" 1557 Tag: 1558 type: object 1559 properties: 1560 key: 1561 type: string 1562 example: "YWN0aW9u" 1563 value: 1564 type: string 1565 example: "c2VuZA==" 1566 ################## FROM NOW ON NEEDS REFACTOR ################## 1567 BlockResultsResponse: 1568 type: "object" 1569 required: 1570 - "jsonrpc" 1571 - "id" 1572 - "result" 1573 properties: 1574 jsonrpc: 1575 type: "string" 1576 example: "2.0" 1577 id: 1578 type: "number" 1579 example: 0 1580 result: 1581 type: "object" 1582 required: 1583 - "height" 1584 properties: 1585 height: 1586 type: "string" 1587 example: "12" 1588 txs_results: 1589 type: "array" 1590 x-nullable: true 1591 items: 1592 type: "object" 1593 properties: 1594 code: 1595 type: "string" 1596 example: "0" 1597 data: 1598 type: "string" 1599 example: "" 1600 log: 1601 type: "string" 1602 example: "not enough gas" 1603 info: 1604 type: "string" 1605 example: "" 1606 gasWanted: 1607 type: "string" 1608 example: "100" 1609 gasUsed: 1610 type: "string" 1611 example: "100" 1612 events: 1613 type: "array" 1614 x-nullable: true 1615 items: 1616 type: "object" 1617 properties: 1618 type: 1619 type: "string" 1620 example: "app" 1621 attributes: 1622 type: "array" 1623 x-nullable: false 1624 items: 1625 type: "object" 1626 properties: 1627 key: 1628 type: "string" 1629 example: "Y3JlYXRvcg==" 1630 value: 1631 type: "string" 1632 example: "Q29zbW9zaGkgTmV0b3dva28=" 1633 codespace: 1634 type: "string" 1635 example: "ibc" 1636 begin_block_events: 1637 type: "array" 1638 x-nullable: true 1639 items: 1640 type: "object" 1641 properties: 1642 type: 1643 type: "string" 1644 example: "app" 1645 attributes: 1646 type: "array" 1647 x-nullable: false 1648 items: 1649 type: "object" 1650 properties: 1651 key: 1652 type: "string" 1653 example: "Y3JlYXRvcg==" 1654 value: 1655 type: "string" 1656 example: "Q29zbW9zaGkgTmV0b3dva28=" 1657 end_block: 1658 type: "array" 1659 x-nullable: true 1660 items: 1661 type: "object" 1662 properties: 1663 type: 1664 type: "string" 1665 example: "app" 1666 attributes: 1667 type: "array" 1668 x-nullable: false 1669 items: 1670 type: "object" 1671 properties: 1672 key: 1673 type: "string" 1674 example: "Y3JlYXRvcg==" 1675 value: 1676 type: "string" 1677 example: "Q29zbW9zaGkgTmV0b3dva28=" 1678 validator_updates: 1679 type: "array" 1680 x-nullable: true 1681 items: 1682 type: "object" 1683 properties: 1684 pub_key: 1685 type: "object" 1686 required: 1687 - "type" 1688 - "value" 1689 properties: 1690 type: 1691 type: "string" 1692 example: "tendermint/PubKeyEd25519" 1693 value: 1694 type: "string" 1695 example: "9tK9IT+FPdf2qm+5c2qaxi10sWP+3erWTKgftn2PaQM=" 1696 power: 1697 type: "string" 1698 example: "300" 1699 consensus_param_updates: 1700 type: "object" 1701 x-nullable: true 1702 required: 1703 - "block" 1704 - "evidence" 1705 - "validator" 1706 properties: 1707 block: 1708 type: "object" 1709 required: 1710 - "max_bytes" 1711 - "max_gas" 1712 - "time_iota_ms" 1713 properties: 1714 max_bytes: 1715 type: "string" 1716 example: "22020096" 1717 max_gas: 1718 type: "string" 1719 example: "1000" 1720 time_iota_ms: 1721 type: "string" 1722 example: "1000" 1723 evidence: 1724 type: "object" 1725 required: 1726 - "max_age" 1727 properties: 1728 max_age: 1729 type: "string" 1730 example: "100000" 1731 validator: 1732 type: "object" 1733 required: 1734 - "pub_key_types" 1735 properties: 1736 pub_key_types: 1737 type: "array" 1738 items: 1739 type: "string" 1740 example: 1741 - "ed25519" 1742 1743 CommitResponse: 1744 type: "object" 1745 required: 1746 - "jsonrpc" 1747 - "id" 1748 - "result" 1749 properties: 1750 jsonrpc: 1751 type: "string" 1752 example: "2.0" 1753 id: 1754 type: "number" 1755 example: 0 1756 result: 1757 required: 1758 - "signed_header" 1759 - "canonical" 1760 properties: 1761 signed_header: 1762 required: 1763 - "header" 1764 - "commit" 1765 properties: 1766 header: 1767 required: 1768 - "version" 1769 - "chain_id" 1770 - "height" 1771 - "time" 1772 - "last_block_id" 1773 - "last_commit_hash" 1774 - "data_hash" 1775 - "validators_hash" 1776 - "next_validators_hash" 1777 - "consensus_hash" 1778 - "app_hash" 1779 - "last_results_hash" 1780 - "evidence_hash" 1781 - "proposer_address" 1782 properties: 1783 version: 1784 required: 1785 - "block" 1786 - "app" 1787 properties: 1788 block: 1789 type: "string" 1790 example: "10" 1791 app: 1792 type: "string" 1793 example: "0" 1794 type: "object" 1795 chain_id: 1796 type: "string" 1797 example: "cosmoshub-2" 1798 height: 1799 type: "string" 1800 example: "12" 1801 time: 1802 type: "string" 1803 example: "2019-04-22T17:01:51.701356223Z" 1804 last_block_id: 1805 required: 1806 - "hash" 1807 - "parts" 1808 properties: 1809 hash: 1810 type: "string" 1811 example: "D82C2734BB0E76C772A10994B210EF9D11505D1B98CB189D9CF7F9A5488672A5" 1812 parts: 1813 required: 1814 - "total" 1815 - "hash" 1816 properties: 1817 total: 1818 type: "string" 1819 example: "1" 1820 hash: 1821 type: "string" 1822 example: "CB02DCAA7FB46BF874052EC2273FD0B1F2CF2E1593298D9781E60FE9C3DB8638" 1823 type: "object" 1824 type: "object" 1825 last_commit_hash: 1826 type: "string" 1827 example: "21B9BC845AD2CB2C4193CDD17BFC506F1EBE5A7402E84AD96E64171287A34812" 1828 data_hash: 1829 type: "string" 1830 example: "970886F99E77ED0D60DA8FCE0447C2676E59F2F77302B0C4AA10E1D02F18EF73" 1831 validators_hash: 1832 type: "string" 1833 example: "D658BFD100CA8025CFD3BECFE86194322731D387286FBD26E059115FD5F2BCA0" 1834 next_validators_hash: 1835 type: "string" 1836 example: "D658BFD100CA8025CFD3BECFE86194322731D387286FBD26E059115FD5F2BCA0" 1837 consensus_hash: 1838 type: "string" 1839 example: "0F2908883A105C793B74495EB7D6DF2EEA479ED7FC9349206A65CB0F9987A0B8" 1840 app_hash: 1841 type: "string" 1842 example: "223BF64D4A01074DC523A80E76B9BBC786C791FB0A1893AC5B14866356FCFD6C" 1843 last_results_hash: 1844 type: "string" 1845 example: "" 1846 evidence_hash: 1847 type: "string" 1848 example: "" 1849 proposer_address: 1850 type: "string" 1851 example: "D540AB022088612AC74B287D076DBFBC4A377A2E" 1852 type: "object" 1853 commit: 1854 required: 1855 - "height" 1856 - "round" 1857 - "block_id" 1858 - "signatures" 1859 properties: 1860 height: 1861 type: "string" 1862 example: "1311801" 1863 round: 1864 type: "string" 1865 example: "0" 1866 block_id: 1867 required: 1868 - "hash" 1869 - "parts" 1870 properties: 1871 hash: 1872 type: "string" 1873 example: "112BC173FD838FB68EB43476816CD7B4C6661B6884A9E357B417EE957E1CF8F7" 1874 parts: 1875 required: 1876 - "total" 1877 - "hash" 1878 properties: 1879 total: 1880 type: "string" 1881 example: "1" 1882 hash: 1883 type: "string" 1884 example: "38D4B26B5B725C4F13571EFE022C030390E4C33C8CF6F88EDD142EA769642DBD" 1885 type: "object" 1886 type: "object" 1887 signatures: 1888 type: "array" 1889 items: 1890 type: "object" 1891 properties: 1892 block_id_flag: 1893 type: "number" 1894 example: 2 1895 validator_address: 1896 type: "string" 1897 example: "000001E443FD237E4B616E2FA69DF4EE3D49A94F" 1898 timestamp: 1899 type: "string" 1900 example: "2019-04-22T17:01:58.376629719Z" 1901 signature: 1902 type: "string" 1903 example: "14jaTQXYRt8kbLKEhdHq7AXycrFImiLuZx50uOjs2+Zv+2i7RTG/jnObD07Jo2ubZ8xd7bNBJMqkgtkd0oQHAw==" 1904 type: "object" 1905 type: "object" 1906 canonical: 1907 type: "boolean" 1908 example: true 1909 type: "object" 1910 ValidatorsResponse: 1911 type: object 1912 required: 1913 - "jsonrpc" 1914 - "id" 1915 - "result" 1916 properties: 1917 jsonrpc: 1918 type: "string" 1919 example: "2.0" 1920 id: 1921 type: "number" 1922 example: 0 1923 result: 1924 required: 1925 - "block_height" 1926 - "validators" 1927 properties: 1928 block_height: 1929 type: "string" 1930 example: "55" 1931 validators: 1932 type: "array" 1933 items: 1934 type: "object" 1935 properties: 1936 address: 1937 type: "string" 1938 example: "000001E443FD237E4B616E2FA69DF4EE3D49A94F" 1939 pub_key: 1940 required: 1941 - "type" 1942 - "value" 1943 properties: 1944 type: 1945 type: "string" 1946 example: "tendermint/PubKeyEd25519" 1947 value: 1948 type: "string" 1949 example: "9tK9IT+FPdf2qm+5c2qaxi10sWP+3erWTKgftn2PaQM=" 1950 type: "object" 1951 voting_power: 1952 type: "string" 1953 example: "250353" 1954 proposer_priority: 1955 type: "string" 1956 example: "13769415" 1957 count: 1958 type: "number" 1959 example: 1 1960 total: 1961 type: "number" 1962 example: 25 1963 type: "object" 1964 GenesisResponse: 1965 type: object 1966 required: 1967 - "jsonrpc" 1968 - "id" 1969 - "result" 1970 properties: 1971 jsonrpc: 1972 type: "string" 1973 example: "2.0" 1974 id: 1975 type: "number" 1976 example: 0 1977 result: 1978 type: "object" 1979 required: 1980 - "genesis" 1981 properties: 1982 genesis: 1983 type: "object" 1984 required: 1985 - "genesis_time" 1986 - "chain_id" 1987 - "consensus_params" 1988 - "validators" 1989 - "app_hash" 1990 properties: 1991 genesis_time: 1992 type: "string" 1993 example: "2019-04-22T17:00:00Z" 1994 chain_id: 1995 type: "string" 1996 example: "cosmoshub-2" 1997 consensus_params: 1998 type: "object" 1999 required: 2000 - "block" 2001 - "evidence" 2002 - "validator" 2003 properties: 2004 block: 2005 type: "object" 2006 required: 2007 - "max_bytes" 2008 - "max_gas" 2009 - "time_iota_ms" 2010 properties: 2011 max_bytes: 2012 type: "string" 2013 example: "22020096" 2014 max_gas: 2015 type: "string" 2016 example: "1000" 2017 time_iota_ms: 2018 type: "string" 2019 example: "1000" 2020 evidence: 2021 type: "object" 2022 required: 2023 - "max_age" 2024 properties: 2025 max_age: 2026 type: "string" 2027 example: "100000" 2028 validator: 2029 type: "object" 2030 required: 2031 - "pub_key_types" 2032 properties: 2033 pub_key_types: 2034 type: "array" 2035 items: 2036 type: "string" 2037 example: 2038 - "ed25519" 2039 validators: 2040 type: "array" 2041 items: 2042 type: "object" 2043 properties: 2044 address: 2045 type: "string" 2046 example: "B00A6323737F321EB0B8D59C6FD497A14B60938A" 2047 pub_key: 2048 required: 2049 - "type" 2050 - "value" 2051 properties: 2052 type: 2053 type: "string" 2054 example: "tendermint/PubKeyEd25519" 2055 value: 2056 type: "string" 2057 example: "cOQZvh/h9ZioSeUMZB/1Vy1Xo5x2sjrVjlE/qHnYifM=" 2058 type: "object" 2059 power: 2060 type: "string" 2061 example: "9328525" 2062 name: 2063 type: "string" 2064 example: "Certus One" 2065 app_hash: 2066 type: "string" 2067 example: "" 2068 app_state: 2069 properties: {} 2070 type: "object" 2071 2072 DumpConsensusResponse: 2073 type: object 2074 required: 2075 - "jsonrpc" 2076 - "id" 2077 - "result" 2078 properties: 2079 jsonrpc: 2080 type: "string" 2081 example: "2.0" 2082 id: 2083 type: "number" 2084 example: 0 2085 result: 2086 required: 2087 - "round_state" 2088 - "peers" 2089 properties: 2090 round_state: 2091 required: 2092 - "height" 2093 - "round" 2094 - "step" 2095 - "start_time" 2096 - "commit_time" 2097 - "validators" 2098 - "proposal" 2099 - "proposal_block" 2100 - "proposal_block_parts" 2101 - "locked_round" 2102 - "locked_block" 2103 - "locked_block_parts" 2104 - "valid_round" 2105 - "valid_block" 2106 - "valid_block_parts" 2107 - "votes" 2108 - "commit_round" 2109 - "last_commit" 2110 - "last_validators" 2111 - "triggered_timeout_precommit" 2112 properties: 2113 height: 2114 type: "string" 2115 example: "1311801" 2116 round: 2117 type: "string" 2118 example: "0" 2119 step: 2120 type: "number" 2121 example: 3 2122 start_time: 2123 type: "string" 2124 example: "2019-08-05T11:28:49.064658805Z" 2125 commit_time: 2126 type: "string" 2127 example: "2019-08-05T11:28:44.064658805Z" 2128 validators: 2129 required: 2130 - "validators" 2131 - "proposer" 2132 properties: 2133 validators: 2134 type: "array" 2135 items: 2136 type: "object" 2137 properties: 2138 address: 2139 type: "string" 2140 example: "000001E443FD237E4B616E2FA69DF4EE3D49A94F" 2141 pub_key: 2142 required: 2143 - "type" 2144 - "value" 2145 properties: 2146 type: 2147 type: "string" 2148 example: "tendermint/PubKeyEd25519" 2149 value: 2150 type: "string" 2151 example: "9tK9IT+FPdf2qm+5c2qaxi10sWP+3erWTKgftn2PaQM=" 2152 type: "object" 2153 voting_power: 2154 type: "string" 2155 example: "239727" 2156 proposer_priority: 2157 type: "string" 2158 example: "-11896414" 2159 proposer: 2160 required: 2161 - "address" 2162 - "pub_key" 2163 - "voting_power" 2164 - "proposer_priority" 2165 properties: 2166 address: 2167 type: "string" 2168 example: "708FDDCE121CDADA502F2B0252FEF13FDAA31E50" 2169 pub_key: 2170 required: 2171 - "type" 2172 - "value" 2173 properties: 2174 type: 2175 type: "string" 2176 example: "tendermint/PubKeyEd25519" 2177 value: 2178 type: "string" 2179 example: "VNMNfw7mrQBSpEvCtA9ykOe6BoR00RM9b/a9v3vXZhY=" 2180 type: "object" 2181 voting_power: 2182 type: "string" 2183 example: "295360" 2184 proposer_priority: 2185 type: "string" 2186 example: "-88886833" 2187 type: "object" 2188 type: "object" 2189 locked_round: 2190 type: "string" 2191 example: "-1" 2192 valid_round: 2193 type: "string" 2194 example: "-1" 2195 votes: 2196 type: "array" 2197 items: 2198 type: "object" 2199 properties: 2200 round: 2201 type: "string" 2202 example: "0" 2203 prevotes: 2204 type: "array" 2205 x-nullable: true 2206 items: 2207 type: "string" 2208 example: 2209 - "nil-Vote" 2210 - "Vote{19:46A3F8B8393B 1311801/00/1(Prevote) 000000000000 64CE682305CB @ 2019-08-05T11:28:47.374703444Z}" 2211 prevotes_bit_array: 2212 type: "string" 2213 example: "BA{100:___________________x________________________________________________________________________________} 209706/170220253 = 0.00" 2214 precommits: 2215 type: "array" 2216 x-nullable: true 2217 items: 2218 type: "string" 2219 example: 2220 - "nil-Vote" 2221 precommits_bit_array: 2222 type: "string" 2223 example: "BA{100:____________________________________________________________________________________________________} 0/170220253 = 0.00" 2224 commit_round: 2225 type: "string" 2226 example: "-1" 2227 last_commit: 2228 x-nullable: true 2229 required: 2230 - "votes" 2231 - "votes_bit_array" 2232 - "peer_maj_23s" 2233 properties: 2234 votes: 2235 type: "array" 2236 items: 2237 type: "string" 2238 example: 2239 - "Vote{0:000001E443FD 1311800/00/2(Precommit) 3071ADB27D1A 77EE1B6B6847 @ 2019-08-05T11:28:43.810128139Z}" 2240 votes_bit_array: 2241 type: "string" 2242 example: "BA{100:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} 170220253/170220253 = 1.00" 2243 peer_maj_23s: 2244 properties: {} 2245 type: "object" 2246 type: "object" 2247 last_validators: 2248 required: 2249 - "validators" 2250 - "proposer" 2251 properties: 2252 validators: 2253 type: "array" 2254 items: 2255 type: "object" 2256 properties: 2257 address: 2258 type: "string" 2259 example: "000001E443FD237E4B616E2FA69DF4EE3D49A94F" 2260 pub_key: 2261 required: 2262 - "type" 2263 - "value" 2264 properties: 2265 type: 2266 type: "string" 2267 example: "tendermint/PubKeyEd25519" 2268 value: 2269 type: "string" 2270 example: "9tK9IT+FPdf2qm+5c2qaxi10sWP+3erWTKgftn2PaQM=" 2271 type: "object" 2272 voting_power: 2273 type: "string" 2274 example: "239727" 2275 proposer_priority: 2276 type: "string" 2277 example: "-12136141" 2278 proposer: 2279 required: 2280 - "address" 2281 - "pub_key" 2282 - "voting_power" 2283 - "proposer_priority" 2284 properties: 2285 address: 2286 type: "string" 2287 example: "B00A6323737F321EB0B8D59C6FD497A14B60938A" 2288 pub_key: 2289 required: 2290 - "type" 2291 - "value" 2292 properties: 2293 type: 2294 type: "string" 2295 example: "tendermint/PubKeyEd25519" 2296 value: 2297 type: "string" 2298 example: "cOQZvh/h9ZioSeUMZB/1Vy1Xo5x2sjrVjlE/qHnYifM=" 2299 type: "object" 2300 voting_power: 2301 type: "string" 2302 example: "8590153" 2303 proposer_priority: 2304 type: "string" 2305 example: "-79515145" 2306 type: "object" 2307 type: "object" 2308 triggered_timeout_precommit: 2309 type: "boolean" 2310 example: false 2311 type: "object" 2312 peers: 2313 type: "array" 2314 items: 2315 type: "object" 2316 properties: 2317 node_address: 2318 type: "string" 2319 example: "357f6a6c1d27414579a8185060aa8adf9815c43c@68.183.41.207:26656" 2320 peer_state: 2321 required: 2322 - "round_state" 2323 - "stats" 2324 properties: 2325 round_state: 2326 required: 2327 - "height" 2328 - "round" 2329 - "step" 2330 - "start_time" 2331 - "proposal" 2332 - "proposal_block_parts_header" 2333 - "proposal_block_parts" 2334 - "proposal_pol_round" 2335 - "proposal_pol" 2336 - "prevotes" 2337 - "precommits" 2338 - "last_commit_round" 2339 - "last_commit" 2340 - "catchup_commit_round" 2341 - "catchup_commit" 2342 properties: 2343 height: 2344 type: "string" 2345 example: "1311801" 2346 round: 2347 type: "string" 2348 example: "0" 2349 step: 2350 type: "number" 2351 example: 3 2352 start_time: 2353 type: "string" 2354 example: "2019-08-05T11:28:49.21730864Z" 2355 proposal: 2356 type: "boolean" 2357 example: false 2358 proposal_block_parts_header: 2359 required: 2360 - "total" 2361 - "hash" 2362 properties: 2363 total: 2364 type: "string" 2365 example: "0" 2366 hash: 2367 type: "string" 2368 example: "" 2369 type: "object" 2370 proposal_pol_round: 2371 x-nullable: true 2372 type: "string" 2373 example: "-1" 2374 proposal_pol: 2375 x-nullable: true 2376 type: "string" 2377 example: "____________________________________________________________________________________________________" 2378 prevotes: 2379 x-nullable: true 2380 type: "string" 2381 example: "___________________x________________________________________________________________________________" 2382 precommits: 2383 x-nullable: true 2384 type: "string" 2385 example: "____________________________________________________________________________________________________" 2386 last_commit_round: 2387 x-nullable: true 2388 type: "string" 2389 example: "0" 2390 last_commit: 2391 x-nullable: true 2392 type: "string" 2393 example: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" 2394 catchup_commit_round: 2395 type: "string" 2396 x-nullable: true 2397 example: "-1" 2398 catchup_commit: 2399 x-nullable: true 2400 type: "string" 2401 example: "____________________________________________________________________________________________________" 2402 type: "object" 2403 stats: 2404 required: 2405 - "votes" 2406 - "block_parts" 2407 properties: 2408 votes: 2409 type: "string" 2410 example: "1159558" 2411 block_parts: 2412 type: "string" 2413 example: "4786" 2414 type: "object" 2415 type: "object" 2416 type: "object" 2417 ConsensusStateResponse: 2418 type: object 2419 required: 2420 - "jsonrpc" 2421 - "id" 2422 - "result" 2423 properties: 2424 jsonrpc: 2425 type: "string" 2426 example: "2.0" 2427 id: 2428 type: "number" 2429 example: 0 2430 result: 2431 required: 2432 - "round_state" 2433 properties: 2434 round_state: 2435 required: 2436 - "height/round/step" 2437 - "start_time" 2438 - "proposal_block_hash" 2439 - "locked_block_hash" 2440 - "valid_block_hash" 2441 - "height_vote_set" 2442 - "proposer" 2443 properties: 2444 height/round/step: 2445 type: "string" 2446 example: "1262197/0/8" 2447 start_time: 2448 type: "string" 2449 example: "2019-08-01T11:52:38.962730289Z" 2450 proposal_block_hash: 2451 type: "string" 2452 example: "634ADAF1F402663BEC2ABC340ECE8B4B45AA906FA603272ACC5F5EED3097E009" 2453 locked_block_hash: 2454 type: "string" 2455 example: "634ADAF1F402663BEC2ABC340ECE8B4B45AA906FA603272ACC5F5EED3097E009" 2456 valid_block_hash: 2457 type: "string" 2458 example: "634ADAF1F402663BEC2ABC340ECE8B4B45AA906FA603272ACC5F5EED3097E009" 2459 height_vote_set: 2460 type: "array" 2461 items: 2462 type: "object" 2463 properties: 2464 round: 2465 type: "string" 2466 example: "0" 2467 prevotes: 2468 type: "array" 2469 items: 2470 type: "string" 2471 example: 2472 - "Vote{0:000001E443FD 1262197/00/1(Prevote) 634ADAF1F402 7BB974E1BA40 @ 2019-08-01T11:52:35.513572509Z}" 2473 - "nil-Vote" 2474 prevotes_bit_array: 2475 type: "string" 2476 example: "BA{100:xxxxxxxxxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} 169753436/170151262 = 1.00" 2477 precommits: 2478 type: "array" 2479 items: 2480 type: "string" 2481 example: 2482 - "Vote{5:18C78D135C9D 1262197/00/2(Precommit) 634ADAF1F402 8B5EFFFEABCD @ 2019-08-01T11:52:36.25600005Z}" 2483 - "nil-Vote" 2484 precommits_bit_array: 2485 type: "string" 2486 example: "BA{100:xxxxxx_xxxxx_xxxx_x_xxx_xx_xx_xx__x_x_x__xxxxxxxxxxxxxx_xxxx_xx_xxxxxx_xxxxxxxx_xxxx_xxx_x_xxxx__xxx} 118726247/170151262 = 0.70" 2487 proposer: 2488 type: "object" 2489 properties: 2490 address: 2491 type: "string" 2492 example: "D540AB022088612AC74B287D076DBFBC4A377A2E" 2493 index: 2494 type: "string" 2495 example: "0" 2496 type: "object" 2497 type: "object" 2498 ConsensusParamsResponse: 2499 type: object 2500 required: 2501 - "jsonrpc" 2502 - "id" 2503 - "result" 2504 properties: 2505 jsonrpc: 2506 type: "string" 2507 example: "2.0" 2508 id: 2509 type: "number" 2510 example: 0 2511 result: 2512 type: "object" 2513 required: 2514 - "block_height" 2515 - "consensus_params" 2516 properties: 2517 block_height: 2518 type: "string" 2519 example: "1313448" 2520 consensus_params: 2521 type: "object" 2522 required: 2523 - "block" 2524 - "evidence" 2525 - "validator" 2526 properties: 2527 block: 2528 type: "object" 2529 required: 2530 - "max_bytes" 2531 - "max_gas" 2532 - "time_iota_ms" 2533 properties: 2534 max_bytes: 2535 type: "string" 2536 example: "22020096" 2537 max_gas: 2538 type: "string" 2539 example: "1000" 2540 time_iota_ms: 2541 type: "string" 2542 example: "1000" 2543 evidence: 2544 type: "object" 2545 required: 2546 - "max_age" 2547 properties: 2548 max_age: 2549 type: "string" 2550 example: "100000" 2551 validator: 2552 type: "object" 2553 required: 2554 - "pub_key_types" 2555 properties: 2556 pub_key_types: 2557 type: "array" 2558 items: 2559 type: "string" 2560 example: 2561 - "ed25519" 2562 2563 NumUnconfirmedTransactionsResponse: 2564 type: object 2565 required: 2566 - "jsonrpc" 2567 - "id" 2568 - "result" 2569 properties: 2570 jsonrpc: 2571 type: "string" 2572 example: "2.0" 2573 id: 2574 type: "number" 2575 example: 0 2576 result: 2577 required: 2578 - "n_txs" 2579 - "total" 2580 - "total_bytes" 2581 properties: 2582 n_txs: 2583 type: "string" 2584 example: "31" 2585 total: 2586 type: "string" 2587 example: "82" 2588 total_bytes: 2589 type: "string" 2590 example: "19974" 2591 # txs: 2592 # type: "array" 2593 # x-nullable: true 2594 # items: 2595 # type: "string" 2596 # x-nullable: true 2597 # example: 2598 # - "gAPwYl3uCjCMTXENChSMnIkb5ZpYHBKIZqecFEV2tuZr7xIUA75/FmYq9WymsOBJ0XSJ8yV8zmQKMIxNcQ0KFIyciRvlmlgcEohmp5wURXa25mvvEhQbrvwbvlNiT+Yjr86G+YQNx7kRVgowjE1xDQoUjJyJG+WaWBwSiGannBRFdrbma+8SFK2m+1oxgILuQLO55n8mWfnbIzyPCjCMTXENChSMnIkb5ZpYHBKIZqecFEV2tuZr7xIUQNGfkmhTNMis4j+dyMDIWXdIPiYKMIxNcQ0KFIyciRvlmlgcEohmp5wURXa25mvvEhS8sL0D0wwgGCItQwVowak5YB38KRIUCg4KBXVhdG9tEgUxMDA1NBDoxRgaagom61rphyECn8x7emhhKdRCB2io7aS/6Cpuq5NbVqbODmqOT3jWw6kSQKUresk+d+Gw0BhjiggTsu8+1voW+VlDCQ1GRYnMaFOHXhyFv7BCLhFWxLxHSAYT8a5XqoMayosZf9mANKdXArA=" 2599 type: "object" 2600 UnconfirmedTransactionsResponse: 2601 type: object 2602 required: 2603 - "jsonrpc" 2604 - "id" 2605 - "result" 2606 properties: 2607 jsonrpc: 2608 type: "string" 2609 example: "2.0" 2610 id: 2611 type: "number" 2612 example: 0 2613 result: 2614 required: 2615 - "n_txs" 2616 - "total" 2617 - "total_bytes" 2618 - "txs" 2619 properties: 2620 n_txs: 2621 type: "string" 2622 example: "82" 2623 total: 2624 type: "string" 2625 example: "82" 2626 total_bytes: 2627 type: "string" 2628 example: "19974" 2629 txs: 2630 type: array 2631 x-nullable: true 2632 items: 2633 type: string 2634 x-nullable: true 2635 example: 2636 - "gAPwYl3uCjCMTXENChSMnIkb5ZpYHBKIZqecFEV2tuZr7xIUA75/FmYq9WymsOBJ0XSJ8yV8zmQKMIxNcQ0KFIyciRvlmlgcEohmp5wURXa25mvvEhQbrvwbvlNiT+Yjr86G+YQNx7kRVgowjE1xDQoUjJyJG+WaWBwSiGannBRFdrbma+8SFK2m+1oxgILuQLO55n8mWfnbIzyPCjCMTXENChSMnIkb5ZpYHBKIZqecFEV2tuZr7xIUQNGfkmhTNMis4j+dyMDIWXdIPiYKMIxNcQ0KFIyciRvlmlgcEohmp5wURXa25mvvEhS8sL0D0wwgGCItQwVowak5YB38KRIUCg4KBXVhdG9tEgUxMDA1NBDoxRgaagom61rphyECn8x7emhhKdRCB2io7aS/6Cpuq5NbVqbODmqOT3jWw6kSQKUresk+d+Gw0BhjiggTsu8+1voW+VlDCQ1GRYnMaFOHXhyFv7BCLhFWxLxHSAYT8a5XqoMayosZf9mANKdXArA=" 2637 type: "object" 2638 TxSearchResponse: 2639 type: object 2640 required: 2641 - "jsonrpc" 2642 - "id" 2643 - "result" 2644 properties: 2645 jsonrpc: 2646 type: "string" 2647 example: "2.0" 2648 id: 2649 type: "number" 2650 example: 0 2651 result: 2652 required: 2653 - "txs" 2654 - "total_count" 2655 properties: 2656 txs: 2657 type: "array" 2658 items: 2659 type: "object" 2660 properties: 2661 hash: 2662 type: "string" 2663 example: "D70952032620CC4E2737EB8AC379806359D8E0B17B0488F627997A0B043ABDED" 2664 height: 2665 type: "string" 2666 example: "1000" 2667 index: 2668 type: "number" 2669 example: 0 2670 tx_result: 2671 required: 2672 - "log" 2673 - "gasWanted" 2674 - "gasUsed" 2675 - "tags" 2676 properties: 2677 log: 2678 type: "string" 2679 example: '[{"msg_index":"0","success":true,"log":""}]' 2680 gasWanted: 2681 type: "string" 2682 example: "200000" 2683 gasUsed: 2684 type: "string" 2685 example: "28596" 2686 tags: 2687 type: "array" 2688 items: 2689 type: "object" 2690 properties: 2691 key: 2692 type: "string" 2693 example: "YWN0aW9u" 2694 value: 2695 type: "string" 2696 example: "c2VuZA==" 2697 type: "object" 2698 tx: 2699 type: "string" 2700 example: "5wHwYl3uCkaoo2GaChQmSIu8hxpJxLcCuIi8fiHN4TMwrRIU/Af1cEG7Rcs/6LjTl7YjRSymJfYaFAoFdWF0b20SCzE0OTk5OTk1MDAwEhMKDQoFdWF0b20SBDUwMDAQwJoMGmoKJuta6YchAwswBShaB1wkZBctLIhYqBC3JrAI28XGzxP+rVEticGEEkAc+khTkKL9CDE47aDvjEHvUNt+izJfT4KVF2v2JkC+bmlH9K08q3PqHeMI9Z5up+XMusnTqlP985KF+SI5J3ZOIhhNYWRlIGJ5IENpcmNsZSB3aXRoIGxvdmU=" 2701 proof: 2702 required: 2703 - "RootHash" 2704 - "Data" 2705 - "Proof" 2706 properties: 2707 RootHash: 2708 type: "string" 2709 example: "72FE6BF6D4109105357AECE0A82E99D0F6288854D16D8767C5E72C57F876A14D" 2710 Data: 2711 type: "string" 2712 example: "5wHwYl3uCkaoo2GaChQmSIu8hxpJxLcCuIi8fiHN4TMwrRIU/Af1cEG7Rcs/6LjTl7YjRSymJfYaFAoFdWF0b20SCzE0OTk5OTk1MDAwEhMKDQoFdWF0b20SBDUwMDAQwJoMGmoKJuta6YchAwswBShaB1wkZBctLIhYqBC3JrAI28XGzxP+rVEticGEEkAc+khTkKL9CDE47aDvjEHvUNt+izJfT4KVF2v2JkC+bmlH9K08q3PqHeMI9Z5up+XMusnTqlP985KF+SI5J3ZOIhhNYWRlIGJ5IENpcmNsZSB3aXRoIGxvdmU=" 2713 Proof: 2714 required: 2715 - "total" 2716 - "index" 2717 - "leaf_hash" 2718 - "aunts" 2719 properties: 2720 total: 2721 type: "string" 2722 example: "2" 2723 index: 2724 type: "string" 2725 example: "0" 2726 leaf_hash: 2727 type: "string" 2728 example: "eoJxKCzF3m72Xiwb/Q43vJ37/2Sx8sfNS9JKJohlsYI=" 2729 aunts: 2730 type: "array" 2731 items: 2732 type: "string" 2733 example: 2734 - "eWb+HG/eMmukrQj4vNGyFYb3nKQncAWacq4HF5eFzDY=" 2735 type: "object" 2736 type: "object" 2737 total_count: 2738 type: "string" 2739 example: "2" 2740 type: "object" 2741 TxResponse: 2742 type: object 2743 required: 2744 - "jsonrpc" 2745 - "id" 2746 - "result" 2747 properties: 2748 jsonrpc: 2749 type: "string" 2750 example: "2.0" 2751 id: 2752 type: "number" 2753 example: 0 2754 result: 2755 required: 2756 - "hash" 2757 - "height" 2758 - "index" 2759 - "tx_result" 2760 - "tx" 2761 properties: 2762 hash: 2763 type: "string" 2764 example: "D70952032620CC4E2737EB8AC379806359D8E0B17B0488F627997A0B043ABDED" 2765 height: 2766 type: "string" 2767 example: "1000" 2768 index: 2769 type: "number" 2770 example: 0 2771 tx_result: 2772 required: 2773 - "log" 2774 - "gasWanted" 2775 - "gasUsed" 2776 - "tags" 2777 properties: 2778 log: 2779 type: "string" 2780 example: '[{"msg_index":"0","success":true,"log":""}]' 2781 gasWanted: 2782 type: "string" 2783 example: "200000" 2784 gasUsed: 2785 type: "string" 2786 example: "28596" 2787 tags: 2788 type: "array" 2789 items: 2790 type: "object" 2791 properties: 2792 key: 2793 type: "string" 2794 example: "YWN0aW9u" 2795 value: 2796 type: "string" 2797 example: "c2VuZA==" 2798 type: "object" 2799 tx: 2800 type: "string" 2801 example: "5wHwYl3uCkaoo2GaChQmSIu8hxpJxLcCuIi8fiHN4TMwrRIU/Af1cEG7Rcs/6LjTl7YjRSymJfYaFAoFdWF0b20SCzE0OTk5OTk1MDAwEhMKDQoFdWF0b20SBDUwMDAQwJoMGmoKJuta6YchAwswBShaB1wkZBctLIhYqBC3JrAI28XGzxP+rVEticGEEkAc+khTkKL9CDE47aDvjEHvUNt+izJfT4KVF2v2JkC+bmlH9K08q3PqHeMI9Z5up+XMusnTqlP985KF+SI5J3ZOIhhNYWRlIGJ5IENpcmNsZSB3aXRoIGxvdmU=" 2802 type: "object" 2803 ABCIInfoResponse: 2804 type: object 2805 required: 2806 - "jsonrpc" 2807 - "id" 2808 properties: 2809 jsonrpc: 2810 type: "string" 2811 example: "2.0" 2812 id: 2813 type: "number" 2814 example: 0 2815 result: 2816 required: 2817 - "response" 2818 properties: 2819 response: 2820 required: 2821 - "data" 2822 - "app_version" 2823 - "version" 2824 properties: 2825 data: 2826 type: "string" 2827 example: '{"size":0}' 2828 version: 2829 type: string 2830 example: "0.16.1" 2831 app_version: 2832 type: "string" 2833 example: "1314126" 2834 type: "object" 2835 type: "object" 2836 ABCIQueryResponse: 2837 type: object 2838 required: 2839 - "error" 2840 - "result" 2841 - "id" 2842 - "jsonrpc" 2843 properties: 2844 error: 2845 type: "string" 2846 example: "" 2847 result: 2848 required: 2849 - "response" 2850 properties: 2851 response: 2852 required: 2853 - "log" 2854 - "height" 2855 - "proof" 2856 - "value" 2857 - "key" 2858 - "index" 2859 - "code" 2860 properties: 2861 log: 2862 type: "string" 2863 example: "exists" 2864 height: 2865 type: "string" 2866 example: "0" 2867 proof: 2868 type: "string" 2869 example: "010114FED0DAD959F36091AD761C922ABA3CBF1D8349990101020103011406AA2262E2F448242DF2C2607C3CDC705313EE3B0001149D16177BC71E445476174622EA559715C293740C" 2870 value: 2871 type: "string" 2872 example: "61626364" 2873 key: 2874 type: "string" 2875 example: "61626364" 2876 index: 2877 type: "string" 2878 example: "-1" 2879 code: 2880 type: "string" 2881 example: "0" 2882 type: "object" 2883 type: "object" 2884 id: 2885 type: "number" 2886 example: 0 2887 jsonrpc: 2888 type: "string" 2889 example: "2.0" 2890 BroadcastEvidenceResponse: 2891 type: object 2892 required: 2893 - "id" 2894 - "jsonrpc" 2895 properties: 2896 error: 2897 type: "string" 2898 example: "" 2899 result: 2900 type: "string" 2901 example: "" 2902 id: 2903 type: "number" 2904 example: 0 2905 jsonrpc: 2906 type: "string" 2907 example: "2.0" 2908 BroadcastTxCommitResponse: 2909 type: object 2910 required: 2911 - "error" 2912 - "result" 2913 - "id" 2914 - "jsonrpc" 2915 properties: 2916 error: 2917 type: "string" 2918 example: "" 2919 result: 2920 required: 2921 - "height" 2922 - "hash" 2923 - "deliver_tx" 2924 - "check_tx" 2925 properties: 2926 height: 2927 type: "string" 2928 example: "26682" 2929 hash: 2930 type: "string" 2931 example: "75CA0F856A4DA078FC4911580360E70CEFB2EBEE" 2932 deliver_tx: 2933 required: 2934 - "log" 2935 - "data" 2936 - "code" 2937 properties: 2938 log: 2939 type: "string" 2940 example: "" 2941 data: 2942 type: "string" 2943 example: "" 2944 code: 2945 type: "string" 2946 example: "0" 2947 type: "object" 2948 check_tx: 2949 required: 2950 - "log" 2951 - "data" 2952 - "code" 2953 properties: 2954 log: 2955 type: "string" 2956 example: "" 2957 data: 2958 type: "string" 2959 example: "" 2960 code: 2961 type: "string" 2962 example: "0" 2963 type: "object" 2964 type: "object" 2965 id: 2966 type: "number" 2967 example: 0 2968 jsonrpc: 2969 type: "string" 2970 example: "2.0" 2971 BroadcastTxResponse: 2972 type: object 2973 required: 2974 - "jsonrpc" 2975 - "id" 2976 - "result" 2977 - "error" 2978 properties: 2979 jsonrpc: 2980 type: "string" 2981 example: "2.0" 2982 id: 2983 type: "number" 2984 example: 0 2985 result: 2986 required: 2987 - "code" 2988 - "data" 2989 - "log" 2990 - "hash" 2991 properties: 2992 code: 2993 type: "string" 2994 example: "0" 2995 data: 2996 type: "string" 2997 example: "" 2998 log: 2999 type: "string" 3000 example: "" 3001 codespace: 3002 type: "string" 3003 example: "ibc" 3004 hash: 3005 type: "string" 3006 example: "0D33F2F03A5234F38706E43004489E061AC40A2E" 3007 type: "object" 3008 error: 3009 type: "string" 3010 example: "" 3011 dialPeersPost: 3012 type: object 3013 properties: 3014 Persistent: 3015 type: boolean 3016 example: false 3017 Peers: 3018 type: array 3019 items: 3020 type: "string" 3021 example: ["6f172048b821e3b1ab98ffb0973ba737966eecf8@192.168.1.2:26656"] 3022 dialSeedsPost: 3023 type: object 3024 properties: 3025 Peers: 3026 type: array 3027 items: 3028 type: "string" 3029 example: ["6f172048b821e3b1ab98ffb0973ba737966eecf8@192.168.1.2:26656"] 3030 dialResp: 3031 type: object 3032 properties: 3033 Log: 3034 type: string 3035 example: "Dialing seeds in progress. See /net_info for details"