isContractDeployed

Check if a contract exists at the given address

function isContractDeployed(
address: string,
provider: Provider,
): Promise<boolean>;

Parameters

The address to check

Type

let address: string;

The provider to use

Type

let provider: Provider;

Returns

let returnType: Promise<boolean>;