@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
5 lines • 804 B
TypeScript
import { Context as ContextType, Utxo } from "@avalabs/avalanchejs";
export declare function estimateImportCost(context: ContextType.Context, toAddress: Uint8Array, fromAddressesBytes: Uint8Array[], atomics: Utxo[], sourceChain: string, baseFee?: bigint, feeAssetId?: string): bigint;
export declare function newImportTxFromBaseFee(context: ContextType.Context, toAddress: Uint8Array, fromAddressesBytes: Uint8Array[], atomics: Utxo[], sourceChain: string, baseFee?: bigint): import("@avalabs/avalanchejs").UnsignedTx;
export declare function newExportTxFromBaseFee(context: ContextType.Context, baseFee: bigint, amount: bigint, destinationChain: string, fromAddress: Uint8Array, toAddresses: Uint8Array[], nonce: bigint): import("@avalabs/avalanchejs").EVMUnsignedTx;
//# sourceMappingURL=utils.d.ts.map