RequestManagerMiddleware <API>
Index
Methods
processRequest
Type parameters
- ParamType = unknown[]
Parameters
request: JsonRpcPayload<ParamType>
optionaloptions: {}
Returns Promise<JsonRpcPayload<ParamType>>
processResponse
Type parameters
- AnotherMethod: string
- ResponseType = Web3APIReturnType<API, AnotherMethod>
Parameters
response: JsonRpcResponse<ResponseType, JsonRpcResult>
optionaloptions: {}
Returns Promise<JsonRpcResponse<ResponseType, JsonRpcResult>>