Function arguments for transfer payload #640
-
Discord user IDsipars Describe your question in detail.Hi, I had a question regarding transfer in typescript sdk for aptos.
And same with the ABI ? Seems redundant with function name, abi and type argument just describing the same thing What error, if any, are you getting?No response What have you tried or looked at? Or how can we reproduce the error?No response Which operating system are you using?macOS Which SDK or tool are you using? (if any)TypeScript SDK Describe your environment or tooling in detailNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
for for you can look at explorer and see if type arg is required in source code, https://explorer.aptoslabs.com/account/0x0000000000000000000000000000000000000000000000000000000000000001/modules/run/primary_fungible_store/transfer?network=mainnet |
Beta Was this translation helpful? Give feedback.
most APT in users wallet are still in coin format, so i recommend
0x1::aptos_account::transfer_coins
but for native USDT and native USDC where they only have FA format, use
0x1::primary_fungible_store::transfer