Skip to main content

Questions tagged [stake]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
22 views

How to retrieve Stake Pool Address using Token Address

How I can find out the Stake Pool address using a token address (ideally using JavaScript)? I know there's a spl-single-pool package (https://spl.solana.com/single-pool) it requires the pool address ...
abdlh's user avatar
  • 31
0 votes
1 answer
36 views

How to get the pool balance and pool token balance in past epoch

Is there a way to read pool balance and pool token balance in past epoch?(for given pool public key)
Kaveen Laksitha's user avatar
1 vote
1 answer
38 views

Solana RPC Node and Turbine Tree

Im reading Helius' blog post, Turbine: Block Propagation on Solana, and it lead to a couple questions. The blog states, "The root node aggregates all active validators into a list, which is then ...
ssjsb's user avatar
  • 21
0 votes
1 answer
33 views

How to find the pool balance at the end of the epoch

I was trying to read pool balance from the end of the epoch and couldn't found any answer yet. My intention is to calculate the APY of given pool public key. I was trying with @solana/web3.js and @...
Kaveen Laksitha's user avatar
1 vote
1 answer
75 views

What are the implications of Solana's stake-weighted mechanisms when choosing an RPC hosting solution?

I have read that many Solana mechanisms are stake-weighted and I was wondering what would be the implications of this when using services such as Helius or Quicknode vs a self-hosted (non staked) ...
Jesuspc's user avatar
  • 111
0 votes
1 answer
45 views

How is delegated stake balance calculated?

I created my staking account with 1 + 0.00228288 (rent-exempt) SOL. So that my initial delegated stake was exactly 1 SOL. After 6 epochs, my balance is 1.004707281. And my delegated stake is 1....
Dante Alighieri's user avatar
2 votes
1 answer
91 views

API to get historical SOL/USDT price?

Is there an API to get get SOL ticker price w.r.t. USDT for a particular timestamp? I want to use it to account for taxes I tried using the Binance API as suggested in https://stackoverflow.com/a/...
A. K.'s user avatar
  • 175
1 vote
1 answer
119 views

My validator is not in 'solana validtors'

I ran a node on mainnet, following the docs at https://docs.solanalabs.com/operations/setup-a-validator. Node is running, vote account was created. Node indentity ...
Know I's user avatar
  • 11
0 votes
1 answer
159 views

Finding the first transaction of an account

I'm trying to work my way on indexing old stake accounts, I have the following example: GbT9rPn4523Hzai789QTMh8Mn3455PZEwdCJeJttWdS7, this is a stake account that used to be active but not anymore, it ...
Evya's user avatar
  • 1
1 vote
1 answer
68 views

How do I use 'solana redelegate-stake' with a Ledger HW?

I created the original stake using SolFlare and my Ledger HW. Now I want to redelegate that stake to a different Vote account. There appears to be a way to do it using the CLI solana redelegate-stake ...
NewSOuL's user avatar
  • 11
0 votes
1 answer
104 views

Simple SPL-token stake vault

I'm looking for a simple vault-like for SPL-tokens, something like ERC-4626 for evm, you deposit tokens and you receive shares, then if the pool has more tokens your shares worth more. Reading the ...
Shelvak's user avatar
  • 11
0 votes
1 answer
63 views

What's the best way to listen for epoch updates?

I want to generate a proof from the epoch vote accounts to the Epoch Accounts hash, so I was thinking of listening to epoch updates and then generating a proof. I'm aware that bank has a ...
Harsh Patel's user avatar
1 vote
2 answers
107 views

I get an error when deactivate a stake account

I get this error SendTransactionError: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: invalid instruction data at Connection.sendEncodedTransaction (C:\...
Justin Lavoie's user avatar
1 vote
1 answer
79 views

split-stake into derived account using --seed

What is the proper syntax to split some active stake into a new stake account using the --seed flag? I have some ledger wallets I'd like to split stake out of one of the stake accounts and have the ...
T3chie's user avatar
  • 85
0 votes
0 answers
51 views

How can i generate my stake account?

I staked some Solana in my trusty wallet. On previous occasions it appeared in the wallet itself, but not this time. As per the transaction details my Solana has been transferred to another new ...
sam tutu's user avatar
0 votes
0 answers
16 views

I need help getting nfts out of a stake pool account and back into the account owners wallets

We had a dev create a stake pool and host on his domain. Domain now ded, and all nfts locked in pool I have access to the authority wallet that created the pool and bpf upgradeable loader https://...
Kronic's user avatar
  • 1
1 vote
0 answers
87 views

Finding the amount of SOL deactivated from staking with a validator

We're a validator operator. Delegations come and go and when a delegator deactivates their stake with us we'd like to know the amount of SOL that came back into their stake account. It seems there ...
Eliot's user avatar
  • 195
1 vote
0 answers
164 views

Convert rust struct to be used in python using pyo3 in solders

i am using trying to make python bindings for the solana rust sdk, on the solders repo https://github.com/kevinheavey/solders there's a crate called primitive here that https://github.com/kevinheavey/...
eth_sign's user avatar
2 votes
1 answer
226 views

System Program: Withdraw Stake from delegated stake account

I'm struggling with understanding of what's happened in tx 1GQA7ZcU63Wqm5gUUkhCnKa8dwzwK91c5bEPKcUvesgmkbauU5nH865PKXkUhD8s8HmTV1URtDG6WqYN3h9z5ET As I can see, System Program: Withdraw Stake was ...
Gohnny's user avatar
  • 23
0 votes
1 answer
50 views

Can a stake account be re-delegated?

On blockchain explorer you’ll see that a stake account may have an “activated” epoch, and a “deactivated” epoch. Does that mean that a single stake account can only be “used” once? I.E. there can only ...
0xTaylor's user avatar
1 vote
1 answer
81 views

Running "spl-stake-pool create-pool" on localhost gives error "Transaction simulation failed: Attempt to load a program that does not exist"

So I created a folder and started a local validator on it running solana-test-validator. In another terminal I set my url to localhost and created a new keypair file, which had enough SOL in it. I ...
Anish Mukherjee's user avatar
3 votes
1 answer
161 views

Creating Stake Account using CLI

I am using the following command using the reference link as https://docs.solana.com/cli/delegate-stake. However, I am getting an error - "Error: Dynamic program error: missing signature for ...
Manish D.'s user avatar
1 vote
1 answer
51 views

Splitting stake accounts

I want to unstake some amount. I have activation and active accounts. Before I want to unstake activating accounts. Can I split stake account in activating state or only in active state?
Oksana's user avatar
  • 461
1 vote
0 answers
33 views

Solana "delegate-stake" fails on devnet

When trying delegate stake using: solana delegate-stake \ --fee-payer ~/staker-wallet-keypair.json \ --stake-authority ~/staker-wallet-keypair.json \ <STAKE_ACCOUNT_PUBKEY> <...
MusicMan's user avatar
2 votes
1 answer
118 views

How does stake account gets created?

I write code for staking: const stakeAccount = Keypair.generate(); then I get the validator that I trust const validators = await connection.getVoteAccounts(); // just choose the first one const ...
Yilmaz's user avatar
  • 1,164
0 votes
1 answer
45 views

Are Solana validator stakes kept in a smart contract? If so, does it cost gas to send attestations for a block? Are block proposals off or on-chain?

I'm interested in learning how Solana's consensus mechanism works. I understand that in a proof of stake system, stake is bonded (usually in a smart contract). While this is a great way for creating ...
DougCensorMartinFan69's user avatar
2 votes
1 answer
132 views

staking with wallet adapter failes

I am using a wallet adapter to sign 2 tx: create a stake account delegate in a single wallet approval. and for some reason the tx failed with the following err: Error: failed to send transaction: ...
Avaulto's user avatar
  • 102