Class ComposeSugar
Ledger-driven signature composition (#43): routes portable multisig Signer entries into tx.Signers or SponsorSignature.Signers by looking up the SignerLists of the transaction's Account and Sponsor.
Inheritance
object
ComposeSugar
Namespace: Xrpl.Sugar
Assembly: Xrpl.dll
Syntax
public static class ComposeSugar
Methods
| Edit this page View SourceComposeSignatures(IXrplClient, IEnumerable<string>, CancellationToken)
Composes a fully signed transaction from partially signed blobs, resolving each Signer entry's section from the ledger SignerLists. A signer present in both lists is an explicit error — use the offline ComposeSignatures(IEnumerable<string>, IReadOnlyCollection<string>?) overload with explicit sponsor signers for that case.
Declaration
public static Task<SignatureResult> ComposeSignatures(this IXrplClient client, IEnumerable<string> partBlobs, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| IXrplClient | client | |
| IEnumerable<string> | partBlobs | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<SignatureResult> |