API Reference: deleteTotemProperty
Deletes a previously set key-value metadata property from a Totem asset.
Endpoint Details
- HTTP Method:
POST - Gateway Path:
/nxt - Content-Type:
application/x-www-form-urlencoded - API Tags:
AE,CREATE_TRANSACTION - Chain Specific: Yes
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
requestType | String | Yes | Must be set to deleteTotemProperty. |
totem | long | Yes | Unique -bit Totem identifier. |
property | String | Yes | Key name of the metadata property to delete. |
chain | int | Yes | Target BetaChain ID. |
setter | long | No | Account ID that originally set the property (defaults to sender account ID). |
secretPhrase | String | Yes | Passphrase of the requesting sender account. |
feeNQT | long | Conditional | Transaction execution fee in base units (). |
Example Request
curl -X POST http://localhost:22024/nxt \
-d "requestType=deleteTotemProperty" \
-d "chain=2" \
-d "totem=9876543210123456789" \
-d "property=ISIN" \
-d "secretPhrase=your_pqc_passphrase" \
-d "feeNQT=10000000"
Successful Response
{
"signatureHash": "e0f1a2b3...",
"unsignedTransactionBytes": "0100...",
"transactionJSON": {
"sender": "1234567890123456789",
"feeNQT": "10000000",
"type": 2,
"subtype": 9,
"attachment": {
"version.TotemPropertyDeletion": 1,
"totem": "9876543210123456789",
"property": "ISIN"
},
"timestamp": 89234400
},
"broadcasted": true,
"transaction": "54123049120394814"
}
Error Codes
| Error Code | Cause / Description |
|---|---|
MISSING_PROPERTY | Parameter property was omitted or empty in request. |
UNKNOWN_PROPERTY | Specified property key does not exist on the Totem for the specified setter account. |