UNPKG

hadeswap-sdk

Version:

HadeSwap SDK for interacting with protocol

17 lines (16 loc) 527 B
import { web3 } from '@project-serum/anchor'; declare type CloseLotAccount = (params: { programId: web3.PublicKey; connection: web3.Connection; accounts: { userPubkey: web3.PublicKey; auction: web3.PublicKey; nftMint: web3.PublicKey; }; sendTxn: (transaction: web3.Transaction, signers: web3.Signer[]) => Promise<void>; }) => Promise<{ instructions: web3.TransactionInstruction[]; signers: web3.Signer[]; }>; export declare const closeLotAccount: CloseLotAccount; export {};