@drift-labs/sdk
Version:
SDK for Drift Protocol
12 lines • 463 B
TypeScript
import type { AccountMeta, PublicKey, TransactionInstruction } from '@solana/web3.js';
import type { DriftProgram } from '../../config';
export declare function buildSettlePnlInstruction(args: {
program: DriftProgram;
marketIndex: number;
state: PublicKey;
authority: PublicKey;
user: PublicKey;
spotMarketVault: PublicKey;
remainingAccounts: AccountMeta[];
}): Promise<TransactionInstruction>;
//# sourceMappingURL=settlement.d.ts.map