@sen-use/web3
Version:
The library for Sentre
14 lines (13 loc) • 476 B
TypeScript
import { BN, AnchorProvider, web3, Address } from '@project-serum/anchor';
declare type MintToParams = {
amount: BN;
mint: web3.Keypair;
dstAddress?: Address;
decimals?: number;
};
export declare const createMintAndMintTo: (provider: AnchorProvider, { amount, mint, dstAddress, decimals }: MintToParams, sendAndConfirm?: boolean) => Promise<{
txId: string;
transaction: web3.Transaction;
signer: web3.Keypair[];
}>;
export * from './transactions';