UNPKG

@rarcifa/cronos-evm-client

Version:

A Node.js client library for interacting with the Cronos EVM, facilitating operations on both CRC20 and CRC721 tokens.

22 lines (21 loc) 476 B
import { HttpMessages } from './httpEnums.js'; export interface JsonRpcRequestPayload { jsonrpc: string; method: string; params: [{}, string]; id: number; } export type RpcParams = { to: string; data: string; } | string; export interface QueryParams { accountAddress?: string; contractAddress?: string; } export interface HealthCheck { uptime: number; responsetime: [number, number]; message: HttpMessages; timestamp: number; }