Home

estimatecollateral

POST
https://dgb.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Estimates the wallet collateral requirement for a DigiDollar amount and lock period, including safety margin and health-tier information.

Body

application/json

JSON-RPC request body for the estimatecollateral method.

jsonrpcstringrequired

JSON-RPC protocol version used by DigiByte Core RPC.

idstringrequired

Client-supplied request identifier echoed in the response.

methodstringrequired

DigiByte Core RPC method name.

paramsArray<any>required

Ordered JSON-RPC parameters for the method. Parameter 0: DigiDollar amount in cents. For example, 10000 represents 100.00 USD. Parameter 1: Collateral lock duration in days.

Response

200OK

Successful estimatecollateral 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.