DefiLlama — Get the closest block to a timestamp
defillama_get_block_chain_timestampGet the closest block to a timestamp Uses the caller's OpenAny gateway credentials. Charges and authorization are determined by the gateway.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain which you want to get the block from | |
| timestamp | Yes | UNIX timestamp of the block you are searching for |