Table of Contents

Class ResourceStruct.InnerStruct

Namespace
Aptos
Assembly
Aptos.dll

Resource structs will have an inner struct inside a vec. The inner struct will contain the account address, module name, and struct name. Typically the module name and struct name will be in hex format.
Example of 0x1::aptos_coin::AptosCoin struct: { account_address: "0x1", module_name: "0x6170746f735f636f696e", struct_name: "0x4170746f73436f696e", }

public class ResourceStruct.InnerStruct
Inheritance
ResourceStruct.InnerStruct
Inherited Members

Constructors

InnerStruct(string, string, string)

Resource structs will have an inner struct inside a vec. The inner struct will contain the account address, module name, and struct name. Typically the module name and struct name will be in hex format.
Example of 0x1::aptos_coin::AptosCoin struct: { account_address: "0x1", module_name: "0x6170746f735f636f696e", struct_name: "0x4170746f73436f696e", }

public InnerStruct(string accountAddress, string moduleName, string structName)

Parameters

accountAddress string
moduleName string
structName string

Fields

AccountAddress

[JsonProperty("account_address")]
public string AccountAddress

Field Value

string

ModuleName

[JsonProperty("module_name")]
public string ModuleName

Field Value

string

StructName

[JsonProperty("struct_name")]
public string StructName

Field Value

string