terra.py icon indicating copy to clipboard operation
terra.py copied to clipboard

Events and Parameters for tx.search?

Open ThinksFast opened this issue 2 years ago • 0 comments

Where can I find the options for events and parameters when searching transactions? I couldn’t find documentation in the docs or the code. I want to monitor the amount of LUNC being burned.

Or is there a better way to do this?

https://terra-money.github.io/terra.py/core_modules/tx.html

search(events, params=None)[[source]](https://terra-money.github.io/terra.py/_modules/terra_sdk/client/lcd/api/tx.html#TxAPI.search)[](https://terra-money.github.io/terra.py/core_modules/tx.html#terra_sdk.client.lcd.api.tx.TxAPI.search)
Searches for transactions given criteria.

Parameters
events (dict) – dictionary containing options
params ([APIParams](https://terra-money.github.io/terra.py/guides/pagination.html#terra_sdk.client.lcd.params.APIParams)) – optional parameters
Returns
transaction search results

Return type
dict

ThinksFast avatar Sep 26 '22 04:09 ThinksFast