GetPrunableMessage
Retrieves a prunable message by its transaction full hash. Supports decryption if secret phrase is provided.
Request
GET /nxt?requestType=getPrunableMessage
All endpoints use port 22024 by default.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
transactionFullHash | string | Transaction full hash | Yes |
secretPhrase | string | Secret phrase for decryption | No |
retrieve | boolean | Retrieve pruned data (default false) | No |
Response
{
"transactionFullHash": "abc123...",
"message": "Hello World",
"messageIsText": true,
"messageIsPrunable": true,
"timestamp": 1700000000,
"height": 123456,
"errorCode": 0,
"errorDescription": ""
}
Example
curl "http://localhost:22024/nxt?requestType=getPrunableMessage&transactionFullHash=abc123..."