UNPKG

@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 414 B
/** * Signs a transaction hash with an XP private key. * * @param txHash - The transaction hash to sign. * @param privateKey - The private key to sign with. * @returns A promise that resolves to the signature as a `0x` prefixed string. */ export declare function xpSignTransaction(txHash: string | Uint8Array, privateKey: string | Uint8Array): Promise<string>; //# sourceMappingURL=xpSignTransaction.d.ts.map