From 8b94b6ae57f4652bb0835a73ffd63057dd4e1df8 Mon Sep 17 00:00:00 2001 From: Alexander Artamonov Date: Wed, 14 Sep 2022 17:51:15 +0300 Subject: [PATCH 1/3] add rescan transfers --- source/includes/_rescan_transfers.md | 19 +++++++++++++++++++ source/index.html.md | 1 + 2 files changed, 20 insertions(+) create mode 100644 source/includes/_rescan_transfers.md diff --git a/source/includes/_rescan_transfers.md b/source/includes/_rescan_transfers.md new file mode 100644 index 0000000..d842b86 --- /dev/null +++ b/source/includes/_rescan_transfers.md @@ -0,0 +1,19 @@ +# Rescan transfers + +## Rescan transfers + +Method available only for ETH family wallets + +> GET https://cryptoprocessing.io/api/v1/wallets/:wallet_id/addresses/:address_id/rescan_transfers + +```shell +curl "https://cryptoprocessing.io/api/v1/wallets/ebdb4cc4-0b5e-48c5-93c4-59335a991b8b/addresses/0x75113e05edd43f5badc3e71d8a4b1c5c9b372f99/rescan_transfers \ +-H "Content-Type: application/json" \ +-H "Authorization: XXX" +``` + +> Response: + +```json +{"data":{"status":"ok"}} +``` diff --git a/source/index.html.md b/source/index.html.md index 73ee70e..c7cb3e2 100644 --- a/source/index.html.md +++ b/source/index.html.md @@ -22,6 +22,7 @@ includes: - errors - request_signing - address_validation + - rescan_transfers - invoices search: true From 0f5f95f5b5baad09956276f2de3e3066ffd4e08c Mon Sep 17 00:00:00 2001 From: Alexander Artamonov Date: Thu, 15 Sep 2022 12:42:01 +0300 Subject: [PATCH 2/3] update rescan transfers --- source/includes/_rescan_transfers.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/includes/_rescan_transfers.md b/source/includes/_rescan_transfers.md index d842b86..281fa5f 100644 --- a/source/includes/_rescan_transfers.md +++ b/source/includes/_rescan_transfers.md @@ -4,12 +4,13 @@ Method available only for ETH family wallets -> GET https://cryptoprocessing.io/api/v1/wallets/:wallet_id/addresses/:address_id/rescan_transfers +> POST "https://cryptoprocessing.io/api/v1/wallets/:wallet_id/transactions/rescan" ```shell -curl "https://cryptoprocessing.io/api/v1/wallets/ebdb4cc4-0b5e-48c5-93c4-59335a991b8b/addresses/0x75113e05edd43f5badc3e71d8a4b1c5c9b372f99/rescan_transfers \ +curl -X POST "https://cryptoprocessing.io/api/v1/wallets/ebdb4cc4-0b5e-48c5-93c4-59335a991b8b/transactions/rescan" \ -H "Content-Type: application/json" \ --H "Authorization: XXX" +-H "Authorization: f5994c61abf297b8cc820d90f3a41256f653dd5b149e56b22dee242d23bbd23c" \ +-d '{ "address": "0x75113e05edd43f5badc3e71d8a4b1c5c9b372f99" }' ``` > Response: From f9d4c87528f4a9701af647a0c4e25a61ae499d17 Mon Sep 17 00:00:00 2001 From: Alexander Artamonov Date: Thu, 15 Sep 2022 12:45:40 +0300 Subject: [PATCH 3/3] update rescan transfers --- source/includes/{_rescan_transfers.md => _rescan.md} | 4 ++-- source/index.html.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename source/includes/{_rescan_transfers.md => _rescan.md} (92%) diff --git a/source/includes/_rescan_transfers.md b/source/includes/_rescan.md similarity index 92% rename from source/includes/_rescan_transfers.md rename to source/includes/_rescan.md index 281fa5f..0528aaf 100644 --- a/source/includes/_rescan_transfers.md +++ b/source/includes/_rescan.md @@ -1,6 +1,6 @@ -# Rescan transfers +# Rescan -## Rescan transfers +## Rescan Method available only for ETH family wallets diff --git a/source/index.html.md b/source/index.html.md index c7cb3e2..9ef8a84 100644 --- a/source/index.html.md +++ b/source/index.html.md @@ -22,7 +22,7 @@ includes: - errors - request_signing - address_validation - - rescan_transfers + - rescan - invoices search: true