signrawtransactionwithkey
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Signs inputs for a raw transaction using explicitly provided private keys, without needing access to a local wallet. Useful for offline signing or stateless transaction construction.
Body
Signs inputs for a raw transaction using explicitly provided private keys, without needing access to a local wallet. Useful for offline signing or stateless transaction construction.
Request payload containing the documented method parameters and client request identifier.
jsonrpcstringrequiredJSON-RPC protocol version.
idstringrequiredClient-provided request identifier echoed in the response.
methodstringsignrawtransactionwithkeyrequiredJSON-RPC method name.
paramsArray<string | Array<string> | Array<object>>requiredParameters:
hexstring(string, required): The raw transaction hex string.privkeys(array of strings, required): Array of WIF private keys.prevtxs(array, optional): Array of previous output details for inputs to sign.
Response
Transaction signed 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