Submit

Submit Transaction

Submits a signed transaction payload to the network.

POSThttps://xrd-gateway.nownodes.io/transaction/submit
Body
notarized_transaction_hex*NotarizedTransactionHexString (string)

Hex-encoded notarized transaction payload which can be submitted.

Response

Successful Submission

Body
duplicate*boolean

Is true if the transaction is a duplicate of an existing pending transaction.

Request
const response = await fetch('https://xrd-gateway.nownodes.io/transaction/submit', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "notarized_transaction_hex": "text"
    }),
});
const data = await response.json();
Response
{
  "duplicate": false
}