Interface: EvmEventInput

moralis-monorepo / @moralisweb3/evm-utils / EvmEventInput

Interface: EvmEventInput

@moralisweb3/evm-utils.EvmEventInput

This can be any object with valid event data.

Example

const transactionInput = {
chain: 1,
address: "0xdac17f958d2ee523a2206206994597c13d831ec7",
blockHash: "0x1bb168d2725d15b12604c92a83c529617cd54a415c5d610a687f7859d45f9ea5",
blockNumber: "14327217",
blockTimestamp: "2022-03-05T13:45:42.000Z",
transactionHash: "0xc9f62f4f6ab505a96c1a84ec2899c6bfd86245ef1effaa689fc997798be763d5",
data: {
 to: "0x54e41aa7ac19efd71d19a3ca6b8a6c0154fe3afb",
 from: "0x21f510cc9f81df4e4d2c705e672761cf487cdc5a",
 value: "878000000",
},
}

Did this page help you?