Skip to main content
POST
Encode state overrides

Authorizations

X-Access-Key
string
header
required

An API key is a token that a client provides when making API calls. Send it as the X-Access-Key request header on any endpoint:

Learn how to generate API access tokens at Tenderly Docs.

Path Parameters

accountSlug
string
required

Account slug of the user

projectSlug
string
required

Project slug of the account

Body

application/json

Encode contract state overrides payload

networkID
string
required

ID of the network.

Example:

"1"

stateOverrides
stateOverrides · object
required

Overrides for specific state objects.

Example:
blockNumber
string

Number of the block to be used for the encoding states.

Example:

"-1"

Response

A successful response.

An object with details about state overrides.