@arcium-hq/stakingFunctions
generateStakeOffset
generateStakeOffset(
connection,options?):Promise<bigint>
Generates an unused delegated stake offset by probing the derived PDA.
Parameters
| Parameter | Type |
|---|---|
connection | Pick<Connection, "getAccountInfo"> |
options | GenerateStakeOffsetOptions |
Returns
Promise<bigint>