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.

23 lines (22 loc) 808 B
interface IAuthFetchNonceResponse { nonce: string; issued_at: string; not_before: string; expiration_time: string; } interface IAuthLoginResponse { accessToken: string; accessTokenExpiresAt: string; accessTokenExpiresIn: number; refreshToken: string; userID: string; enabled_mfa: boolean; } export declare const generateAccessTokenMessage: (address: string, domain?: string, uri?: string, statement?: string) => Promise<string>; export declare const exchangeToken: (signature: string, message: string) => Promise<IAuthLoginResponse>; export declare const exchangeNonce: (address: string) => Promise<IAuthFetchNonceResponse>; export declare const refreshToken: (refreshToken: string) => Promise<{ newAccessToken: string; newRefreshToken: string; }>; export {};