diff --git a/filepathSlugs.json b/filepathSlugs.json
index 407f154a..85c86e21 100644
--- a/filepathSlugs.json
+++ b/filepathSlugs.json
@@ -3130,6 +3130,7 @@
"response-success-6",
"withdraw-qrc-20-coins-with-gas-limit",
"withdraw-tendermint-coins-with-a-memo-and-custom-gas-fee",
+ "withdraw-tendermint-ibc-coins",
"error-responses",
"invalid-request-unknown-fee-type",
"invalid-request-wrong-parameter-type",
@@ -3913,6 +3914,17 @@
"src/pages/komodo-wallet/desktop/view-your-wallet-address/index.mdx": [
"viewing-your-wallet-address-in-komodo-wallet-desktop"
],
+ "src/pages/komodo-wallet/guides/how-to-find-the-right-ibc-channel-for-transfers/index.mdx": [
+ "how-to-find-the-right-ibc-channel-for-transfers-on-komodo-wallet",
+ "understanding-ibc-channels",
+ "sources-to-find-the-ibc-channel-information",
+ "example-transferring-from-iris-to-osmosis",
+ "verifying-transfers",
+ "staying-updated"
+ ],
+ "src/pages/komodo-wallet/guides/index.mdx": [
+ "komodo-wallet-general-guides"
+ ],
"src/pages/komodo-wallet/index.mdx": [
"komodo-wallet-guides"
],
diff --git a/postman/collections/komodo_defi.postman_collection.json b/postman/collections/komodo_defi.postman_collection.json
index 8f9d687e..92328a2a 100644
--- a/postman/collections/komodo_defi.postman_collection.json
+++ b/postman/collections/komodo_defi.postman_collection.json
@@ -46,7 +46,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"electrum\",\r\n \"coin\": \"KMD\",\r\n \"servers\": [\r\n {\r\n \"url\": \"electrum1.cipig.net:10001\"\r\n // \"protocol\": \"TCP\" // Accepted values: \"TCP\", \"SSL\", \"WS\", \"WSS\"\r\n // \"disable_cert_verification\": false\r\n },\r\n {\r\n \"url\": \"electrum2.cipig.net:10001\"\r\n },\r\n {\r\n \"url\": \"electrum3.cipig.net:10001\"\r\n }\r\n ]\r\n // \"min_connected\": 1, // defaults to 1 when omitted\r\n // \"max_connected\": 3 // defaults to len(servers) when omitted\r\n // \"mm2\": null, // Required only if: Not in Coin Config // Accepted values: 0, 1\r\n // \"tx_history\": false,\r\n // \"required_confirmations\": 1, // Default: Coin Config\r\n // \"requires_notarization\": false, // Default: Coin Config\r\n // \"address_format\": {\r\n // \"format\": \"standard\" // Accepted values: \"standard\", \"segwit\", \"cashaddress\"\r\n // // \"network\": \"bchtest\" // Required only if: \"format\": \"cashaddress\"\r\n // }, // Default: Coin Config\r\n // \"utxo_merge_params\": null,\r\n // // \"utxo_merge_params\": {\r\n // // \"merge_at\":50\r\n // // // \"check_every\":10,\r\n // // // \"max_merge_at_once\":100\r\n // // },\r\n // \"check_utxo_maturity\": false,\r\n // \"priv_key_policy\": \"IguanaPrivKey\", // Accepted values: \"IguanaPrivKey\", \"Trezor\"\r\n // \"gap_limit\": 20, // used only if: \"priv_key_policy\": \"Trezor\"\r\n // \"scan_policy\": \"scan_if_new_wallet\" // Accepted values: \"do_not_scan\", \"scan_if_new_wallet\", \"scan\" // used only if: \"priv_key_policy\": \"Trezor\"\r\n}\r\n"
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"electrum\",\r\n \"coin\": \"KMD\",\r\n \"servers\": [\r\n {\r\n \"url\": \"electrum1.cipig.net:10001\"\r\n // \"protocol\": \"TCP\" // Accepted values: \"TCP\", \"SSL\", \"WS\", \"WSS\"\r\n // \"disable_cert_verification\": false\r\n },\r\n {\r\n \"url\": \"electrum2.cipig.net:10001\"\r\n },\r\n {\r\n \"url\": \"electrum3.cipig.net:10001\"\r\n }\r\n ],\r\n \"min_connected\": 1, // defaults to 1 when omitted\r\n \"max_connected\": 3 // defaults to len(servers) when omitted\r\n // \"mm2\": null, // Required only if: Not in Coin Config // Accepted values: 0, 1\r\n // \"tx_history\": false,\r\n // \"required_confirmations\": 1, // Default: Coin Config\r\n // \"requires_notarization\": false, // Default: Coin Config\r\n // \"address_format\": {\r\n // \"format\": \"standard\" // Accepted values: \"standard\", \"segwit\", \"cashaddress\"\r\n // // \"network\": \"bchtest\" // Required only if: \"format\": \"cashaddress\"\r\n // }, // Default: Coin Config\r\n // \"utxo_merge_params\": null,\r\n // // \"utxo_merge_params\": {\r\n // // \"merge_at\":50\r\n // // // \"check_every\":10,\r\n // // // \"max_merge_at_once\":100\r\n // // },\r\n // \"check_utxo_maturity\": false,\r\n // \"priv_key_policy\": \"IguanaPrivKey\", // Accepted values: \"IguanaPrivKey\", \"Trezor\"\r\n // \"gap_limit\": 20, // used only if: \"priv_key_policy\": \"Trezor\"\r\n // \"scan_policy\": \"scan_if_new_wallet\" // Accepted values: \"do_not_scan\", \"scan_if_new_wallet\", \"scan\" // used only if: \"priv_key_policy\": \"Trezor\"\r\n}\r\n"
},
"url": {
"raw": "{{address}}",
@@ -69,7 +69,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"electrum\",\r\n \"coin\": \"DOC\",\r\n \"servers\": [\r\n {\r\n \"url\": \"electrum1.cipig.net:10020\"\r\n // \"protocol\": \"TCP\" // Accepted values: \"TCP\", \"SSL\", \"WS\", \"WSS\"\r\n // \"disable_cert_verification\": false\r\n },\r\n {\r\n \"url\": \"electrum2.cipig.net:10020\"\r\n },\r\n {\r\n \"url\": \"electrum3.cipig.net:10020\"\r\n }\r\n ]\r\n \"min_connected\": 2, // defaults to 1 when omitted\r\n \"max_connected\": 2 // defaults to len(servers) when omitted\r\n // \"mm2\": null, // Required only if: Not in Coin Config // Accepted values: 0, 1\r\n // \"tx_history\": false,\r\n // \"required_confirmations\": 1, // Default: Coin Config\r\n // \"requires_notarization\": false, // Default: Coin Config\r\n // \"address_format\": {\r\n // \"format\": \"standard\" // Accepted values: \"standard\", \"segwit\", \"cashaddress\"\r\n // // \"network\": \"bchtest\" // Required only if: \"format\": \"cashaddress\"\r\n // }, // Default: Coin Config\r\n // \"utxo_merge_params\": null,\r\n // // \"utxo_merge_params\": {\r\n // // \"merge_at\":50\r\n // // // \"check_every\":10,\r\n // // // \"max_merge_at_once\":100\r\n // // },\r\n // \"check_utxo_maturity\": false,\r\n // \"priv_key_policy\": \"IguanaPrivKey\", // Accepted values: \"IguanaPrivKey\", \"Trezor\"\r\n // \"gap_limit\": 20, // used only if: \"priv_key_policy\": \"Trezor\"\r\n // \"scan_policy\": \"scan_if_new_wallet\" // Accepted values: \"do_not_scan\", \"scan_if_new_wallet\", \"scan\" // used only if: \"priv_key_policy\": \"Trezor\"\r\n}\r\n"
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"electrum\",\r\n \"coin\": \"DOC\",\r\n \"servers\": [\r\n {\r\n \"url\": \"electrum1.cipig.net:10020\"\r\n // \"protocol\": \"TCP\" // Accepted values: \"TCP\", \"SSL\", \"WS\", \"WSS\"\r\n // \"disable_cert_verification\": false\r\n },\r\n {\r\n \"url\": \"electrum2.cipig.net:10020\"\r\n },\r\n {\r\n \"url\": \"electrum3.cipig.net:10020\"\r\n }\r\n ],\r\n \"min_connected\": 2, // defaults to 1 when omitted\r\n \"max_connected\": 2 // defaults to len(servers) when omitted\r\n // \"mm2\": null, // Required only if: Not in Coin Config // Accepted values: 0, 1\r\n // \"tx_history\": false,\r\n // \"required_confirmations\": 1, // Default: Coin Config\r\n // \"requires_notarization\": false, // Default: Coin Config\r\n // \"address_format\": {\r\n // \"format\": \"standard\" // Accepted values: \"standard\", \"segwit\", \"cashaddress\"\r\n // // \"network\": \"bchtest\" // Required only if: \"format\": \"cashaddress\"\r\n // }, // Default: Coin Config\r\n // \"utxo_merge_params\": null,\r\n // // \"utxo_merge_params\": {\r\n // // \"merge_at\":50\r\n // // // \"check_every\":10,\r\n // // // \"max_merge_at_once\":100\r\n // // },\r\n // \"check_utxo_maturity\": false,\r\n // \"priv_key_policy\": \"IguanaPrivKey\", // Accepted values: \"IguanaPrivKey\", \"Trezor\"\r\n // \"gap_limit\": 20, // used only if: \"priv_key_policy\": \"Trezor\"\r\n // \"scan_policy\": \"scan_if_new_wallet\" // Accepted values: \"do_not_scan\", \"scan_if_new_wallet\", \"scan\" // used only if: \"priv_key_policy\": \"Trezor\"\r\n}\r\n"
},
"url": {
"raw": "{{address}}",
@@ -238,13 +238,19 @@
"header": [
{
"key": "Content-Type",
+ "name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"electrum\",\r\n \"coin\": \"DOC\",\r\n \"servers\": [\r\n {\r\n \"url\": \"electrum1.cipig.net:10020\"\r\n // \"protocol\": \"TCP\" // Accepted values: \"TCP\", \"SSL\", \"WS\", \"WSS\"\r\n // \"disable_cert_verification\": false\r\n },\r\n {\r\n \"url\": \"electrum2.cipig.net:10020\"\r\n },\r\n {\r\n \"url\": \"electrum3.cipig.net:10020\"\r\n }\r\n ],\r\n \"min_connected\": 2, // defaults to 1 when omitted\r\n \"max_connected\": 1 // defaults to len(servers) when omitted\r\n // \"mm2\": null, // Required only if: Not in Coin Config // Accepted values: 0, 1\r\n // \"tx_history\": false,\r\n // \"required_confirmations\": 1, // Default: Coin Config\r\n // \"requires_notarization\": false, // Default: Coin Config\r\n // \"address_format\": {\r\n // \"format\": \"standard\" // Accepted values: \"standard\", \"segwit\", \"cashaddress\"\r\n // // \"network\": \"bchtest\" // Required only if: \"format\": \"cashaddress\"\r\n // }, // Default: Coin Config\r\n // \"utxo_merge_params\": null,\r\n // // \"utxo_merge_params\": {\r\n // // \"merge_at\":50\r\n // // // \"check_every\":10,\r\n // // // \"max_merge_at_once\":100\r\n // // },\r\n // \"check_utxo_maturity\": false,\r\n // \"priv_key_policy\": \"IguanaPrivKey\", // Accepted values: \"IguanaPrivKey\", \"Trezor\"\r\n // \"gap_limit\": 20, // used only if: \"priv_key_policy\": \"Trezor\"\r\n // \"scan_policy\": \"scan_if_new_wallet\" // Accepted values: \"do_not_scan\", \"scan_if_new_wallet\", \"scan\" // used only if: \"priv_key_policy\": \"Trezor\"\r\n}\r\n"
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"electrum\",\r\n \"coin\": \"DOC\",\r\n \"servers\": [\r\n {\r\n \"url\": \"electrum1.cipig.net:10020\"\r\n // \"protocol\": \"TCP\" // Accepted values: \"TCP\", \"SSL\", \"WS\", \"WSS\"\r\n // \"disable_cert_verification\": false\r\n },\r\n {\r\n \"url\": \"electrum2.cipig.net:10020\"\r\n },\r\n {\r\n \"url\": \"electrum3.cipig.net:10020\"\r\n }\r\n ],\r\n \"min_connected\": 2, // defaults to 1 when omitted\r\n \"max_connected\": 1 // defaults to len(servers) when omitted\r\n // \"mm2\": null, // Required only if: Not in Coin Config // Accepted values: 0, 1\r\n // \"tx_history\": false,\r\n // \"required_confirmations\": 1, // Default: Coin Config\r\n // \"requires_notarization\": false, // Default: Coin Config\r\n // \"address_format\": {\r\n // \"format\": \"standard\" // Accepted values: \"standard\", \"segwit\", \"cashaddress\"\r\n // // \"network\": \"bchtest\" // Required only if: \"format\": \"cashaddress\"\r\n // }, // Default: Coin Config\r\n // \"utxo_merge_params\": null,\r\n // // \"utxo_merge_params\": {\r\n // // \"merge_at\":50\r\n // // // \"check_every\":10,\r\n // // // \"max_merge_at_once\":100\r\n // // },\r\n // \"check_utxo_maturity\": false,\r\n // \"priv_key_policy\": \"IguanaPrivKey\", // Accepted values: \"IguanaPrivKey\", \"Trezor\"\r\n // \"gap_limit\": 20, // used only if: \"priv_key_policy\": \"Trezor\"\r\n // \"scan_policy\": \"scan_if_new_wallet\" // Accepted values: \"do_not_scan\", \"scan_if_new_wallet\", \"scan\" // used only if: \"priv_key_policy\": \"Trezor\"\r\n}\r\n",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
},
"url": {
"raw": "{{address}}",
@@ -255,7 +261,7 @@
},
"status": "Internal Server Error",
"code": 500,
- "_postman_previewlanguage": "plain",
+ "_postman_previewlanguage": "json",
"header": [
{
"key": "access-control-allow-origin",
@@ -268,10 +274,17 @@
{
"key": "date",
"value": "Wed, 30 Oct 2024 10:45:41 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
}
],
"cookie": [],
- "body": "{\"error\":\"rpc:184] dispatcher_legacy:141] lp_commands_legacy:141] lp_coins:4462] utxo_standard:73] utxo_coin_builder:616] Internal error: manager:132] min_connected (2) must be <= max_connected (1)\"}"
+ "body": "{\n \"error\": \"rpc:184] dispatcher_legacy:141] lp_commands_legacy:141] lp_coins:4462] utxo_standard:73] utxo_coin_builder:616] Internal error: manager:132] min_connected (2) must be <= max_connected (1)\"\n}"
},
{
"name": "Error: min < 1",
@@ -1340,7 +1353,50 @@
]
}
},
- "response": []
+ "response": [
+ {
+ "name": "my_tx_history",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"my_tx_history\",\r\n \"coin\": \"TSIA\"\r\n // \"from_id\": null, // Accepted values: Strings\r\n // \"max\": false,\r\n // \"limit\": 10,\r\n // \"page_number\": 1, // used only if: \"from_id\": null\r\n\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "plain",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "172"
+ },
+ {
+ "key": "date",
+ "value": "Fri, 01 Nov 2024 03:46:46 GMT"
+ }
+ ],
+ "cookie": [],
+ "body": "{\"result\":{\"transactions\":[],\"limit\":10,\"skipped\":0,\"from_id\":null,\"total\":0,\"current_block\":22780,\"sync_status\":{\"state\":\"NotEnabled\"},\"page_number\":null,\"total_pages\":0}}"
+ }
+ ]
},
{
"name": "send_raw_transaction",
@@ -1824,7 +1880,50 @@
]
}
},
- "response": []
+ "response": [
+ {
+ "name": "max_taker_vol",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"max_taker_vol\",\r\n \"coin\": \"TSIA\"\r\n // \"trade_with\": \"DOC\" // Default: \"coin\"\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "plain",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "73"
+ },
+ {
+ "key": "date",
+ "value": "Fri, 01 Nov 2024 03:44:16 GMT"
+ }
+ ],
+ "cookie": [],
+ "body": "{\"result\":{\"numer\":\"85469222999997669\",\"denom\":\"77800000\"},\"coin\":\"TSIA\"}"
+ }
+ ]
},
{
"name": "min_trading_vol",
@@ -2234,7 +2333,8 @@
"\r",
"pm.request.body.update(strippedData);"
],
- "type": "text/javascript"
+ "type": "text/javascript",
+ "packages": {}
}
}
],
@@ -2249,7 +2349,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"active_swaps\"\r\n // \"include_status\": false\r\n}\r\n"
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"active_swaps\",\r\n \"include_status\": true\r\n}\r\n"
},
"url": {
"raw": "{{address}}",
@@ -2258,7 +2358,106 @@
]
}
},
- "response": []
+ "response": [
+ {
+ "name": "active_swaps (without status)",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"active_swaps\"\r\n // \"include_status\": false\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "66"
+ },
+ {
+ "key": "date",
+ "value": "Sun, 03 Nov 2024 11:36:39 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"uuids\": [\n \"7b60a494-f159-419c-8f41-02e10f897513\"\n ],\n \"statuses\": null\n}"
+ },
+ {
+ "name": "active_swaps (with status)",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"active_swaps\",\r\n \"include_status\": true\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "2388"
+ },
+ {
+ "key": "date",
+ "value": "Sun, 03 Nov 2024 11:43:12 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"uuids\": [\n \"44798382-8c63-4047-b5d8-70a60fa2546b\"\n ],\n \"statuses\": {\n \"44798382-8c63-4047-b5d8-70a60fa2546b\": {\n \"type\": \"Taker\",\n \"uuid\": \"44798382-8c63-4047-b5d8-70a60fa2546b\",\n \"my_order_uuid\": \"44798382-8c63-4047-b5d8-70a60fa2546b\",\n \"events\": [\n {\n \"timestamp\": 1730634185287,\n \"event\": {\n \"type\": \"Started\",\n \"data\": {\n \"taker_coin\": \"MARTY\",\n \"maker_coin\": \"DOC\",\n \"maker\": \"15d9c51c657ab1be4ae9d3ab6e76a619d3bccfe830d5363fa168424c0d044732\",\n \"my_persistent_pub\": \"034cbf74541c1d3436bc7638a2738f64df4fee22d4443cdf11d54cea7d7f55f256\",\n \"lock_duration\": 7800,\n \"maker_amount\": \"2.4\",\n \"taker_amount\": \"2.4\",\n \"maker_payment_confirmations\": 1,\n \"maker_payment_requires_nota\": false,\n \"taker_payment_confirmations\": 1,\n \"taker_payment_requires_nota\": false,\n \"taker_payment_lock\": 1730641984,\n \"uuid\": \"44798382-8c63-4047-b5d8-70a60fa2546b\",\n \"started_at\": 1730634184,\n \"maker_payment_wait\": 1730637304,\n \"maker_coin_start_block\": 803893,\n \"taker_coin_start_block\": 818506,\n \"fee_to_send_taker_fee\": {\n \"coin\": \"MARTY\",\n \"amount\": \"0.00001\",\n \"paid_from_trading_vol\": false\n },\n \"taker_payment_trade_fee\": {\n \"coin\": \"MARTY\",\n \"amount\": \"0.00001\",\n \"paid_from_trading_vol\": false\n },\n \"maker_payment_spend_trade_fee\": {\n \"coin\": \"DOC\",\n \"amount\": \"0.00001\",\n \"paid_from_trading_vol\": true\n },\n \"maker_coin_htlc_pubkey\": \"034cbf74541c1d3436bc7638a2738f64df4fee22d4443cdf11d54cea7d7f55f256\",\n \"taker_coin_htlc_pubkey\": \"034cbf74541c1d3436bc7638a2738f64df4fee22d4443cdf11d54cea7d7f55f256\",\n \"p2p_privkey\": null\n }\n }\n }\n ],\n \"maker_amount\": \"2.4\",\n \"maker_coin\": \"DOC\",\n \"maker_coin_usd_price\": null,\n \"taker_amount\": \"2.4\",\n \"taker_coin\": \"MARTY\",\n \"taker_coin_usd_price\": null,\n \"gui\": \"mm2_777\",\n \"mm_version\": \"2.2.0-beta_caf803b\",\n \"success_events\": [\n \"Started\",\n \"Negotiated\",\n \"TakerFeeSent\",\n \"TakerPaymentInstructionsReceived\",\n \"MakerPaymentReceived\",\n \"MakerPaymentWaitConfirmStarted\",\n \"MakerPaymentValidatedAndConfirmed\",\n \"TakerPaymentSent\",\n \"WatcherMessageSent\",\n \"TakerPaymentSpent\",\n \"MakerPaymentSpent\",\n \"MakerPaymentSpentByWatcher\",\n \"MakerPaymentSpendConfirmed\",\n \"Finished\"\n ],\n \"error_events\": [\n \"StartFailed\",\n \"NegotiateFailed\",\n \"TakerFeeSendFailed\",\n \"MakerPaymentValidateFailed\",\n \"MakerPaymentWaitConfirmFailed\",\n \"TakerPaymentTransactionFailed\",\n \"TakerPaymentWaitConfirmFailed\",\n \"TakerPaymentDataSendFailed\",\n \"TakerPaymentWaitForSpendFailed\",\n \"MakerPaymentSpendFailed\",\n \"MakerPaymentSpendConfirmFailed\",\n \"TakerPaymentWaitRefundStarted\",\n \"TakerPaymentRefundStarted\",\n \"TakerPaymentRefunded\",\n \"TakerPaymentRefundedByWatcher\",\n \"TakerPaymentRefundFailed\",\n \"TakerPaymentRefundFinished\"\n ]\n }\n }\n}"
+ }
+ ]
},
{
"name": "all_swaps_uuids_by_filter",
@@ -4590,7 +4789,7 @@
"header": [],
"body": {
"mode": "raw",
- "raw": "\n {\n \"userpass\": \"{{userpass}}\",\n \"method\": \"enable_eth_with_tokens\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"ticker\": \"MATIC\",\n \"get_balances\": false,\n \"tx_history\": false,\n \"rpc_mode\": \"Default\", // Accepted values: Default, Metamask\n \"gas_station_url\": \"https://gasstation-mainnet.matic.network/\",\n \"swap_contract_address\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n \"fallback_swap_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n \"swap_v2_contracts\": {\n\t \"maker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"taker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"nft_maker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"nft_taker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\"\n },\n \"nft_req\": {\n \"provider\": {\n \"type\": \"Moralis\",\n \"info\": {\n \"url\": \"https://moralis-proxy.komodo.earth\"\n }\n }\n },\n \"nodes\": [\n {\n \"url\": \"https://polygon-rpc.com\"\n },\n {\n \"url\": \"https://electrum3.cipig.net:18755\"\n },\n {\n \"url\": \"https://block-proxy.komodo.earth/rpc/matic\"\n }\n ],\n \"erc20_tokens_requests\": [\n {\n \"ticker\": \"PGX-PLG20\",\n \"required_confirmations\": 4\n },\n {\n \"ticker\": \"AAVE-PLG20\",\n \"required_confirmations\": 4\n }\n ],\n \"required_confirmations\": 5,\n \"requires_notarization\": false\n }\n }",
+ "raw": "\n {\n \"userpass\": \"{{userpass}}\",\n \"method\": \"enable_eth_with_tokens\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"ticker\": \"MATIC\",\n \"get_balances\": false,\n \"tx_history\": false,\n \"rpc_mode\": \"Default\", // Accepted values: Default, Metamask\n \"gas_station_url\": \"https://gasstation-mainnet.matic.network/\",\n \"swap_contract_address\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n \"fallback_swap_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n \"swap_v2_contracts\": {\n\t \"maker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"nft_maker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"nft_taker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\"\n },\n \"nft_req\": {\n \"provider\": {\n \"type\": \"Moralis\",\n \"info\": {\n \"url\": \"https://moralis-proxy.komodo.earth\"\n }\n }\n },\n \"nodes\": [\n {\n \"url\": \"https://polygon-rpc.com\"\n },\n {\n \"url\": \"https://electrum3.cipig.net:18755\"\n },\n {\n \"url\": \"https://block-proxy.komodo.earth/rpc/matic\"\n },\n {\n \"url\": \"https://node.komodo.earth:8080/polygon\",\n \"komodo_proxy\": true\n }\n ],\n \"erc20_tokens_requests\": [\n {\n \"ticker\": \"PGX-PLG20\",\n \"required_confirmations\": 4\n },\n {\n \"ticker\": \"AAVE-PLG20\",\n \"required_confirmations\": 4\n }\n ],\n \"required_confirmations\": 5,\n \"requires_notarization\": false\n }\n }",
"options": {
"raw": {
"language": "json"
@@ -4612,7 +4811,7 @@
"header": [],
"body": {
"mode": "raw",
- "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"method\": \"enable_eth_with_tokens\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"ticker\": \"ETH\",\n \"gas_station_url\": \"https://ethgasstation.info/json/ethgasAPI.json\",\n \"gas_station_decimals\": 8,\n \"gas_station_policy\": {\n \"policy\": \"MeanAverageFast\"\n },\n \"mm2\": 1,\n \"rpc_mode\": \"Default\",\n \"nft_req\": {\n \"provider\": {\n \"type\": \"Moralis\",\n \"info\": {\n \"url\": \"https://moralis-proxy.komodo.earth\"\n }\n }\n },\n \"priv_key_policy\": \"ContextPrivKey\",\n \"swap_contract_address\": \"0x24ABE4c71FC658C91313b6552cd40cD808b3Ea80\",\n \"fallback_swap_contract\": \"0x8500AFc0bc5214728082163326C2FF0C73f4a871\",\n \"nodes\": [\n {\n \"url\": \"https://eth1.cipig.net:18555\",\n \"gui_auth\": false\n },\n {\n \"url\": \"https://eth2.cipig.net:18555\",\n \"gui_auth\": false\n },\n {\n \"url\": \"https://eth3.cipig.net:18555\",\n \"gui_auth\": false\n }\n ],\n \"tx_history\": true,\n \"erc20_tokens_requests\": [\n {\n \"ticker\": \"MINDS-ERC20\",\n \"required_confirmations\": 4\n }\n ],\n \"required_confirmations\": 5,\n \"requires_notarization\": false\n }\n}",
+ "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"method\": \"enable_eth_with_tokens\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"ticker\": \"ETH\",\n \"gas_station_url\": \"https://ethgasstation.info/json/ethgasAPI.json\",\n \"gas_station_decimals\": 8,\n \"gas_station_policy\": {\n \"policy\": \"MeanAverageFast\"\n },\n \"mm2\": 1,\n \"rpc_mode\": \"Default\",\n \"nft_req\": {\n \"provider\": {\n \"type\": \"Moralis\",\n \"info\": {\n \"url\": \"https://moralis-proxy.komodo.earth\"\n }\n }\n },\n \"priv_key_policy\": \"ContextPrivKey\",\n \"swap_contract_address\": \"0x24ABE4c71FC658C91313b6552cd40cD808b3Ea80\",\n \"fallback_swap_contract\": \"0x8500AFc0bc5214728082163326C2FF0C73f4a871\",\n \"nodes\": [\n {\n \"url\": \"https://eth1.cipig.net:18555\",\n \"komodo_proxy\": false\n },\n {\n \"url\": \"https://eth2.cipig.net:18555\",\n \"komodo_proxy\": false\n },\n {\n \"url\": \"https://eth3.cipig.net:18555\",\n \"komodo_proxy\": false\n }\n ],\n \"tx_history\": true,\n \"erc20_tokens_requests\": [\n {\n \"ticker\": \"MINDS-ERC20\",\n \"required_confirmations\": 4\n }\n ],\n \"required_confirmations\": 5,\n \"requires_notarization\": false\n }\n}",
"options": {
"raw": {
"language": "json"
@@ -4701,7 +4900,7 @@
"header": [],
"body": {
"mode": "raw",
- "raw": "\n {\n \"userpass\": \"{{userpass}}\",\n \"method\": \"enable_eth_with_tokens\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"ticker\": \"MATIC\",\n \"get_balances\": false,\n \"tx_history\": false,\n \"gas_station_url\": \"https://gasstation-mainnet.matic.network/\",\n \"swap_contract_address\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n \"fallback_swap_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n \"swap_v2_contracts\": {\n\t \"maker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"taker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"nft_maker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"nft_taker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\"\n },\n \"nodes\": [\n {\n \"url\": \"https://polygon-rpc.com\"\n },\n {\n \"url\": \"https://electrum3.cipig.net:18755\"\n },\n {\n \"url\": \"https://block-proxy.komodo.earth/rpc/matic\"\n }\n ],\n \"erc20_tokens_requests\": [\n {\n \"ticker\": \"PGX-PLG20\",\n \"required_confirmations\": 4\n },\n {\n \"ticker\": \"AAVE-PLG20\",\n \"required_confirmations\": 4\n }\n ],\n \"required_confirmations\": 5,\n \"requires_notarization\": false\n }\n }",
+ "raw": "\n {\n \"userpass\": \"{{userpass}}\",\n \"method\": \"enable_eth_with_tokens\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"ticker\": \"MATIC\",\n \"get_balances\": false,\n \"tx_history\": false,\n \"gas_station_url\": \"https://gasstation-mainnet.matic.network/\",\n \"swap_contract_address\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n \"fallback_swap_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n \"swap_v2_contracts\": {\n\t \"maker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"taker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"nft_maker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\"\n },\n \"nodes\": [\n {\n \"url\": \"https://polygon-rpc.com\"\n },\n {\n \"url\": \"https://electrum3.cipig.net:18755\"\n },\n {\n \"url\": \"https://block-proxy.komodo.earth/rpc/matic\"\n },\n {\n \"url\": \"https://node.komodo.earth:8080/polygon\",\n \"komodo_proxy\": true\n }\n ],\n \"erc20_tokens_requests\": [\n {\n \"ticker\": \"PGX-PLG20\",\n \"required_confirmations\": 4\n },\n {\n \"ticker\": \"AAVE-PLG20\",\n \"required_confirmations\": 4\n }\n ],\n \"required_confirmations\": 5,\n \"requires_notarization\": false\n }\n }",
"options": {
"raw": {
"language": "json"
@@ -4749,7 +4948,7 @@
"header": [],
"body": {
"mode": "raw",
- "raw": "\n {\n \"userpass\": \"{{userpass}}\",\n \"method\": \"enable_eth_with_tokens\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"ticker\": \"MATIC\",\n \"get_balances\": false,\n \"tx_history\": false,\n \"gas_station_url\": \"https://gasstation-mainnet.matic.network/\",\n \"swap_contract_address\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n \"fallback_swap_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n \"swap_v2_contracts\": {\n\t \"maker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"taker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"nft_maker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"nft_taker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\"\n },\n \"nft_req\": {\n \"provider\": {\n \"type\": \"Moralis\",\n \"info\": {\n \"url\": \"https://moralis-proxy.komodo.earth\"\n }\n }\n },\n \"nodes\": [\n {\n \"url\": \"https://polygon-rpc.com\"\n },\n {\n \"url\": \"https://electrum3.cipig.net:18755\"\n },\n {\n \"url\": \"https://block-proxy.komodo.earth/rpc/matic\"\n }\n ],\n \"erc20_tokens_requests\": [\n {\n \"ticker\": \"PGX-PLG20\",\n \"required_confirmations\": 4\n },\n {\n \"ticker\": \"AAVE-PLG20\",\n \"required_confirmations\": 4\n }\n ],\n \"required_confirmations\": 5,\n \"requires_notarization\": false\n }\n }",
+ "raw": "\n {\n \"userpass\": \"{{userpass}}\",\n \"method\": \"enable_eth_with_tokens\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"ticker\": \"MATIC\",\n \"get_balances\": false,\n \"tx_history\": false,\n \"gas_station_url\": \"https://gasstation-mainnet.matic.network/\",\n \"swap_contract_address\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n \"fallback_swap_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n \"swap_v2_contracts\": {\n\t \"maker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"taker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"nft_maker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\"\n },\n \"nft_req\": {\n \"provider\": {\n \"type\": \"Moralis\",\n \"info\": {\n \"url\": \"https://moralis-proxy.komodo.earth\"\n }\n }\n },\n \"nodes\": [\n {\n \"url\": \"https://polygon-rpc.com\"\n },\n {\n \"url\": \"https://electrum3.cipig.net:18755\"\n },\n {\n \"url\": \"https://block-proxy.komodo.earth/rpc/matic\"\n }\n ],\n \"erc20_tokens_requests\": [\n {\n \"ticker\": \"PGX-PLG20\",\n \"required_confirmations\": 4\n },\n {\n \"ticker\": \"AAVE-PLG20\",\n \"required_confirmations\": 4\n }\n ],\n \"required_confirmations\": 5,\n \"requires_notarization\": false\n }\n }",
"options": {
"raw": {
"language": "json"
@@ -4797,7 +4996,7 @@
"header": [],
"body": {
"mode": "raw",
- "raw": "\n {\n \"userpass\": \"{{userpass}}\",\n \"method\": \"enable_eth_with_tokens\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"ticker\": \"AVAX\",\n \"get_balances\": false,\n \"tx_history\": false,\n \"swap_contract_address\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n \"fallback_swap_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n \"swap_v2_contracts\": {\n\t \"maker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"taker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"nft_maker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"nft_taker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\"\n },\n \"nft_req\": {\n \"provider\": {\n \"type\": \"Moralis\",\n \"info\": {\n \"url\": \"https://moralis-proxy.komodo.earth\"\n }\n }\n },\n \"nodes\": [\n {\n \"url\": \"https://node.komodo.earth:8080/avalanche\",\n \"gui_auth\": true\n },\n {\n \"url\": \"https://api.avax.network/ext/bc/C/rpc\"\n },\n {\n \"url\": \"https://block-proxy.komodo.earth/rpc/avax\",\n \"ws_url\": \"wss://block-proxy.komodo.earth/rpc/avax/websocket\"\n }\n ],\n \"erc20_tokens_requests\": [\n ],\n \"required_confirmations\": 5,\n \"requires_notarization\": false\n }\n }",
+ "raw": "\n {\n \"userpass\": \"{{userpass}}\",\n \"method\": \"enable_eth_with_tokens\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"ticker\": \"AVAX\",\n \"get_balances\": false,\n \"tx_history\": false,\n \"swap_contract_address\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n \"fallback_swap_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n \"swap_v2_contracts\": {\n\t \"maker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"taker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\",\n\t \"nft_maker_swap_v2_contract\": \"0x9130b257D37A52E52F21054c4DA3450c72f595CE\"\n },\n \"nft_req\": {\n \"provider\": {\n \"type\": \"Moralis\",\n \"info\": {\n \"url\": \"https://moralis-proxy.komodo.earth\"\n }\n }\n },\n \"nodes\": [\n {\n \"url\": \"https://node.komodo.earth:8080/avalanche\",\n \"komodo_proxy\": true\n },\n {\n \"url\": \"https://api.avax.network/ext/bc/C/rpc\"\n },\n {\n \"url\": \"https://block-proxy.komodo.earth/rpc/avax\",\n \"ws_url\": \"wss://block-proxy.komodo.earth/rpc/avax/websocket\"\n }\n ],\n \"erc20_tokens_requests\": [\n ],\n \"required_confirmations\": 5,\n \"requires_notarization\": false\n }\n }",
"options": {
"raw": {
"language": "json"
@@ -5047,7 +5246,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"enable_tendermint_with_assets\",\r\n \"mmrpc\": \"2.0\",\r\n \"params\": {\r\n \"ticker\": \"IRIS\",\r\n \"tx_history\": true,\r\n \"get_balances\": true,\r\n \"rpc_urls\": [\r\n \"https://iris.komodo.earth/\",\r\n \"https://rpc.irishub-1.irisnet.org\"\r\n ],\r\n \"tokens_params\": [\r\n {\r\n \"ticker\": \"ATOM-IBC_IRIS\"\r\n }\r\n ]\r\n }\r\n}\r\n"
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"enable_tendermint_with_assets\",\r\n \"mmrpc\": \"2.0\",\r\n \"params\": {\r\n \"ticker\": \"IRIS\",\r\n \"tx_history\": true,\r\n \"get_balances\": true,\r\n \"nodes\": [\r\n {\r\n \"url\": \"https://iris-rpc.alpha.komodo.earth/\",\r\n \"api_url\": \"https://iris-api.alpha.komodo.earth/\",\r\n \"grpc_url\": \"https://iris-grpc.alpha.komodo.earth/\",\r\n \"ws_url\": \"wss://iris-rpc.alpha.komodo.earth/websocket\"\r\n },\r\n {\r\n \"url\": \"https://rpc.irishub-1.irisnet.org\",\r\n \"komodo_proxy\": false\r\n }\r\n ],\r\n \"tokens_params\": [\r\n {\r\n \"ticker\": \"ATOM-IBC_IRIS\"\r\n }\r\n ]\r\n }\r\n}\r\n"
},
"url": {
"raw": "{{address}}",
@@ -5064,13 +5263,19 @@
"header": [
{
"key": "Content-Type",
+ "name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"enable_tendermint_with_assets\",\r\n \"mmrpc\": \"2.0\",\r\n \"params\": {\r\n \"ticker\": \"IRIS\",\r\n \"tx_history\": true,\r\n \"get_balances\": true,\r\n \"nodes\":[\r\n {\r\n \"url\": \"https://iris-rpc.alpha.komodo.earth/\",\r\n \"api_url\": \"https://iris-api.alpha.komodo.earth/\",\r\n \"grpc_url\": \"https://iris-grpc.alpha.komodo.earth/\",\r\n \"ws_url\": \"wss://iris-rpc.alpha.komodo.earth/websocket\"\r\n },\r\n {\r\n \"url\": \"https://rpc.irishub-1.irisnet.org\"\r\n }\r\n ],\r\n \"tokens_params\": []\r\n }\r\n}\r\n"
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"enable_tendermint_with_assets\",\r\n \"mmrpc\": \"2.0\",\r\n \"params\": {\r\n \"ticker\": \"IRIS\",\r\n \"tx_history\": true,\r\n \"get_balances\": true,\r\n \"nodes\":[\r\n {\r\n \"url\": \"https://iris-rpc.alpha.komodo.earth/\",\r\n \"api_url\": \"https://iris-api.alpha.komodo.earth/\",\r\n \"grpc_url\": \"https://iris-grpc.alpha.komodo.earth/\",\r\n \"ws_url\": \"wss://iris-rpc.alpha.komodo.earth/websocket\"\r\n },\r\n {\r\n \"url\": \"https://rpc.irishub-1.irisnet.org\"\r\n }\r\n ],\r\n \"tokens_params\": []\r\n }\r\n}\r\n",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
},
"url": {
"raw": "{{address}}",
@@ -5081,7 +5286,7 @@
},
"status": "OK",
"code": 200,
- "_postman_previewlanguage": "plain",
+ "_postman_previewlanguage": "json",
"header": [
{
"key": "access-control-allow-origin",
@@ -5094,10 +5299,17 @@
{
"key": "date",
"value": "Wed, 11 Sep 2024 08:52:01 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
}
],
"cookie": [],
- "body": "{\"mmrpc\":\"2.0\",\"result\":{\"ticker\":\"IRIS\",\"address\":\"iaa16drqvl3u8sukfsu4lm3qsk28jr3fahja9vsv6k\",\"current_block\":26591691,\"balance\":{\"spendable\":\"23.336616\",\"unspendable\":\"0\"},\"tokens_balances\":{}},\"id\":null}"
+ "body": "{\n \"mmrpc\": \"2.0\",\n \"result\": {\n \"ticker\": \"IRIS\",\n \"address\": \"iaa16drqvl3u8sukfsu4lm3qsk28jr3fahja9vsv6k\",\n \"current_block\": 26591691,\n \"balance\": {\n \"spendable\": \"23.336616\",\n \"unspendable\": \"0\"\n },\n \"tokens_balances\": {}\n },\n \"id\": null\n}"
},
{
"name": "v2.2.0+",
@@ -5106,13 +5318,19 @@
"header": [
{
"key": "Content-Type",
+ "name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
- "raw": "\r\n {\r\n \"method\": \"enable_tendermint_with_assets\",\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"params\": {\r\n \"ticker\": \"IRIS\",\r\n \"tokens_params\": [\r\n {\r\n \"ticker\": \"ATOM-IBC_IRIS\"\r\n }\r\n ],\r\n \"nodes\": [\r\n {\r\n \"url\": \"https://iris-rpc.alpha.komodo.earth/\",\r\n \"api_url\": \"https://iris-api.alpha.komodo.earth/\",\r\n \"grpc_url\": \"https://iris-grpc.alpha.komodo.earth/\",\r\n \"ws_url\": \"wss://iris-rpc.alpha.komodo.earth/websocket\"\r\n },\r\n {\r\n \"url\": \"https://rpc.irishub-1.irisnet.org\",\r\n \"komodo_auth\": false\r\n }\r\n ]\r\n }\r\n }"
+ "raw": "\r\n {\r\n \"method\": \"enable_tendermint_with_assets\",\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"params\": {\r\n \"ticker\": \"IRIS\",\r\n \"tokens_params\": [\r\n {\r\n \"ticker\": \"ATOM-IBC_IRIS\"\r\n }\r\n ],\r\n \"nodes\": [\r\n {\r\n \"url\": \"https://iris-rpc.alpha.komodo.earth/\",\r\n \"api_url\": \"https://iris-api.alpha.komodo.earth/\",\r\n \"grpc_url\": \"https://iris-grpc.alpha.komodo.earth/\",\r\n \"ws_url\": \"wss://iris-rpc.alpha.komodo.earth/websocket\"\r\n },\r\n {\r\n \"url\": \"https://rpc.irishub-1.irisnet.org\",\r\n \"komodo_proxy\": false\r\n }\r\n ]\r\n }\r\n }",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
},
"url": {
"raw": "{{address}}",
@@ -5123,7 +5341,7 @@
},
"status": "OK",
"code": 200,
- "_postman_previewlanguage": "plain",
+ "_postman_previewlanguage": "json",
"header": [
{
"key": "access-control-allow-origin",
@@ -5136,10 +5354,17 @@
{
"key": "date",
"value": "Wed, 11 Sep 2024 09:23:10 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
}
],
"cookie": [],
- "body": "{\"mmrpc\":\"2.0\",\"result\":{\"ticker\":\"IRIS\",\"address\":\"iaa16drqvl3u8sukfsu4lm3qsk28jr3fahja9vsv6k\",\"current_block\":26591996,\"balance\":{\"spendable\":\"23.336616\",\"unspendable\":\"0\"},\"tokens_balances\":{\"ATOM-IBC_IRIS\":{\"spendable\":\"0.028306\",\"unspendable\":\"0\"}}},\"id\":null}"
+ "body": "{\n \"mmrpc\": \"2.0\",\n \"result\": {\n \"ticker\": \"IRIS\",\n \"address\": \"iaa16drqvl3u8sukfsu4lm3qsk28jr3fahja9vsv6k\",\n \"current_block\": 26591996,\n \"balance\": {\n \"spendable\": \"23.336616\",\n \"unspendable\": \"0\"\n },\n \"tokens_balances\": {\n \"ATOM-IBC_IRIS\": {\n \"spendable\": \"0.028306\",\n \"unspendable\": \"0\"\n }\n }\n },\n \"id\": null\n}"
},
{
"name": "<= v2.1.0",
@@ -5148,13 +5373,19 @@
"header": [
{
"key": "Content-Type",
+ "name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
- "raw": "\r\n {\r\n \"method\": \"enable_tendermint_with_assets\",\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"params\": {\r\n \"ticker\": \"IRIS\",\r\n \"tokens_params\": [\r\n {\r\n \"ticker\": \"ATOM-IBC_IRIS\"\r\n }\r\n ],\r\n \"rpc_urls\": [\r\n \"https://iris-rpc.alpha.komodo.earth/\",\r\n \"https://rpc.irishub-1.irisnet.org\"\r\n ]\r\n }\r\n }"
+ "raw": "\r\n {\r\n \"method\": \"enable_tendermint_with_assets\",\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"params\": {\r\n \"ticker\": \"IRIS\",\r\n \"tokens_params\": [\r\n {\r\n \"ticker\": \"ATOM-IBC_IRIS\"\r\n }\r\n ],\r\n \"rpc_urls\": [\r\n \"https://iris-rpc.alpha.komodo.earth/\",\r\n \"https://rpc.irishub-1.irisnet.org\"\r\n ]\r\n }\r\n }",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
},
"url": {
"raw": "{{address}}",
@@ -5165,7 +5396,7 @@
},
"status": "OK",
"code": 200,
- "_postman_previewlanguage": "plain",
+ "_postman_previewlanguage": "json",
"header": [
{
"key": "access-control-allow-origin",
@@ -5178,10 +5409,17 @@
{
"key": "date",
"value": "Wed, 11 Sep 2024 09:26:35 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
}
],
"cookie": [],
- "body": "{\"mmrpc\":\"2.0\",\"result\":{\"ticker\":\"IRIS\",\"address\":\"iaa16drqvl3u8sukfsu4lm3qsk28jr3fahja9vsv6k\",\"current_block\":26592029,\"balance\":{\"spendable\":\"23.336616\",\"unspendable\":\"0\"},\"tokens_balances\":{\"ATOM-IBC_IRIS\":{\"spendable\":\"0.028306\",\"unspendable\":\"0\"}}},\"id\":null}"
+ "body": "{\n \"mmrpc\": \"2.0\",\n \"result\": {\n \"ticker\": \"IRIS\",\n \"address\": \"iaa16drqvl3u8sukfsu4lm3qsk28jr3fahja9vsv6k\",\n \"current_block\": 26592029,\n \"balance\": {\n \"spendable\": \"23.336616\",\n \"unspendable\": \"0\"\n },\n \"tokens_balances\": {\n \"ATOM-IBC_IRIS\": {\n \"spendable\": \"0.028306\",\n \"unspendable\": \"0\"\n }\n }\n },\n \"id\": null\n}"
},
{
"name": "enable_tendermint_with_assets",
@@ -5190,13 +5428,19 @@
"header": [
{
"key": "Content-Type",
+ "name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
- "raw": "\r\n {\r\n \"method\": \"enable_tendermint_with_assets\",\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"params\": {\r\n \"ticker\": \"IRIS\",\r\n \"tokens_params\": [\r\n {\r\n \"ticker\": \"ATOM-IBC_IRIS\"\r\n }\r\n ],\r\n \"nodes\": [\r\n {\r\n \"url\": \"https://iris-rpc.alpha.komodo.earth/\",\r\n \"api_url\": \"https://iris-api.alpha.komodo.earth/\",\r\n \"grpc_url\": \"https://iris-grpc.alpha.komodo.earth/\",\r\n \"ws_url\": \"wss://iris-rpc.alpha.komodo.earth/websocket\"\r\n },\r\n {\r\n \"url\": \"https://rpc.irishub-1.irisnet.org\",\r\n \"komodo_auth\": false\r\n }\r\n ]\r\n }\r\n }"
+ "raw": "\r\n {\r\n \"method\": \"enable_tendermint_with_assets\",\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"params\": {\r\n \"ticker\": \"IRIS\",\r\n \"tokens_params\": [\r\n {\r\n \"ticker\": \"ATOM-IBC_IRIS\"\r\n }\r\n ],\r\n \"nodes\": [\r\n {\r\n \"url\": \"https://iris-rpc.alpha.komodo.earth/\",\r\n \"api_url\": \"https://iris-api.alpha.komodo.earth/\",\r\n \"grpc_url\": \"https://iris-grpc.alpha.komodo.earth/\",\r\n \"ws_url\": \"wss://iris-rpc.alpha.komodo.earth/websocket\"\r\n },\r\n {\r\n \"url\": \"https://rpc.irishub-1.irisnet.org\",\r\n \"komodo_proxy\": false\r\n }\r\n ]\r\n }\r\n }",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
},
"url": {
"raw": "{{address}}",
@@ -5239,13 +5483,19 @@
"header": [
{
"key": "Content-Type",
+ "name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"enable_tendermint_with_assets\",\r\n \"mmrpc\": \"2.0\",\r\n \"params\": {\r\n \"ticker\": \"ATOM\",\r\n \"tx_history\": true,\r\n \"get_balances\": true,\r\n \"nodes\": [\r\n {\r\n \"url\": \"https://cosmos-rpc.alpha.komodo.earth/\",\r\n \"api_url\": \"https://cosmos-api.alpha.komodo.earth/\",\r\n \"grpc_url\": \"https://cosmos-grpc.alpha.komodo.earth/\",\r\n \"ws_url\": \"wss://cosmos-rpc.alpha.komodo.earth/websocket\"\r\n },\r\n {\r\n \"url\": \"https://cosmoshub.rpc.stakin-nodes.com/\"\r\n }\r\n ],\r\n \"tokens_params\": []\r\n }\r\n}\r\n"
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"enable_tendermint_with_assets\",\r\n \"mmrpc\": \"2.0\",\r\n \"params\": {\r\n \"ticker\": \"ATOM\",\r\n \"tx_history\": true,\r\n \"get_balances\": true,\r\n \"nodes\": [\r\n {\r\n \"url\": \"https://cosmos-rpc.alpha.komodo.earth/\",\r\n \"api_url\": \"https://cosmos-api.alpha.komodo.earth/\",\r\n \"grpc_url\": \"https://cosmos-grpc.alpha.komodo.earth/\",\r\n \"ws_url\": \"wss://cosmos-rpc.alpha.komodo.earth/websocket\"\r\n },\r\n {\r\n \"url\": \"https://cosmoshub.rpc.stakin-nodes.com/\"\r\n }\r\n ],\r\n \"tokens_params\": []\r\n }\r\n}\r\n",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
},
"url": {
"raw": "{{address}}",
@@ -5256,7 +5506,7 @@
},
"status": "OK",
"code": 200,
- "_postman_previewlanguage": "plain",
+ "_postman_previewlanguage": "json",
"header": [
{
"key": "access-control-allow-origin",
@@ -5269,25 +5519,38 @@
{
"key": "date",
"value": "Thu, 12 Sep 2024 08:21:46 GMT"
- }
- ],
- "cookie": [],
- "body": "{\"mmrpc\":\"2.0\",\"result\":{\"ticker\":\"ATOM\",\"address\":\"cosmos16drqvl3u8sukfsu4lm3qsk28jr3fahjaswsac8\",\"current_block\":22148347,\"balance\":{\"spendable\":\"1.003381\",\"unspendable\":\"0\"},\"tokens_balances\":{}},\"id\":null}"
- },
- {
- "name": "Activate OSMO",
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"mmrpc\": \"2.0\",\n \"result\": {\n \"ticker\": \"ATOM\",\n \"address\": \"cosmos16drqvl3u8sukfsu4lm3qsk28jr3fahjaswsac8\",\n \"current_block\": 22148347,\n \"balance\": {\n \"spendable\": \"1.003381\",\n \"unspendable\": \"0\"\n },\n \"tokens_balances\": {}\n },\n \"id\": null\n}"
+ },
+ {
+ "name": "Activate OSMO",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
+ "name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"enable_tendermint_with_assets\",\r\n \"mmrpc\": \"2.0\",\r\n \"params\": {\r\n \"ticker\": \"OSMO\",\r\n \"tx_history\": true,\r\n \"get_balances\": true,\r\n \"nodes\": [\r\n {\r\n \"url\": \"https://rpc.osmosis.zone/\"\r\n },\r\n {\r\n \"url\": \"https://osmosis.rpc.stakin-nodes.com\"\r\n },\r\n {\r\n \"url\": \"https://rpc-osmosis-ia.cosmosia.notional.ventures/\"\r\n },\r\n {\r\n \"url\": \"https://osmosis-rpc.alpha.komodo.earth/\",\r\n \"api_url\": \"https://osmosis-api.alpha.komodo.earth/\",\r\n \"grpc_url\": \"https://osmosis-grpc.alpha.komodo.earth/\",\r\n \"ws_url\": \"wss://osmosis-rpc.alpha.komodo.earth/websocket\"\r\n }\r\n ],\r\n \"tokens_params\": []\r\n }\r\n}\r\n"
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"enable_tendermint_with_assets\",\r\n \"mmrpc\": \"2.0\",\r\n \"params\": {\r\n \"ticker\": \"OSMO\",\r\n \"tx_history\": true,\r\n \"get_balances\": true,\r\n \"nodes\": [\r\n {\r\n \"url\": \"https://rpc.osmosis.zone/\"\r\n },\r\n {\r\n \"url\": \"https://osmosis.rpc.stakin-nodes.com\"\r\n },\r\n {\r\n \"url\": \"https://rpc-osmosis-ia.cosmosia.notional.ventures/\"\r\n },\r\n {\r\n \"url\": \"https://osmosis-rpc.alpha.komodo.earth/\",\r\n \"api_url\": \"https://osmosis-api.alpha.komodo.earth/\",\r\n \"grpc_url\": \"https://osmosis-grpc.alpha.komodo.earth/\",\r\n \"ws_url\": \"wss://osmosis-rpc.alpha.komodo.earth/websocket\"\r\n }\r\n ],\r\n \"tokens_params\": []\r\n }\r\n}\r\n",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
},
"url": {
"raw": "{{address}}",
@@ -5298,7 +5561,7 @@
},
"status": "OK",
"code": 200,
- "_postman_previewlanguage": "plain",
+ "_postman_previewlanguage": "json",
"header": [
{
"key": "access-control-allow-origin",
@@ -5311,10 +5574,17 @@
{
"key": "date",
"value": "Thu, 12 Sep 2024 08:43:47 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
}
],
"cookie": [],
- "body": "{\"mmrpc\":\"2.0\",\"result\":{\"ticker\":\"OSMO\",\"address\":\"osmo16drqvl3u8sukfsu4lm3qsk28jr3fahjac4rdw4\",\"current_block\":20733754,\"balance\":{\"spendable\":\"7.994016\",\"unspendable\":\"0\"},\"tokens_balances\":{}},\"id\":null}"
+ "body": "{\n \"mmrpc\": \"2.0\",\n \"result\": {\n \"ticker\": \"OSMO\",\n \"address\": \"osmo16drqvl3u8sukfsu4lm3qsk28jr3fahjac4rdw4\",\n \"current_block\": 20733754,\n \"balance\": {\n \"spendable\": \"7.994016\",\n \"unspendable\": \"0\"\n },\n \"tokens_balances\": {}\n },\n \"id\": null\n}"
}
]
}
@@ -5344,7 +5614,49 @@
]
}
},
- "response": []
+ "response": [
+ {
+ "name": "Activate TSIA",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"mmrpc\": \"2.0\",\n \"method\": \"enable_sia\",\n \"params\": {\n \"ticker\": \"TSIA\",\n \"activation_params\": {\n \"client_conf\": {\n \"server_url\": \"https://sia-walletd.komodo.earth/\",\n \"password\": \"dummy\"\n }\n }\n }\n}\n",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "plain",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "48"
+ },
+ {
+ "key": "date",
+ "value": "Fri, 01 Nov 2024 03:49:58 GMT"
+ }
+ ],
+ "cookie": [],
+ "body": "{\"mmrpc\":\"2.0\",\"result\":{\"task_id\":0},\"id\":null}"
+ }
+ ]
},
{
"name": "Activate TSIA status",
@@ -5367,7 +5679,49 @@
]
}
},
- "response": []
+ "response": [
+ {
+ "name": "Activate TSIA status",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"userpass\": \"{{userpass}}\",\n \"mmrpc\": \"2.0\",\n \"method\": \"task::enable_sia::status\",\n \"params\": {\n \"task_id\": 0\n }\n}\n",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "plain",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "332"
+ },
+ {
+ "key": "date",
+ "value": "Fri, 01 Nov 2024 03:50:14 GMT"
+ }
+ ],
+ "cookie": [],
+ "body": "{\"mmrpc\":\"2.0\",\"result\":{\"status\":\"Ok\",\"details\":{\"ticker\":\"TSIA\",\"current_block\":22780,\"wallet_balance\":{\"wallet_type\":\"Iguana\",\"address\":\"addr:c67d77a585c13727dbba57cfc115995beb9b8737e9a8cb7bb0aa208744e646cdc0acc9c9fce2\",\"balance\":{\"spendable\":\"0.000000000000000000000000\",\"unspendable\":\"0.000000000000000000000000\"}}}},\"id\":null}"
+ }
+ ]
}
]
}
@@ -7562,6 +7916,131 @@
}
]
},
+ {
+ "name": "sign_raw_transaction",
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "exec": [
+ "// Strip JSON Comments\r",
+ "const rawData = pm.request.body.toString();\r",
+ "const strippedData = rawData.replace(/\\\\\"|\"(?:\\\\\"|[^\"])*\"|(\\/\\/.*|\\/\\*[\\s\\S]*?\\*\\/)/g, (m, g) => g ? \"\" : m)\r",
+ "\r",
+ "pm.request.body.update(strippedData);"
+ ],
+ "type": "text/javascript",
+ "packages": {}
+ }
+ }
+ ],
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "\r\n {\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"id\": 0,\r\n \"method\": \"sign_raw_transaction\",\r\n \"params\": {\r\n \"coin\": \"MATIC\",\r\n \"type\": \"ETH\",\r\n \"tx\": {\r\n \"to\": \"0x927DaFDDa16F1742BeFcBEAE6798090354B294A9\",\r\n \"value\": \"0.85\",\r\n \"gas_limit\": \"21000\",\r\n \"pay_for_gas\": {\r\n \"tx_type\": \"Eip1559\",\r\n \"max_fee_per_gas\": \"1234.567\",\r\n \"max_priority_fee_per_gas\": \"1.2\"\r\n }\r\n }\r\n }\r\n }"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "response": [
+ {
+ "name": "Success: ETH/EVM",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "\r\n {\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"id\": 0,\r\n \"method\": \"sign_raw_transaction\",\r\n \"params\": {\r\n \"coin\": \"MATIC\",\r\n \"type\": \"ETH\",\r\n \"tx\": {\r\n \"to\": \"0x927DaFDDa16F1742BeFcBEAE6798090354B294A9\",\r\n \"value\": \"0.85\",\r\n \"gas_limit\": \"21000\",\r\n \"pay_for_gas\": {\r\n \"tx_type\": \"Eip1559\",\r\n \"max_fee_per_gas\": \"1234.567\",\r\n \"max_priority_fee_per_gas\": \"1.2\"\r\n }\r\n }\r\n }\r\n }"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "plain",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "287"
+ },
+ {
+ "key": "date",
+ "value": "Mon, 04 Nov 2024 12:13:56 GMT"
+ }
+ ],
+ "cookie": [],
+ "body": "{\"mmrpc\":\"2.0\",\"result\":{\"tx_hex\":\"02f8768189808447868c0086011f71ed6fc08302100094927dafdda16f1742befcbeae6798090354b294a9880bcbce7f1b15000080c001a0cd160bbf4aac7a9f1ac819305c58ac778afbb4df82fdb3f9ad3f7127b680c89aa07437537646a7e99a4a1e05854e0db699372a3ff4980d152fa950afeec4d3636c\"},\"id\":0}"
+ },
+ {
+ "name": "Error: SigningError",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "\r\n {\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"sign_raw_transaction\",\r\n \"params\": {\r\n \"coin\": \"KMD\",\r\n \"type\": \"UTXO\",\r\n \"tx\": {\r\n \"tx_hex\": \"0400008085202f8901c8d6d8764e51bbadc0592b99f37b3b7d8c9719686d5a9bf63652a0802a1cd0360200000000feffffff0100dd96d8080000001976a914d346067e3c3c3964c395fee208594790e29ede5d88ac46366665000000000000000000000000000000\"\r\n }\r\n },\r\n \"id\": 0\r\n }"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "plain",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "785"
+ },
+ {
+ "key": "date",
+ "value": "Mon, 04 Nov 2024 12:15:55 GMT"
+ }
+ ],
+ "cookie": [],
+ "body": "{\"mmrpc\":\"2.0\",\"error\":\"Signing error: with_key_pair:114] P2PKH script 'OP_DUP\\nOP_HASH160\\nOP_PUSHBYTES_20 0xd64ad24e655ba7221ea51c7931aad5b98da77f3c\\nOP_EQUALVERIFY\\nOP_CHECKSIG\\n' built from input key pair doesn't match expected prev script 'OP_DUP\\nOP_HASH160\\nOP_PUSHBYTES_20 0xd346067e3c3c3964c395fee208594790e29ede5d\\nOP_EQUALVERIFY\\nOP_CHECKSIG\\n'\",\"error_path\":\"utxo_common\",\"error_trace\":\"utxo_common:2835]\",\"error_type\":\"SigningError\",\"error_data\":\"with_key_pair:114] P2PKH script 'OP_DUP\\nOP_HASH160\\nOP_PUSHBYTES_20 0xd64ad24e655ba7221ea51c7931aad5b98da77f3c\\nOP_EQUALVERIFY\\nOP_CHECKSIG\\n' built from input key pair doesn't match expected prev script 'OP_DUP\\nOP_HASH160\\nOP_PUSHBYTES_20 0xd346067e3c3c3964c395fee208594790e29ede5d\\nOP_EQUALVERIFY\\nOP_CHECKSIG\\n'\",\"id\":0}"
+ }
+ ]
+ },
{
"name": "verify_message",
"event": [
@@ -7767,54 +8246,53 @@
]
}
},
- "response": []
- }
- ]
- },
- {
- "name": "Orders",
- "item": [
- {
- "name": "best_orders",
- "event": [
+ "response": [
{
- "listen": "prerequest",
- "script": {
- "exec": [
- "// Strip JSON Comments\r",
- "const rawData = pm.request.body.toString();\r",
- "const strippedData = rawData.replace(/\\\\\"|\"(?:\\\\\"|[^\"])*\"|(\\/\\/.*|\\/\\*[\\s\\S]*?\\*\\/)/g, (m, g) => g ? \"\" : m)\r",
- "\r",
- "pm.request.body.update(strippedData);"
+ "name": "get_wallet_names",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
],
- "type": "text/javascript"
- }
- }
- ],
- "request": {
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"best_orders\",\r\n \"params\": {\r\n \"coin\": \"DOC\",\r\n \"exclude_mine\": true, // Accepted values: \"true\", \"false\". Defaults to false.,\r\n \"action\": \"buy\", // Accepted values: \"buy\", \"sell\"\r\n \"request_by\": {\r\n \"type\": \"volume\", // Accepted values: \"volume\", \"number\"\r\n \"value\": 1.1 // Accepted values: Decimals if \"type\": \"volume\", Unsigned Integers if \"type\": \"number\"\r\n }\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}"
- },
- "url": {
- "raw": "{{address}}",
- "host": [
- "{{address}}"
- ]
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_wallet_names\"\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "plain",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "128"
+ },
+ {
+ "key": "date",
+ "value": "Sun, 03 Nov 2024 09:28:27 GMT"
+ }
+ ],
+ "cookie": [],
+ "body": "{\"mmrpc\":\"2.0\",\"result\":{\"wallet_names\":[\"Gringotts Retirement Fund\"],\"activated_wallet\":\"Gringotts Retirement Fund\"},\"id\":null}"
}
- },
- "response": []
+ ]
},
{
- "name": "orderbook",
+ "name": "get_mnemonic",
"event": [
{
"listen": "prerequest",
@@ -7826,7 +8304,8 @@
"\r",
"pm.request.body.update(strippedData);"
],
- "type": "text/javascript"
+ "type": "text/javascript",
+ "packages": {}
}
}
],
@@ -7841,7 +8320,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"orderbook\",\r\n \"params\": {\r\n \"base\": \"DOC\",\r\n \"rel\": \"MARTY\"\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}"
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_mnemonic\",\r\n \"params\": {\r\n \"format\": \"plaintext\" // `plaintext` or `encrypted`. If `plaintext`, `password` is required ,\r\n // \"password\": \"password123\" // The password used to encrypt the passphrase when the wallet was created\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
},
"url": {
"raw": "{{address}}",
@@ -7850,10 +8329,212 @@
]
}
},
- "response": []
- },
+ "response": [
+ {
+ "name": "get_mnemonic (encrypted)",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_mnemonic\",\r\n \"params\": {\r\n \"format\": \"encrypted\" // `plaintext` or `encrypted`. If `plaintext`, `password` is required ,\r\n // \"password\": \"password123\" // The password used to encrypt the passphrase when the wallet was created\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "528"
+ },
+ {
+ "key": "date",
+ "value": "Sun, 03 Nov 2024 09:28:43 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"mmrpc\": \"2.0\",\n \"result\": {\n \"format\": \"encrypted\",\n \"encrypted_mnemonic_data\": {\n \"encryption_algorithm\": \"AES256CBC\",\n \"key_derivation_details\": {\n \"Argon2\": {\n \"params\": {\n \"algorithm\": \"Argon2id\",\n \"version\": \"0x13\",\n \"m_cost\": 65536,\n \"t_cost\": 2,\n \"p_cost\": 1\n },\n \"salt_aes\": \"CqkfcntVxFJNXqOKPHaG8w\",\n \"salt_hmac\": \"i63qgwjc+3oWMuHWC2XSJA\"\n }\n },\n \"iv\": \"mNjmbZLJqgLzulKFBDBuPA==\",\n \"ciphertext\": \"tP2vF0hRhllW00pGvYiKysBI0vl3acLj+aoocBViTTByXCpjpkLuaMWqe0Vs02cb1wvgPsVqZkE4MPg4sCQxbd18iS7Er6+BbVY3HQ2LSig=\",\n \"tag\": \"TwWXhIFQl1TSdR4cJpbkK2oNXd9zIEhJmO6pML1uc2E=\"\n }\n },\n \"id\": null\n}"
+ },
+ {
+ "name": "get_wallet_names Copy",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_mnemonic\",\r\n \"params\": {\r\n \"format\": \"plaintext\" // `plaintext` or `encrypted`. If `plaintext`, `password` is required ,\r\n // \"password\": \"password123\" // The password used to encrypt the passphrase when the wallet was created\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "211"
+ },
+ {
+ "key": "date",
+ "value": "Sun, 03 Nov 2024 09:31:03 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"mmrpc\": \"2.0\",\n \"error\": \"Error parsing request: missing field `password`\",\n \"error_path\": \"dispatcher\",\n \"error_trace\": \"dispatcher:112]\",\n \"error_type\": \"InvalidRequest\",\n \"error_data\": \"missing field `password`\",\n \"id\": null\n}"
+ },
+ {
+ "name": "Error: Wrong password",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_mnemonic\",\r\n \"params\": {\r\n \"format\": \"plaintext\", // `plaintext` or `encrypted`. If `plaintext`, `password` is required ,\r\n \"password\": \"password123\" // The password used to encrypt the passphrase when the wallet was created\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "392"
+ },
+ {
+ "key": "date",
+ "value": "Sun, 03 Nov 2024 09:31:46 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"mmrpc\": \"2.0\",\n \"error\": \"Wallets storage error: Error decrypting passphrase: Error decrypting mnemonic: HMAC error: MAC tag mismatch\",\n \"error_path\": \"lp_wallet.mnemonic.decrypt\",\n \"error_trace\": \"lp_wallet:494] lp_wallet:141] mnemonic:125] decrypt:56]\",\n \"error_type\": \"WalletsStorageError\",\n \"error_data\": \"Error decrypting passphrase: Error decrypting mnemonic: HMAC error: MAC tag mismatch\",\n \"id\": null\n}"
+ },
+ {
+ "name": "get_mnemonic (plaintext)",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_mnemonic\",\r\n \"params\": {\r\n \"format\": \"plaintext\", // `plaintext` or `encrypted`. If `plaintext`, `password` is required ,\r\n \"password\": \"test\" // The password used to encrypt the passphrase when the wallet was created\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "139"
+ },
+ {
+ "key": "date",
+ "value": "Sun, 03 Nov 2024 09:32:26 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"mmrpc\": \"2.0\",\n \"result\": {\n \"format\": \"plaintext\",\n \"mnemonic\": \"unique spy ugly child cup sad capital invest essay lunch doctor know\"\n },\n \"id\": null\n}"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Orders",
+ "item": [
{
- "name": "start_simple_market_maker_bot",
+ "name": "best_orders",
"event": [
{
"listen": "prerequest",
@@ -7880,7 +8561,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"start_simple_market_maker_bot\",\r\n \"params\": {\r\n \"cfg\": {\r\n \"DOC/MARTY\": {\r\n \"base\": \"DOC\",\r\n \"rel\": \"MARTY\",\r\n \"spread\": \"1.025\",\r\n \"enable\": true\r\n // \"min_volume\": null,\r\n // // \"min_volume\": {\r\n // // \"percentage\": \"0.25\"\r\n // // },\r\n // // \"min_volume\": {\r\n // // \"usd\": \"1\"\r\n // // },\r\n // \"max_volume\": null,\r\n // // \"max_volume\": {\r\n // // \"percentage\": \"0.25\"\r\n // // },\r\n // // \"max_volume\": {\r\n // // \"usd\": \"1\"\r\n // // },\r\n // \"max\": false,\r\n // \"base_confs\": 1, // Default: Coin Config\r\n // \"base_nota\": false, // Default: Coin Config\r\n // \"rel_confs\": 1, // Default: Coin Config\r\n // \"rel_nota\": false, // Default: Coin Config\r\n // \"price_elapsed_validity\": 300.0,\r\n // \"check_last_bidirectional_trade_thresh_hold\": false,\r\n // \"min_base_price\": null, // Accepted values: Decimals\r\n // \"min_rel_price\": null, // Accepted values: Decimals\r\n // \"min_pair_price\": null // Accepted values: Decimals\r\n },\r\n \"KMD-BEP20/BUSD-BEP20\": {\r\n \"base\": \"KMD-BEP20\",\r\n \"rel\": \"BUSD-BEP20\",\r\n \"spread\": \"1.025\",\r\n \"enable\": true\r\n // \"min_volume\": null,\r\n // // \"min_volume\": {\r\n // // \"percentage\": \"0.25\"\r\n // // },\r\n // // \"min_volume\": {\r\n // // \"usd\": \"1\"\r\n // // },\r\n // \"max_volume\": null,\r\n // // \"max_volume\": {\r\n // // \"percentage\": \"0.25\"\r\n // // },\r\n // // \"max_volume\": {\r\n // // \"usd\": \"1\"\r\n // // },\r\n // \"max\": false,\r\n // \"base_confs\": 1, // Default: Coin Config\r\n // \"base_nota\": false, // Default: Coin Config\r\n // \"rel_confs\": 1, // Default: Coin Config\r\n // \"rel_nota\": false, // Default: Coin Config\r\n // \"price_elapsed_validity\": 300.0,\r\n // \"check_last_bidirectional_trade_thresh_hold\": false,\r\n // \"min_base_price\": null, // Accepted values: Decimals\r\n // \"min_rel_price\": null, // Accepted values: Decimals\r\n // \"min_pair_price\": null // Accepted values: Decimals\r\n }\r\n }\r\n // \"price_url\": \"https://prices.komodo.earth/api/v2/tickers\",\r\n // \"bot_refresh_rate\": 30.0\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}"
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"best_orders\",\r\n \"params\": {\r\n \"coin\": \"DOC\",\r\n \"exclude_mine\": true, // Accepted values: \"true\", \"false\". Defaults to false.,\r\n \"action\": \"buy\", // Accepted values: \"buy\", \"sell\"\r\n \"request_by\": {\r\n \"type\": \"volume\", // Accepted values: \"volume\", \"number\"\r\n \"value\": 1.1 // Accepted values: Decimals if \"type\": \"volume\", Unsigned Integers if \"type\": \"number\"\r\n }\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}"
},
"url": {
"raw": "{{address}}",
@@ -7892,7 +8573,7 @@
"response": []
},
{
- "name": "stop_simple_market_maker_bot",
+ "name": "orderbook",
"event": [
{
"listen": "prerequest",
@@ -7919,7 +8600,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"stop_simple_market_maker_bot\"\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"orderbook\",\r\n \"params\": {\r\n \"base\": \"DOC\",\r\n \"rel\": \"MARTY\"\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}"
},
"url": {
"raw": "{{address}}",
@@ -7931,7 +8612,7 @@
"response": []
},
{
- "name": "trade_preimage",
+ "name": "start_simple_market_maker_bot",
"event": [
{
"listen": "prerequest",
@@ -7958,7 +8639,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"trade_preimage\",\r\n \"params\": {\r\n \"base\": \"DOC\",\r\n \"rel\": \"MARTY\",\r\n \"swap_method\": \"setprice\", // Accepted values: \"setprice\", \"buy\", \"sell\"\r\n \"price\": 1.01,\r\n \"volume\": 1.05 // used only if: \"max\": false\r\n // \"max\": false\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}"
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"start_simple_market_maker_bot\",\r\n \"params\": {\r\n \"cfg\": {\r\n \"DOC/MARTY\": {\r\n \"base\": \"DOC\",\r\n \"rel\": \"MARTY\",\r\n \"spread\": \"1.025\",\r\n \"enable\": true\r\n // \"min_volume\": null,\r\n // // \"min_volume\": {\r\n // // \"percentage\": \"0.25\"\r\n // // },\r\n // // \"min_volume\": {\r\n // // \"usd\": \"1\"\r\n // // },\r\n // \"max_volume\": null,\r\n // // \"max_volume\": {\r\n // // \"percentage\": \"0.25\"\r\n // // },\r\n // // \"max_volume\": {\r\n // // \"usd\": \"1\"\r\n // // },\r\n // \"max\": false,\r\n // \"base_confs\": 1, // Default: Coin Config\r\n // \"base_nota\": false, // Default: Coin Config\r\n // \"rel_confs\": 1, // Default: Coin Config\r\n // \"rel_nota\": false, // Default: Coin Config\r\n // \"price_elapsed_validity\": 300.0,\r\n // \"check_last_bidirectional_trade_thresh_hold\": false,\r\n // \"min_base_price\": null, // Accepted values: Decimals\r\n // \"min_rel_price\": null, // Accepted values: Decimals\r\n // \"min_pair_price\": null // Accepted values: Decimals\r\n },\r\n \"KMD-BEP20/BUSD-BEP20\": {\r\n \"base\": \"KMD-BEP20\",\r\n \"rel\": \"BUSD-BEP20\",\r\n \"spread\": \"1.025\",\r\n \"enable\": true\r\n // \"min_volume\": null,\r\n // // \"min_volume\": {\r\n // // \"percentage\": \"0.25\"\r\n // // },\r\n // // \"min_volume\": {\r\n // // \"usd\": \"1\"\r\n // // },\r\n // \"max_volume\": null,\r\n // // \"max_volume\": {\r\n // // \"percentage\": \"0.25\"\r\n // // },\r\n // // \"max_volume\": {\r\n // // \"usd\": \"1\"\r\n // // },\r\n // \"max\": false,\r\n // \"base_confs\": 1, // Default: Coin Config\r\n // \"base_nota\": false, // Default: Coin Config\r\n // \"rel_confs\": 1, // Default: Coin Config\r\n // \"rel_nota\": false, // Default: Coin Config\r\n // \"price_elapsed_validity\": 300.0,\r\n // \"check_last_bidirectional_trade_thresh_hold\": false,\r\n // \"min_base_price\": null, // Accepted values: Decimals\r\n // \"min_rel_price\": null, // Accepted values: Decimals\r\n // \"min_pair_price\": null // Accepted values: Decimals\r\n }\r\n }\r\n // \"price_url\": \"https://prices.komodo.earth/api/v2/tickers\",\r\n // \"bot_refresh_rate\": 30.0\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}"
},
"url": {
"raw": "{{address}}",
@@ -7968,14 +8649,9 @@
}
},
"response": []
- }
- ]
- },
- {
- "name": "Swaps",
- "item": [
+ },
{
- "name": "recreate_swap_data",
+ "name": "stop_simple_market_maker_bot",
"event": [
{
"listen": "prerequest",
@@ -8002,7 +8678,90 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"recreate_swap_data\",\r\n \"params\": {\r\n \"swap\": {\r\n \"uuid\": \"07ce08bf-3db9-4dd8-a671-854affc1b7a3\",\r\n \"events\": [\r\n {\r\n \"event\": {\r\n \"data\": {\r\n \"lock_duration\": 7800,\r\n \"maker\": \"631dcf1d4b1b693aa8c2751afc68e4794b1e5996566cfc701a663f8b7bbbe640\",\r\n \"maker_amount\": \"3\",\r\n \"maker_coin\": \"BEER\",\r\n \"maker_coin_start_block\": 156186,\r\n \"maker_payment_confirmations\": 0,\r\n \"maker_payment_wait\": 1568883784,\r\n \"my_persistent_pub\": \"02031d4256c4bc9f99ac88bf3dba21773132281f65f9bf23a59928bce08961e2f3\",\r\n \"started_at\": 1568881184,\r\n \"taker_amount\": \"4\",\r\n \"taker_coin\": \"ETOMIC\",\r\n \"taker_coin_start_block\": 175041,\r\n \"taker_payment_confirmations\": 1,\r\n \"taker_payment_lock\": 1568888984,\r\n \"uuid\": \"07ce08bf-3db9-4dd8-a671-854affc1b7a3\"\r\n },\r\n \"type\": \"Started\"\r\n },\r\n \"timestamp\": 1568881185316\r\n },\r\n {\r\n \"event\": {\r\n \"data\": {\r\n \"maker_payment_locktime\": 1568896784,\r\n \"maker_pubkey\": \"02631dcf1d4b1b693aa8c2751afc68e4794b1e5996566cfc701a663f8b7bbbe640\",\r\n \"secret_hash\": \"eba736c5cc9bb33dee15b4a9c855a7831a484d84\"\r\n },\r\n \"type\": \"Negotiated\"\r\n },\r\n \"timestamp\": 1568881246025\r\n },\r\n {\r\n \"event\": {\r\n \"data\": {\r\n \"tx_hash\": \"0c07be4dda88d8d75374496aa0f27e12f55363ce8d558cb5feecc828545e5f87\",\r\n \"tx_hex\": \"0400008085202f890146b98696761d5e8667ffd665b73e13a8400baab4b22230a7ede0e4708597ee9c000000006a473044022077acb70e5940dfe789faa77e72b34f098abbf0974ea94a0380db157e243965230220614ec4966db0a122b0e7c23aa0707459b3b4f8241bb630c635cf6e943e96362e012102031d4256c4bc9f99ac88bf3dba21773132281f65f9bf23a59928bce08961e2f3ffffffff02f0da0700000000001976a914ca1e04745e8ca0c60d8c5881531d51bec470743f88ac68630700000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac5e3a835d000000000000000000000000000000\"\r\n },\r\n \"type\": \"TakerFeeSent\"\r\n },\r\n \"timestamp\": 1568881250689\r\n },\r\n {\r\n \"event\": {\r\n \"data\": {\r\n \"tx_hash\": \"31d97b3359bdbdfbd241e7706c90691e4d7c0b7abd27f2b22121be7f71c5fd06\",\r\n \"tx_hex\": \"0400008085202f8901b4679094d4bf74f52c9004107cb9641a658213d5e9950e42a8805824e801ffc7010000006b483045022100b2e49f8bdc5a4b6c404e10150872dbec89a46deb13a837d3251c0299fe1066ca022012cbe6663106f92aefce88238b25b53aadd3522df8290ced869c3cc23559cc23012102631dcf1d4b1b693aa8c2751afc68e4794b1e5996566cfc701a663f8b7bbbe640ffffffff0200a3e1110000000017a91476e1998b0cd18da5f128e5bb695c36fbe6d957e98764c987c9bf0000001976a91464ae8510aac9546d5e7704e31ce177451386455588ac753a835d000000000000000000000000000000\"\r\n },\r\n \"type\": \"MakerPaymentReceived\"\r\n },\r\n \"timestamp\": 1568881291571\r\n },\r\n {\r\n \"event\": {\r\n \"type\": \"MakerPaymentWaitConfirmStarted\"\r\n },\r\n \"timestamp\": 1568881291571\r\n },\r\n {\r\n \"event\": {\r\n \"type\": \"MakerPaymentValidatedAndConfirmed\"\r\n },\r\n \"timestamp\": 1568881291985\r\n },\r\n {\r\n \"event\": {\r\n \"data\": {\r\n \"tx_hash\": \"95926ab204049edeadb370c17a1168d9d79ee5747d8d832f73cfddf1c74f3961\",\r\n \"tx_hex\": \"0400008085202f8902875f5e5428c8ecfeb58c558dce6353f5127ef2a06a497453d7d888da4dbe070c010000006a4730440220416059356dc6dde0ddbee206e456698d7e54c3afa92132ecbf332e8c937e5383022068a41d9c208e8812204d4b0d21749b2684d0eea513467295e359e03c5132e719012102031d4256c4bc9f99ac88bf3dba21773132281f65f9bf23a59928bce08961e2f3ffffffff46b98696761d5e8667ffd665b73e13a8400baab4b22230a7ede0e4708597ee9c010000006b483045022100a990c798d0f96fd5ff7029fd5318f3c742837400d9f09a002e7f5bb1aeaf4e5a0220517dbc16713411e5c99bb0172f295a54c97aaf4d64de145eb3c5fa0fc38b67ff012102031d4256c4bc9f99ac88bf3dba21773132281f65f9bf23a59928bce08961e2f3ffffffff020084d7170000000017a9144d57b4930e6c86493034f17aa05464773625de1c877bd0de03010000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac8c3a835d000000000000000000000000000000\"\r\n },\r\n \"type\": \"TakerPaymentSent\"\r\n },\r\n \"timestamp\": 1568881296904\r\n },\r\n {\r\n \"event\": {\r\n \"data\": {\r\n \"secret\": \"fb968d5460399f20ffd09906dc8f65c21fbb5cb8077a8e6d7126d0526586ca96\",\r\n \"transaction\": {\r\n \"tx_hash\": \"68f5ec617bd9a4a24d7af0ce9762d87f7baadc13a66739fd4a2575630ecc1827\",\r\n \"tx_hex\": \"0400008085202f890161394fc7f1ddcf732f838d7d74e59ed7d968117ac170b3adde9e0404b26a929500000000d8483045022100a33d976cf509d6f9e66c297db30c0f44cced2241ee9c01c5ec8d3cbbf3d41172022039a6e02c3a3c85e3861ab1d2f13ba52677a3b1344483b2ae443723ba5bb1353f0120fb968d5460399f20ffd09906dc8f65c21fbb5cb8077a8e6d7126d0526586ca96004c6b63049858835db1752102031d4256c4bc9f99ac88bf3dba21773132281f65f9bf23a59928bce08961e2f3ac6782012088a914eba736c5cc9bb33dee15b4a9c855a7831a484d84882102631dcf1d4b1b693aa8c2751afc68e4794b1e5996566cfc701a663f8b7bbbe640ac68ffffffff011880d717000000001976a91464ae8510aac9546d5e7704e31ce177451386455588ac942c835d000000000000000000000000000000\"\r\n }\r\n },\r\n \"type\": \"TakerPaymentSpent\"\r\n },\r\n \"timestamp\": 1568881328643\r\n },\r\n {\r\n \"event\": {\r\n \"data\": {\r\n \"error\": \"taker_swap:798] utxo:950] utxo:950] error\"\r\n },\r\n \"type\": \"MakerPaymentSpendFailed\"\r\n },\r\n \"timestamp\": 1568881328645\r\n },\r\n {\r\n \"event\": {\r\n \"type\": \"Finished\"\r\n },\r\n \"timestamp\": 1568881328648\r\n }\r\n ],\r\n \"error_events\": [\r\n \"StartFailed\",\r\n \"NegotiateFailed\",\r\n \"TakerFeeSendFailed\",\r\n \"MakerPaymentValidateFailed\",\r\n \"TakerPaymentTransactionFailed\",\r\n \"TakerPaymentDataSendFailed\",\r\n \"TakerPaymentWaitForSpendFailed\",\r\n \"MakerPaymentSpendFailed\",\r\n \"TakerPaymentRefunded\",\r\n \"TakerPaymentRefundFailed\"\r\n ],\r\n \"success_events\": [\r\n \"Started\",\r\n \"Negotiated\",\r\n \"TakerFeeSent\",\r\n \"MakerPaymentReceived\",\r\n \"MakerPaymentWaitConfirmStarted\",\r\n \"MakerPaymentValidatedAndConfirmed\",\r\n \"TakerPaymentSent\",\r\n \"TakerPaymentSpent\",\r\n \"MakerPaymentSpent\",\r\n \"Finished\"\r\n ]\r\n // \"type\": , // Accepted values: \"Maker\", \"Taker\"\r\n // \"my_order_uuid\": null, // Accepted values: Strings\r\n // \"taker_amount\": null, // Accepted values: Decimals\r\n // \"taker_coin\": null, // Accepted values: Strings\r\n // \"taker_coin_usd_price\": null, // Accepted values: Decimals\r\n // \"maker_amount\": null, // Accepted values: Decimals\r\n // \"maker_coin\": null, // Accepted values: Strings\r\n // \"maker_coin_usd_price\": null, // Accepted values: Decimals\r\n // \"gui\": null, // Accepted values: Strings\r\n // \"mm_version\": null // Accepted values: Strings\r\n }\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}"
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"stop_simple_market_maker_bot\"\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "trade_preimage",
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "exec": [
+ "// Strip JSON Comments\r",
+ "const rawData = pm.request.body.toString();\r",
+ "const strippedData = rawData.replace(/\\\\\"|\"(?:\\\\\"|[^\"])*\"|(\\/\\/.*|\\/\\*[\\s\\S]*?\\*\\/)/g, (m, g) => g ? \"\" : m)\r",
+ "\r",
+ "pm.request.body.update(strippedData);"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"trade_preimage\",\r\n \"params\": {\r\n \"base\": \"DOC\",\r\n \"rel\": \"MARTY\",\r\n \"swap_method\": \"setprice\", // Accepted values: \"setprice\", \"buy\", \"sell\"\r\n \"price\": 1.01,\r\n \"volume\": 1.05 // used only if: \"max\": false\r\n // \"max\": false\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "name": "Swaps",
+ "item": [
+ {
+ "name": "recreate_swap_data",
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "exec": [
+ "// Strip JSON Comments\r",
+ "const rawData = pm.request.body.toString();\r",
+ "const strippedData = rawData.replace(/\\\\\"|\"(?:\\\\\"|[^\"])*\"|(\\/\\/.*|\\/\\*[\\s\\S]*?\\*\\/)/g, (m, g) => g ? \"\" : m)\r",
+ "\r",
+ "pm.request.body.update(strippedData);"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"recreate_swap_data\",\r\n \"params\": {\r\n \"swap\": {\r\n \"uuid\": \"07ce08bf-3db9-4dd8-a671-854affc1b7a3\",\r\n \"events\": [\r\n {\r\n \"event\": {\r\n \"data\": {\r\n \"lock_duration\": 7800,\r\n \"maker\": \"631dcf1d4b1b693aa8c2751afc68e4794b1e5996566cfc701a663f8b7bbbe640\",\r\n \"maker_amount\": \"3\",\r\n \"maker_coin\": \"BEER\",\r\n \"maker_coin_start_block\": 156186,\r\n \"maker_payment_confirmations\": 0,\r\n \"maker_payment_wait\": 1568883784,\r\n \"my_persistent_pub\": \"02031d4256c4bc9f99ac88bf3dba21773132281f65f9bf23a59928bce08961e2f3\",\r\n \"started_at\": 1568881184,\r\n \"taker_amount\": \"4\",\r\n \"taker_coin\": \"ETOMIC\",\r\n \"taker_coin_start_block\": 175041,\r\n \"taker_payment_confirmations\": 1,\r\n \"taker_payment_lock\": 1568888984,\r\n \"uuid\": \"07ce08bf-3db9-4dd8-a671-854affc1b7a3\"\r\n },\r\n \"type\": \"Started\"\r\n },\r\n \"timestamp\": 1568881185316\r\n },\r\n {\r\n \"event\": {\r\n \"data\": {\r\n \"maker_payment_locktime\": 1568896784,\r\n \"maker_pubkey\": \"02631dcf1d4b1b693aa8c2751afc68e4794b1e5996566cfc701a663f8b7bbbe640\",\r\n \"secret_hash\": \"eba736c5cc9bb33dee15b4a9c855a7831a484d84\"\r\n },\r\n \"type\": \"Negotiated\"\r\n },\r\n \"timestamp\": 1568881246025\r\n },\r\n {\r\n \"event\": {\r\n \"data\": {\r\n \"tx_hash\": \"0c07be4dda88d8d75374496aa0f27e12f55363ce8d558cb5feecc828545e5f87\",\r\n \"tx_hex\": \"0400008085202f890146b98696761d5e8667ffd665b73e13a8400baab4b22230a7ede0e4708597ee9c000000006a473044022077acb70e5940dfe789faa77e72b34f098abbf0974ea94a0380db157e243965230220614ec4966db0a122b0e7c23aa0707459b3b4f8241bb630c635cf6e943e96362e012102031d4256c4bc9f99ac88bf3dba21773132281f65f9bf23a59928bce08961e2f3ffffffff02f0da0700000000001976a914ca1e04745e8ca0c60d8c5881531d51bec470743f88ac68630700000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac5e3a835d000000000000000000000000000000\"\r\n },\r\n \"type\": \"TakerFeeSent\"\r\n },\r\n \"timestamp\": 1568881250689\r\n },\r\n {\r\n \"event\": {\r\n \"data\": {\r\n \"tx_hash\": \"31d97b3359bdbdfbd241e7706c90691e4d7c0b7abd27f2b22121be7f71c5fd06\",\r\n \"tx_hex\": \"0400008085202f8901b4679094d4bf74f52c9004107cb9641a658213d5e9950e42a8805824e801ffc7010000006b483045022100b2e49f8bdc5a4b6c404e10150872dbec89a46deb13a837d3251c0299fe1066ca022012cbe6663106f92aefce88238b25b53aadd3522df8290ced869c3cc23559cc23012102631dcf1d4b1b693aa8c2751afc68e4794b1e5996566cfc701a663f8b7bbbe640ffffffff0200a3e1110000000017a91476e1998b0cd18da5f128e5bb695c36fbe6d957e98764c987c9bf0000001976a91464ae8510aac9546d5e7704e31ce177451386455588ac753a835d000000000000000000000000000000\"\r\n },\r\n \"type\": \"MakerPaymentReceived\"\r\n },\r\n \"timestamp\": 1568881291571\r\n },\r\n {\r\n \"event\": {\r\n \"type\": \"MakerPaymentWaitConfirmStarted\"\r\n },\r\n \"timestamp\": 1568881291571\r\n },\r\n {\r\n \"event\": {\r\n \"type\": \"MakerPaymentValidatedAndConfirmed\"\r\n },\r\n \"timestamp\": 1568881291985\r\n },\r\n {\r\n \"event\": {\r\n \"data\": {\r\n \"tx_hash\": \"95926ab204049edeadb370c17a1168d9d79ee5747d8d832f73cfddf1c74f3961\",\r\n \"tx_hex\": \"0400008085202f8902875f5e5428c8ecfeb58c558dce6353f5127ef2a06a497453d7d888da4dbe070c010000006a4730440220416059356dc6dde0ddbee206e456698d7e54c3afa92132ecbf332e8c937e5383022068a41d9c208e8812204d4b0d21749b2684d0eea513467295e359e03c5132e719012102031d4256c4bc9f99ac88bf3dba21773132281f65f9bf23a59928bce08961e2f3ffffffff46b98696761d5e8667ffd665b73e13a8400baab4b22230a7ede0e4708597ee9c010000006b483045022100a990c798d0f96fd5ff7029fd5318f3c742837400d9f09a002e7f5bb1aeaf4e5a0220517dbc16713411e5c99bb0172f295a54c97aaf4d64de145eb3c5fa0fc38b67ff012102031d4256c4bc9f99ac88bf3dba21773132281f65f9bf23a59928bce08961e2f3ffffffff020084d7170000000017a9144d57b4930e6c86493034f17aa05464773625de1c877bd0de03010000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac8c3a835d000000000000000000000000000000\"\r\n },\r\n \"type\": \"TakerPaymentSent\"\r\n },\r\n \"timestamp\": 1568881296904\r\n },\r\n {\r\n \"event\": {\r\n \"data\": {\r\n \"secret\": \"fb968d5460399f20ffd09906dc8f65c21fbb5cb8077a8e6d7126d0526586ca96\",\r\n \"transaction\": {\r\n \"tx_hash\": \"68f5ec617bd9a4a24d7af0ce9762d87f7baadc13a66739fd4a2575630ecc1827\",\r\n \"tx_hex\": \"0400008085202f890161394fc7f1ddcf732f838d7d74e59ed7d968117ac170b3adde9e0404b26a929500000000d8483045022100a33d976cf509d6f9e66c297db30c0f44cced2241ee9c01c5ec8d3cbbf3d41172022039a6e02c3a3c85e3861ab1d2f13ba52677a3b1344483b2ae443723ba5bb1353f0120fb968d5460399f20ffd09906dc8f65c21fbb5cb8077a8e6d7126d0526586ca96004c6b63049858835db1752102031d4256c4bc9f99ac88bf3dba21773132281f65f9bf23a59928bce08961e2f3ac6782012088a914eba736c5cc9bb33dee15b4a9c855a7831a484d84882102631dcf1d4b1b693aa8c2751afc68e4794b1e5996566cfc701a663f8b7bbbe640ac68ffffffff011880d717000000001976a91464ae8510aac9546d5e7704e31ce177451386455588ac942c835d000000000000000000000000000000\"\r\n }\r\n },\r\n \"type\": \"TakerPaymentSpent\"\r\n },\r\n \"timestamp\": 1568881328643\r\n },\r\n {\r\n \"event\": {\r\n \"data\": {\r\n \"error\": \"taker_swap:798] utxo:950] utxo:950] error\"\r\n },\r\n \"type\": \"MakerPaymentSpendFailed\"\r\n },\r\n \"timestamp\": 1568881328645\r\n },\r\n {\r\n \"event\": {\r\n \"type\": \"Finished\"\r\n },\r\n \"timestamp\": 1568881328648\r\n }\r\n ],\r\n \"error_events\": [\r\n \"StartFailed\",\r\n \"NegotiateFailed\",\r\n \"TakerFeeSendFailed\",\r\n \"MakerPaymentValidateFailed\",\r\n \"TakerPaymentTransactionFailed\",\r\n \"TakerPaymentDataSendFailed\",\r\n \"TakerPaymentWaitForSpendFailed\",\r\n \"MakerPaymentSpendFailed\",\r\n \"TakerPaymentRefunded\",\r\n \"TakerPaymentRefundFailed\"\r\n ],\r\n \"success_events\": [\r\n \"Started\",\r\n \"Negotiated\",\r\n \"TakerFeeSent\",\r\n \"MakerPaymentReceived\",\r\n \"MakerPaymentWaitConfirmStarted\",\r\n \"MakerPaymentValidatedAndConfirmed\",\r\n \"TakerPaymentSent\",\r\n \"TakerPaymentSpent\",\r\n \"MakerPaymentSpent\",\r\n \"Finished\"\r\n ]\r\n // \"type\": , // Accepted values: \"Maker\", \"Taker\"\r\n // \"my_order_uuid\": null, // Accepted values: Strings\r\n // \"taker_amount\": null, // Accepted values: Decimals\r\n // \"taker_coin\": null, // Accepted values: Strings\r\n // \"taker_coin_usd_price\": null, // Accepted values: Decimals\r\n // \"maker_amount\": null, // Accepted values: Decimals\r\n // \"maker_coin\": null, // Accepted values: Strings\r\n // \"maker_coin_usd_price\": null, // Accepted values: Decimals\r\n // \"gui\": null, // Accepted values: Strings\r\n // \"mm_version\": null // Accepted values: Strings\r\n }\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}"
},
"url": {
"raw": "{{address}}",
@@ -8345,6 +9104,145 @@
"body": "{\n \"mmrpc\": \"2.0\",\n \"result\": {\n \"swaps\": [\n {\n \"swap_type\": \"TakerV1\",\n \"swap_data\": {\n \"uuid\": \"0a3859ba-0e28-49de-b015-641c050a6409\",\n \"my_order_uuid\": \"0a3859ba-0e28-49de-b015-641c050a6409\",\n \"events\": [\n {\n \"timestamp\": 1725849334423,\n \"event\": {\n \"type\": \"Started\",\n \"data\": {\n \"taker_coin\": \"MARTY\",\n \"maker_coin\": \"DOC\",\n \"maker\": \"15d9c51c657ab1be4ae9d3ab6e76a619d3bccfe830d5363fa168424c0d044732\",\n \"my_persistent_pub\": \"03d8064eece4fa5c0f8dc0267f68cee9bdd527f9e88f3594a323428718c391ecc2\",\n \"lock_duration\": 7800,\n \"maker_amount\": \"2.4\",\n \"taker_amount\": \"2.4\",\n \"maker_payment_confirmations\": 1,\n \"maker_payment_requires_nota\": false,\n \"taker_payment_confirmations\": 1,\n \"taker_payment_requires_nota\": false,\n \"taker_payment_lock\": 1725857133,\n \"uuid\": \"0a3859ba-0e28-49de-b015-641c050a6409\",\n \"started_at\": 1725849333,\n \"maker_payment_wait\": 1725852453,\n \"maker_coin_start_block\": 724378,\n \"taker_coin_start_block\": 738955,\n \"fee_to_send_taker_fee\": {\n \"coin\": \"MARTY\",\n \"amount\": \"0.00001\",\n \"paid_from_trading_vol\": false\n },\n \"taker_payment_trade_fee\": {\n \"coin\": \"MARTY\",\n \"amount\": \"0.00001\",\n \"paid_from_trading_vol\": false\n },\n \"maker_payment_spend_trade_fee\": {\n \"coin\": \"DOC\",\n \"amount\": \"0.00001\",\n \"paid_from_trading_vol\": true\n },\n \"maker_coin_htlc_pubkey\": \"03d8064eece4fa5c0f8dc0267f68cee9bdd527f9e88f3594a323428718c391ecc2\",\n \"taker_coin_htlc_pubkey\": \"03d8064eece4fa5c0f8dc0267f68cee9bdd527f9e88f3594a323428718c391ecc2\",\n \"p2p_privkey\": null\n }\n }\n },\n {\n \"timestamp\": 1725849338425,\n \"event\": {\n \"type\": \"Negotiated\",\n \"data\": {\n \"maker_payment_locktime\": 1725864931,\n \"maker_pubkey\": \"000000000000000000000000000000000000000000000000000000000000000000\",\n \"secret_hash\": \"91ddaac214398b0b728d652af8d86f2e06fbbb34\",\n \"maker_coin_swap_contract_addr\": null,\n \"taker_coin_swap_contract_addr\": null,\n \"maker_coin_htlc_pubkey\": \"0315d9c51c657ab1be4ae9d3ab6e76a619d3bccfe830d5363fa168424c0d044732\",\n \"taker_coin_htlc_pubkey\": \"0315d9c51c657ab1be4ae9d3ab6e76a619d3bccfe830d5363fa168424c0d044732\"\n }\n }\n },\n {\n \"timestamp\": 1725849339829,\n \"event\": {\n \"type\": \"TakerFeeSent\",\n \"data\": {\n \"tx_hex\": \"0400008085202f890101280d9a0703a25cdd553babd5430708f303fe3d446cd79555a53619c987d7b3000000006a47304402205805ecb3fad4c69e27061a35197c470e6a72a2b762269d3ef6b249c835396cd5022046b710dd5b6bdda75cc32a2cb9511ca51c754e4f2bcac8cd0f2757728a1671c6012103d8064eece4fa5c0f8dc0267f68cee9bdd527f9e88f3594a323428718c391ecc2ffffffff0290b60400000000001976a914ca1e04745e8ca0c60d8c5881531d51bec470743f88aca0e4dc11000000001976a914d346067e3c3c3964c395fee208594790e29ede5d88acfb5ede66000000000000000000000000000000\",\n \"tx_hash\": \"614d3b1ef3666799d71f54ea242f2cb839646be3bfc81d8f1cfce26747cb9892\"\n }\n }\n },\n {\n \"timestamp\": 1725849341830,\n \"event\": {\n \"type\": \"TakerPaymentInstructionsReceived\",\n \"data\": null\n }\n },\n {\n \"timestamp\": 1725849341831,\n \"event\": {\n \"type\": \"MakerPaymentReceived\",\n \"data\": {\n \"tx_hex\": \"0400008085202f8901175391f3922ffcf7dc8929b9795c2fec8d82ed1649e0f3926e04709993dc35a6020000006a4730440220363ea815a237b46c5dd305809fcc103793bb4f620325c12caccb0c88f320e81c02205df417a4b806f3c3d50aa058c4d6a30203868ba786f2a1bd3b3b12917b3882ff01210315d9c51c657ab1be4ae9d3ab6e76a619d3bccfe830d5363fa168424c0d044732ffffffff03001c4e0e0000000017a914944cf7300280e31374b3994422a252bce1fcbd10870000000000000000166a1491ddaac214398b0b728d652af8d86f2e06fbbb34083d6aff050000001976a9141462c3dd3f936d595c9af55978003b27c250441f88acfc5ede66000000000000000000000000000000\",\n \"tx_hash\": \"70f6078b9d3312f14dff45fc1e56e503b01d33e22cac8ebd195e4951d468dca6\"\n }\n }\n },\n {\n \"timestamp\": 1725849341832,\n \"event\": {\n \"type\": \"MakerPaymentWaitConfirmStarted\"\n }\n },\n {\n \"timestamp\": 1725849465809,\n \"event\": {\n \"type\": \"MakerPaymentValidatedAndConfirmed\"\n }\n },\n {\n \"timestamp\": 1725849469603,\n \"event\": {\n \"type\": \"TakerPaymentSent\",\n \"data\": {\n \"tx_hex\": \"0400008085202f89019298cb4767e2fc1c8f1dc8bfe36b6439b82c2f24ea541fd7996766f31e3b4d61010000006a4730440220526bd1e2114642b2624cb283bada8dbeb734d3fae9184f6833e0eca87b20fffe0220554a3b38ecde2b8a521b681f5ac3e3940e08f45cc35a2fc19eeaeae513368a6c012103d8064eece4fa5c0f8dc0267f68cee9bdd527f9e88f3594a323428718c391ecc2ffffffff03001c4e0e0000000017a9141036c1fcbdf2b3e2d8b65913c78ab7412422cf17870000000000000000166a1491ddaac214398b0b728d652af8d86f2e06fbbb34b8c48e03000000001976a914d346067e3c3c3964c395fee208594790e29ede5d88ac7a5fde66000000000000000000000000000000\",\n \"tx_hash\": \"ffe2fe025d470996c3057dc561bd79d0a09f2aa5a14b25fb8e444b49394e5ad8\"\n }\n }\n },\n {\n \"timestamp\": 1725849469604,\n \"event\": {\n \"type\": \"WatcherMessageSent\",\n \"data\": [\n [\n 4,\n 0,\n 0,\n 128,\n 133,\n 32,\n 47,\n 137,\n 1,\n 166,\n 220,\n 104,\n 212,\n 81,\n 73,\n 94,\n 25,\n 189,\n 142,\n 172,\n 44,\n 226,\n 51,\n 29,\n 176,\n 3,\n 229,\n 86,\n 30,\n 252,\n 69,\n 255,\n 77,\n 241,\n 18,\n 51,\n 157,\n 139,\n 7,\n 246,\n 112,\n 0,\n 0,\n 0,\n 0,\n 181,\n 71,\n 48,\n 68,\n 2,\n 32,\n 40,\n 110,\n 97,\n 180,\n 1,\n 177,\n 181,\n 123,\n 77,\n 223,\n 147,\n 41,\n 76,\n 88,\n 138,\n 70,\n 20,\n 231,\n 85,\n 84,\n 145,\n 104,\n 231,\n 60,\n 146,\n 36,\n 2,\n 236,\n 230,\n 82,\n 217,\n 131,\n 2,\n 32,\n 82,\n 28,\n 127,\n 29,\n 240,\n 203,\n 202,\n 207,\n 41,\n 245,\n 94,\n 58,\n 9,\n 242,\n 51,\n 42,\n 111,\n 255,\n 37,\n 131,\n 73,\n 23,\n 48,\n 125,\n 185,\n 16,\n 114,\n 218,\n 143,\n 121,\n 59,\n 3,\n 1,\n 76,\n 107,\n 99,\n 4,\n 227,\n 155,\n 222,\n 102,\n 177,\n 117,\n 33,\n 3,\n 21,\n 217,\n 197,\n 28,\n 101,\n 122,\n 177,\n 190,\n 74,\n 233,\n 211,\n 171,\n 110,\n 118,\n 166,\n 25,\n 211,\n 188,\n 207,\n 232,\n 48,\n 213,\n 54,\n 63,\n 161,\n 104,\n 66,\n 76,\n 13,\n 4,\n 71,\n 50,\n 172,\n 103,\n 130,\n 1,\n 32,\n 136,\n 169,\n 20,\n 145,\n 221,\n 170,\n 194,\n 20,\n 57,\n 139,\n 11,\n 114,\n 141,\n 101,\n 42,\n 248,\n 216,\n 111,\n 46,\n 6,\n 251,\n 187,\n 52,\n 136,\n 33,\n 3,\n 216,\n 6,\n 78,\n 236,\n 228,\n 250,\n 92,\n 15,\n 141,\n 192,\n 38,\n 127,\n 104,\n 206,\n 233,\n 189,\n 213,\n 39,\n 249,\n 232,\n 143,\n 53,\n 148,\n 163,\n 35,\n 66,\n 135,\n 24,\n 195,\n 145,\n 236,\n 194,\n 172,\n 104,\n 255,\n 255,\n 255,\n 255,\n 1,\n 24,\n 24,\n 78,\n 14,\n 0,\n 0,\n 0,\n 0,\n 25,\n 118,\n 169,\n 20,\n 211,\n 70,\n 6,\n 126,\n 60,\n 60,\n 57,\n 100,\n 195,\n 149,\n 254,\n 226,\n 8,\n 89,\n 71,\n 144,\n 226,\n 158,\n 222,\n 93,\n 136,\n 172,\n 227,\n 155,\n 222,\n 102,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0\n ],\n [\n 4,\n 0,\n 0,\n 128,\n 133,\n 32,\n 47,\n 137,\n 1,\n 216,\n 90,\n 78,\n 57,\n 73,\n 75,\n 68,\n 142,\n 251,\n 37,\n 75,\n 161,\n 165,\n 42,\n 159,\n 160,\n 208,\n 121,\n 189,\n 97,\n 197,\n 125,\n 5,\n 195,\n 150,\n 9,\n 71,\n 93,\n 2,\n 254,\n 226,\n 255,\n 0,\n 0,\n 0,\n 0,\n 182,\n 71,\n 48,\n 68,\n 2,\n 32,\n 12,\n 137,\n 103,\n 65,\n 18,\n 108,\n 213,\n 157,\n 224,\n 139,\n 187,\n 163,\n 116,\n 52,\n 231,\n 214,\n 185,\n 167,\n 227,\n 252,\n 3,\n 217,\n 92,\n 49,\n 170,\n 72,\n 112,\n 76,\n 45,\n 193,\n 15,\n 83,\n 2,\n 32,\n 28,\n 190,\n 47,\n 213,\n 129,\n 180,\n 189,\n 228,\n 165,\n 105,\n 157,\n 230,\n 180,\n 175,\n 68,\n 109,\n 152,\n 255,\n 38,\n 88,\n 66,\n 40,\n 253,\n 7,\n 79,\n 86,\n 118,\n 91,\n 107,\n 20,\n 242,\n 219,\n 1,\n 81,\n 76,\n 107,\n 99,\n 4,\n 109,\n 125,\n 222,\n 102,\n 177,\n 117,\n 33,\n 3,\n 216,\n 6,\n 78,\n 236,\n 228,\n 250,\n 92,\n 15,\n 141,\n 192,\n 38,\n 127,\n 104,\n 206,\n 233,\n 189,\n 213,\n 39,\n 249,\n 232,\n 143,\n 53,\n 148,\n 163,\n 35,\n 66,\n 135,\n 24,\n 195,\n 145,\n 236,\n 194,\n 172,\n 103,\n 130,\n 1,\n 32,\n 136,\n 169,\n 20,\n 145,\n 221,\n 170,\n 194,\n 20,\n 57,\n 139,\n 11,\n 114,\n 141,\n 101,\n 42,\n 248,\n 216,\n 111,\n 46,\n 6,\n 251,\n 187,\n 52,\n 136,\n 33,\n 3,\n 21,\n 217,\n 197,\n 28,\n 101,\n 122,\n 177,\n 190,\n 74,\n 233,\n 211,\n 171,\n 110,\n 118,\n 166,\n 25,\n 211,\n 188,\n 207,\n 232,\n 48,\n 213,\n 54,\n 63,\n 161,\n 104,\n 66,\n 76,\n 13,\n 4,\n 71,\n 50,\n 172,\n 104,\n 254,\n 255,\n 255,\n 255,\n 1,\n 24,\n 24,\n 78,\n 14,\n 0,\n 0,\n 0,\n 0,\n 25,\n 118,\n 169,\n 20,\n 211,\n 70,\n 6,\n 126,\n 60,\n 60,\n 57,\n 100,\n 195,\n 149,\n 254,\n 226,\n 8,\n 89,\n 71,\n 144,\n 226,\n 158,\n 222,\n 93,\n 136,\n 172,\n 109,\n 125,\n 222,\n 102,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0\n ]\n ]\n }\n },\n {\n \"timestamp\": 1725849486567,\n \"event\": {\n \"type\": \"TakerPaymentSpent\",\n \"data\": {\n \"transaction\": {\n \"tx_hex\": \"0400008085202f8901d85a4e39494b448efb254ba1a52a9fa0d079bd61c57d05c39609475d02fee2ff00000000d74730440220544c5a2eec1e3fb7a2c71e3b6bf3c612300a9c5375ca5c7131742f0afc8a6e8f02206df5b042ec1ff359bf7209269ce3b59d09f5f2340842d5e0a253875624bbce120120d178a7c8f88a2f6e496a36ff8d7220c2d48903b45a365b80d59fcfafbf694cb5004c6b63046d7dde66b1752103d8064eece4fa5c0f8dc0267f68cee9bdd527f9e88f3594a323428718c391ecc2ac6782012088a91491ddaac214398b0b728d652af8d86f2e06fbbb3488210315d9c51c657ab1be4ae9d3ab6e76a619d3bccfe830d5363fa168424c0d044732ac68ffffffff0118184e0e000000001976a9141462c3dd3f936d595c9af55978003b27c250441f88ac6d7dde66000000000000000000000000000000\",\n \"tx_hash\": \"58813eb1037e40425d56146c2f6bfbe70b8bcc18e45b752b51c726503ad4f8df\"\n },\n \"secret\": \"d178a7c8f88a2f6e496a36ff8d7220c2d48903b45a365b80d59fcfafbf694cb5\"\n }\n }\n },\n {\n \"timestamp\": 1725849488871,\n \"event\": {\n \"type\": \"MakerPaymentSpent\",\n \"data\": {\n \"tx_hex\": \"0400008085202f8901a6dc68d451495e19bd8eac2ce2331db003e5561efc45ff4df112339d8b07f67000000000d74730440220286e61b401b1b57b4ddf93294c588a4614e755549168e73c922402ece652d9830220521c7f1df0cbcacf29f55e3a09f2332a6fff25834917307db91072da8f793b030120d178a7c8f88a2f6e496a36ff8d7220c2d48903b45a365b80d59fcfafbf694cb5004c6b6304e39bde66b175210315d9c51c657ab1be4ae9d3ab6e76a619d3bccfe830d5363fa168424c0d044732ac6782012088a91491ddaac214398b0b728d652af8d86f2e06fbbb34882103d8064eece4fa5c0f8dc0267f68cee9bdd527f9e88f3594a323428718c391ecc2ac68ffffffff0118184e0e000000001976a914d346067e3c3c3964c395fee208594790e29ede5d88ace39bde66000000000000000000000000000000\",\n \"tx_hash\": \"60f83a68e5851ff93308758763ce30c643bd94ae89f4ae43fe7e02dc88d61642\"\n }\n }\n },\n {\n \"timestamp\": 1725849488872,\n \"event\": {\n \"type\": \"Finished\"\n }\n }\n ],\n \"maker_amount\": \"2.4\",\n \"maker_coin\": \"DOC\",\n \"maker_coin_usd_price\": \"0.0000001\",\n \"taker_amount\": \"2.4\",\n \"taker_coin\": \"MARTY\",\n \"taker_coin_usd_price\": \"0.00000005\",\n \"gui\": \"mm2_777\",\n \"mm_version\": \"2.2.0-beta_2bdee4f\",\n \"success_events\": [\n \"Started\",\n \"Negotiated\",\n \"TakerFeeSent\",\n \"TakerPaymentInstructionsReceived\",\n \"MakerPaymentReceived\",\n \"MakerPaymentWaitConfirmStarted\",\n \"MakerPaymentValidatedAndConfirmed\",\n \"TakerPaymentSent\",\n \"WatcherMessageSent\",\n \"TakerPaymentSpent\",\n \"MakerPaymentSpent\",\n \"MakerPaymentSpentByWatcher\",\n \"Finished\"\n ],\n \"error_events\": [\n \"StartFailed\",\n \"NegotiateFailed\",\n \"TakerFeeSendFailed\",\n \"MakerPaymentValidateFailed\",\n \"MakerPaymentWaitConfirmFailed\",\n \"TakerPaymentTransactionFailed\",\n \"TakerPaymentWaitConfirmFailed\",\n \"TakerPaymentDataSendFailed\",\n \"TakerPaymentWaitForSpendFailed\",\n \"MakerPaymentSpendFailed\",\n \"TakerPaymentWaitRefundStarted\",\n \"TakerPaymentRefundStarted\",\n \"TakerPaymentRefunded\",\n \"TakerPaymentRefundedByWatcher\",\n \"TakerPaymentRefundFailed\",\n \"TakerPaymentRefundFinished\"\n ]\n }\n }\n ],\n \"from_uuid\": null,\n \"skipped\": 0,\n \"limit\": 10,\n \"total\": 1,\n \"page_number\": 1,\n \"total_pages\": 1,\n \"found_records\": 1\n },\n \"id\": null\n}"
}
]
+ },
+ {
+ "name": "active_swaps",
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "exec": [
+ "// Strip JSON Comments\r",
+ "const rawData = pm.request.body.toString();\r",
+ "const strippedData = rawData.replace(/\\\\\"|\"(?:\\\\\"|[^\"])*\"|(\\/\\/.*|\\/\\*[\\s\\S]*?\\*\\/)/g, (m, g) => g ? \"\" : m)\r",
+ "\r",
+ "pm.request.body.update(strippedData);"
+ ],
+ "type": "text/javascript",
+ "packages": {}
+ }
+ }
+ ],
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "\r\n{\r\n \"mmrpc\": \"2.0\",\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"active_swaps\",\r\n \"params\": {}\r\n}"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "response": [
+ {
+ "name": "active_swaps (with status)",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "\r\n{\r\n \"mmrpc\": \"2.0\",\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"active_swaps\",\r\n \"params\": {\r\n \"include_status\": true\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "8155"
+ },
+ {
+ "key": "date",
+ "value": "Sun, 03 Nov 2024 11:37:32 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"mmrpc\": \"2.0\",\n \"result\": {\n \"uuids\": [\n \"7b60a494-f159-419c-8f41-02e10f897513\"\n ],\n \"statuses\": {\n \"7b60a494-f159-419c-8f41-02e10f897513\": {\n \"swap_type\": \"TakerV1\",\n \"swap_data\": {\n \"uuid\": \"7b60a494-f159-419c-8f41-02e10f897513\",\n \"my_order_uuid\": \"7b60a494-f159-419c-8f41-02e10f897513\",\n \"events\": [\n {\n \"timestamp\": 1730633787643,\n \"event\": {\n \"type\": \"Started\",\n \"data\": {\n \"taker_coin\": \"MARTY\",\n \"maker_coin\": \"DOC\",\n \"maker\": \"15d9c51c657ab1be4ae9d3ab6e76a619d3bccfe830d5363fa168424c0d044732\",\n \"my_persistent_pub\": \"034cbf74541c1d3436bc7638a2738f64df4fee22d4443cdf11d54cea7d7f55f256\",\n \"lock_duration\": 7800,\n \"maker_amount\": \"2.4\",\n \"taker_amount\": \"2.4\",\n \"maker_payment_confirmations\": 1,\n \"maker_payment_requires_nota\": false,\n \"taker_payment_confirmations\": 1,\n \"taker_payment_requires_nota\": false,\n \"taker_payment_lock\": 1730641586,\n \"uuid\": \"7b60a494-f159-419c-8f41-02e10f897513\",\n \"started_at\": 1730633786,\n \"maker_payment_wait\": 1730636906,\n \"maker_coin_start_block\": 803888,\n \"taker_coin_start_block\": 818500,\n \"fee_to_send_taker_fee\": {\n \"coin\": \"MARTY\",\n \"amount\": \"0.00001\",\n \"paid_from_trading_vol\": false\n },\n \"taker_payment_trade_fee\": {\n \"coin\": \"MARTY\",\n \"amount\": \"0.00001\",\n \"paid_from_trading_vol\": false\n },\n \"maker_payment_spend_trade_fee\": {\n \"coin\": \"DOC\",\n \"amount\": \"0.00001\",\n \"paid_from_trading_vol\": true\n },\n \"maker_coin_htlc_pubkey\": \"034cbf74541c1d3436bc7638a2738f64df4fee22d4443cdf11d54cea7d7f55f256\",\n \"taker_coin_htlc_pubkey\": \"034cbf74541c1d3436bc7638a2738f64df4fee22d4443cdf11d54cea7d7f55f256\",\n \"p2p_privkey\": null\n }\n }\n },\n {\n \"timestamp\": 1730633801655,\n \"event\": {\n \"type\": \"Negotiated\",\n \"data\": {\n \"maker_payment_locktime\": 1730649385,\n \"maker_pubkey\": \"000000000000000000000000000000000000000000000000000000000000000000\",\n \"secret_hash\": \"b476e27c0c6680ac67765163b1b5736dd7649512\",\n \"maker_coin_swap_contract_addr\": null,\n \"taker_coin_swap_contract_addr\": null,\n \"maker_coin_htlc_pubkey\": \"0315d9c51c657ab1be4ae9d3ab6e76a619d3bccfe830d5363fa168424c0d044732\",\n \"taker_coin_htlc_pubkey\": \"0315d9c51c657ab1be4ae9d3ab6e76a619d3bccfe830d5363fa168424c0d044732\"\n }\n }\n },\n {\n \"timestamp\": 1730633802415,\n \"event\": {\n \"type\": \"TakerFeeSent\",\n \"data\": {\n \"tx_hex\": \"0400008085202f8901a12c9c4c1c0e3ebd6329a7a0cd3c0a34a2355e5bea93b50faaa46d8889eb4ee0000000006a47304402200774c8e6fbb94df8ab73d9dbbd858326b361cc132d14c90e4ebf7d2a6bc5f9b402204fa716b684c20a3c56b28a42e63bfa3edcd3a76e261bee674f00ec0ccff674160121034cbf74541c1d3436bc7638a2738f64df4fee22d4443cdf11d54cea7d7f55f256ffffffff0290b60400000000001976a914ca1e04745e8ca0c60d8c5881531d51bec470743f88ac882e4317120000001976a914d64ad24e655ba7221ea51c7931aad5b98da77f3c88ac4a602767000000000000000000000000000000\",\n \"tx_hash\": \"3febb9949f3e751c568b774719a9fbf851bc9b4c6083da8c0927e4d1c078c21c\"\n }\n }\n },\n {\n \"timestamp\": 1730633804416,\n \"event\": {\n \"type\": \"TakerPaymentInstructionsReceived\",\n \"data\": null\n }\n },\n {\n \"timestamp\": 1730633804421,\n \"event\": {\n \"type\": \"MakerPaymentReceived\",\n \"data\": {\n \"tx_hex\": \"0400008085202f89045c20450775f07a4c448fbfebe47fdfa058c9a25254d36874765b44e1b3aaa193020000006a473044022079e6fbe2a24beb093858c644f765403d7a23714c17bee99c0b88fdd4b1d2bfbf02206f104b94437e4ce39d6854b48c1abccd218ee42436c8b5ac29e9136d538aa89501210315d9c51c657ab1be4ae9d3ab6e76a619d3bccfe830d5363fa168424c0d044732ffffffff620a3f975950554a03ecce8a2918958e8f1a17db70e7efe420618f3622844196000000006a47304402205721b4ce8c079604ce6f5779289fdc66912e064f12c40cc174daab80534a623f0220575fcc814edbec126834ce408ecbcf7ec2d7a8df2e323273266c8b47518ba9e701210315d9c51c657ab1be4ae9d3ab6e76a619d3bccfe830d5363fa168424c0d044732ffffffff9ac8dbb806e5722c00c60623c7313c41892649531a1c134f5d700b8f85157559000000006a473044022074a909367ba10cf375fb84414bad2ee41ffb35940132d94a9033736185df4b58022032b6dd0aeb5e102584e63d294d66367e19eaa599ed438d0209a039190bca10f401210315d9c51c657ab1be4ae9d3ab6e76a619d3bccfe830d5363fa168424c0d044732ffffffff46c38d985571abe367e07c7415b278bebdaa7b6b7283a7d069dfde6fb820cb8d020000006a47304402203397ffb5b16d0c829aac977ae92d8bc76cd3e9afc17bef3da436272bb672a0bd02207b3c026e25fd70048f12c166851a1d53ff2931e5073028588dde9715d63a527501210315d9c51c657ab1be4ae9d3ab6e76a619d3bccfe830d5363fa168424c0d044732ffffffff03001c4e0e0000000017a914f9bb3725cdd5d07b6f2b5387b5cf4471a4ad0463870000000000000000166a14b476e27c0c6680ac67765163b1b5736dd7649512dee80841410500001976a9141462c3dd3f936d595c9af55978003b27c250441f88ac4b602767000000000000000000000000000000\",\n \"tx_hash\": \"ebeba78542427dcf9bc720063582b99153afe6efcde49d16aacf67a8e597a41e\"\n }\n }\n },\n {\n \"timestamp\": 1730633804421,\n \"event\": {\n \"type\": \"MakerPaymentWaitConfirmStarted\"\n }\n },\n {\n \"timestamp\": 1730633836140,\n \"event\": {\n \"type\": \"MakerPaymentValidatedAndConfirmed\"\n }\n },\n {\n \"timestamp\": 1730633839137,\n \"event\": {\n \"type\": \"TakerPaymentSent\",\n \"data\": {\n \"tx_hex\": \"0400008085202f89011cc278c0d1e427098cda83604c9bbc51f8fba91947778b561c753e9f94b9eb3f010000006a473044022024b2c5bc5b23e8e774f6a8001de8f94a4e6888456722fede2be6b061d6d93c9302203805a7d1c9361fee2066e26f6196476f73f34246f60308cfafa3783a94a3cab30121034cbf74541c1d3436bc7638a2738f64df4fee22d4443cdf11d54cea7d7f55f256ffffffff03001c4e0e0000000017a914fbb04e8d9b7b4098c887aed16124291646462525870000000000000000166a14b476e27c0c6680ac67765163b1b5736dd7649512a00ef508120000001976a914d64ad24e655ba7221ea51c7931aad5b98da77f3c88ac6c602767000000000000000000000000000000\",\n \"tx_hash\": \"08e94af501630e46f4b2c5d64e6851c6bc9a3828506fef9f6668938d36c7b2da\"\n }\n }\n },\n {\n \"timestamp\": 1730633839137,\n \"event\": {\n \"type\": \"WatcherMessageSent\",\n \"data\": [\n [\n 4,\n 0,\n 0,\n 128,\n 133,\n 32,\n 47,\n 137,\n 1,\n 30,\n 164,\n 151,\n 229,\n 168,\n 103,\n 207,\n 170,\n 22,\n 157,\n 228,\n 205,\n 239,\n 230,\n 175,\n 83,\n 145,\n 185,\n 130,\n 53,\n 6,\n 32,\n 199,\n 155,\n 207,\n 125,\n 66,\n 66,\n 133,\n 167,\n 235,\n 235,\n 0,\n 0,\n 0,\n 0,\n 181,\n 71,\n 48,\n 68,\n 2,\n 32,\n 15,\n 63,\n 147,\n 207,\n 14,\n 237,\n 249,\n 179,\n 18,\n 218,\n 20,\n 136,\n 99,\n 82,\n 155,\n 227,\n 183,\n 14,\n 187,\n 207,\n 52,\n 142,\n 3,\n 42,\n 19,\n 130,\n 48,\n 55,\n 97,\n 54,\n 17,\n 43,\n 2,\n 32,\n 6,\n 191,\n 10,\n 15,\n 31,\n 179,\n 175,\n 110,\n 81,\n 38,\n 121,\n 112,\n 192,\n 22,\n 147,\n 186,\n 193,\n 103,\n 29,\n 246,\n 69,\n 93,\n 184,\n 60,\n 147,\n 105,\n 235,\n 73,\n 147,\n 183,\n 172,\n 122,\n 1,\n 76,\n 107,\n 99,\n 4,\n 41,\n 157,\n 39,\n 103,\n 177,\n 117,\n 33,\n 3,\n 21,\n 217,\n 197,\n 28,\n 101,\n 122,\n 177,\n 190,\n 74,\n 233,\n 211,\n 171,\n 110,\n 118,\n 166,\n 25,\n 211,\n 188,\n 207,\n 232,\n 48,\n 213,\n 54,\n 63,\n 161,\n 104,\n 66,\n 76,\n 13,\n 4,\n 71,\n 50,\n 172,\n 103,\n 130,\n 1,\n 32,\n 136,\n 169,\n 20,\n 180,\n 118,\n 226,\n 124,\n 12,\n 102,\n 128,\n 172,\n 103,\n 118,\n 81,\n 99,\n 177,\n 181,\n 115,\n 109,\n 215,\n 100,\n 149,\n 18,\n 136,\n 33,\n 3,\n 76,\n 191,\n 116,\n 84,\n 28,\n 29,\n 52,\n 54,\n 188,\n 118,\n 56,\n 162,\n 115,\n 143,\n 100,\n 223,\n 79,\n 238,\n 34,\n 212,\n 68,\n 60,\n 223,\n 17,\n 213,\n 76,\n 234,\n 125,\n 127,\n 85,\n 242,\n 86,\n 172,\n 104,\n 255,\n 255,\n 255,\n 255,\n 1,\n 24,\n 24,\n 78,\n 14,\n 0,\n 0,\n 0,\n 0,\n 25,\n 118,\n 169,\n 20,\n 214,\n 74,\n 210,\n 78,\n 101,\n 91,\n 167,\n 34,\n 30,\n 165,\n 28,\n 121,\n 49,\n 170,\n 213,\n 185,\n 141,\n 167,\n 127,\n 60,\n 136,\n 172,\n 41,\n 157,\n 39,\n 103,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0\n ],\n [\n 4,\n 0,\n 0,\n 128,\n 133,\n 32,\n 47,\n 137,\n 1,\n 218,\n 178,\n 199,\n 54,\n 141,\n 147,\n 104,\n 102,\n 159,\n 239,\n 111,\n 80,\n 40,\n 56,\n 154,\n 188,\n 198,\n 81,\n 104,\n 78,\n 214,\n 197,\n 178,\n 244,\n 70,\n 14,\n 99,\n 1,\n 245,\n 74,\n 233,\n 8,\n 0,\n 0,\n 0,\n 0,\n 182,\n 71,\n 48,\n 68,\n 2,\n 32,\n 91,\n 24,\n 33,\n 89,\n 150,\n 44,\n 60,\n 26,\n 59,\n 98,\n 8,\n 8,\n 75,\n 9,\n 180,\n 252,\n 173,\n 239,\n 25,\n 51,\n 107,\n 150,\n 243,\n 216,\n 206,\n 42,\n 41,\n 114,\n 51,\n 198,\n 217,\n 53,\n 2,\n 32,\n 37,\n 164,\n 97,\n 254,\n 1,\n 132,\n 224,\n 60,\n 170,\n 53,\n 174,\n 76,\n 177,\n 31,\n 82,\n 255,\n 218,\n 21,\n 233,\n 126,\n 210,\n 217,\n 220,\n 203,\n 185,\n 74,\n 118,\n 244,\n 37,\n 195,\n 196,\n 62,\n 1,\n 81,\n 76,\n 107,\n 99,\n 4,\n 178,\n 126,\n 39,\n 103,\n 177,\n 117,\n 33,\n 3,\n 76,\n 191,\n 116,\n 84,\n 28,\n 29,\n 52,\n 54,\n 188,\n 118,\n 56,\n 162,\n 115,\n 143,\n 100,\n 223,\n 79,\n 238,\n 34,\n 212,\n 68,\n 60,\n 223,\n 17,\n 213,\n 76,\n 234,\n 125,\n 127,\n 85,\n 242,\n 86,\n 172,\n 103,\n 130,\n 1,\n 32,\n 136,\n 169,\n 20,\n 180,\n 118,\n 226,\n 124,\n 12,\n 102,\n 128,\n 172,\n 103,\n 118,\n 81,\n 99,\n 177,\n 181,\n 115,\n 109,\n 215,\n 100,\n 149,\n 18,\n 136,\n 33,\n 3,\n 21,\n 217,\n 197,\n 28,\n 101,\n 122,\n 177,\n 190,\n 74,\n 233,\n 211,\n 171,\n 110,\n 118,\n 166,\n 25,\n 211,\n 188,\n 207,\n 232,\n 48,\n 213,\n 54,\n 63,\n 161,\n 104,\n 66,\n 76,\n 13,\n 4,\n 71,\n 50,\n 172,\n 104,\n 254,\n 255,\n 255,\n 255,\n 1,\n 24,\n 24,\n 78,\n 14,\n 0,\n 0,\n 0,\n 0,\n 25,\n 118,\n 169,\n 20,\n 214,\n 74,\n 210,\n 78,\n 101,\n 91,\n 167,\n 34,\n 30,\n 165,\n 28,\n 121,\n 49,\n 170,\n 213,\n 185,\n 141,\n 167,\n 127,\n 60,\n 136,\n 172,\n 178,\n 126,\n 39,\n 103,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0\n ]\n ]\n }\n }\n ],\n \"maker_amount\": \"2.4\",\n \"maker_coin\": \"DOC\",\n \"maker_coin_usd_price\": null,\n \"taker_amount\": \"2.4\",\n \"taker_coin\": \"MARTY\",\n \"taker_coin_usd_price\": null,\n \"gui\": \"mm2_777\",\n \"mm_version\": \"2.2.0-beta_caf803b\",\n \"success_events\": [\n \"Started\",\n \"Negotiated\",\n \"TakerFeeSent\",\n \"TakerPaymentInstructionsReceived\",\n \"MakerPaymentReceived\",\n \"MakerPaymentWaitConfirmStarted\",\n \"MakerPaymentValidatedAndConfirmed\",\n \"TakerPaymentSent\",\n \"WatcherMessageSent\",\n \"TakerPaymentSpent\",\n \"MakerPaymentSpent\",\n \"MakerPaymentSpentByWatcher\",\n \"MakerPaymentSpendConfirmed\",\n \"Finished\"\n ],\n \"error_events\": [\n \"StartFailed\",\n \"NegotiateFailed\",\n \"TakerFeeSendFailed\",\n \"MakerPaymentValidateFailed\",\n \"MakerPaymentWaitConfirmFailed\",\n \"TakerPaymentTransactionFailed\",\n \"TakerPaymentWaitConfirmFailed\",\n \"TakerPaymentDataSendFailed\",\n \"TakerPaymentWaitForSpendFailed\",\n \"MakerPaymentSpendFailed\",\n \"MakerPaymentSpendConfirmFailed\",\n \"TakerPaymentWaitRefundStarted\",\n \"TakerPaymentRefundStarted\",\n \"TakerPaymentRefunded\",\n \"TakerPaymentRefundedByWatcher\",\n \"TakerPaymentRefundFailed\",\n \"TakerPaymentRefundFinished\"\n ]\n }\n }\n }\n },\n \"id\": null\n}"
+ },
+ {
+ "name": "active_swaps (without status)",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "\r\n{\r\n \"mmrpc\": \"2.0\",\r\n \"userpass\": \"{{userpass}}\",\r\n \"method\": \"active_swaps\",\r\n \"params\": {\r\n \"include_status\": false\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "99"
+ },
+ {
+ "key": "date",
+ "value": "Sun, 03 Nov 2024 11:39:33 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"mmrpc\": \"2.0\",\n \"result\": {\n \"uuids\": [\n \"7b60a494-f159-419c-8f41-02e10f897513\"\n ],\n \"statuses\": {}\n },\n \"id\": null\n}"
+ }
+ ]
}
]
},
@@ -9361,7 +10259,7 @@
]
},
{
- "name": "start_eth_fee_estimator",
+ "name": "get_public_key",
"event": [
{
"listen": "prerequest",
@@ -9373,8 +10271,7 @@
"\r",
"pm.request.body.update(strippedData);"
],
- "type": "text/javascript",
- "packages": {}
+ "type": "text/javascript"
}
}
],
@@ -9389,7 +10286,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"mmrpc\": \"2.0\",\n \"method\": \"start_eth_fee_estimator\",\n \"params\": {\n \"coin\": \"ETH\"\n }\n // \"id\": null // Accepted values: Integers\n}\n"
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_public_key\"\r\n // \"params\": {},\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
},
"url": {
"raw": "{{address}}",
@@ -9398,49 +10295,796 @@
]
}
},
- "response": []
- },
- {
- "name": "get_eth_estimated_fee_per_gas",
- "event": [
+ "response": [
{
- "listen": "prerequest",
- "script": {
- "exec": [
- "// Strip JSON Comments\r",
- "const rawData = pm.request.body.toString();\r",
- "const strippedData = rawData.replace(/\\\\\"|\"(?:\\\\\"|[^\"])*\"|(\\/\\/.*|\\/\\*[\\s\\S]*?\\*\\/)/g, (m, g) => g ? \"\" : m)\r",
- "\r",
- "pm.request.body.update(strippedData);"
+ "name": "get_public_key",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
],
- "type": "text/javascript",
- "packages": {}
- }
- }
- ],
- "request": {
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- }
- ],
- "body": {
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_public_key\"\r\n // \"params\": {},\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "plain",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "118"
+ },
+ {
+ "key": "date",
+ "value": "Thu, 17 Oct 2024 06:43:40 GMT"
+ }
+ ],
+ "cookie": [],
+ "body": "{\"mmrpc\":\"2.0\",\"result\":{\"public_key\":\"03d8064eece4fa5c0f8dc0267f68cee9bdd527f9e88f3594a323428718c391ecc2\"},\"id\":null}"
+ }
+ ]
+ },
+ {
+ "name": "peer_connection_healthcheck",
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "exec": [
+ "// Strip JSON Comments\r",
+ "const rawData = pm.request.body.toString();\r",
+ "const strippedData = rawData.replace(/\\\\\"|\"(?:\\\\\"|[^\"])*\"|(\\/\\/.*|\\/\\*[\\s\\S]*?\\*\\/)/g, (m, g) => g ? \"\" : m)\r",
+ "\r",
+ "pm.request.body.update(strippedData);"
+ ],
+ "type": "text/javascript",
+ "packages": {}
+ }
+ }
+ ],
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"peer_connection_healthcheck\",\r\n \"params\": {\r\n \"peer_address\": \"12D3KooWJWBnkVsVNjiqUEPjLyHpiSmQVAJ5t6qt1Txv5ctJi9Xd\"\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "response": [
+ {
+ "name": "peer_connection_healthcheck (true)",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_public_key\"\r\n // \"params\": {},\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "plain",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "118"
+ },
+ {
+ "key": "date",
+ "value": "Thu, 17 Oct 2024 06:43:40 GMT"
+ }
+ ],
+ "cookie": [],
+ "body": "{\"mmrpc\":\"2.0\",\"result\":{\"public_key\":\"03d8064eece4fa5c0f8dc0267f68cee9bdd527f9e88f3594a323428718c391ecc2\"},\"id\":null}"
+ },
+ {
+ "name": "peer_connection_healthcheck (false)",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"peer_connection_healthcheck\",\r\n \"params\": {\r\n \"peer_address\": \"12D3KooWDgFfyAzbuYNLMzMaZT9zBJX9EHd38XLQDRbNDYAYqMzd\"\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "plain",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "40"
+ },
+ {
+ "key": "date",
+ "value": "Thu, 17 Oct 2024 06:49:58 GMT"
+ }
+ ],
+ "cookie": [],
+ "body": "{\"mmrpc\":\"2.0\",\"result\":false,\"id\":null}"
+ }
+ ]
+ },
+ {
+ "name": "get_enabled_coins",
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "exec": [
+ "// Strip JSON Comments\r",
+ "const rawData = pm.request.body.toString();\r",
+ "const strippedData = rawData.replace(/\\\\\"|\"(?:\\\\\"|[^\"])*\"|(\\/\\/.*|\\/\\*[\\s\\S]*?\\*\\/)/g, (m, g) => g ? \"\" : m)\r",
+ "\r",
+ "pm.request.body.update(strippedData);"
+ ],
+ "type": "text/javascript",
+ "packages": {}
+ }
+ }
+ ],
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_enabled_coins\" // \"params\": {},\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "response": [
+ {
+ "name": "get_enabled_coins",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_enabled_coins\" // \"params\": {},\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "plain",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "260"
+ },
+ {
+ "key": "date",
+ "value": "Wed, 16 Oct 2024 17:16:48 GMT"
+ }
+ ],
+ "cookie": [],
+ "body": "{\"mmrpc\":\"2.0\",\"result\":{\"coins\":[{\"ticker\":\"ETH\"},{\"ticker\":\"PGX-PLG20\"},{\"ticker\":\"ATOM-IBC_IRIS\"},{\"ticker\":\"NFT_ETH\"},{\"ticker\":\"KMD\"},{\"ticker\":\"IRIS\"},{\"ticker\":\"AAVE-PLG20\"},{\"ticker\":\"MINDS-ERC20\"},{\"ticker\":\"NFT_MATIC\"},{\"ticker\":\"MATIC\"}]},\"id\":null}"
+ }
+ ]
+ },
+ {
+ "name": "get_public_key_hash",
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "exec": [
+ "// Strip JSON Comments\r",
+ "const rawData = pm.request.body.toString();\r",
+ "const strippedData = rawData.replace(/\\\\\"|\"(?:\\\\\"|[^\"])*\"|(\\/\\/.*|\\/\\*[\\s\\S]*?\\*\\/)/g, (m, g) => g ? \"\" : m)\r",
+ "\r",
+ "pm.request.body.update(strippedData);"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_public_key_hash\"\r\n // \"params\": {},\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "response": [
+ {
+ "name": "get_public_key_hash",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_public_key_hash\"\r\n // \"params\": {},\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "plain",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "97"
+ },
+ {
+ "key": "date",
+ "value": "Thu, 17 Oct 2024 06:43:31 GMT"
+ }
+ ],
+ "cookie": [],
+ "body": "{\"mmrpc\":\"2.0\",\"result\":{\"public_key_hash\":\"d346067e3c3c3964c395fee208594790e29ede5d\"},\"id\":null}"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Fee Management",
+ "item": [
+ {
+ "name": "start_eth_fee_estimator",
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "exec": [
+ "// Strip JSON Comments\r",
+ "const rawData = pm.request.body.toString();\r",
+ "const strippedData = rawData.replace(/\\\\\"|\"(?:\\\\\"|[^\"])*\"|(\\/\\/.*|\\/\\*[\\s\\S]*?\\*\\/)/g, (m, g) => g ? \"\" : m)\r",
+ "\r",
+ "pm.request.body.update(strippedData);"
+ ],
+ "type": "text/javascript",
+ "packages": {}
+ }
+ }
+ ],
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"mmrpc\": \"2.0\",\n \"method\": \"start_eth_fee_estimator\",\n \"params\": {\n \"coin\": \"BNB\"\n }\n // \"id\": null // Accepted values: Integers\n}\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "response": [
+ {
+ "name": "Error: NoSuchCoin",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"mmrpc\": \"2.0\",\n \"method\": \"start_eth_fee_estimator\",\n \"params\": {\n \"coin\": \"ETH\"\n }\n // \"id\": null // Accepted values: Integers\n}\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "204"
+ },
+ {
+ "key": "date",
+ "value": "Mon, 04 Nov 2024 11:18:50 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"mmrpc\": \"2.0\",\n \"error\": \"No such coin ETH\",\n \"error_path\": \"get_estimated_fees.lp_coins\",\n \"error_trace\": \"get_estimated_fees:244] lp_coins:4779]\",\n \"error_type\": \"NoSuchCoin\",\n \"error_data\": {\n \"coin\": \"ETH\"\n },\n \"id\": null\n}"
+ },
+ {
+ "name": "Error: CoinNotSupported",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"mmrpc\": \"2.0\",\n \"method\": \"start_eth_fee_estimator\",\n \"params\": {\n \"coin\": \"BNB\"\n }\n // \"id\": null // Accepted values: Integers\n}\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "plain",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "188"
+ },
+ {
+ "key": "date",
+ "value": "Mon, 04 Nov 2024 11:21:57 GMT"
+ }
+ ],
+ "cookie": [],
+ "body": "{\"mmrpc\":\"2.0\",\"error\":\"Gas fee estimation not supported for this coin\",\"error_path\":\"get_estimated_fees\",\"error_trace\":\"get_estimated_fees:206]\",\"error_type\":\"CoinNotSupported\",\"id\":null}"
+ },
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"mmrpc\": \"2.0\",\n \"method\": \"start_eth_fee_estimator\",\n \"params\": {\n \"coin\": \"BNB\"\n }\n // \"id\": null // Accepted values: Integers\n}\n",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "55"
+ },
+ {
+ "key": "date",
+ "value": "Mon, 04 Nov 2024 11:27:17 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"mmrpc\": \"2.0\",\n \"result\": {\n \"result\": \"Success\"\n },\n \"id\": null\n}"
+ }
+ ]
+ },
+ {
+ "name": "stop_eth_fee_estimator",
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "exec": [
+ "// Strip JSON Comments\r",
+ "const rawData = pm.request.body.toString();\r",
+ "const strippedData = rawData.replace(/\\\\\"|\"(?:\\\\\"|[^\"])*\"|(\\/\\/.*|\\/\\*[\\s\\S]*?\\*\\/)/g, (m, g) => g ? \"\" : m)\r",
+ "\r",
+ "pm.request.body.update(strippedData);"
+ ],
+ "type": "text/javascript",
+ "packages": {}
+ }
+ }
+ ],
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"mmrpc\": \"2.0\",\n \"method\": \"stop_eth_fee_estimator\",\n \"params\": {\n \"coin\": \"BNB\"\n }\n // \"id\": null // Accepted values: Integers\n}\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "response": [
+ {
+ "name": "Error: NotRunning",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"mmrpc\": \"2.0\",\n \"method\": \"stop_eth_fee_estimator\",\n \"params\": {\n \"coin\": \"ETH\"\n }\n // \"id\": null // Accepted values: Integers\n}\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "plain",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "168"
+ },
+ {
+ "key": "date",
+ "value": "Mon, 04 Nov 2024 11:29:26 GMT"
+ }
+ ],
+ "cookie": [],
+ "body": "{\"mmrpc\":\"2.0\",\"error\":\"Gas fee estimator is not running\",\"error_path\":\"get_estimated_fees\",\"error_trace\":\"get_estimated_fees:233]\",\"error_type\":\"NotRunning\",\"id\":null}"
+ },
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"mmrpc\": \"2.0\",\n \"method\": \"stop_eth_fee_estimator\",\n \"params\": {\n \"coin\": \"BNB\"\n }\n // \"id\": null // Accepted values: Integers\n}\n",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "55"
+ },
+ {
+ "key": "date",
+ "value": "Mon, 04 Nov 2024 11:30:01 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"mmrpc\": \"2.0\",\n \"result\": {\n \"result\": \"Success\"\n },\n \"id\": null\n}"
+ }
+ ]
+ },
+ {
+ "name": "set_swap_transaction_fee_policy",
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "exec": [
+ "// Strip JSON Comments\r",
+ "const rawData = pm.request.body.toString();\r",
+ "const strippedData = rawData.replace(/\\\\\"|\"(?:\\\\\"|[^\"])*\"|(\\/\\/.*|\\/\\*[\\s\\S]*?\\*\\/)/g, (m, g) => g ? \"\" : m)\r",
+ "\r",
+ "pm.request.body.update(strippedData);"
+ ],
+ "type": "text/javascript",
+ "packages": {}
+ }
+ }
+ ],
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
"mode": "raw",
- "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"method\": \"get_eth_estimated_fee_per_gas\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"coin\": \"ETH\"\n }\n // \"id\": null // Accepted values: Integers\n}\n"
+ "raw": " {\n \"userpass\": \"{{userpass}}\",\n \"method\": \"set_swap_transaction_fee_policy\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"coin\": \"MATIC\",\n \"swap_tx_fee_policy\": \"High\"\n }\n // \"id\": null // Accepted values: Integers\n }"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "response": [
+ {
+ "name": "Success: Internal",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": " {\n \"userpass\": \"{{userpass}}\",\n \"method\": \"get_swap_transaction_fee_policy\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"coin\": \"MATIC\"\n }\n // \"id\": null // Accepted values: Integers\n }"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "plain",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "45"
+ },
+ {
+ "key": "date",
+ "value": "Mon, 04 Nov 2024 11:40:58 GMT"
+ }
+ ],
+ "cookie": [],
+ "body": "{\"mmrpc\":\"2.0\",\"result\":\"Internal\",\"id\":null}"
+ },
+ {
+ "name": "Error: Unsupported",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": " {\n \"userpass\": \"{{userpass}}\",\n \"method\": \"get_swap_transaction_fee_policy\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"coin\": \"BNB\"\n }\n // \"id\": null // Accepted values: Integers\n }"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "plain",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "48"
+ },
+ {
+ "key": "date",
+ "value": "Mon, 04 Nov 2024 11:41:56 GMT"
+ }
+ ],
+ "cookie": [],
+ "body": "{\"mmrpc\":\"2.0\",\"result\":\"Unsupported\",\"id\":null}"
},
- "url": {
- "raw": "{{address}}",
- "host": [
- "{{address}}"
- ]
- }
- },
- "response": [
{
- "name": "Error: CoinNotSupported",
+ "name": "Success: Set to Medium",
"originalRequest": {
"method": "POST",
"header": [
@@ -9452,7 +11096,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"method\": \"get_eth_estimated_fee_per_gas\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"coin\": \"BNB\"\n }\n // \"id\": null // Accepted values: Integers\n}\n"
+ "raw": " {\n \"userpass\": \"{{userpass}}\",\n \"method\": \"set_swap_transaction_fee_policy\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"coin\": \"MATIC\",\n \"swap_tx_fee_policy\": \"Medium\"\n }\n // \"id\": null // Accepted values: Integers\n }"
},
"url": {
"raw": "{{address}}",
@@ -9461,9 +11105,9 @@
]
}
},
- "status": "Bad Request",
- "code": 400,
- "_postman_previewlanguage": "json",
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "plain",
"header": [
{
"key": "access-control-allow-origin",
@@ -9471,25 +11115,18 @@
},
{
"key": "content-length",
- "value": "188"
+ "value": "43"
},
{
"key": "date",
- "value": "Mon, 09 Sep 2024 05:58:16 GMT"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "name": "Content-Type",
- "description": "",
- "type": "text"
+ "value": "Mon, 04 Nov 2024 11:50:29 GMT"
}
],
"cookie": [],
- "body": "{\n \"mmrpc\": \"2.0\",\n \"error\": \"Gas fee estimation not supported for this coin\",\n \"error_path\": \"get_estimated_fees\",\n \"error_trace\": \"get_estimated_fees:206]\",\n \"error_type\": \"CoinNotSupported\",\n \"id\": null\n}"
+ "body": "{\"mmrpc\":\"2.0\",\"result\":\"Medium\",\"id\":null}"
},
{
- "name": "Error: NoSuchCoin",
+ "name": "Success: Set to High",
"originalRequest": {
"method": "POST",
"header": [
@@ -9501,7 +11138,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"method\": \"get_eth_estimated_fee_per_gas\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"coin\": \"DOGE\"\n }\n // \"id\": null // Accepted values: Integers\n}\n"
+ "raw": " {\n \"userpass\": \"{{userpass}}\",\n \"method\": \"set_swap_transaction_fee_policy\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"coin\": \"MATIC\",\n \"swap_tx_fee_policy\": \"High\"\n }\n // \"id\": null // Accepted values: Integers\n }"
},
"url": {
"raw": "{{address}}",
@@ -9510,9 +11147,9 @@
]
}
},
- "status": "Bad Request",
- "code": 400,
- "_postman_previewlanguage": "json",
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "plain",
"header": [
{
"key": "access-control-allow-origin",
@@ -9520,65 +11157,18 @@
},
{
"key": "content-length",
- "value": "204"
+ "value": "41"
},
{
"key": "date",
- "value": "Mon, 09 Sep 2024 05:59:38 GMT"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "name": "Content-Type",
- "description": "",
- "type": "text"
+ "value": "Mon, 04 Nov 2024 11:50:56 GMT"
}
],
"cookie": [],
- "body": "{\n \"mmrpc\": \"2.0\",\n \"error\": \"No such coin DOGE\",\n \"error_path\": \"get_estimated_fees.lp_coins\",\n \"error_trace\": \"get_estimated_fees:244] lp_coins:4767]\",\n \"error_type\": \"NoSuchCoin\",\n \"error_data\": {\n \"coin\": \"DOGE\"\n },\n \"id\": null\n}"
- }
- ]
- },
- {
- "name": "get_public_key",
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "exec": [
- "// Strip JSON Comments\r",
- "const rawData = pm.request.body.toString();\r",
- "const strippedData = rawData.replace(/\\\\\"|\"(?:\\\\\"|[^\"])*\"|(\\/\\/.*|\\/\\*[\\s\\S]*?\\*\\/)/g, (m, g) => g ? \"\" : m)\r",
- "\r",
- "pm.request.body.update(strippedData);"
- ],
- "type": "text/javascript"
- }
- }
- ],
- "request": {
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_public_key\"\r\n // \"params\": {},\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ "body": "{\"mmrpc\":\"2.0\",\"result\":\"High\",\"id\":null}"
},
- "url": {
- "raw": "{{address}}",
- "host": [
- "{{address}}"
- ]
- }
- },
- "response": [
{
- "name": "get_public_key",
+ "name": "Success: Set to Low",
"originalRequest": {
"method": "POST",
"header": [
@@ -9590,7 +11180,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_public_key\"\r\n // \"params\": {},\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ "raw": " {\n \"userpass\": \"{{userpass}}\",\n \"method\": \"set_swap_transaction_fee_policy\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"coin\": \"MATIC\",\n \"swap_tx_fee_policy\": \"Low\"\n }\n // \"id\": null // Accepted values: Integers\n }"
},
"url": {
"raw": "{{address}}",
@@ -9609,20 +11199,20 @@
},
{
"key": "content-length",
- "value": "118"
+ "value": "40"
},
{
"key": "date",
- "value": "Thu, 17 Oct 2024 06:43:40 GMT"
+ "value": "Mon, 04 Nov 2024 11:51:24 GMT"
}
],
"cookie": [],
- "body": "{\"mmrpc\":\"2.0\",\"result\":{\"public_key\":\"03d8064eece4fa5c0f8dc0267f68cee9bdd527f9e88f3594a323428718c391ecc2\"},\"id\":null}"
+ "body": "{\"mmrpc\":\"2.0\",\"result\":\"Low\",\"id\":null}"
}
]
},
{
- "name": "peer_connection_healthcheck",
+ "name": "get_swap_transaction_fee_policy",
"event": [
{
"listen": "prerequest",
@@ -9650,7 +11240,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"peer_connection_healthcheck\",\r\n \"params\": {\r\n \"peer_address\": \"12D3KooWJWBnkVsVNjiqUEPjLyHpiSmQVAJ5t6qt1Txv5ctJi9Xd\"\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ "raw": " {\n \"userpass\": \"{{userpass}}\",\n \"method\": \"get_swap_transaction_fee_policy\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"coin\": \"MATIC\"\n }\n // \"id\": null // Accepted values: Integers\n }"
},
"url": {
"raw": "{{address}}",
@@ -9661,7 +11251,7 @@
},
"response": [
{
- "name": "peer_connection_healthcheck (true)",
+ "name": "Success: Internal",
"originalRequest": {
"method": "POST",
"header": [
@@ -9673,7 +11263,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_public_key\"\r\n // \"params\": {},\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ "raw": " {\n \"userpass\": \"{{userpass}}\",\n \"method\": \"get_swap_transaction_fee_policy\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"coin\": \"MATIC\"\n }\n // \"id\": null // Accepted values: Integers\n }"
},
"url": {
"raw": "{{address}}",
@@ -9692,18 +11282,18 @@
},
{
"key": "content-length",
- "value": "118"
+ "value": "45"
},
{
"key": "date",
- "value": "Thu, 17 Oct 2024 06:43:40 GMT"
+ "value": "Mon, 04 Nov 2024 11:40:58 GMT"
}
],
"cookie": [],
- "body": "{\"mmrpc\":\"2.0\",\"result\":{\"public_key\":\"03d8064eece4fa5c0f8dc0267f68cee9bdd527f9e88f3594a323428718c391ecc2\"},\"id\":null}"
+ "body": "{\"mmrpc\":\"2.0\",\"result\":\"Internal\",\"id\":null}"
},
{
- "name": "peer_connection_healthcheck (false)",
+ "name": "Error: Unsupported",
"originalRequest": {
"method": "POST",
"header": [
@@ -9715,7 +11305,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"peer_connection_healthcheck\",\r\n \"params\": {\r\n \"peer_address\": \"12D3KooWDgFfyAzbuYNLMzMaZT9zBJX9EHd38XLQDRbNDYAYqMzd\"\r\n }\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ "raw": " {\n \"userpass\": \"{{userpass}}\",\n \"method\": \"get_swap_transaction_fee_policy\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"coin\": \"BNB\"\n }\n // \"id\": null // Accepted values: Integers\n }"
},
"url": {
"raw": "{{address}}",
@@ -9734,20 +11324,20 @@
},
{
"key": "content-length",
- "value": "40"
+ "value": "48"
},
{
"key": "date",
- "value": "Thu, 17 Oct 2024 06:49:58 GMT"
+ "value": "Mon, 04 Nov 2024 11:41:56 GMT"
}
],
"cookie": [],
- "body": "{\"mmrpc\":\"2.0\",\"result\":false,\"id\":null}"
+ "body": "{\"mmrpc\":\"2.0\",\"result\":\"Unsupported\",\"id\":null}"
}
]
},
{
- "name": "get_enabled_coins",
+ "name": "get_eth_estimated_fee_per_gas",
"event": [
{
"listen": "prerequest",
@@ -9775,7 +11365,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_enabled_coins\" // \"params\": {},\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"method\": \"get_eth_estimated_fee_per_gas\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"coin\": \"BNB\"\n }\n // \"id\": null // Accepted values: Integers\n}\n"
},
"url": {
"raw": "{{address}}",
@@ -9786,7 +11376,7 @@
},
"response": [
{
- "name": "get_enabled_coins",
+ "name": "Error: CoinNotSupported",
"originalRequest": {
"method": "POST",
"header": [
@@ -9798,7 +11388,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_enabled_coins\" // \"params\": {},\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"method\": \"get_eth_estimated_fee_per_gas\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"coin\": \"BNB\"\n }\n // \"id\": null // Accepted values: Integers\n}\n"
},
"url": {
"raw": "{{address}}",
@@ -9807,9 +11397,9 @@
]
}
},
- "status": "OK",
- "code": 200,
- "_postman_previewlanguage": "plain",
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
"header": [
{
"key": "access-control-allow-origin",
@@ -9817,70 +11407,92 @@
},
{
"key": "content-length",
- "value": "260"
+ "value": "188"
},
{
"key": "date",
- "value": "Wed, 16 Oct 2024 17:16:48 GMT"
+ "value": "Mon, 09 Sep 2024 05:58:16 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
}
],
"cookie": [],
- "body": "{\"mmrpc\":\"2.0\",\"result\":{\"coins\":[{\"ticker\":\"ETH\"},{\"ticker\":\"PGX-PLG20\"},{\"ticker\":\"ATOM-IBC_IRIS\"},{\"ticker\":\"NFT_ETH\"},{\"ticker\":\"KMD\"},{\"ticker\":\"IRIS\"},{\"ticker\":\"AAVE-PLG20\"},{\"ticker\":\"MINDS-ERC20\"},{\"ticker\":\"NFT_MATIC\"},{\"ticker\":\"MATIC\"}]},\"id\":null}"
- }
- ]
- },
- {
- "name": "get_public_key_hash",
- "event": [
+ "body": "{\n \"mmrpc\": \"2.0\",\n \"error\": \"Gas fee estimation not supported for this coin\",\n \"error_path\": \"get_estimated_fees\",\n \"error_trace\": \"get_estimated_fees:206]\",\n \"error_type\": \"CoinNotSupported\",\n \"id\": null\n}"
+ },
{
- "listen": "prerequest",
- "script": {
- "exec": [
- "// Strip JSON Comments\r",
- "const rawData = pm.request.body.toString();\r",
- "const strippedData = rawData.replace(/\\\\\"|\"(?:\\\\\"|[^\"])*\"|(\\/\\/.*|\\/\\*[\\s\\S]*?\\*\\/)/g, (m, g) => g ? \"\" : m)\r",
- "\r",
- "pm.request.body.update(strippedData);"
+ "name": "Error: NoSuchCoin",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ }
],
- "type": "text/javascript"
- }
- }
- ],
- "request": {
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_public_key_hash\"\r\n // \"params\": {},\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"method\": \"get_eth_estimated_fee_per_gas\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"coin\": \"DOGE\"\n }\n // \"id\": null // Accepted values: Integers\n}\n"
+ },
+ "url": {
+ "raw": "{{address}}",
+ "host": [
+ "{{address}}"
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "access-control-allow-origin",
+ "value": "http://localhost:3000"
+ },
+ {
+ "key": "content-length",
+ "value": "204"
+ },
+ {
+ "key": "date",
+ "value": "Mon, 09 Sep 2024 05:59:38 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"mmrpc\": \"2.0\",\n \"error\": \"No such coin DOGE\",\n \"error_path\": \"get_estimated_fees.lp_coins\",\n \"error_trace\": \"get_estimated_fees:244] lp_coins:4767]\",\n \"error_type\": \"NoSuchCoin\",\n \"error_data\": {\n \"coin\": \"DOGE\"\n },\n \"id\": null\n}"
},
- "url": {
- "raw": "{{address}}",
- "host": [
- "{{address}}"
- ]
- }
- },
- "response": [
{
- "name": "get_public_key_hash",
+ "name": "Success",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
+ "name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"userpass\": \"{{userpass}}\",\r\n \"mmrpc\": \"2.0\",\r\n \"method\": \"get_public_key_hash\"\r\n // \"params\": {},\r\n // \"id\": null // Accepted values: Integers\r\n}\r\n"
+ "raw": "{\n \"userpass\": \"{{userpass}}\",\n \"method\": \"get_eth_estimated_fee_per_gas\",\n \"mmrpc\": \"2.0\",\n \"params\": {\n \"coin\": \"BNB\"\n }\n // \"id\": null // Accepted values: Integers\n}\n",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
},
"url": {
"raw": "{{address}}",
@@ -9891,7 +11503,7 @@
},
"status": "OK",
"code": 200,
- "_postman_previewlanguage": "plain",
+ "_postman_previewlanguage": "json",
"header": [
{
"key": "access-control-allow-origin",
@@ -9899,15 +11511,22 @@
},
{
"key": "content-length",
- "value": "97"
+ "value": "483"
},
{
"key": "date",
- "value": "Thu, 17 Oct 2024 06:43:31 GMT"
+ "value": "Mon, 04 Nov 2024 11:31:08 GMT"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "name": "Content-Type",
+ "description": "",
+ "type": "text"
}
],
"cookie": [],
- "body": "{\"mmrpc\":\"2.0\",\"result\":{\"public_key_hash\":\"d346067e3c3c3964c395fee208594790e29ede5d\"},\"id\":null}"
+ "body": "{\n \"mmrpc\": \"2.0\",\n \"result\": {\n \"base_fee\": \"5.155924173\",\n \"low\": {\n \"max_priority_fee_per_gas\": \"0.008999999\",\n \"max_fee_per_gas\": \"6.09\",\n \"min_wait_time\": null,\n \"max_wait_time\": null\n },\n \"medium\": {\n \"max_priority_fee_per_gas\": \"0.049\",\n \"max_fee_per_gas\": \"6.13\",\n \"min_wait_time\": null,\n \"max_wait_time\": null\n },\n \"high\": {\n \"max_priority_fee_per_gas\": \"0.089\",\n \"max_fee_per_gas\": \"6.17\",\n \"min_wait_time\": null,\n \"max_wait_time\": null\n },\n \"source\": \"blocknative\",\n \"base_fee_trend\": \"\",\n \"priority_fee_trend\": \"\",\n \"units\": \"Gwei\"\n },\n \"id\": null\n}"
}
]
}
diff --git a/src/data/sidebar.json b/src/data/sidebar.json
index 168e7fd4..34c188ea 100644
--- a/src/data/sidebar.json
+++ b/src/data/sidebar.json
@@ -177,6 +177,19 @@
"titleLink": "/komodo-wallet/",
"links": []
},
+ {
+ "title": "User Guides (General)",
+ "links": [
+ {
+ "title": "Introduction",
+ "href": "/komodo-wallet/guides/"
+ },
+ {
+ "title": "Finding IBC Channels for Transfers",
+ "href": "/komodo-wallet/guides/how-to-find-the-right-ibc-channel-for-transfers/"
+ }
+ ]
+ },
{
"title": "User Guides (Mobile)",
"links": [
diff --git a/src/images/api-images/ibc-channels.png b/src/images/api-images/ibc-channels.png
new file mode 100644
index 00000000..63d9fe15
Binary files /dev/null and b/src/images/api-images/ibc-channels.png differ
diff --git a/src/pages/komodo-defi-framework/api/index.mdx b/src/pages/komodo-defi-framework/api/index.mdx
index a9255fb0..742f3c10 100644
--- a/src/pages/komodo-defi-framework/api/index.mdx
+++ b/src/pages/komodo-defi-framework/api/index.mdx
@@ -55,6 +55,7 @@ Below is a table of the currently available legacy, v2.0 and v2.0 (Dev) methods:
| [get\_relay\_mesh](/komodo-defi-framework/api/legacy/get_relay_mesh/#get-relay-mesh) | | |
| | [get\_staking\_infos](/komodo-defi-framework/api/v20/get_staking_infos/#get-staking-infos) | |
| [get\_trade\_fee](/komodo-defi-framework/api/legacy/get_trade_fee/#get-trade-fee) | | |
+| | [get\_wallet\_names](/komodo-defi-framework/api/v20/get_wallet_names/#get-wallet-names) | |
| [import\_swaps](/komodo-defi-framework/api/legacy/import_swaps/#import-swaps) | | |
| [kmd\_rewards\_info](/komodo-defi-framework/api/legacy/kmd_rewards_info/#kmd-rewards-info) | | |
| | | [lightning::nodes::add\_trusted\_node](/komodo-defi-framework/api/v20-dev/lightning/nodes/#add-trusted-node) |
diff --git a/src/pages/komodo-defi-framework/api/v20/withdraw/index.mdx b/src/pages/komodo-defi-framework/api/v20/withdraw/index.mdx
index 22b24b49..84448ceb 100644
--- a/src/pages/komodo-defi-framework/api/v20/withdraw/index.mdx
+++ b/src/pages/komodo-defi-framework/api/v20/withdraw/index.mdx
@@ -9,15 +9,16 @@ This method generates a raw transaction which should then be broadcast using [se
## Arguments
-| Structure | Type | Description |
-| --------- | ---------------- | ---------------------------------------------------------------------------------------------------------- |
-| coin | string | The name of the coin the user desires to withdraw |
-| to | string | Coins are withdrawn to this address |
-| amount | string (numeric) | The amount the user desires to withdraw, ignored when `max=true` |
-| memo | string | Optional. Adds a transaction memo for compatible coins (e.g. Tendermint ecosystem). |
-| max | bool | Withdraw the maximum available amount |
-| fee | object | A standard [FeeInfo](/komodo-defi-framework/api/v20/#fee-info) object. |
-| from | object | HD wallets only. A standard [WithdrawFromInfo](/komodo-defi-framework/api/v20/#withdraw-from-info) object. |
+| Structure | Type | Description |
+| -------------------- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
+| coin | string | The name of the coin the user desires to withdraw. |
+| to | string | Coins are withdrawn to this address. |
+| amount | string (numeric) | The amount the user desires to withdraw, ignored when `max=true`. |
+| memo | string | Optional. Adds a transaction memo for compatible coins (e.g. Tendermint ecosystem). |
+| max | bool | Optional. Withdraw the maximum available amount. |
+| fee | object | Optional. A standard [FeeInfo](/komodo-defi-framework/api/v20/#fee-info) object. |
+| from | object | HD wallets only. A standard [WithdrawFromInfo](/komodo-defi-framework/api/v20/#withdraw-from-info) object. |
+| ibc\_source\_channel | string | Tendermint IBC transfers only. The source channel for the [IBC](https://tutorials.cosmos.network/academy/3-ibc/1-what-is-ibc.html) transaction. |
### Response
@@ -561,6 +562,74 @@ This method generates a raw transaction which should then be broadcast using [se
You can see the memo is included on the [block explorer](https://irishub.iobscan.io/#/txs/E00982A2A8442D7140916A34E29E287A0B1CBB4B38940372D1966BA7ACDE5BD6)
+##### Withdraw Tendermint IBC coins
+
+Using the Cosmos [Ecosystem IBC protocol](https://everstake.one/blog/cosmos-ibc-breaking-down-the-walls-between-blockchains), you can withdraw coins from one chain to another. This example shows a withdrawal from Cosmos to Osmosis.
+
+
+ ```json
+ {
+ "mmrpc": "2.0",
+ "userpass": "RPC_UserP@SSW0RD",
+ "method": "withdraw",
+ "params": {
+ "coin": "ATOM",
+ "to": "osmo16drqvl3u8sukfsu4lm3qsk28jr3fahjac4rdw4",
+ "amount": 0.1,
+ "memo": "In the blackest of your moments, wait with no fear.",
+ "ibc_source_channel": "channel-141",
+ "fee": {
+ "type": "CosmosGas",
+ "gas_price": 0.05,
+ "gas_limit": 150000
+ }
+ },
+ "id": 0
+ }
+ ```
+
+
+
+ The `ibc_source_channel` value above is for demonstration only. For more information regarding how to set a valid value, see our guide to [finding the right IBC channel](/komodo-wallet/guides/how-to-find-the-right-ibc-channel-for-transfers/).
+
+
+
+ ```json
+ {
+ "mmrpc": "2.0",
+ "result": {
+ "tx_hex": "0af9010abc010a292f6962632e6170706c69636174696f6e732e7472616e736665722e76312e4d73675472616e73666572128e010a087472616e73666572120b6368616e6e656c2d3134311a0f0a057561746f6d1206313030303030222d636f736d6f733136647271766c33753873756b667375346c6d3371736b32386a72336661686a617377736163382a2b6f736d6f3136647271766c33753873756b667375346c6d3371736b32386a72336661686a6163347264773438a6c5b9a089f29efa171233496e2074686520626c61636b657374206f6620796f7572206d6f6d656e74732c20776169742077697468206e6f20666561722e188df8c70a12680a500a460a1f2f636f736d6f732e63727970746f2e736563703235366b312e5075624b657912230a2103d8064eece4fa5c0f8dc0267f68cee9bdd527f9e88f3594a323428718c391ecc212040a020801180b12140a0e0a057561746f6d1205313733353910e0c65b1a40042c4fa45d77405ee94e737a000b146f5019137d5a2d3275849c9ad66dd8ef1d0f087fb584f34b1ebcf7989e41bc0675e96c83f0eec4ffe355e078b6615d7a72",
+ "tx_hash": "06174E488B7BBC35180E841F2D170327BB7DE0A291CA69050D81F82A7CF103CB",
+ "from": [
+ "cosmos16drqvl3u8sukfsu4lm3qsk28jr3fahjaswsac8"
+ ],
+ "to": [
+ "osmo16drqvl3u8sukfsu4lm3qsk28jr3fahjac4rdw4"
+ ],
+ "total_amount": "0.1173590000000000",
+ "spent_by_me": "0.1173590000000000",
+ "received_by_me": "0",
+ "my_balance_change": "-0.1173590000000000",
+ "block_height": 0,
+ "timestamp": 0,
+ "fee_details": {
+ "type": "Tendermint",
+ "coin": "ATOM",
+ "amount": "0.017359",
+ "gas_limit": 1500000
+ },
+ "coin": "ATOM",
+ "internal_id": "06174e488b7bbc35180e841f2d170327bb7de0a291ca69050d81f82a7cf103cb",
+ "transaction_type": "TendermintIBCTransfer",
+ "memo": "In the blackest of your moments, wait with no fear."
+ },
+ "id": null
+ }
+ ```
+
+ You can see the memo is included on the [block explorer](https://irishub.iobscan.io/#/txs/E00982A2A8442D7140916A34E29E287A0B1CBB4B38940372D1966BA7ACDE5BD6)
+
+
### Error Responses
#### InvalidRequest: Unknown fee type
diff --git a/src/pages/komodo-wallet/guides/how-to-find-the-right-ibc-channel-for-transfers/index.mdx b/src/pages/komodo-wallet/guides/how-to-find-the-right-ibc-channel-for-transfers/index.mdx
new file mode 100644
index 00000000..cace17b0
--- /dev/null
+++ b/src/pages/komodo-wallet/guides/how-to-find-the-right-ibc-channel-for-transfers/index.mdx
@@ -0,0 +1,54 @@
+export const title = "How to find the right IBC channel for transfers on Komodo Wallet";
+export const description = "This guide describes how to activate coins in Komodo Wallet.";
+
+import ibcChannels from "@/public/images/docs/api-images/ibc-channels.png";
+
+# How to find the right IBC channel for transfers on Komodo Wallet
+
+This guide will help you find the correct IBC channel for making transfers using Komodo Wallet.
+
+
+ IBC transfer is an advanced feature. Due to the possibility of expired clients
+ or network changes, users should approach IBC transfers carefully and ensure
+ they are using the most up-to-date channels.
+
+
+## Understanding IBC Channels
+
+### Sources to Find the IBC Channel information
+
+* [https://ibc.iobscan.io/relayers](https://ibc.iobscan.io/relayers)
+* [https://www.mintscan.io/cosmos/relayers?sector=networks](https://www.mintscan.io/cosmos/relayers?sector=networks)
+
+### Example: Transferring from IRIS to OSMOSIS
+
+
+
+1. In Komodo Wallet, select IRIS and open the withdraw form.
+2. Enter the amount and an OSMOSIS address as the destination.
+3. Toggle on the "Set IBC channel" option.
+4. Set the `ibc_source_channel` value to `channel-3` (the channel for IRIS in the above image alongside OSMOSIS).
+5. Send your funds.
+
+
+ Channel IDs are specific to each chain pair and direction. The channel for
+ sending from Chain A to Chain B may be different from the channel for sending
+ from Chain B to Chain A.
+
+
+## Verifying Transfers
+
+After initiating a transfer:
+
+1. Note the transaction hash provided by Komodo Wallet.
+2. Use a block explorer for either the sending or receiving chain to track the transaction status.
+3. Allow some time for the transfer to complete, as IBC transfers may take longer than on-chain transactions.
+
+## Staying Updated
+
+* Regularly check for updates to the Komodo Wallet application.
+* Join official [Komodo community channels](https://komodoplatform.com/discord) to stay informed about any changes to IBC functionality or recommended practices.
+
+By following these steps, you can ensure you're using the correct IBC channel for your transfers on Komodo Wallet, minimizing the risk of failed transactions or lost funds.
+
+To see the API method used behind the scenes for IBC transfers, refer to the [withdraw (v2)](/komodo-defi-framework/api/v20/withdraw/) method.
diff --git a/src/pages/komodo-wallet/guides/index.mdx b/src/pages/komodo-wallet/guides/index.mdx
new file mode 100644
index 00000000..aff1e4bf
--- /dev/null
+++ b/src/pages/komodo-wallet/guides/index.mdx
@@ -0,0 +1,9 @@
+export const title = "Komodo Wallet General Guides";
+export const description =
+ "This section contains tutorials to perform various tasks in the Komodo Wallet apps.";
+
+# Komodo Wallet General Guides
+
+This section contains tutorials to perform various tasks in the Komodo Wallet apps.
+
+
diff --git a/src/pages/komodo-wallet/index.mdx b/src/pages/komodo-wallet/index.mdx
index 3646afc9..2235b615 100644
--- a/src/pages/komodo-wallet/index.mdx
+++ b/src/pages/komodo-wallet/index.mdx
@@ -5,6 +5,7 @@ export const description = "This section of the documentation contains end user
This section of the documentation contains end user guides for the Komodo Wallet on all platforms:
-* (Mobile)\[/komodo-wallet/mobile/]
-* (Desktop)\[/komodo-wallet/desktop/]
-* (Web)\[/komodo-wallet/web/]
+* [General](/komodo-wallet/guides/)
+* [Mobile](/komodo-wallet/mobile/)
+* [Desktop](/komodo-wallet/desktop/)
+* [Web](/komodo-wallet/web/)