The get_current_mtp method returns the Median Time Past (MTP) from electrum servers for UTXO coins. This information is useful for debugging, specifically in cases where an electrum server has been misconfigured.
get_current_mtp
null
id
curl --url "http://127.0.0.1:7783" --data "{ \"method\": \"get_current_mtp\", \"userpass\": \"USERPASS\", \"mmrpc\": \"2.0\", \"id\": 42, \"params\": { \"coin\": \"RICK\" } } "
{ "mmrpc": "2.0", "result": { "mtp": 1658746383 }, "id": 42 }
← Komodo DeFi Framework RPC Protocol v2.0 (Dev) Overview →