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.
22 lines (21 loc) • 892 B
TypeScript
interface AtiaBlessingDelegation {
delegatedAt: number;
delegatorSlipsPercent: number;
fromAddress: string;
toAddress: string;
lastPrayedAt: string;
fromProfile?: {
name: string;
};
toProfile?: {
name: string;
accountId: string;
addresses: {
ronin: string;
}[];
};
}
export declare function delegateAtiaBlessing(accessToken: string, signature: string, userAddress: string, toAddress: string, delegatedAt: number, delegatorSlipsPercent: number): Promise<boolean>;
export declare function getAtiaBlessingDelegations(accessToken: string, userAddress: string, isDelegating?: boolean, isDelegated?: boolean): Promise<AtiaBlessingDelegation[]>;
export declare function revokeAtiaBlessingDelegation(accessToken: string, userAddress: string, toAddress: string, fromAddress: string): Promise<boolean>;
export {};