Show / Hide Table of Contents

Class ExternalTransactionParams

Transaction Parameters for Sending an Externally Created Transaction to the network for processing and optionally waiting for a receipt.

Inheritance
object
TransactionParams
TransactionParams<TransactionReceipt>
ExternalTransactionParams
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
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 Source

CancellationToken

Optional Cancellation token that interrupts the network transaction submission process.

Declaration
public CancellationToken? CancellationToken { get; set; }
Property Value
Type Description
CancellationToken?
| Edit this page View Source

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
| Edit this page View Source

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>
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph