@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
16 lines • 517 B
TypeScript
import { RequestErrorType } from "viem/utils";
/**
* Return type for the `platform.getTimestamp` method.
* Get the current timestamp of the P-Chain.
* @property timestamp - The current timestamp in ISO 8601 format
*/
export type GetTimestampReturnType = {
timestamp: string;
};
export type GetTimestampErrorType = RequestErrorType;
export type GetTimestampMethod = {
Method: "platform.getTimestamp";
Parameters: {};
ReturnType: GetTimestampReturnType;
};
//# sourceMappingURL=getTimestamp.d.ts.map