nano-wallet-js-test-1
Version:
SDK for developers to create and interact with Nanocurrency wallet easily
35 lines (34 loc) • 845 B
TypeScript
export interface AccountInfoResponse {
frontier: string;
open_block: string;
representative_block: string;
balance: string;
modified_timestamp: string;
block_count: string;
weight: string;
account_version: string;
confirmed_balance: string;
confirmed_height: string;
confirmed_frontier: string;
representative: string;
confirmed_representative: string;
receivable: string;
confirmed_pending: 0;
confirmed_receivable: 0;
}
export interface AccountBalanceResponse {
balance: string;
receivable: string;
}
export interface ReceivableWithThresholdResponse {
blocks: Record<string, string>;
}
export interface WorkGenerateResponse {
work: string;
difficulty: string;
multiplier: string;
hash: string;
}
export interface ProcessResponse {
hash: string;
}