signMultisigTransactionWithSigner takes a raw transaction, a multisig preimage and a signer, and
returns a multisig transaction: a blob representing a transaction and multisignature account
preimage. The returned multisig txn can accumulate additional signatures through
mergeMultisigTransactions or appendSignMultisigTransactionWithSigner.
The signer must hold a key belonging to the multisig. That key is taken from the sgnr field of
the transaction the signer returns, falling back to the transaction sender when sgnr is absent
— which is the same convention signers use when writing it. Every signer this SDK provides
follows it. Note that AddressWithTransactionSigner.address cannot be used for this: it is the
address the signer sends transactions from, which for a rekeyed account is not the signing key.
signMultisigTransactionWithSigner takes a raw transaction, a multisig preimage and a signer, and returns a multisig transaction: a blob representing a transaction and multisignature account preimage. The returned multisig txn can accumulate additional signatures through mergeMultisigTransactions or appendSignMultisigTransactionWithSigner.
The signer must hold a key belonging to the multisig. That key is taken from the
sgnrfield of the transaction the signer returns, falling back to the transaction sender whensgnris absent — which is the same convention signers use when writing it. Every signer this SDK provides follows it. Note thatAddressWithTransactionSigner.addresscannot be used for this: it is the address the signer sends transactions from, which for a rekeyed account is not the signing key.