How to call readonly functions on a specific block for historical data?

Couldn’t find any api support this.

Take the counter example from the start guide as an example. After I click the “Increment Counter” button multiple times, the counter increases to a specific number. I can always retrieve the latest count number through the read-only function count() .

However, how can I obtain the count number from a block one hour ago? On ethereum, this can be done through `contract.function.xxxx(args, {blockTag: blockNumber})

Hi @spacedragon do you mean on graphql ?
Playground -

yes, I mean any api or any sdk function