# set_required_confirmations

set_required_confirmations coin confirmations

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

Note

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

# Arguments

Structure Type Description
coin string the ticker of the selected coin
confirmations number the number of confirmations to require

# Response

Structure Type Description
result.coin string the coin selected in the request
result.confirmations number the number of confirmations in the request

# 📌 Examples

# Command

curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"set_required_confirmations\",\"coin\":\"RICK\",\"confirmations\":3}"