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.
This setting is not persistent. The value must be reset in the coins file on restart.
Structure | Type | Description |
---|---|---|
coin | string | the ticker of the selected coin |
confirmations | number | the number of confirmations to require |
Structure | Type | Description |
---|---|---|
coin | string | the coin selected in the request |
confirmations | number | the number of confirmations in the request |
POST
set_required_confirmations{
"userpass": "RPC_UserP@SSW0RD",
"method": "set_required_confirmations",
"coin": "DOC",
"confirmations": 3
}