@terminusbet/stake-vote-sdk
Version:
A simple SDK for interacting with terminusbet governance
17 lines • 438 B
TypeScript
import { PublicKey, VersionedTransactionResponse } from "@solana/web3.js";
export type PriorityFee = {
unitLimit: number;
unitPrice: number;
};
export type TransactionResult = {
signature?: string;
error?: unknown;
results?: VersionedTransactionResponse;
success: boolean;
};
export type UserVotePool = {
publicKey: PublicKey;
voteLeft: bigint;
timeEndAt: bigint;
};
//# sourceMappingURL=types.d.ts.map