Skip to main content

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


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.1.0.tar.gz.

File metadata

File hashes

Hashes for multiversx_sdk_transaction_decoder-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6b0bc283b2af934ebc6af3dc6f68a70cf692c8d9a2e3856af57a4b632237adb6
MD5 1b2660657b4349944d19135465699991
BLAKE2b-256 805a783adfdceef01deecee84159e67793af47014c289a551bcc1a9300454df5

See more details on using hashes here.

File details

Details for the file multiversx_sdk_transaction_decoder-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for multiversx_sdk_transaction_decoder-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d008eec767ed9b30bdaafd6bb872c96d8e551f14a6d73827cb2be454948a306
MD5 3c00104cccc079495c70f7ac62387c4c
BLAKE2b-256 d295fbf8dcf83e00b905552637b368c331d18a554cbd2ff9351157b84560da20

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page