Transaction Decoder for MultiversX Python SDK.
Project description
Transaction decoder for Python
Virtual Environment
python3 -m venv ./venv
source ./venv/bin/activate
pip install -r ./requirements.txt --upgrade
pip install -r ./requirements-dev.txt --upgrade
Usage
tx = TransactionToDecode()
tx.sender = "erd18w6yj09l9jwlpj5cjqq9eccfgulkympv7d4rj6vq4u49j8fpwzwsvx7e85"
tx.receiver = "erd18w6yj09l9jwlpj5cjqq9eccfgulkympv7d4rj6vq4u49j8fpwzwsvx7e85"
tx.value = "0"
tx.data = "RVNEVE5GVFRyYW5zZmVyQDRjNGI0ZDQ1NTgyZDYxNjE2MjM5MzEzMEAyZmI0ZTlAZTQwZjE2OTk3MTY1NWU2YmIwNGNAMDAwMDAwMDAwMDAwMDAwMDA1MDBkZjNiZWJlMWFmYTEwYzQwOTI1ZTgzM2MxNGE0NjBlMTBhODQ5ZjUwYTQ2OEA3Mzc3NjE3MDVmNmM2YjZkNjU3ODVmNzQ2ZjVmNjU2NzZjNjRAMGIzNzdmMjYxYzNjNzE5MUA="
decoder = TransactionDecoder()
metadata = decoder.get_transaction_metadata(tx)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file multiversx_sdk_transaction_decoder-0.2.0.tar.gz
.
File metadata
- Download URL: multiversx_sdk_transaction_decoder-0.2.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b45c55f2b796afe4c453201ea1b105c7511dfbaaebb5d7450f4a4e0fb480efb |
|
MD5 | e7220443673b0f45b16e8807a1d2e958 |
|
BLAKE2b-256 | 67cd1a2de132bcdf67ad1a42b0598470be95d38c6aab1f450acfdc453a93a430 |
Provenance
File details
Details for the file multiversx_sdk_transaction_decoder-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: multiversx_sdk_transaction_decoder-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaea034054cca5648fe1c8da9869ed30586e15c6473f7e84c6414cdcd298f4de |
|
MD5 | 539ec92fd6eead75d91ce2f78d762b89 |
|
BLAKE2b-256 | 79e05a43928dc83bf7e6dc5380c5608a52022155c07e8d0db8a16abe32b56566 |