Class DeleteTokenParams
Transaction Parameters for Deleting a Token.
Inherited Members
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 SourceCancellationToken
Optional cancellation token to interrupt the token deletion submission process.
Declaration
public CancellationToken? CancellationToken { get; set; }
Property Value
| Type | Description |
|---|---|
| CancellationToken? |
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.
Token
The identifier of the Fungible or NFT Token Class to delete.
Declaration
public EntityId Token { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |