IHistoricalBalance

Functions

getPastBalanceOf

This function retrieves the historical balance of an account at a specific point in time.

function getPastBalanceOf(address account, uint256 timepoint) external view returns (uint256 balance);

Parameters

NameTypeDescription

account

address

The address of the account for which to retrieve the historical balance.

timepoint

uint256

The timepoint (block number or timestamp depending on implementation) at which to query the balance.

Returns

NameTypeDescription

balance

uint256

The balance of the account at the specified timepoint.

Last updated