@tevm/actions
Version:
A typesafe library for writing forge scripts in typescript
14 lines (12 loc) • 469 B
text/typescript
import type { JsonRpcResponse } from '@tevm/jsonrpc'
import type { ParameterizedTevmState } from '@tevm/state'
import type { SerializeToJson } from '../utils/SerializeToJson.js'
import type { TevmDumpStateError } from './TevmDumpStateError.js'
/**
* The response to the `tevm_dumpState` JSON-RPC request.
*/
export type DumpStateJsonRpcResponse = JsonRpcResponse<
'tevm_dumpState',
SerializeToJson<{ state: ParameterizedTevmState }>,
TevmDumpStateError['code']
>