set_required_confirmations

set_required_confirmations coin confirmations

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

Arguments

StructureTypeDescription
coinstringthe ticker of the selected coin
confirmationsnumberthe number of confirmations to require

Response

StructureTypeDescription
coinstringthe coin selected in the request
confirmationsnumberthe number of confirmations in the request

📌 Examples

Command

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

Response (success)

{
  "result": {
    "coin": "ETOMIC",
    "confirmations": 3
  }
}