M_Iota_Lib_CSharp_Api_IotaApi_GetBundle - iotaledger-archive/iota.lib.csharp GitHub Wiki
This function returns the bundle which is associated with a transaction. Input can by any type of transaction (tail and non-tail). If there are conflicting bundles (because of a replay for example) it will return multiple bundles. It also does important validation checking (signatures, sum, order) to ensure that the correct bundle is returned.
Namespace: Iota.Lib.CSharp.Api
Assembly: IotaApi (in IotaApi.dll) Version: 0.9.0.24212 (1.0.0.0)
C#
public Bundle GetBundle(
string transaction
)
- transaction
- Type: System.String
the transaction encoded in trytes
Type: Bundle
an array of bundle, if there are multiple arrays it means that there are conflicting bundles.