UNPKG

@unruggable/gateways

Version:

Trustless Ethereum Multichain CCIP-Read Gateway

11 lines 601 B
import { Chain } from './types.js'; import { JsonRpcPayload, JsonRpcProvider, JsonRpcResult } from 'ethers/providers'; import { FetchRequest } from 'ethers/utils'; export declare class GatewayProvider extends JsonRpcProvider { readonly chain: Chain; static http(url: string): Promise<GatewayProvider>; constructor(fr: FetchRequest, chain: Chain, batchMaxCount?: number); _send(payload: JsonRpcPayload | JsonRpcPayload[]): Promise<JsonRpcResult[]>; _sendWithRetry(payload: JsonRpcPayload | JsonRpcPayload[]): Promise<JsonRpcResult[]>; } //# sourceMappingURL=GatewayProvider.d.ts.map