Skip to main content

Class: AptosGetAccountResponse

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

Class: AptosGetAccountResponse

@moralisweb3/common-aptos-utils.AptosGetAccountResponse

Table of contents

Methods

Properties

Methods

create

Static create(input): AptosGetAccountResponse

Parameters

NameType
inputAptosGetAccountResponseInput | AptosGetAccountResponse

Returns

AptosGetAccountResponse


fromJSON

Static fromJSON(json): AptosGetAccountResponse

Parameters

NameType
jsonAptosGetAccountResponseJSON

Returns

AptosGetAccountResponse


toJSON

toJSON(): AptosGetAccountResponseJSON

Returns

AptosGetAccountResponseJSON

Properties

authenticationKey

Readonly authenticationKey: string

Description

All bytes (Vec) data is represented as hex-encoded string prefixed with 0x and fulfilled with two hex digits per byte. Unlike the Address type, HexEncodedBytes will not trim any zeros.


sequenceNumber

Readonly sequenceNumber: string

Description

A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.