Encode state overrides
Encode state overrides of the smart contract.
Path parameters
Account slug of the user
Project slug of the account
Request body
Example request
{
"networkID": "1",
"stateOverrides": {
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": {
"value": {
"balanceAndBlacklistStates[0xAd4A638e2476C5645c1adF659EA8105FE3C1031e]": "1000"
}
}
},
"blockNumber": "-1"
}Response
A successful response.
An object with details about state overrides.
Example response
{}Changes
Changed in 2 of the 4 revisions of this API.61
- ●
added the new
rid:simulation_draftenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
rid:simulation_draftenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
rid:simulation_draftenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
rid:simulation_draftenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
rid:simulation_draftenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
rid:simulation_draftenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
- ○
added the non-success response with the status
response-non-success-status-added
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○