Skip to main content

Questions tagged [account-data]

The tag has no usage guidance.

14 questions with no upvoted or accepted answers
2 votes
1 answer
560 views

Decode data from GetAccountInfo in python for a Raydium pair

Maybe my approach is wrong. I'm new to Solana dev. I'm using the Solana mainnet API and I'm trying to get the liquidity pool amounts for a given token pair on raydium. My code: res=solana_client....
Ricouello's user avatar
  • 121
2 votes
2 answers
489 views

How to deserialize raw account data from tx in rust?

I get a b64 encoded data for an account from the transaction. I need to decode it into my account data struct called "Entity". I deserialize the b64 data into bytes then :- I tried to ...
Dev Bharel's user avatar
2 votes
0 answers
43 views

Stake account info is not updated after epoch

I delegate 30◎ the validator in 353 epoch. Stake account is 2o5G3H5dCb2akeT1eU4Q9WUz7Ky8hco2QmoAQg2ki42Z. In 354 epoch I got rewards and my stake right now is 30.013167766◎. But when I'm trying go ...
Denys Hryshko's user avatar
1 vote
0 answers
11 views

IPFS Integration

I've mashed IPFS up with Stellar to mail DAG roots between accounts in transaction memos, and to post mutable links to them in account data. It also derives encryption keys from a signature and ...
Brian's user avatar
  • 11
1 vote
0 answers
30 views

changed config from devnet to mainnet, how to I migrate my tokens so I see hem when checking spl-token accounts?(2 question btw)

(Question 1) before I did this; (so i could change metadata) I'd see my 80 mil tokens in the account made for the new minted token, now when I use spl-token accounts I just get spl-token accounts ...
Keola's user avatar
  • 83
1 vote
1 answer
18 views

Checking the generated PDA against the user's PDA input

First of all, I'm new to Solana development (came from an Ethereum background), so sorry if my question is too basic. I'm following the SolDev course, I'm on course state management. I have a ...
0xbrivan's user avatar
1 vote
0 answers
34 views

Reading all kinds of information from the blockchain

(For a project of mine which is a full Solana blockchain "status" tracker. For public!) Problem: Reading Pair/Pool info How do I even get the info which pairs exist without looping through ...
axlynom's user avatar
  • 31
1 vote
0 answers
36 views

Increase PDA size after deployment

I read somewhere some time ago that Solana now provides feature to increase the PDA size post deployment. For example, let's assume that I deploy a PDA with a capacity to hold 10 Publickeys and later ...
Vineet Kinger's user avatar
0 votes
0 answers
9 views

filtering buy txns with timestamp

are there any APIs or any way to filter buy transactions for a certain token by timestamp? I don't want to paginate through transactions, just filter them by timestamp.
0xkali's user avatar
  • 23
0 votes
0 answers
17 views

A solana account, not a pda account, accidentally called the system contract to allocate space. Is there a way to withdraw the sol of this account?

This question is confusing. If someone does this, it will permanently destroy sol.
one harold's user avatar
0 votes
1 answer
84 views

How to build on-chain Solana trading bot

Can you help me figure out how can I build an on-chain trading bot for trading tokens launched on the Solana Blockchain? Just need step by step guidance or resources to start. Thanks for your response....
Abdullah Umar's user avatar
0 votes
0 answers
8 views

During the registration in the Delegation Program, I mistakenly chose the business account type

During registration in the Delegation Program, I mistakenly chose to register a business account, but I am an individual, please help me with changing the account type to an individual
Евгений Конюхов's user avatar
0 votes
1 answer
71 views

Deploying program with sol_remaining_compute_units() gives "invalid account data"

Including something like msg!("remaining compute: {}", solana_program::compute_units::sol_remaining_compute_units()); will lead to error when deploying RPC URL: https://api.devnet.solana....
Pun's user avatar
  • 1
0 votes
0 answers
272 views

Solana rent account questoin

I have a question. If I hold solana token on my wallet - do I need to pay a rent for my account on chain ? I've red official documentation and I see that there is a garbage collector in solana chain ...
Andriy Vasyltsiv's user avatar