After creating the staking account, I tried to retrieve it using let stakeState = await connection.getStakeActivation(stakeAccount.publicKey);.
But it gives an error as follows
Invalid param: stake account not initialized.
When I search for the address on the solana explorer I can see the account as a staking account. How long will it take to get activated? I am using the devnet at the moment
After creating the staking account, I tried to retrieve it using
let stakeState = await connection.getStakeActivation(stakeAccount.publicKey);
. But it gives an error as followsInvalid param: stake account not initialized.
When I search for the address on the solana explorer I can see the account as a staking account. How long will it take to get activated? I am using the devnet at the moment