Table of Contents

Class AccountAddress

Namespace
Aptos
Assembly
Aptos.dll
[JsonConverter(typeof(AccountAddressConverter))]
public class AccountAddress : TransactionArgument, IScriptFunctionArgument, IEntryFunctionArgument
Inheritance
AccountAddress
Implements
Inherited Members

Constructors

AccountAddress(byte[])

public AccountAddress(byte[] data)

Parameters

data byte[]

Fields

Data

public readonly byte[] Data

Field Value

byte[]

LENGTH

public const int LENGTH = 32

Field Value

int

LONG_LENGTH

public const int LONG_LENGTH = 64

Field Value

int

Properties

ZERO

public static AccountAddress ZERO { get; }

Property Value

AccountAddress

Methods

CreateObjectAddress(AccountAddress, byte[])

public static AccountAddress CreateObjectAddress(AccountAddress creatorAddress, byte[] seed)

Parameters

creatorAddress AccountAddress
seed byte[]

Returns

AccountAddress

CreateObjectAddress(AccountAddress, string)

public static AccountAddress CreateObjectAddress(AccountAddress creatorAddress, string seed)

Parameters

creatorAddress AccountAddress
seed string

Returns

AccountAddress

CreateResourceAddress(AccountAddress, byte[])

public static AccountAddress CreateResourceAddress(AccountAddress creatorAddress, byte[] seed)

Parameters

creatorAddress AccountAddress
seed byte[]

Returns

AccountAddress

CreateResourceAddress(AccountAddress, string)

public static AccountAddress CreateResourceAddress(AccountAddress creatorAddress, string seed)

Parameters

creatorAddress AccountAddress
seed string

Returns

AccountAddress

CreateSeedAddress(AccountAddress, byte[], DeriveScheme)

public static AccountAddress CreateSeedAddress(AccountAddress creatorAddress, byte[] seed, DeriveScheme scheme)

Parameters

creatorAddress AccountAddress
seed byte[]
scheme DeriveScheme

Returns

AccountAddress

CreateSeedAddress(AccountAddress, string, DeriveScheme)

public static AccountAddress CreateSeedAddress(AccountAddress creatorAddress, string seed, DeriveScheme scheme)

Parameters

creatorAddress AccountAddress
seed string
scheme DeriveScheme

Returns

AccountAddress

Deserialize(Deserializer)

public static AccountAddress Deserialize(Deserializer d)

Parameters

d Deserializer

Returns

AccountAddress

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

From(AccountAddress)

public static AccountAddress From(AccountAddress address)

Parameters

address AccountAddress

Returns

AccountAddress

From(Hex)

public static AccountAddress From(Hex hex)

Parameters

hex Hex

Returns

AccountAddress

From(byte[])

public static AccountAddress From(byte[] bytes)

Parameters

bytes byte[]

Returns

AccountAddress

From(string, int)

public static AccountAddress From(string str, int maxMissingChars = 4)

Parameters

str string
maxMissingChars int

Returns

AccountAddress

FromStrict(AccountAddress)

public static AccountAddress FromStrict(AccountAddress address)

Parameters

address AccountAddress

Returns

AccountAddress

FromStrict(Hex)

public static AccountAddress FromStrict(Hex hex)

Parameters

hex Hex

Returns

AccountAddress

FromStrict(byte[])

public static AccountAddress FromStrict(byte[] bytes)

Parameters

bytes byte[]

Returns

AccountAddress

FromStrict(string)

public static AccountAddress FromStrict(string str)

Parameters

str string

Returns

AccountAddress

FromString(string, int)

public static AccountAddress FromString(string str, int maxMissingChars = 4)

Parameters

str string
maxMissingChars int

Returns

AccountAddress

FromStringStrict(string)

public static AccountAddress FromStringStrict(string str)

Parameters

str string

Returns

AccountAddress

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

IsSpecial()

public bool IsSpecial()

Returns

bool

IsValid(string, bool?)

public static bool IsValid(string str, bool? strict)

Parameters

str string
strict bool?

Returns

bool

Serialize(Serializer)

public override void Serialize(Serializer s)

Parameters

s Serializer

SerializeForScriptFunction(Serializer)

public override void SerializeForScriptFunction(Serializer s)

Parameters

s Serializer

ToByteArray()

public byte[] ToByteArray()

Returns

byte[]

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

ToStringLong()

public string ToStringLong()

Returns

string

ToStringLongWithoutPrefix()

public string ToStringLongWithoutPrefix()

Returns

string

ToStringWithoutPrefix()

public string ToStringWithoutPrefix()

Returns

string