UNPKG

hadeswap-sdk

Version:

HadeSwap SDK for interacting with protocol

15 lines (14 loc) 409 B
import { web3 } from '@project-serum/anchor'; declare type InitializeAuction = (params: { programId: web3.PublicKey; connection: web3.Connection; accounts: { userPubkey: web3.PublicKey; }; }) => Promise<{ auction: web3.PublicKey; instructions: web3.TransactionInstruction[]; signers: web3.Signer[]; }>; export declare const initializeAuction: InitializeAuction; export {};