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
23 lines (22 loc) • 604 B
TypeScript
import { Wallet } from "ethers";
export interface ICreateOrderData {
address: string;
axieId: string;
basePrice: string;
endedPrice: string;
startedAt: number;
endedAt: number;
expiredAt: number;
}
export interface ICreateOrderResult {
data?: {
createOrder: {
hash: string;
currentPriceUsd: string;
};
};
errors?: Array<{
message: string;
}>;
}
export default function createMarketplaceOrder(orderData: ICreateOrderData, accessToken: string, signer: Wallet, skyMavisApiKey: string): Promise<ICreateOrderResult>;