@tevm/actions
Version:
A typesafe library for writing forge scripts in typescript
10 lines (8 loc) • 397 B
text/typescript
import type { JsonRpcResponse } from '@tevm/jsonrpc'
import type { SerializeToJson } from '../utils/SerializeToJson.js'
import type { CallResult } from './CallResult.js'
import type { TevmCallError } from './TevmCallError.js'
/**
* JSON-RPC response for `tevm_call` procedure
*/
export type CallJsonRpcResponse = JsonRpcResponse<'tevm_call', SerializeToJson<CallResult>, TevmCallError['code']>