createrawtransaction
Authorizations
ApiKeyAuthApiKeyAuthapi-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
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.
Request payload containing the documented method parameters and client request identifier.
jsonrpcstringrequiredJSON-RPC protocol version.
idstringrequiredClient-provided request identifier echoed in the response.
methodstringcreaterawtransactionrequiredJSON-RPC method name.
paramsArray<Array<object> | object | integer | boolean>requiredParameters:
inputs(array) — List of transaction inputs, each includingtxidandvout.outputs(object) — Destination addresses and amounts.locktime(integer, optional) — Locktime value.replaceable(boolean, optional) — Whether this transaction signals BIP125 replaceability.
Response
Unsigned raw transaction created successfully
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error