Show / Hide Table of Contents

Class DeleteTokenParams

Transaction Parameters for Deleting a Token.

Inheritance
object
TransactionParams
TransactionParams<TransactionReceipt>
DeleteTokenParams
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 DeleteTokenParams : TransactionParams<TransactionReceipt>
Examples

Permanently delete a token. Requires the Administrator key; immutable tokens cannot be deleted:

// Permanently delete a token. Circulation stays in the treasury but
// no further operations are possible. Requires Administrator to sign.
// Immutable tokens cannot be deleted.
var receipt = await client.DeleteTokenAsync(token);
Console.WriteLine($"Delete status: {receipt.Status}");

Properties

| Edit this page View Source

CancellationToken

Optional cancellation token to interrupt the token deletion 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 required to authorize the deletion. Typically matches the Endorsement assigned to the admin for the token if it is not already set as the payer for the 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 to change the state of this account.

| Edit this page View Source

Token

The identifier of the Fungible or NFT Token Class to delete.

Declaration
public EntityId Token { get; set; }
Property Value
Type Description
EntityId
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph