Type alias TransactionSigner

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

Type declaration

    • (txnGroup: Transaction[], indexesToSign: number[]): Promise<Uint8Array[]>
    • This type represents a function which can sign transactions from an atomic transaction group.

      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]]

      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[]>

Generated using TypeDoc