BlockTag support

Does infura rpc support the blockTag call parameter on ethers js?I dont see any mention anywhere

Hi @Dhruv_Gupta, and welcome to the Infura community!
While we do not explicitly use the word “BlockTag,” many of our methods do support them - you can check to see which methods include “latest,” “earliest,” or “pending” in our docs.

1 Like

Ok, I’m trying to make contract calls with ethers library using contract.methodname() and infura as my jsonrpc endpoint, I need data from specific blocks, how would I go about with that using ethers js?

Most of our methods that accept the “latest,” “earliest,” or “pending” will also accept a specific block number as a parameter, which you can include to get data from the specific block.