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
| Name | Type |
|---|---|
input | AptosWriteResourceDataInput | AptosWriteResourceData |
Returns
fromJSON
▸ Static fromJSON(json): AptosWriteResourceData
Parameters
| Name | Type |
|---|---|
json | AptosWriteResourceDataJSON |
Returns
toJSON
▸ toJSON(): AptosWriteResourceDataJSON
Returns
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).