@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
34 lines • 1.25 kB
TypeScript
import { RpcSchemaOverride } from "viem";
import { BuildGenesisMethod } from "./types/buildGenesis.js";
import { GetAllBalancesMethod } from "./types/getAllBalances.js";
import { GetAssetDescriptionMethod } from "./types/getAssetDescription.js";
import { GetBalanceMethod } from "./types/getBalance.js";
import { GetBlockMethod } from "./types/getBlock.js";
import { GetBlockByHeightMethod } from "./types/getBlockByHeight.js";
import { GetHeightMethod } from "./types/getHeight.js";
import { GetTxMethod } from "./types/getTx.js";
import { GetTxFeeMethod } from "./types/getTxFee.js";
import { GetTxStatusMethod } from "./types/getTxStatus.js";
import { GetUTXOsMethod } from "./types/getUTXOs.js";
import { IssueTxMethod } from "./types/issueTx.js";
export type XChainMethods = [
BuildGenesisMethod,
GetAllBalancesMethod,
GetAssetDescriptionMethod,
GetBalanceMethod,
GetBlockMethod,
GetBlockByHeightMethod,
GetHeightMethod,
GetTxMethod,
GetTxFeeMethod,
GetTxStatusMethod,
GetUTXOsMethod,
IssueTxMethod
];
/**
* The RPC schema for the X-Chain methods.
*
* @see {@link XChainMethods}
*/
export type XChainRpcSchema = RpcSchemaOverride & XChainMethods;
//# sourceMappingURL=xChainRpcSchema.d.ts.map