How to decode the txs? #37
Closed
0xZonh
announced in
Announcements
Replies: 2 comments
-
You need to get the TxConfig for the app you are talking to and use the TXDecoder:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
you are calling rpc endpoints, there should be grpc methods too: protos here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I call the Rest API :[http://xxx.xxx.xxx.xxx:26657/block?height=1940777], it return the block meta data and with follow txs. But if I want to retrive the transaction detail infomation, I need call the Rest API [http://xxx.xxx.xxx.xxx:26657/txs?decoce="xxxxx"] . How to local decode method the txs data?
"data": { "txs": [ "2AEoKBapCkGoo2GaChTUQ7UQqXgc06K5wEDT+Gyr05c4ihIU0fSoEE1eNXfAwiqlecpdhQl7yQIaDwoFdWF0b20SBjEwNDI1NRIQCgoKBXVhdG9tEgExEOj7AxpqCibrWumHIQLpPzaUxCoE1Y/kEy1/p7WV8rxy6benYj8uB+dQAwD4WhJA4HMKaAJ5boV8st1XAXewTm0mcqo/awE1cNljnICCvE0KTTWpaVQvdTyDv/faU+LhUy5OQxb1mWBWQhNEv0PyaCIRdzR4bTluLDQ4LDgsNTAwMDA=", ] }
Beta Was this translation helpful? Give feedback.
All reactions