Questions tagged [transfer]
The transfer tag has no usage guidance.
189 questions
2
votes
3
answers
23
views
In what senario the receiver is same as the signer in a transfer?
In this transfer, why the receiver of the transfer is also the signer? Shouldn't the sender be the signer?
1
vote
1
answer
20
views
Order of elements in account_infos in invoke()
Is order of elements in account_infos in invoke(instruction: &Instruction, account_infos: &[AccountInfo]) important?
I thought it is important because programs written in native rust reads ...
0
votes
0
answers
9
views
My wallet is compromised and it rejects my signature
My wallet is compromised although I still have full access on it. I have my seed phrase and private key also but the hacker seemed to have done something to my wallet address for it seems to reject my ...
0
votes
0
answers
12
views
Where is my solana? I sent it 6 hours ago on uphold
I'm using uphold to send solana to another solana address .it has been 6 hours and the credit has not hit the recieving account. I've been waiting over 5 hours for a response from uphold. No luck.. ...
0
votes
0
answers
12
views
Missing transfer
I bought sol on Coinbase then immediately sent it out to my phantom wallet and it’s been stuck pending for 7 days now what do I do I can’t even click on the option to let me see the transaction hash ...
0
votes
1
answer
83
views
SOL sent through Coinbase not showing up in Phantom Wallet
I sent SOL from Coinbase to my Phantom Wallet around two days ago and it’s yet to show up. Coinbase says the transaction was successful and yes I sent it to the right address.
Here’s the transaction ...
0
votes
1
answer
43
views
Did I lose crypto by accidentally sending to my own wallet on USDC (sol)
I was trying to send USDC (SPL) on the solana network, and I accidentally sent crypto back to my own wallet without realizing. I thought I copied my friend's wallet address but I guess it didn't ...
0
votes
0
answers
54
views
My meme tokens disappeared from my wallet
i Just exchanged SOL for tokens and it went through but now when i check again everything’s gone . and they’re not in thehidden tab or in the block chain
0
votes
0
answers
17
views
Wrong transfer solana
I wrongly sent from binance 72.73 solana to a token contract adress instead of my wallet adress. Actually it is all my life savings, is there any solution to save my sols?
Thank you
0
votes
1
answer
49
views
How to solve " Failed app interaction "
The image showing in my phantom wallet
Another image show That the transfer is completely but I can't see my token
0
votes
0
answers
29
views
Why can’t I do any type of transaction with my Solana?
I use Coinbase and I can see my Solana balance there but I can’t trade, sell, bridge or do anything with it. I’m new to this world so any advice would be helpful. It reads that my Solana is on the ...
0
votes
1
answer
36
views
How can I close a token account AND transfer all my sol to another wallet within the same transaction?
It doesn’t even need to be an automatic process, I just want a way for them to be in the same transaction.
Eg.: https://solscan.io/tx/...
0
votes
1
answer
14
views
mint total supply and ensure no authorize transfer
I have mint account without freeze authority and would like to mint max token supply in different wallets based on tokenomics distribution.
Q1: Can I add token vesting latter to different wallets?
Q2: ...
1
vote
1
answer
36
views
Ideal way to listen to SPL token transfer?
The solana cookbook subscribe to events snippet gives only sol balance at best,https://solana.com/developers/cookbook/development/subscribing-events.
So, i have used a signature using public key, and ...
0
votes
2
answers
48
views
Best to have PDA own a System Account or be the System Account to move SOL tokens?
What would be the considerations for choosing between the following?
A) Using a PDA (that is a System Account type) to receive and send SOL tokens on behalf of User A
B) Using a PDA that owns a System ...
0
votes
0
answers
157
views
solana jitotip instruction
whenever I use a systemprogram.trnasfer instruction for a jitotip public address to speed up block validation on SOLANA I get a timeout instead of having a faster confirmation.
I have no clue why it ...
1
vote
0
answers
15
views
I want to catch event from solana program and catch it on node server for specific prorgam id?
use anchor_lang::solana_program::{program::invoke, system_instruction};
declare_id!("EZue7NoBQg7UbMf63poES2D8R7bw7jpfeEek1SQWqRts");
#[program]
pub mod transfer {
use super::*;
...
0
votes
0
answers
29
views
Jupyter swap fee settings
please tell me how I can accept commissions fee for any swaps in my application in SOL/USDT. What if the pair does not contain sol/usdt, do I need to create 1000 token accounts in my jupiter referral ...
0
votes
1
answer
38
views
Stream/retrieve *all* native SOL *transfers* above a certain value
I'm trying to stream (or alternatively, repeatedly historically obtain over a short period of time) all native SOL transfers from a single sender wallet to a single receiver wallet. That is to say, I ...
2
votes
2
answers
86
views
Trying to transfer SPL token but fails Help Please
I used the following Rust code (now updated) to try to transfer spl tokens between wallets using ATAs of the respective wallets for the given token.
The from.key is the authority for the transfer.
...
2
votes
1
answer
51
views
How to use a Transferhook + Permanent Delegate together
I am trying to come up with a system that would restrict holders of a specific token from transferring them between wallets, effectively making them soulbound. In this system, only the permanent ...
2
votes
1
answer
62
views
how to know if a token is legacy SPL or Token2022 and transfer Token2022?
Q1: how to how if a token is abid to Token2022 protocol or otherwise SPL token?
for example, does circle USDC on devnet : https://explorer.solana.com/address/...
1
vote
1
answer
40
views
How to close an account without coding? [closed]
Guys so I don't know coding....Some days ago I sent one token and saw that it took 0.002sol... in solscan it showed me 'create account with deposit of 0.002sol'. But then after some research I got to ...
0
votes
1
answer
87
views
Why is it taking 0.002sol for transaction?
Guys suppose I had 2 wallets(a and b). B wallet is empty and A wallet has 2 wif tokens and 0.006sol, if I want to send 1 wif to b wallet, then it shows to pay 0.002sol + t.fee... In solscan it shows ...
0
votes
2
answers
209
views
Can I decode the transfers (SOL and SPL) from the simulate transaction logs?
I want to decode the transfers that will take place in a transaction by decoding the transaction logs.
Is it possible to do so?
[
'Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL invoke [1]',
...
0
votes
2
answers
48
views
Is there different types of transfers?
What I am basically asking is, does transfering tokens/sol directly from your phantom wallet to another wallet count as a different transfer opposed to if you were to do it with a smart contract or ...
0
votes
1
answer
39
views
How to understand if transaction is a native token transfer?
I'm noob in Solana so sorry for dumb question.
Using rust sdk I got EncodedTransactionWithStatusMeta from the network. I want to filter out all transactions which are not native token transfers (SOL), ...
0
votes
1
answer
43
views
How to get all transfer instructions from a VersionedTransaction in rust
I have a VersionedTransaction and I would like to extract all the instructions (and inner instructions) containing a transfer. The end goal would be see all the token flows from the signer wallet, ...
2
votes
0
answers
33
views
solana token transfer An account required by the instruction is missing
I minted an NFT with anchor and would like to send it to a different address.
NFT Mint address is BoWAiiGuVTEY7Jsck6KuCoRPMDUgC5wpH84RoRBBNMDS
program
use anchor_spl::token::{mint_to, Mint, MintTo, ...
1
vote
0
answers
17
views
Use PDA as the authorized account for the token account Failed
I want to create a public wallet (public_account) when I create SPL tokens, and then this wallet holds the original mint tokens, and then others can transfer tokens from through the contract interface....
1
vote
2
answers
57
views
RECOVER SOL FROM ATA
I created an ATA for a mint token and initilize the amount of SOL of this ATA with get_min_balance_rent_for_exempt_for_account() function ( amount of SOL ^= 0.002039).
Now I m tring to recover this 0....
1
vote
0
answers
26
views
Transfer hook- burn function
Is it possible to get transfer-check when you burn the tokens, for example if I use solincentor to burn the token with transfer hook it would initiate it, also is there any work arounds if its not ...
1
vote
0
answers
191
views
Is there any way to go about recovering Solana stolen through phantom [closed]
On July 20th, a transaction was signed authorizing the transfer of exactly 44 Solana from my wallet (HcYw37YxybjT29DBofzwAtj6o9gViSzPCcisgCJA72sd) to another wallet (...
1
vote
0
answers
21
views
Trying to get the amounts of SOL swapped into a tx of a Token Account
For 3 days I've been trying to create a function that fetches all the swap txs made on a Token Account.
I'm able to get back all the txs made but not to fetch inside it to get back the swap details.
...
1
vote
0
answers
23
views
Bitcoin transfer error
I sent BTC to website for purchase and I switched to calculate transfer in USD which was $150 and withdraw show. .000281 Sats but it withdrew .08 so like $5,300 USD and shows the remainder going back ...
2
votes
0
answers
118
views
Cross-program invocation reentrancy not allowed for this instruction: Token 2022 Transfer Hook
Is anybody familiar with this error
Program TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb consumed 15038 of 88944 compute units
Program TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb failed: Cross-...
0
votes
1
answer
44
views
Solana Anchor: How to Correctly Handle Token Transfers in ICO Contract During User Deposits?
I'm trying to write a ICO contract with Anchor, and stuck with deposit method, which supposed to transfer SOL from user to protocol treasury, and receives corresponding ico token.
the problem is, I ...
2
votes
1
answer
157
views
Transfer tokens to and from a program
I have a question about linking a wallet to a smart contract. Specifically, I want to send tokens to a program wallet and then have that wallet send tokens to another recipient in a subsequent ...
0
votes
1
answer
23
views
Transfering sol from pda to a hardcoded account pubkey
Can i transfer money from a program owned PDA to a hardcoded pubkey without AccountInfo of the receiver ? Or do I NEED to pass it from the client?
let hardcoded_pubkey = Pubkey::from_str("----...
0
votes
1
answer
130
views
How to fix "instruction tries to borrow reference for an account which is already borrowed" error
I'm writing a native solana program and from this code fragment i'm getting error:
"instruction tries to borrow reference for an account which is already
borrowed"
invoke_signed(
&...
1
vote
1
answer
44
views
What is the benefit of transfers with the TransferWithSeedParams?
Using the web3.js library, when doing a transfer of Sol with the SystemProgram.transfer function, what is the benefit of using the TransferWithSeedParams as opposed to the regular TransferParams? I ...
0
votes
1
answer
102
views
Transferring SPL Token Error "Changed the Balance of a Read-Only Account" (Using Anchor)
I'm working on a Solana program using Anchor where I mint tokens to a vault and am building a sell_tokens function to sell SPL tokens at a fixed rate. Below is the client-side code for selling tokens:
...
0
votes
0
answers
44
views
Cannot transfer SOL to some wallets
I am new in this ecosystem. I have a wallet A from which I can send sol to wallet B, D , E but cannot send C or F . If I am creating a new wallet in phantom I cannot send sol to that account as well. ...
1
vote
1
answer
64
views
How can we prevent wallet to not hold more than 1% token if market cap is under 1B
I am building a token and i want to wallets to not buy much token. How can we prevent wallet to not hold more than 1% token if market cap is under 1B.
How can i achieve this , Please keep in mind ...
0
votes
0
answers
26
views
when i am creating 'create-extra-metas' using cli i am getting 'invalid program argument' Error
../../target/debug/spl-transfer-hook create-extra-metas HooGStFZgkeZ5wCSg9vHtuEYBSotB26tVEvXra4PEKYJ MoxLrhGXAjVnEiVAjG5ycQbp9MVd4sjfj1yLPFVXhkh
error: send transaction: error: send transaction: RPC ...
1
vote
1
answer
91
views
Use custom transfer function instead of Spl Token::transfer
I am creating a new token and gonna list it on some DEX platforms where user can buy my token.
What i want is when a user gonna buy my token from any platform the transfer function should be my custom ...
0
votes
1
answer
321
views
How to search / filter historical SOL transfers / transactions via Web3.js?
I need to find a list of SOL transfers and a list of SPL Token transfers to a given address.
So far it seems there is no such API from Solana web3.js, except getSignaturesForAddress(), ...
0
votes
1
answer
45
views
I m unable to reallocate solana 2022 program transfer Fee extension
Getting error:failed to send transaction: Transaction simulation failed: Error processing Instruction 0: custom program error: 0xd
Code is:
import {
Connection,
Transaction,
clusterApiUrl,
...
0
votes
1
answer
360
views
How does one "transfer" SOL to another account, rather than using a "transaction"?
What is the difference between a transaction and a transfer? From my understanding so far, and according to the answer provided in this question, transactions are meant for exchanges using native SOL, ...
0
votes
1
answer
396
views
Failed: invalid account data for instruction
I'm trying to senf transfer, but always get error:
SendTransactionError: Simulation failed.
Message: Transaction simulation failed: Error processing Instruction 0: invalid account data for instruction....