requestProcedure
requestProcedure(
client
):TevmJsonRpcRequestHandler
Request handler for JSON-RPC requests.
This implementation of the Tevm requestProcedure spec implements it via the ethereumjs VM.
Most users will want to use Tevm.request
instead of
this method but this method may be desired if hyper optimizing
bundle size.
Parameters
• client: BaseClient
<"fork"
| "normal"
, object
>
Returns
TevmJsonRpcRequestHandler
Example
Source
procedures/src/requestProcedure.js:80