Class ExternalTransactionParams
Transaction Parameters for Sending an Externally Created Transaction to the network for processing and optionally waiting for a receipt.
Inheritance
ExternalTransactionParams
Inherited Members
Namespace: Hiero
Assembly: Hiero.dll
Syntax
public sealed class ExternalTransactionParams : TransactionParams<TransactionReceipt>
Examples
Relay a pre-built signed transaction, adding an extra signatory through the params object without reconstructing the body bytes:
// Use the params overload to layer additional signatures on top of
// an externally-signed transaction without re-building the body.
// Any Signatory in the client's context is also applied.
var receipt = await client.SubmitExternalTransactionAsync(new ExternalTransactionParams
{
SignedTransactionBytes = signedBytes,
Signatory = extraSignatory
});
Console.WriteLine($"Status: {receipt.Status}");
Properties
| Edit this page View SourceCancellationToken
Optional Cancellation token that interrupts the network transaction submission process.
Declaration
public CancellationToken? CancellationToken { get; set; }
Property Value
| Type | Description |
|---|---|
| CancellationToken? |
Signatory
Additional private key, keys or signing callback method, particularly useful if setting the endorsement different from the payer's endorsement.
Declaration
public Signatory? Signatory { get; set; }
Property Value
| Type | Description |
|---|---|
| Signatory |
SignedTransactionBytes
The serialized protobuf encoded bytes of a
SignedTransaction
object to be submitted to a Hedera Gossip Network Node. These bytes must be
manually created from calling code having a knowledge of how to construct a
proper Hedera network transaction, or by using the
<pre><code class="lang-csharp">PrepareExternalTransactionAsync</code></pre>
method.
Declaration
public ReadOnlyMemory<byte> SignedTransactionBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte> |