import { ethers } from 'ethers';
import contract_ABI from './abi/contract_ABI.json';
const provider = new ethers.JsonRpcProvider("http://mainnet.dasomoli.org:8545");
const contract_address = "0x1234567890123456789012345678901234567890";
const contract = new ethers.Contract(contract_address, contract_ABI, provider);
const balanceOf = contract.balanceOf(account_address, { blockTag: 12345678 });
위처럼 호출 시 blockTag:
와 함께 blockNumber를 주면 된다.