Class: AptosGetAccountResourceResponse
moralis-monorepo / @moralisweb3/common-aptos-utils / AptosGetAccountResourceResponse
Class: AptosGetAccountResourceResponse
@moralisweb3/common-aptos-utils.AptosGetAccountResourceResponse
Table of contents
Methods
Properties
Methods
create
▸ Static
create(input
): AptosGetAccountResourceResponse
Parameters
Name | Type |
---|---|
input | AptosGetAccountResourceResponseInput | AptosGetAccountResourceResponse |
Returns
AptosGetAccountResourceResponse
fromJSON
▸ Static
fromJSON(json
): AptosGetAccountResourceResponse
Parameters
Name | Type |
---|---|
json | AptosGetAccountResourceResponseJSON |
Returns
AptosGetAccountResourceResponse
toJSON
▸ toJSON(): AptosGetAccountResourceResponseJSON
Returns
AptosGetAccountResourceResponseJSON
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). This exists so you can specify MoveStructTags as path / query parameters