import { Address, MilkomedaNetworkID, SignedTxHash, TxHash } from "./primitives"; declare type SupportedRPCMethods = "eth_sendRawTransaction" | "eth_blockNumber" | "eth_getBalance"; export declare type RpcRequest = { jsonrpc: "2.0"; id: MilkomedaNetworkID; /** * @example "eth_sendRawTransaction" */ method: SupportedRPCMethods; /** * @example ["0xf86f06850df84758008252089496405f4816272b4b0ed4f5683dfb76c0c104a42988136dcc951d8c00008083061b6da0bc781ba384e3b2ec0ca43685fbf772504b68b92f21bea8f67db7b966a972d9e3a034c4f75cc8040bf795ffd4f295d44b7fc4dafe84389d766f786f2aa91092eab4"] */ params: Array; }; export declare type RpcResponse = { jsonrpc: "2.0"; id: MilkomedaNetworkID; result?: TxHash; error?: { code: number; message: string; }; }; export {};