Home

getoraclepubkey

POST
https://dgb.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the compressed and full public keys for the requested DigiDollar oracle together with key validation, authorization, and local runtime status.

Body

application/json

JSON-RPC request body for the getoraclepubkey method.

jsonrpcstringrequired

JSON-RPC protocol version used by DigiByte Core RPC.

idstringrequired

Client-supplied request identifier echoed in the response.

methodstringgetoraclepubkeyrequired

DigiByte Core RPC method name.

paramsArray<integer>required

Ordered parameters containing the numeric ID of the oracle whose public key information should be returned.

Response

200OK

Successful getoraclepubkey JSON-RPC response.

400Bad Request

Bad request or invalid JSON-RPC parameters.

401Unauthorized

Missing or invalid API key.

500Internal Server Error

Node or JSON-RPC server error.