Skip to main content

Class: AptosWriteResourceData

moralis-monorepo / @moralisweb3/common-aptos-utils / AptosWriteResourceData

Class: AptosWriteResourceData

@moralisweb3/common-aptos-utils.AptosWriteResourceData

Table of contents

Methods

Properties

Methods

create

Static create(input): AptosWriteResourceData

Parameters

NameType
inputAptosWriteResourceDataInput | AptosWriteResourceData

Returns

AptosWriteResourceData


fromJSON

Static fromJSON(json): AptosWriteResourceData

Parameters

NameType
jsonAptosWriteResourceDataJSON

Returns

AptosWriteResourceData


toJSON

toJSON(): AptosWriteResourceDataJSON

Returns

AptosWriteResourceDataJSON

Properties

data

Readonly data: object

Description

This is a JSON representation of some data within an account resource. More specifically, it is a map of strings to arbitrary JSON values / objects, where the keys are top level fields within the given resource.


type

Readonly type: string

Description

String representation of a MoveStructTag (on-chain Move struct type).