export interface iBlockInBlockMixin {
  height: number;
  blockTime: number;
  minerHash: string;
  txCount: number;
  hash?: string;
}

export interface iGetBlocksRetResultItemBlockTx {
  chainID: number;
  execer: string;
  expire: number;
  fee: number;
  feefmt: string;
  from: string;
  hash: string;
  nonce: number;
  payload: any;
  rawPayload: string;
  signature: any;
  to: string;
}

export interface iGetBlocksRetResultItemBlock {
  blockTime: number;
  difficulty: number;
  height: number;
  parentHash: string;
  stateHash: string;
  txHash: string;
  txs: iGetBlocksRetResultItemBlockTx[];
  version: number;
}

export interface iGetBlocksRetResultItemRecipt {
  logs: any[];
  ty: number;
  tyName: string;
}

export interface iGetBlocksRetResultItem {
  block: iGetBlocksRetResultItemBlock;
  recipts: iGetBlocksRetResultItemRecipt[];
}
