aptos-core
aptos-core copied to clipboard
Aptos sdk python transaction_argument
I have made a bot in python for minting, but there is one problem. When I'm sending args in payload for contract, It's sending this:
But when I do a manual mint, arguments are in string and not bytes¨

I'm using aptos_sdk

Hello, how can i contact with you? Telegram? I think i have decesion
Hello, how can i contact with you? Telegram? I think i have decesion
Telegram https://t.me/+ipUHoeWyqYA3Y2Q1
I'm a bit confused... it would probably be best to see a more comprehensive example.
For now, I'll close this out with two pointers: https://github.com/aptos-labs/aptos-core/blob/3973311dac6bb9348bfc81cf983c2a1be11f1b48/ecosystem/python/sdk/examples/simple-nft.py#L39 https://github.com/aptos-labs/aptos-core/blob/3973311dac6bb9348bfc81cf983c2a1be11f1b48/ecosystem/python/sdk/aptos_sdk/client.py#L311
Your first value looks like an address, but you're telling the system it is a string.