Replies: 1 comment 3 replies
-
Hi @deeryoona, please create a discussion, tickets are for bugs/improvements only. If should clarify that you first need to check if the recipient SOL account has no associated Tether token accounts. You can get them via https://solana.com/docs/rpc/http/gettokenaccountsbyowner. If there is a Token address, you can use the regular Otherwise, you need to generate a new Token address for the recipient: wallet-core/swift/Tests/Blockchains/SolanaTests.swift Lines 215 to 217 in c0cf03f The result will be recipient_main_address - recipient SOL account. |
Beta Was this translation helpful? Give feedback.
-
i am an ios developer
example is :
let createAndTransferTokenMessage = SolanaCreateAndTransferToken.with {
$0.recipientMainAddress = "71e8mDsh3PR6gN64zL1HjwuxyKpgRXrPDUJT7XXojsVd"
$0.tokenMintAddress = "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"
$0.recipientTokenAddress = "EF6L8yJT1SoRoDCkAZfSVmaweqMzfhxZiptKi7Tgj5XY"
$0.senderTokenAddress = "ANVCrmRw7Ww7rTFfMbrjApSPXEEcZpBa6YEiBdf98pAf"
$0.amount = 2900
$0.decimals = 6
}
if accountA is a sender,address is FWu8vwVdmVCb8mxx1pQmhwQXLoFgqDx8LTxsrR84mAvb
accountB is a receiver address is 7i3F63k3jhdKSHC6obRrXkFCzmqnsad9V6QMvRiCcAxR
tokenMintAddress is Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
there are only 3 parameters,but example is need 4 parameters,I don't know how to set the corresponding parameters
Beta Was this translation helpful? Give feedback.
All reactions