zksync-cli
Version:
CLI tool that simplifies the process of developing applications and interacting with the ZKsync network
15 lines (14 loc) • 590 B
TypeScript
import type { BigNumberish, ethers } from "ethers";
import type { Provider } from "zksync-ethers";
type Token = {
address: string;
symbol: string;
name: string;
decimals: number;
l1Address?: string;
};
export declare const getTokenInfo: (tokenAddress: string, l2Provider: Provider, l1Provider?: ethers.providers.JsonRpcProvider) => Promise<Omit<Token, "address"> & {
address?: string | undefined;
}>;
export declare const getBalance: (tokenAddress: string, address: string, provider: Provider | ethers.providers.JsonRpcProvider) => Promise<BigNumberish>;
export {};