UNPKG

@remitano-anhdt/metaplex-js

Version:

Metaplex JavaScript API

15 lines (14 loc) 453 B
import { Keypair, PublicKey, Transaction } from '@solana/web3.js'; import { Optional } from '../../types'; interface CreateApproveParams { authority: Keypair; account: PublicKey; owner: PublicKey; amount: number | bigint; } export declare function createApproveTxs(args: Optional<CreateApproveParams, 'authority'>): { authority: Keypair; createApproveTx: Transaction; createRevokeTx: Transaction; }; export {};