Skip to main content

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

ParameterTypeRequiredDescription
requestTypeStringYesMust be set to deleteTotemProperty.
totemlongYesUnique 6464-bit Totem identifier.
propertyStringYesKey name of the metadata property to delete.
chainintYesTarget BetaChain ID.
setterlongNoAccount ID that originally set the property (defaults to sender account ID).
secretPhraseStringYesPassphrase of the requesting sender account.
feeNQTlongConditionalTransaction execution fee in base units (NQTNQT).

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 CodeCause / Description
MISSING_PROPERTYParameter property was omitted or empty in request.
UNKNOWN_PROPERTYSpecified property key does not exist on the Totem for the specified setter account.