multiversx / mx-sdk-py-cli

Python Command Line Tools and SDK for interacting with the MultiversX blockchain and dApps.
Other
34 stars 36 forks source link

v9.1.0: Merge feat/next into main #373

Closed popenta closed 9 months ago

popenta commented 9 months ago

The delegation and smart contract transactions are created using the transaction factories implemented in sdk-py-core.

Now, when calling a contract a token transfer is also supported. To send EGLD the amount should be provided using --value and for sending ESDT/MetaESDT/NFT one can use --token-transfer. The token identifier should be provided (including nonce for NFTs/MetaESDTs) followed by the amount. e.g.

--token-transfers NFT-123456-0a 1 ESDT-987654 100000000