Skip to main content

Interface: EvmSimpleBlockInput

moralis-monorepo / @moralisweb3/common-evm-utils / EvmSimpleBlockInput

Interface: EvmSimpleBlockInput

@moralisweb3/common-evm-utils.EvmSimpleBlockInput

This can be any object with valid block data.

Example

const input = {
chain: 1,
hash: '0x9b559aef7ea858608c2e554246fe4a24287e7aeeb976848df2b9a2531f4b9171',
number: '12386788',
timestamp: '2021-05-07T11:08:35.000Z',
}

Hierarchy

Table of contents

Properties

Properties

chain

chain: EvmChainish


hash

hash: string


number

number: BigNumberInput


timestamp

timestamp: DateInput