Class SignatureComposer
Composes a fully signed transaction from partially signed blobs (#43). Devices sign with whatever keys they hold — single main signature, sponsor co-signature, or portable multisig Signer entries — and the composer routes everything into the right sections. Signer entries are section-agnostic by protocol (identical preimage for tx.Signers and SponsorSignature.Signers, see rippled STTx::checkMultiSign), so only the composer needs to know which signer belongs to which side.
Inheritance
Namespace: Xrpl.Wallet
Assembly: Xrpl.dll
Syntax
public static class SignatureComposer
Methods
| Edit this page View SourceComposeSignatures(IEnumerable<string>, IReadOnlyCollection<string>?)
Offline composition. Signer entries from accounts listed in
sponsorSignerAccounts go into
SponsorSignature.Signers; all other entries go into
tx.Signers. For ledger-driven routing use the
IXrplClient.ComposeSignatures extension instead.
Declaration
public static SignatureResult ComposeSignatures(IEnumerable<string> partBlobs, IReadOnlyCollection<string>? sponsorSignerAccounts = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<string> | partBlobs | Partially signed blobs of the same transaction. |
| IReadOnlyCollection<string> | sponsorSignerAccounts | Accounts whose Signer entries belong to the sponsor's SignerList. |
Returns
| Type | Description |
|---|---|
| SignatureResult |