UNPKG

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.

13 lines (12 loc) 456 B
import { ethers } from 'ethers'; export interface DelegationData { from_address: string; to_address: string; delegated_at: number; delegator_slips_percent: number; } export declare function generateDelegationMessage(data: DelegationData): string; export declare function signDelegation(wallet: ethers.Wallet, toAddress: string, delegatedAt: number, delegatorSlipsPercent?: number): Promise<{ message: string; signature: string; }>;