Search Results for

    Show / Hide Table of Contents

    Struct KmdAccount

    Implements
    IAsyncAccountSigner
    IAccount
    IAsyncSigner
    Namespace: Algorand.Unity
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public struct KmdAccount : IAsyncAccountSigner, IAccount, IAsyncSigner

    Constructors

    KmdAccount(KmdClient, FixedString128Bytes, FixedString128Bytes, Address)

    Declaration
    public KmdAccount(KmdClient client, FixedString128Bytes walletId, FixedString128Bytes walletPassword, Address address)
    Parameters
    Type Name Description
    KmdClient client
    FixedString128Bytes walletId
    FixedString128Bytes walletPassword
    Address address

    Properties

    Address

    Address of this account

    Declaration
    public Address Address { get; }
    Property Value
    Type Description
    Address

    Methods

    SignTxnsAsync<T>(T[], TxnIndices, CancellationToken)

    Sign a group of transactions.

    Declaration
    public UniTask<SignedTxn<T>[]> SignTxnsAsync<T>(T[] txns, TxnIndices txnsToSign, CancellationToken cancellationToken = null)
        where T : ITransaction, IEquatable<T>
    Parameters
    Type Name Description
    T[] txns

    The transactions to sign.

    TxnIndices txnsToSign

    Indexes of the transactions this signer should sign.

    CancellationToken cancellationToken

    Provide an optional cancellation token to interrupt signing.

    Returns
    Type Description
    UniTask<SignedTxn<T>[]>

    An array of transactions with signatures. If the transaction at a given index was not signed, that signed transaction will have no signature.

    Type Parameters
    Name Description
    T

    The type of the transactions.

    Remarks

    Each transaction is expected to have a valid group id already set.

    Implements

    IAsyncAccountSigner
    IAccount
    IAsyncSigner
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾