@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
9 lines • 321 B
TypeScript
import { XPAccount } from "./avalancheAccount.js";
/**
* Converts a private key to an XP account.
*
* @param privateKey - The private key.
* @returns The XP account {@link XPAccount}.
*/
export declare function privateKeyToXPAccount(privateKey: string): XPAccount;
//# sourceMappingURL=privateKeyToXPAccount.d.ts.map