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