We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85dfc36 commit 9fecd71Copy full SHA for 9fecd71
governance/pyth_staking_sdk/src/pyth-staking-client.ts
@@ -894,6 +894,21 @@ export class PythStakingClient {
894
.instruction();
895
}
896
897
+ public async getTransferAccountInstruction(
898
+ stakeAccountPositions: PublicKey,
899
+ governanceAuthority: PublicKey,
900
+ newOwner: PublicKey,
901
+ ): Promise<TransactionInstruction> {
902
+ return this.stakingProgram.methods
903
+ .transferAccount()
904
+ .accountsPartial({
905
+ stakeAccountPositions,
906
+ governanceAuthority,
907
+ newOwner,
908
+ })
909
+ .instruction();
910
+ }
911
+
912
public async getUpdatePoolAuthorityInstruction(
913
governanceAuthority: PublicKey,
914
poolAuthority: PublicKey,
0 commit comments