Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

M_Iota_Lib_CSharp_Api_IotaApi_GetNewAddress

saniro edited this page Feb 16, 2017 · 1 revision

IotaApi.GetNewAddress Method

Generates a new address from a seed and returns the remainderAddress. This is either done deterministically, or by providing the index of the new remainderAddress

Namespace: Iota.Lib.CSharp.Api
Assembly: IotaApi (in IotaApi.dll) Version: 0.9.0.24212 (1.0.0.0)

Syntax

C#

public string[] GetNewAddress(
	string seed,
	int index = 0,
	bool checksum = false,
	int total = 0,
	bool returnAll = false
)

Parameters

 

seed
Type: System.String
Tryte-encoded seed. It should be noted that this seed is not transferred
index (Optional)
Type: System.Int32
Optional (default null). Key index to start search from. If the index is provided, the generation of the address is not deterministic.
checksum (Optional)
Type: System.Boolean
Optional (default false). Adds 9-tryte address checksum
total (Optional)
Type: System.Int32
Optional (default 1)Total number of addresses to generate.
returnAll (Optional)
Type: System.Boolean
If true, it returns all addresses which were deterministically generated (until findTransactions returns null)

Return Value

Type: String[]
an array of strings with the specifed number of addresses

See Also

Reference

IotaApi Class
Iota.Lib.CSharp.Api Namespace

Clone this wiki locally