API PRO Endpoints
Last updated
Last updated
The following is a complete list of additional API endpoints available under the API PRO subscription.
To upgrade your API plan, kindly visit Optimistic Etherscan APIs.
Returns the historical ETH balance of an address at a certain block height.
Note : This endpoint is throttled to 2 calls/second regardless of API Pro tier.
Try this endpoint in your browser
Query Parameters
address
the strings
representing the addresses to check for balance, separated by ,
commas
blockno
the integer
block number to check balance for eg. 2000000
Returns the daily average block size within a date range.
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2022-08-01
enddate
the ending date in yyyy-MM-dd
format, eg. 2022-08-04
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Returns the number of blocks validated daily and the amount of block rewards.
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2022-08-01
enddate
the ending date in yyyy-MM-dd
format, eg. 2022-08-04
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Returns the amount of block rewards distributed to validators daily.
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2022-08-01
enddate
the ending date in yyyy-MM-dd
format, eg. 2022-08-04
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Returns the daily average of time needed for a block to be successfully validated.
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2022-08-01
enddate
the ending date in yyyy-MM-dd
format, eg. 2022-08-04
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Returns the historical amount of a ERC-20 token in circulation at a certain block height.
Query Parameters
contractaddress
the contract address
of the ERC-20 token
blockno
the integer
block number to check total supply for eg. 4000000
Returns the balance of a ERC-20 token of an address at a certain block height.
Query Parameters
contractaddress
the contract address
of the ERC-20 token
address
the string
representing the address to check for balance
blockno
the integer
block number to check total supply for eg. 400000
Return the current ERC20 token holders and number of tokens held.
Query Parameters
Parameter
Description
address
the string
representing the address to check for Token Holdings
page
the integer
page number, if pagination is enabled
offset
the number of transactions displayed per page
Return the current ERC20 token holders and number of tokens held.
Query Parameters
Parameter
Description
address
the string
representing the address to check for Token Holdings
page
the integer
page number, if pagination is enabled
offset
the number of transactions displayed per page
Query Parameters
Parameter
Description
address
the string
representing the address to check for inventory
contractaddress
the contract address
of the ERC-721 token
page
the integer
page number, if pagination is enabled
offset
the number of transactions displayed per page
Return the current ERC20 token holders and number of tokens held.
Query Parameters
Parameter
Description
contractaddress
the contract address
of the ERC-20 token
page
the integer
page number, if pagination is enabled
offset
the number of transactions displayed per page
Returns project information and social media links of an ERC-20/ERC-721 token.
Query Parameters
contractaddress
the contract address
of the ERC-20/ERC-721 token to retrieve token info
Returns the historical daily average gas limit of the Optimism network.
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2022-01-31
enddate
the ending date in yyyy-MM-dd
format, eg. 2022-02-28
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Returns the total amount of gas used daily for transactions on the Optimism network.
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2022-01-31
enddate
the ending date in yyyy-MM-dd
format, eg. 2022-02-28
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Returns the daily average gas price used on the Optimism network.
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2019-01-31
enddate
the ending date in yyyy-MM-dd
format, eg. 2019-02-28
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Returns the historical price of 1 ETH.
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2022-08-01
enddate
the ending date in yyyy-MM-dd
format, eg. 2022-08-28
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Returns the historical amount of transaction fees paid to validators per day.
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2020-10-01
enddate
the ending date in yyyy-MM-dd
format, eg. 2020-10-31
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Returns the historical number of new Optimism Chain addresses created per day.
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2022-10-01
enddate
the ending date in yyyy-MM-dd
format, eg. 2022-10-31
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Returns the daily average gas used over gas limit percentage.
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2022-07-01
enddate
the ending date in yyyy-MM-dd
format, eg. 2022-07-28
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Returns the number of transactions performed on the Optimism Chain per day.
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2022-07-01
enddate
the ending date in yyyy-MM-dd
format, eg. 2022-07-28
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Try this endpoint in your browser
Try this endpoint in your browser
Try this endpoint in your browser
Try this endpoint in your browser
Note : This endpoint is throttled to 2 calls/second regardless of API Pro tier.
Try this endpoint in your browser
Tip : The result
is returned in the token's smallest decimal representation.
Note : This endpoint is throttled to 2 calls/second regardless of API Pro tier.
Try this endpoint in your browser
Tip : The result
is returned in the token's smallest decimal representation.
Try this endpoint in your browser
Try this endpoint in your browser
Try this endpoint in your browser
Try this endpoint in your browser
Note : This endpoint is throttled to 2 calls/second regardless of API Pro tier.
Try this endpoint in your browser
Try this endpoint in your browser
Try this endpoint in your browser
Try this endpoint in your browser
Try this endpoint in your browser
Tip : The value
is represented in US Dollars ( USD ).
Try this endpoint in your browser
Try this endpoint in your browser
Try this endpoint in your browser
Try this endpoint in your browser