axie-tools
Version:
TypeScript library and CLI tool for interacting with Axie Infinity marketplace and NFTs on Ronin network. Features marketplace operations (buy/sell/delist), batch transfers, and wallet information.
23 lines (22 loc) • 585 B
TypeScript
import type { 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): Promise<ICreateOrderResult>;