You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, we are substracting 1 SOL from the source stake account and transferring into a newly created stake account.
161
161
162
-
-[Read more in the API Reference](../../docs/classes/solana_src.SolanaStaker.md#buildsplitstakestx)
162
+
-[Read more in the API Reference](../../docs/classes/solana_src.SolanaStaker.md#buildsplitstaketx)
163
163
164
164
---
165
165
@@ -173,23 +173,23 @@ The `getStake` method retrieves the staking information from a delegator.
173
173
174
174
### How to Use
175
175
176
-
To get staking information, you need to provide the delegator's address (your wallet), and optionally the validator's address. If the validator's address is not provided, the method returns rewards from all validators.
176
+
To get staking information, you need to provide the owner's address (your wallet), and optionally the validator's address. If the validator's address is not provided, the method returns balance from all validators.
177
177
178
-
You can also specify the status of the staker. Default is 'active'.
178
+
You can also specify the state of the stake accounts. Default is 'delegated'.
Copy file name to clipboardExpand all lines: book/signers-explained/local.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Let's look at what these two key concepts are below:
13
13
-**addressDerivationFn**: A function that derives the address from the public key, implementing the `AddressDerivationFn` type and provided by Staker classes as static methods, e.g. `SolanaStaker.getAddressDerivationFn`, `NearStaker.getAddressDerivationFn`, etc.
0 commit comments