addSignature

abstract fun addSignature(publicKey: PublicKey): ConsensualSignedTransaction

Sign the current ConsensualSignedTransaction with the specified key.

Return

Returns a new ConsensualSignedTransaction containing the applied signature.

Parameters

publicKey

The private counterpart of the specified public key will be used for signing the ConsensualSignedTransaction.