Parse

Parse Transaction Payload

post

Extracts the contents and hashes of various types of transaction payloads, or sub-payloads.

Body
networkstringRequired

The logical name of the network

Example: {{network}}
payload_hexstringRequired

A hex-encoded payload of a full transaction or a partial transaction - either a notarized transaction, a signed transaction intent an unsigned transaction intent, or a ledger payload.

parse_modestring · enumOptional

The type of transaction payload that should be assumed. If omitted, "Any" is used - where the payload is attempted to be parsed as each of the following in turn: Notarized, Signed, Unsigned, Ledger.

Available options:
validation_modestring · enumOptional

The type of validation that should be performed, if the payload correctly decompiles as a Notarized Transaction. This is only relevant for Notarized payloads. If omitted, "Static" is used.

Available options:
response_modestring · enumOptional

The amount of information to return in the response. "Basic" includes the type, validity information, and any relevant identifiers. "Full" also includes the fully parsed information. If omitted, "Full" is used.

Available options:
transaction_format_optionsobjectOptional

Requested transaction formats to include in the response

Responses
application/json
objectOptional
post
POST /transaction/parse HTTP/1.1
Host: xrd.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 305

{
  "network": "{{network}}",
  "payload_hex": "text",
  "parse_mode": "Any",
  "validation_mode": "None",
  "response_mode": "Basic",
  "transaction_format_options": {
    "manifest": true,
    "blobs": true,
    "message": true,
    "balance_changes": true,
    "raw_system_transaction": true,
    "raw_notarized_transaction": true,
    "raw_ledger_transaction": true
  }
}
{
  "parsed": {
    "type": "NotarizedTransaction"
  }
}