Skip to main content

Class: EvmTokenApproval

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

Class: EvmTokenApproval

@moralisweb3/common-evm-utils.EvmTokenApproval

Table of contents

Methods

Properties

Methods

create

Static create(input): EvmTokenApproval

Parameters

NameType
inputEvmTokenApprovalInput | EvmTokenApproval

Returns

EvmTokenApproval


fromJSON

Static fromJSON(json): EvmTokenApproval

Parameters

NameType
jsonEvmTokenApprovalJSON

Returns

EvmTokenApproval


toJSON

toJSON(): EvmTokenApprovalJSON

Returns

EvmTokenApprovalJSON

Properties

blockNumber

Readonly blockNumber: BigNumber


blockTimestamp

Optional Readonly blockTimestamp: string


spender

Readonly spender: EvmTokenApprovalSpender


token

Readonly token: EvmTokenApprovalToken


transactionHash

Optional Readonly transactionHash: string


value

Readonly value: string


valueFormatted

Optional Readonly valueFormatted: string