Type for a JSON-RPC request. It is a wrapped JsonRpcRequest of hardhat. you can find the original into "hardhat/types".

we wrap here the original type to avoid the usage of hardhat dependency for provider package.

interface JsonRpcRequest {
    id: number;
    jsonrpc: string;
    method: string;
    params: unknown[];
}

Properties

Properties

id: number
jsonrpc: string
method: string
params: unknown[]