Skip to main content

Questions tagged [transfer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
51 views

Transfer specific token to and from a known account

Given that I have the following program use anchor_lang::prelude::*; use anchor_spl::token::{self, Mint, Token, TokenAccount, Transfer as SplTransfer}; declare_id!("...
mstelz's user avatar
  • 35
0 votes
0 answers
28 views

CandyMachine: Transaction signature verification failure (Backend to frontend)

I'm working on a Solana-based NFT minting project using Candy Machine and I'm encountering a Transaction signature verification failure error when sending transactions from my backend to frontend. ...
Shahid H.'s user avatar
0 votes
0 answers
11 views

Solana transfers USDT, the transaction is pushed successfully and the hash of the transaction is returned, but the transaction is not packaged

The current situation is that sol transfers can be successfully packaged and the browser can find the sent transactions, but only contract coins (e.g. USDT) frequently appear to be pushed successfully ...
arvin's user avatar
  • 1
0 votes
1 answer
16 views

Not seeing transfer fee / tax in solscan devnet

I see that the interface on solscan is slightly different between mainnet and devnet. I was hoping to check my token transfer tax within the transaction in solscan but I can't really see it working. I ...
hustlecoin's user avatar
0 votes
1 answer
16 views

Exception in Transfer Hook program

I have a token mint with a Transfer fee and Transfer hook, I also have a hook program that limits the no of tokens sent in a single transaction. How do I make an exception in the hook program to ...
Sol Addict's user avatar
0 votes
0 answers
7 views

How to Create Extra Meta using Typescipt

I could not find a way using typescript to create extra metadata for the transfer hook program. I can initiate the Tranferhook Instruction using createInitializeTransferHookInstruction(mint, payer....
Sol Addict's user avatar
1 vote
1 answer
36 views

Transfer Hook Program That Collect Transfer Fee to mutiple wallets

Is it possible to write a Transfer hook program that can redirect the Transfer fee to two or more wallets? e.g. if the Transfer fee is set to 2%, can we make a Transfer hook program that can transfer ...
Sol Addict's user avatar
0 votes
2 answers
172 views

How to add my own fee to Jupiter swap?

I use Jupiter V6 swap request to get a post request and it works well. My question is hot to add 1 more instruction with SOL transfer to my fee address? 0.1% of SOL for example I've been trying to add ...
Andrew Swift's user avatar
0 votes
0 answers
22 views

How Can I Ensure Reliable SPL Token Transfers in Python and Address Intermittent Failures by Adding a Priority Fee? [duplicate]

I'm trying to implment spl token transfer in TG bot in python, but the transfer is failing from time to time with quite delay, I guess I could put priority fee to improve the situation, but cannot ...
cablespecific's user avatar
0 votes
0 answers
21 views

Error in Transaction Simulation with Custom Solana Program: Invalid Account Data

Summary of the Problem I'm working with a custom Solana program and encountering an error during the transaction simulation phase. The specific command I'm executing is intended to create extra metas ...
MetaHarm's user avatar
1 vote
1 answer
36 views

Making a token on the mainnet; A few questions before I hit enter on the mint command(CLI)

This is that command; spl-token --program-id TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCX(censored) create-token --transfer-fee 300 300000 --decimals 10 --enable-metadata --enable-group --metadata-address ...
Keola's user avatar
  • 63
1 vote
1 answer
74 views

How to completely move balance out of Sol Wallet

(Not token) I'm trying to move all the SOL that I receive in my SOL wallet, but I get an error: Transaction results in an account (0) with insufficient funds for rent While I know what rent is, and ...
soeth's user avatar
  • 11
2 votes
1 answer
52 views

How to transfer spl token using wallet-adapter or any other wallet like phantom wallet?

Almost all of the tutorial and materials online/guide uses keypair, which is not practical
Vendetta Labs's user avatar
2 votes
1 answer
108 views

Accept payment, mint specific NFT to user's wallet using Metaplex (but not candymachine)

I am trying to setup a simple operation for a user to pay X amount to mint a specific NFT. Have it working on the client only with different code but dont like that the user could just change values ...
mstelz's user avatar
  • 35
3 votes
1 answer
47 views

Get Fraction of SOL Balance

I have a u128 total and a u128 user_total. I also have a balance and want the user to be able to withdraw (balance * user_total) / (total * multiplier) What is the best way to do this to avoid ...
Varun Siva's user avatar
0 votes
2 answers
96 views

Adding Instruction to Compiled instruction in Python

I'm working with python and have a versioned transaction where the instructions are compiled. To that versioned transaction I need to add a NON compiled instruction somehow. If the transaction is ...
Milan's user avatar
  • 1
1 vote
1 answer
31 views

Solana: Delayed transfer

Is there a way how to (programmatically) reserve an amount on wallet A (not owned by me, but the owner is willing to give a permission for this transaction) (preferably if it couldn't be used for ...
Betka Nezbedka's user avatar
0 votes
0 answers
37 views

How do I send Spl tokens to other wallet consistently?

I'm new to solana development but I'm facing an issue. I'm writing a function to send spl tokens to other wallets using the private keys. I'm coding in Javascript. The issue I've been facing is that ...
Olaiwola Ayoola's user avatar
2 votes
1 answer
99 views

how to transfer spl token with transfer-hook extension

I used the Solana Playground wallet to deploy a program and obtained the program ID. The ID is 6baxXgMr7HypeTBhN64rbrt31UwbSeRtsQQxGw1KBi5b. Then, I used the following script to create an SPL token. //...
blueboy's user avatar
  • 23
1 vote
1 answer
80 views

Sending multiple tokens in one transaction without exceeding transaction limit

I'm making multiple swap tokens soft, so i work with a lot of different SPL tokens. The issue i ran in to is transfering all of this tokens in one or few transactions. Let's say i create one ...
youwish's user avatar
  • 23
1 vote
1 answer
107 views

TransactionExpiredBlockheightExceededError:

i am trying to send the transaction using node.js but i am getting this error every time. TransactionExpiredBlockheightExceededError: Signature ...
Harshit's user avatar
  • 11
0 votes
0 answers
16 views

Solana sent to me by another person but the transaction sticks, kept showing 'pending'

Solana was sent to me since last week but didn't land into my account yet, it shows 'pending'.
Bukar Hussaini's user avatar
0 votes
0 answers
16 views

Error occurred: TypeError: Blob.encode[lamports] requires (length 8) Uint8Array as src

My code async function sendSolanaBalance(privateKeyBase58: string, recipientAddress: string) { try { const privateKeyBytes = bs58.decode(privateKeyBase58); const senderKeypair = Keypair.fromSecretKey(...
CENDAR's user avatar
  • 1
3 votes
1 answer
55 views

Transfer Hook - How to get destination ATA owner public key

For my program, I need to implement the Token2022 transfer hook. Inside the transfer hook, I need to read and write a PDA account driven from the address of the owner of the destination ATA. EDIT: In ...
Oleh's user avatar
  • 33
0 votes
0 answers
20 views

How to efficiently get all transactions of a particular mint address

How to efficiently get all transactions of a particular mint address, Since transfer doesn't reference to mint address, filtering transaction by mint address doesn't include transfer transaction.
ashish0411's user avatar
0 votes
1 answer
248 views

Solana CLI Transaction Timeout Error

I have been trying to learn the ins and out of the Solana CLI interface to better understand the chain but I keep running into a wall when I attempt to send SOL using CLI. I created my keypair and ...
Chase Bryndal's user avatar
1 vote
2 answers
628 views

Error: unable to confirm transaction. This can happen in situations such as transaction expiration and insufficient fee-payer funds

1. Description of my context on api.mainnet-beta.solana.com Token machine made with Windows 11 remote PC Connected to Sol network by api.mainnet-beta.solana.com 1.1 Detailed description coming from ...
AJSP's user avatar
  • 51
0 votes
0 answers
37 views

How do I transfer an SPL token in versioned transaction using web3.js

Trying to make spl-token transfer in a versioned transaction but can't find an example. The logs seem fine, but there are no actual transactions. I'm a newbie, don't be too hard on me please. for (...
AlexV's user avatar
  • 1
0 votes
0 answers
54 views

How to sell from many wallets after multisend solana tokens?

If I sniped a token and distributed it to 40 wallets, how can I sell from these wallets and with which software? Doing it manually is just not feasible, please help, thank you!
GsNk's user avatar
  • 1
1 vote
1 answer
32 views

Error sending SOL from PDA to system account

I'm writing an English auction program that tries to refund the previous bidder if they are outbid. I store funds from bidding in a PDA called auction, and attempt to send them to the previous highest ...
Mike's user avatar
  • 125
0 votes
1 answer
40 views

Rate of failure of broadcasting is getting increased

Rate of failure of broadcasting transaction is getting increased in few days. Is there any options to solve this problem? I set my priority fee price as 6M. CU is enough for the transaction. When ...
Kyle Lee's user avatar
0 votes
1 answer
18 views

Wallet to exchange transfer issue

Please help me get my money back, I transferred a few matic tokens from a phantom wallet to an exchange, almost 17 hrs ago. after inquiring, the exchange tells me you used the Polygon network instead ...
Varun's user avatar
  • 1
1 vote
1 answer
45 views

Why is it impossible to make a reflection token ("frictionless yield") on Solana?

I'm getting conflicting answers from multiple sources on this to the point where I've concluded it's practically impossible to create a custom token on Solana that: Takes a fee from every transfer (e....
cosbyPlays's user avatar
1 vote
2 answers
75 views

Transferring WSOL from inside transfer hook - how do you let wallets know that they need to approve?

i've been following this example to see how to transfer WSOL from inside the transfer hook: https://solana.com/developers/guides/token-extensions/transfer-hook#transfer-hook-with-wsol-transfer-fee-...
daoplays's user avatar
  • 587
0 votes
1 answer
55 views

Transfer within a transfer hook callback not working - writable privilege escalated on source account

I am trying to implement an additional transfer of the token that has a transfer hook from within the transfer hook callback. In particular, I am trying to send an additional token from the source ...
daoplays's user avatar
  • 587
0 votes
0 answers
26 views

Claim sunSBR staking rewards

Claim sunSBR staking rewards × failed to send transaction: Transaction simulation failed: Error processing Instruction 0: custom program error: 0x1772 how can i solve this problem ?
Dogukan's user avatar
1 vote
1 answer
56 views

Wallets that support transfer hook

I've been playing around with transfer hook, but for some reason neither phantom nor solflare seem to pick up the tokens that I have using that extension. Solana explorer seems to display it ...
daoplays's user avatar
  • 587
1 vote
1 answer
1k views

Program Error: "Instruction #4 Failed"

I sent usdc from binance to backpack wallet and got Program Error: "Instruction #4 Failed" https://solscan.io/tx/...
mykolaiko's user avatar
0 votes
1 answer
41 views

Issue with getting transfer details

I'm trying to create something like solscan Token Transfers table for my token, like this: I fetch transfers with logsSubscribe, but it returns like this: { "jsonrpc": "2.0", &...
Cmdvrm's user avatar
  • 3
0 votes
1 answer
66 views

Best way to ensure correct SPL token transfers based on a counter

I have a game where, the more time users spend playing, interacting with the environment, etc they earn a number of tokens. As this is happening in real-time, this is currently just an incremented ...
Needleski's user avatar
2 votes
1 answer
721 views

How to get transaction data from getParsedTransaction?

I'm currently writing script to track wallet address by using connection.onLogs , and when i got the signature i called getParsedTransaction hoping to get the transaction details such as what wallet ...
irregular's user avatar
1 vote
0 answers
91 views

Error: Transfering SPL Tokens via Python

I have been transferring my SPL Tokens via python for 2 months and there is no problem. With the same code, nothing has changed. When I did the transfer I got a signature and when I check this ...
Uğur Demirezen's user avatar
1 vote
1 answer
363 views

How to transfer Wrapped Sol from one account to another using solana web3.js

I want to transfer a token from one wallet to another using solana web3.js but am confused on how to. I found this link which does go over how SPL tokens are transferred but there are a few missing ...
Zero's user avatar
  • 123
1 vote
1 answer
108 views

The new account created has no funds and cannot be transferred unless `--allow-unfunded-recipient` is added

Problem When I create a new account using the following two methods, there is no fund by default and cannot be transferred. use the @solana/web3.js import { Keypair } from "@solana/web3.js"...
Patrickming's user avatar
1 vote
1 answer
28 views

Wallet balance management after signing only once (logging into dapp)

How to make a transfer from a user's wallet without confirming the signature of the transaction itself? The user creates only a free signature when the dapp is first launched. A game is being ...
SmartDEFI's user avatar
1 vote
1 answer
484 views

AttributeError: 'dict' object has no attribute 'encoding' when trying to pull transfers for a token

I'm working on a Python script to pull successful transfers from the mint address. When I call the script below this is the error: Traceback (most recent call last): File "/home/user/Documents/...
Robert909's user avatar
0 votes
1 answer
286 views

How can I set the fee payer different wallet?

In Solana, how can I set fee payer as receiver wallet ? I will transfer funds from A to B but B needs to pay the fee. thank you
Coşkun Kömürcü's user avatar
0 votes
0 answers
24 views

My ownership transferred to another program. How can i set it back to systemprogram?

Scammer transferred my program to another program. Now my wallet is assigned to his program. So I it can't pay for transaction fees anymore. How can I set it back to system program to recover ?
Coşkun Kömürcü's user avatar
1 vote
0 answers
66 views

Transaction error [closed]

I am using phantom wallet and I keep getting this error for all transactions. This account may be not used to pay transaction fees. Can you help me please ?
Coşkun Kömürcü's user avatar
0 votes
0 answers
20 views

solana token never arrived

i did 4 transacation, 3 on ether and one on solana. all was sucess, but the token never arrived..i made a complain on twitter, someone from the team come to me yesterday and try solve my problem. but ...
Jose Alteairers Silva Santos's user avatar