Open MaxKh opened 2 years ago
The decode
function is intended only for transactions: https://xrpl-py.readthedocs.io/en/stable/source/xrpl.core.binarycodec.html?highlight=decode#xrpl.core.binarycodec.decode
We don't currently have support for decoding ledger data in Python. Here is the equivalent function for JS: https://github.com/XRPLF/xrpl.js/blob/main/packages/ripple-binary-codec/src/ledger-hashes.ts#L165
xrpl-py 1.3.0