Search Results for

    Show / Hide Table of Contents

    Struct AtomicTxn.Submitted

    A submitted Atomic Transaction.

    Namespace: Algorand.Unity
    Assembly: cs.temp.dll.dll
    Syntax
    public struct Submitted

    Constructors

    Submitted(AlgodClient, String[], (Int32, Method)[])

    Declaration
    public Submitted(AlgodClient client, string[] txnIds, (int, Method)[] methodIndices)
    Parameters
    Type Name Description
    AlgodClient client
    String[] txnIds
    ValueTuple<Int32, Method>[] methodIndices

    Properties

    Client

    The algod client used to submit these transactions.

    Declaration
    public AlgodClient Client { get; }
    Property Value
    Type Description
    AlgodClient

    MethodIndices

    Indices of this transaction group that were method calls.

    Declaration
    public (int, Method)[] MethodIndices { get; }
    Property Value
    Type Description
    ValueTuple<Int32, Method>[]

    TxnIds

    The txn ids of the transactions in this Atomic Transaction group.

    Declaration
    public string[] TxnIds { get; }
    Property Value
    Type Description
    String[]

    Methods

    Confirm(UInt32, CancellationToken)

    Wait for confirmation of this atomic transaction group.

    Declaration
    public UniTask<AtomicTxn.Confirmed> Confirm(uint maxWaitRounds = 0U, CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    UInt32 maxWaitRounds

    Max rounds to wait, if set to 0 will wait Algorand's default wait rounds of 1000

    CancellationToken cancellationToken

    An optional cancellationToken to cancel waiting early.

    Returns
    Type Description
    UniTask<AtomicTxn.Confirmed>

    A AtomicTxn.Confirmed atomic transaction.

    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾