UNPKG

solana-web3-lite

Version:

A lightweight wrapper around @solana/web3.js for simplified Solana blockchain interactions

11 lines (10 loc) 391 B
import { Keypair, Commitment } from "@solana/web3.js"; interface TransferParams { keyPair: Keypair; recipientAddress: string; amount: number; cluster?: "mainnet-beta" | "testnet" | "devnet" | "localnet"; commitment?: Commitment; } export declare const transfer: ({ keyPair, recipientAddress, amount, cluster, commitment, }: TransferParams) => Promise<string>; export {};