getChainId

Calls the "getChainId" function on the contract.

Example

import { getChainId } from "thirdweb/extensions/multicall3";
const result = await getChainId({
contract,
});

Parameters

Returns

The parsed result of the function call.