Skip to main content
GET
The contract state from a contract on the network
The Contract state from a contract on the network This method will use 20 Compute Units.

Path Parameters

contractIdOrAddress
string
required

The ID or hex encoded EVM address (with or without 0x prefix) associated with this contract.

Pattern: ^(\d{1,10}\.){0,2}(\d{1,10}|(0x)?[A-Fa-f0-9]{40})$

Query Parameters

limit
integer<int32>
default:25

The maximum number of items to return

Required range: 1 <= x <= 100
order
enum<string>
default:asc

The order in which items are listed

Available options:
asc,
desc
slot
string

The slot's number

Pattern: ^((eq|gte?|lte?)\:)?(0x)?[0-9A-Fa-f]{1,64}$
timestamp
string

The timestamp at which the contract state is

Pattern: ^\d{1,10}(.\d{1,9})?$

Response

OK

state
object[]