Skip to main content

Class: EvmApprovalData

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

Class: EvmApprovalData

@moralisweb3/common-evm-utils.EvmApprovalData

Table of contents

Methods

Properties

Methods

create

Static create(input): EvmApprovalData

Parameters

NameType
inputEvmApprovalDataInput | EvmApprovalData

Returns

EvmApprovalData


fromJSON

Static fromJSON(json): EvmApprovalData

Parameters

NameType
jsonEvmApprovalDataJSON

Returns

EvmApprovalData


toJSON

toJSON(): EvmApprovalDataJSON

Returns

EvmApprovalDataJSON

Properties

spender

Optional Readonly spender: EvmSpenderDetails


token

Optional Readonly token: EvmTokenDetails


value

Optional Readonly value: string


valueFormatted

Optional Readonly valueFormatted: string