signmessagewithprivkey
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Signs a message with the given private key (in WIF format). Returns the base64-encoded signature.
Body
Signs a message with the given private key (in WIF format). Returns the base64-encoded signature.
Request payload containing the documented method parameters and client request identifier.
jsonrpcstringrequiredJSON-RPC protocol version.
idstringrequiredClient-provided request identifier echoed in the response.
methodstringsignmessagewithprivkeyrequiredJSON-RPC method name.
paramsArray<string>requiredParameters:
privkey(string, required): The private key in WIF format.message(string, required): The message to sign.
Response
Message 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