You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filter above with start block at 3062001 can be translated to lcd.endpoint/cosmos/tx/v1beta1/txs?events=message.action=/cosmwasm.wasm.v1.MsgExecuteContract&events=execute._contract_address=juno1v99ehkuetkpf0yxdry8ce92yeqaeaa7lyxr2aagkesrw67wcsn8qxpxay0&events=tx.height>=3062001
The text was updated successfully, but these errors were encountered:
Hi @y-pakorn, thanks for your suggestion, we will do some more investigation into this, it does seem like a good idea but may not be particularly scalable if there are handlers for multiple contracts.
Oh, I forgot that the dictionary could be used! Thanks! By the way, the key is to fetch txs based on events using LCD capabilities, which could be great for the network that doesn't have the dictionary, such as testnet or local network.
By using
/txs
endpoint on LCD we can directly query transaction that has specific event without need to query every past block from RPC.Filter above with start block at 3062001 can be translated to
lcd.endpoint/cosmos/tx/v1beta1/txs?events=message.action=/cosmwasm.wasm.v1.MsgExecuteContract&events=execute._contract_address=juno1v99ehkuetkpf0yxdry8ce92yeqaeaa7lyxr2aagkesrw67wcsn8qxpxay0&events=tx.height>=3062001
The text was updated successfully, but these errors were encountered: