@solana-developers/helpers
Version:
Solana helper functions
5 lines • 447 B
TypeScript
import { type Connection, Keypair, type PublicKey } from "@solana/web3.js";
import type { InitializeKeypairOptions } from "../types";
export declare const initializeKeypair: (connection: Connection, options?: InitializeKeypairOptions) => Promise<Keypair>;
export declare const airdropIfRequired: (connection: Connection, publicKey: PublicKey, airdropAmount: number, minimumBalance: number) => Promise<number>;
//# sourceMappingURL=airdrop.d.ts.map