Skip to content
Discussion options

You must be logged in to vote

The next day, I solved the problem in 2 minutes—just looked at the payload for sending a transaction via the wallet and realized I was using the wrong function.

I should have used 0x1::primary_fungible_store::transfer instead of 0x1::aptos_account::transfer_fungible_assets.

So, the payload looks like this in case it's useful to anyone:

payload = TransactionPayload(
    EntryFunction.natural(
        "0x1::primary_fungible_store",
        "transfer",
        [TypeTag(StructTag.from_str("0x1::fungible_asset::Metadata"))],
        [
            TransactionArgument(AccountAddress.from_str("0x...fa_address"), Serializer.struct),
            TransactionArgument(AccountAddress.from_str("0x...rec…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@sellmon
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by 0x-j
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants