Skip to main content

Interface: Erc20BurnInput

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

Interface: Erc20BurnInput

@moralisweb3/common-evm-utils.Erc20BurnInput

This can be any object with valid erc20 mint data.

Example

const input = {
chain: 1,
fromWallet: "0x09f4fc6081026c85070886599e83f599ecf82405",
contractAddress: "0xa0e8fed3426391fdb446516799c4d6248e2b2860",
blockHash: "0xa5f87d4341642b89e3ccb81449e3083032c36fface2c2042941b8bd9afe83f79",
blockNumber: "16868690",
blockTimestamp: "2023-03-20T11:48:59.000Z",
transactionHash: "0xb7b4d321e2ab26c1cde1a2ef49413e21b65dcc663d6de8f75ddbdd868b98b4bf",
transactionIndex: "4",
logIndex: "25",
value: "100000000000000000000000000000",
tokenName: 'Test Token',
tokenSymbol: 'TST',
tokenLogo: 'https://example.com/logo.png',
tokenDecimals: 18
}

Table of contents

Properties

Properties

blockHash

blockHash: string


blockNumber

blockNumber: BigNumberInput


blockTimestamp

blockTimestamp: DateInput


chain

chain: EvmChainish


contractAddress

contractAddress: EvmAddressInput


fromWallet

fromWallet: EvmAddressInput


logIndex

logIndex: number


tokenDecimals

tokenDecimals: number


Optional tokenLogo: string


tokenName

tokenName: string


tokenSymbol

tokenSymbol: string


transactionHash

transactionHash: string


transactionIndex

transactionIndex: number


value

value: BigNumberInput