UNPKG

@rainfi/sdk

Version:

This package is used to interact with Rain.fi protocol on Solana

5 lines (4 loc) 400 B
import { Connection, PublicKey } from "@solana/web3.js"; import * as anchor from "@coral-xyz/anchor"; import { Metadata } from "../metadata.utils"; export declare const publicBuyAndExecuteSale: (connection: Connection, buyer: PublicKey, seller: PublicKey, nft: Metadata, auctionHousePubkey: PublicKey, price: anchor.BN, buyerTokenAccount: PublicKey) => Promise<anchor.web3.TransactionInstruction[]>;