UNPKG

hadeswap-sdk

Version:

HadeSwap SDK for interacting with protocol

21 lines (20 loc) 546 B
import { web3 } from '@project-serum/anchor'; declare type ClaimNft = (params: { programId: web3.PublicKey; connection: web3.Connection; args: { nameForRuleSet: string; payerRuleSet: web3.PublicKey; }; accounts: { userPubkey: web3.PublicKey; auction: web3.PublicKey; nftMint: web3.PublicKey; }; }) => Promise<{ userTokenAccount: web3.PublicKey; instructions: web3.TransactionInstruction[]; signers: web3.Signer[]; }>; export declare const claimNft: ClaimNft; export {};