Skip to content

DumpStateJsonRpcProcedure

DumpStateJsonRpcProcedure: (request) => Promise<DumpStateJsonRpcResponse>

Procedure for handling tevm_dumpState JSON-RPC requests

Example

const result = await tevm.request({
. method: 'tevm_DumpState',
params: [],
. id: 1,
jsonrpc: '2.0'
. }
console.log(result) // { jsonrpc: '2.0', id: 1, method: 'tevm_dumpState', result: {'0x...': '0x....', ...}}

Parameters

request: DumpStateJsonRpcRequest

Returns

Promise<DumpStateJsonRpcResponse>

Source

procedures/src/dumpstate/DumpStateJsonRpcProcedure.ts:16