Home

createrawtransaction

POST
https://pivx.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Creates an unsigned raw transaction from a list of inputs and outputs. The transaction is returned as a serialized hex string, which can then be signed and broadcast.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringcreaterawtransactionrequired
paramsArray<Array<object> | object | integer | boolean>required

Parameters:

  1. inputs (array) — List of transaction inputs, each including txid and vout.
  2. outputs (object) — Destination addresses and amounts.
  3. locktime (integer, optional) — Locktime value.
  4. replaceable (boolean, optional) — Whether this transaction signals BIP125 replaceability.
Show child attributes
One of
Array<object>
Show child attributes
txidstring

Transaction ID to spend

voutinteger

Output index

object
integer
boolean

Response

200OK

Unsigned raw transaction created successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error