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

Transfer and execute #367

Closed popenta closed 9 months ago

popenta commented 9 months ago

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