Type alias TransactionSigner

TransactionSigner: ((txnGroup, indexesToSign) => Promise<Uint8Array[]>)

This type represents a function which can sign transactions from an atomic transaction group.

Type declaration

    • (txnGroup, indexesToSign): Promise<Uint8Array[]>
    • Parameters

      • txnGroup: Transaction[]

        The atomic group containing transactions to be signed

      • indexesToSign: number[]

        An array of indexes in the atomic transaction group that should be signed

      Returns Promise<Uint8Array[]>

Returns

A promise which resolves an array of encoded signed transactions. The length of the array will be the same as the length of indexesToSign, and each index i in the array corresponds to the signed transaction from txnGroup[indexesToSign[i]]

Generated using TypeDoc