Helius SDK - v2.2.2
    Preparing search index...

    Type Alias createUnstakeTransactionFn

    createUnstakeTransactionFn: (
        ownerSigner: KeyPairSigner<string>,
        stakeAccount: Address,
    ) => Promise<{ serializedTx: string }>

    Create a signed deactivation (unstake) transaction. Returns the serialized tx.

    Type Declaration

      • (
            ownerSigner: KeyPairSigner<string>,
            stakeAccount: Address,
        ): Promise<{ serializedTx: string }>
      • Parameters

        • ownerSigner: KeyPairSigner<string>
        • stakeAccount: Address

        Returns Promise<{ serializedTx: string }>