UNPKG

axie-tools

Version:

TypeScript SDK for building Axie Infinity trading bots and AI agents on Ronin network. Programmatic marketplace operations for Axies, Materials, and Consumables (buy/sell/delist), batch transfers, floor price detection, and wallet management. Includes int

9 lines (8 loc) 526 B
import { Signer, TransactionReceipt } from "ethers"; import type { IOrder } from "../marketplace"; import { type GasPriceOptions } from "../utils"; export interface BuyMarketplaceOrderOptions extends GasPriceOptions { /** Pre-fetched order data. If not provided, will be fetched from the API */ existingOrder?: IOrder; } export default function buyMarketplaceOrder(axieId: number, signer: Signer, accessToken: string, skyMavisApiKey: string, options?: BuyMarketplaceOrderOptions): Promise<TransactionReceipt | false>;