ethers.js/packages/address/lib/index.d.ts

9 lines
357 B
TypeScript

import { BigNumberish } from "@ethersproject/bignumber";
export declare function getAddress(address: string): string;
export declare function isAddress(address: string): boolean;
export declare function getIcapAddress(address: string): string;
export declare function getContractAddress(transaction: {
from: string;
nonce: BigNumberish;
}): string;