estimatecollateral
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-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.
jsonrpcstringrequiredJSON-RPC protocol version used by DigiByte Core RPC.
idstringrequiredClient-supplied request identifier echoed in the response.
methodstringrequiredDigiByte Core RPC method name.
paramsArray<any>requiredOrdered 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.