import {
  iGetBlocksRetResultItemBlockTx,
  iGetBlocksRetResultItemRecipt,
} from "./block";

export interface iConsensusNodeTablListItem {
  height: number;
  address: string;
  reward: number;
  time: number;
  type: "pack" | "vote";
}

export interface iGetTxByHashesRetTxItemTx
  extends iGetBlocksRetResultItemBlockTx {
  amount: number;
  amountfmt: string;
}

export interface iGetTxByHashesRetTxItem {
  actionName: string;
  amount: number;
  assets: any[];
  blockTime: number;
  fromAddr: string;
  fullHash: string;
  height: number;
  index: number;
  proofs: any;
  receipt: iGetBlocksRetResultItemRecipt;
  tx: iGetTxByHashesRetTxItemTx;
  txProofs: any;
}
