import { RpcCoder } from "https://dotland.deno.dev/x/polkadot@0.2.45/rpc-provider/coder/index.ts";
Methods
decodeResponse<T>(response?: JsonRpcResponse<T>): T
encodeJson(method: string, params: unknown[]): [number, string]
encodeObject(method: string, params: unknown[]): [number, JsonRpcRequest]