@avalanche-sdk/client
Version:
A TypeScript SDK for interacting with the Avalanche network through JSON-RPC APIs. This SDK provides a comprehensive set of tools to interact with all Avalanche chains (P-Chain, X-Chain, C-Chain) and various APIs, including wallet functionality for transa
7 lines • 616 B
TypeScript
import { Chain, RpcSchema, Transport } from "viem";
import { AvalancheTransportConfig, ClientType } from "./types/types.js";
export declare function createAvalancheTransportClient<transport extends Transport, chain extends Chain | undefined = Chain | undefined, rpcSchema extends RpcSchema | undefined = undefined, raw extends boolean = false>(transportConfig: AvalancheTransportConfig<transport, rpcSchema, raw>, chain?: chain | Chain | undefined, { apiKey, rlToken, }?: {
apiKey?: string | undefined;
rlToken?: string | undefined;
}, clientType?: ClientType): transport;
//# sourceMappingURL=utils.d.ts.map