JsonRpcSchemaTevm
JsonRpcSchemaTevm:
object
Type declaration
tevm_call
tevm_call:
object
Description
A versatile way of executing an EVM call with many options and detailed return data
Link
https://tevm.sh/learn/json-rpc/#tevm-methods
Example
tevm_call.Method
tevm_call.Method:
"tevm_call"
tevm_call.Parameters
tevm_call.Parameters:
CallJsonRpcRequest
["params"
]
tevm_call.ReturnType
tevm_call.ReturnType:
SerializeToJson
<CallResult
<never
>>
tevm_dumpState
tevm_dumpState:
object
Description
Dumps the current cached state of the EVM.
Link
https://tevm.sh/learn/json-rpc/#tevm-methods
Example
tevm_dumpState.Method
tevm_dumpState.Method:
"tevm_dumpState"
tevm_dumpState.Parameters?
optional
tevm_dumpState.Parameters:DumpStateJsonRpcRequest
["params"
]
tevm_dumpState.ReturnType
tevm_dumpState.ReturnType:
SerializeToJson
<DumpStateResult
<never
>>
tevm_getAccount
tevm_getAccount:
object
Description
Returns the account state of the given address
Link
https://tevm.sh/learn/json-rpc/#tevm-methods
Example
tevm_getAccount.Method
tevm_getAccount.Method:
"tevm_getAccount"
tevm_getAccount.Parameters
tevm_getAccount.Parameters:
GetAccountJsonRpcRequest
["params"
]
tevm_getAccount.ReturnType
tevm_getAccount.ReturnType:
SerializeToJson
<GetAccountResult
<never
>>
tevm_loadState
tevm_loadState:
object
Description
Loads the provided state into the EVM
Link
https://tevm.sh/learn/json-rpc/#tevm-methods
Example
tevm_loadState.Method
tevm_loadState.Method:
"tevm_loadState"
tevm_loadState.Parameters
tevm_loadState.Parameters:
LoadStateJsonRpcRequest
["params"
]
tevm_loadState.ReturnType
tevm_loadState.ReturnType:
SerializeToJson
<LoadStateResult
<never
>>
tevm_script
tevm_script:
object
Description
Execute supplied contract bytecode on the EVM
Link
https://tevm.sh/learn/json-rpc/#tevm-methods
Example
tevm_script.Method
tevm_script.Method:
"tevm_script"
tevm_script.Parameters
tevm_script.Parameters:
ScriptJsonRpcRequest
["params"
]
tevm_script.ReturnType
tevm_script.ReturnType:
SerializeToJson
<CallResult
<never
>>
tevm_setAccount
tevm_setAccount:
object
Description
Sets the account state of the given address
Link
https://tevm.sh/learn/json-rpc/#tevm-methods
Example
tevm_setAccount.Method
tevm_setAccount.Method:
"tevm_setAccount"
tevm_setAccount.Parameters
tevm_setAccount.Parameters:
SetAccountJsonRpcRequest
["params"
]
tevm_setAccount.ReturnType
tevm_setAccount.ReturnType:
SerializeToJson
<SetAccountResult
<never
>>