UNPKG

@tristeroresearch/mach-sdk

Version:

A TypeScript SDK for integrating with Mach's API.

12 lines 824 B
/** * @fileoverview This file contains the helper function to determine the blockchain network associated with a given contract address by checking against known contract addresses. */ import { type Hex } from 'viem'; /** * A helper function to determine the blockchain network associated with a given contract address by checking against known contract addresses. * @param contractAddress - The address of the contract to check * @returns The name of the blockchain network or null if no match is found * @description This helper function determines the blockchain network associated with a given contract address by checking against known contract addresses. */ export declare const getChainFromContractAddress: (contractAddress: Hex) => string | null; //# sourceMappingURL=getChainFromContractAddress.util.d.ts.map