mirror of
https://github.com/FlipsideCrypto/chainwalkers-utils.git
synced 2026-02-06 10:06:43 +00:00
add page param support to get txs in block query
This commit is contained in:
parent
ee1bdea207
commit
019ed84693
@ -37,7 +37,7 @@ class TendermintRPC:
|
||||
if limit is not None:
|
||||
response = requests.get(self.node_url + '/tx_search?query=\"tx.height=' + str(height) + '\"&prove=true&per_page=' + str(limit) + '&page=' + str(page))
|
||||
else:
|
||||
response = requests.get(self.node_url + '/tx_search?query=\"tx.height=' + str(height) + '\"&prove=true&page=' + str(page)')
|
||||
response = requests.get(self.node_url + '/tx_search?query=\"tx.height=' + str(height) + '\"&prove=true&page=' + str(page))
|
||||
response.raise_for_status()
|
||||
data = response.json()
|
||||
return data['result']
|
||||
|
||||
Loading…
Reference in New Issue
Block a user