40 Compute Units.
Linea Mainnet keeps state for the last 512 blocks, about an hour. Requests for an older block return JSON-RPC error
-32000 with the message World state unavailable. A request can read at most 1,024 slots in total; more return error -32602 with the message too many slots (max 1024).Parameters
Object- Required - A map from each contract address to the list of storage slot positions to read, as hexadecimal strings.QUANTITY|TAG|Object- Required - A block number, the string"latest","safe"or"finalized", or an object with ablockHash.
Returns
Object - A map from each contract address to an array of 32-byte slot values, in the order the slots were requested. Unset slots return zero.