On this page

latest contributor to this doc

Last Edit:

@smk762

Set Required Confirmations

API-v1set_required_confirmations

The set_required_confirmations method sets the number of confirmations for which Komodo DeFi Framework API must wait for the selected coin.

This setting is not persistent. The value must be reset in the coins file on restart.

ParameterTypeRequiredDescription
coinstringThe ticker of the selected coin
confirmationsnumberThe number of confirmations to require

ParameterTypeDescription
coinstringThe coin selected in the request
confirmationsnumberThe number of confirmations in the request

set_required_confirmations

POST
set_required_confirmations
{
  "userpass": "RPC_UserP@SSW0RD",
  "method": "set_required_confirmations",
  "coin": "DOC",
  "confirmations": 3
}