We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when use follow rpc request block,
curl --location --request POST 'http://ip:port/v1/query/block' \ --header 'Content-Type: application/json' \ --data-raw '{ "height": 78116 }
you will get block info, this show num_txs is 2989.
{ "app_hash":"0389E6C3233ECABDB0BF51709AA8120C12EB66474F49FA36D17225B367DD5D07", "chain_id":"mainnet", "consensus_hash":"79D43A2344837A7EABF1E05BB6D317B1862A89C2EF6AC8D32C04F846348C3CC6", "data_hash":"C76ABBFCAAEB32C824DE9353E003924206D2E30CF6DD79F6E23D35A0F4E49369", "evidence_hash":"", "height":"78116", "last_block_id":{ "hash":"CAFD8BD8EFC54C34CF31E16DDC31490E8022443E0A55EB931FB92889B1B778EA", "parts":{ "hash":"A0B6214697A0A65D62631D6280B61A48B697EE08127C9E86C10FCAFCE6FCC0A7", "total":"41" } }, "last_commit_hash":"4CAED7E222A765DB4DC44CEBAEDF9E19B896B759638E588EB6256FB33A556A37", "last_results_hash":"1FE08E55A81D9F7AD03DC2F8DF3BF4637DBCA221D1C3FB5992C6DC0F61C2B740", "next_validators_hash":"E76ED3269AB6CE9F01727E11CDA981CBFBCD09F134EBF9E45C8CB27121F311E2", "num_txs":"2989", "proposer_address":"DC4DCD359293C1952B2F858A78781A941EA27E6C", "time":"2022-12-01T20:18:35.31534333Z", "total_txs":"94261393", "validators_hash":"E76ED3269AB6CE9F01727E11CDA981CBFBCD09F134EBF9E45C8CB27121F311E2", }
but when use follow rpc request blockTxs,
curl --location --request POST 'http://ip:port/v1/query/blocktxs' \ --header 'Content-Type: application/json' \ --data-raw '{ "height": 78116, "page": 10, "per_page": 300, "prove": true, "order": "desc" }'
you will get tx info, this show num_txs is 2988
{ "page_count": 288, "total_txs": 2988 }
this is bug ? or field meaning changed
The text was updated successfully, but these errors were encountered:
No branches or pull requests
when use follow rpc request block,
you will get block info, this show num_txs is 2989.
but when use follow rpc request blockTxs,
you will get tx info, this show num_txs is 2988
this is bug ? or field meaning changed
The text was updated successfully, but these errors were encountered: