This tool monitors the resource usage of the StarkNet Mainnet rollup in real time, such as calldata, storage, and gas consumption. Its aim is to help take steps to further optimize the rollup.
This PR introduces a new API endpoint at /api/entrypoints?contract_address=0x0000...0000 which leverages the get_entrypoints endpoint from starkflare-indexer and adds the correct entrypoint human-readable name by fetching the Starknet contract ABI and performing the appropriate lookup.
Caching logic has been replicated from get_common_data but has not been tested.
This PR introduces a new API endpoint at
/api/entrypoints?contract_address=0x0000...0000
which leverages theget_entrypoints
endpoint from starkflare-indexer and adds the correct entrypoint human-readable name by fetching the Starknet contract ABI and performing the appropriate lookup.Caching logic has been replicated from
get_common_data
but has not been tested.