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

    Type Alias CreateWithdrawTransactionFn

    CreateWithdrawTransactionFn: (
        withdrawAuthority: KeyPairSigner<string>,
        stakeAccount: Address,
        destination: Address,
        lamports: number | bigint,
    ) => Promise<{ serializedTx: string }>

    Create a signed withdrawal transaction. Returns the serialized tx.

    Type Declaration

      • (
            withdrawAuthority: KeyPairSigner<string>,
            stakeAccount: Address,
            destination: Address,
            lamports: number | bigint,
        ): Promise<{ serializedTx: string }>
      • Parameters

        • withdrawAuthority: KeyPairSigner<string>
        • stakeAccount: Address
        • destination: Address
        • lamports: number | bigint

        Returns Promise<{ serializedTx: string }>