UNPKG

@remitano-anhdt/metaplex-js

Version:

Metaplex JavaScript API

16 lines (15 loc) 524 B
import { PublicKey } from '@solana/web3.js'; import { Wallet } from '../wallet'; import { Connection } from '../Connection'; export interface SendTokenParams { connection: Connection; wallet: Wallet; source: PublicKey; destination: PublicKey; mint: PublicKey; amount: number | bigint; } export interface SendTokenResponse { txId: string; } export declare const sendToken: ({ connection, wallet, source, destination, mint, amount, }: SendTokenParams) => Promise<SendTokenResponse>;