otterscan/src/types.ts

22 lines
390 B
TypeScript
Raw Normal View History

2021-07-01 18:21:40 +00:00
import { BigNumber } from "ethers";
export type ProcessedTransaction = {
blockNumber: number;
timestamp: number;
idx: number;
hash: string;
from?: string;
to?: string;
value: BigNumber;
fee: BigNumber;
gasPrice: BigNumber;
data: string;
status: number;
};
export type TransactionChunk = {
txs: ProcessedTransaction[];
firstPage: boolean;
lastPage: boolean;
};