@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
24 lines (21 loc) • 762 B
text/typescript
import { RpcSchemaOverride } from "viem";
import { GetContainerByIDMethod } from "./types/getContainerByID.js";
import { GetContainerByIndexMethod } from "./types/getContainerByIndex.js";
import { GetContainerRangeMethod } from "./types/getContainerRange.js";
import { GetIndexMethod } from "./types/getIndex.js";
import { GetLastAcceptedMethod } from "./types/getLastAccepted.js";
import { IsAcceptedMethod } from "./types/isAccepted.js";
export type IndexMethods = [
GetContainerByIDMethod,
GetContainerByIndexMethod,
GetContainerRangeMethod,
GetIndexMethod,
GetLastAcceptedMethod,
IsAcceptedMethod
];
/**
* The RPC schema for the Index methods.
*
* @see {@link IndexMethods}
*/
export type IndexRpcSchema = RpcSchemaOverride & IndexMethods;