@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
20 lines (16 loc) • 492 B
text/typescript
import { RequestErrorType } from "viem/utils";
/**
* The public key of the account
* @property evm - The public key of the account in EVM format.
* @property xp - The public key of the account in XP format.
*/
export type GetAccountPubKeyReturnType = {
evm: string;
xp: string;
};
export type GetAccountPubKeyErrorType = RequestErrorType;
export type GetAccountPubKeyMethod = {
Method: "avalanche_getAccountPubKey";
Parameters: {};
ReturnType: GetAccountPubKeyReturnType;
};