Class SignScheduleParams
Transaction Parameters for adding signatures to an existing scheduled transaction.
Inherited Members
Namespace: Hiero
Assembly: Hiero.dll
Syntax
public sealed class SignScheduleParams : TransactionParams<TransactionReceipt>
Examples
Add a co-signer's signature to a pending schedule when that key is not already in the client's context:
// Add a co-signer's signature via params. Use this when the required
// key is not already in the client's context — e.g., a multi-party
// transfer where an independent signer submits their signature from
// a service that does not hold the primary payer's key.
var receipt = await client.SignScheduleAsync(new SignScheduleParams
{
Schedule = scheduleId,
Signatory = coSignerKey
});
Console.WriteLine($"Sign status: {receipt.Status}");
Properties
| Edit this page View SourceCancellationToken
Optional cancellation token to interrupt the transaction submission process.
Declaration
public CancellationToken? CancellationToken { get; set; }
Property Value
| Type | Description |
|---|---|
| CancellationToken? |
Schedule
The address of the schedule entity to sign.
Declaration
public EntityId Schedule { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
Signatory
Additional private key, keys or signing callback method required to add signatures to the scheduled transaction.
Declaration
public Signatory? Signatory { get; set; }
Property Value
| Type | Description |
|---|---|
| Signatory |
Remarks
Keys/callbacks added here will be combined with those already identified in the client object's context when signing this transaction.