@kanalabs/mirai
Version:
Mirai - Account Abstraction SDK (EVM + non-EVM)
12 lines (11 loc) • 515 B
TypeScript
export declare class Paymaster {
apiKey: string;
private baseUrl;
private apikey;
constructor(apiKey: string);
addWhitelist(accountAddress: string, chainId: number): Promise<any>;
checkWhitelist(accountAddress: string, sponsorAddress: string, chainId: number): Promise<any>;
removeWhitelist(accountAddress: string, chainId: number): Promise<any>;
deposit(amount: string, chainId: number): Promise<any>;
getSponsorBalance(sponsorAddress: string, chainId: number): Promise<any>;
}