From 48805babd6fe8dc95acef9ba89091e37d4d15fbf Mon Sep 17 00:00:00 2001 From: AzizbekFayziyev Date: Mon, 28 Apr 2025 20:30:36 +0500 Subject: [PATCH 1/4] add: zano trade api docs --- docs/build/zano-trade-api/_category_.json | 3 ++ .../apply-for-matched-order/_category_.json | 4 ++ .../apply-for-matched-order.md | 28 ++++++++++ .../confirm-transaction/_category_.json | 4 ++ .../confirm-transaction.md | 19 +++++++ .../create-new-order/_category_.json | 4 ++ .../create-new-order/create-new-order.md | 24 +++++++++ .../delete-your-order/_category_.json | 4 ++ .../delete-your-order/delete-your-order.md | 17 ++++++ .../get-active-orders/_category_.json | 4 ++ .../get-active-orders/get-active-orders.md | 51 ++++++++++++++++++ .../get-active-tx-by-id/_category_.json | 4 ++ .../get-active-tx-by-id.md | 29 ++++++++++ .../get-dex-trading-pair/_category_.json | 4 ++ .../get-dex-trading-pair.md | 11 ++++ .../zano-trade-api/overview/_category_.json | 4 ++ .../build/zano-trade-api/overview/overview.md | 9 ++++ .../ping-activity-checker/_category_.json | 4 ++ .../ping-activity-checker.md | 22 ++++++++ .../zano-trade-api/trade-api/_category_.json | 4 ++ .../zano-trade-api/trade-api/trade-api.md | 25 +++++++++ .../ping-activity-checker/instant.jpg | Bin 0 -> 3433 bytes 22 files changed, 278 insertions(+) create mode 100644 docs/build/zano-trade-api/_category_.json create mode 100644 docs/build/zano-trade-api/apply-for-matched-order/_category_.json create mode 100644 docs/build/zano-trade-api/apply-for-matched-order/apply-for-matched-order.md create mode 100644 docs/build/zano-trade-api/confirm-transaction/_category_.json create mode 100644 docs/build/zano-trade-api/confirm-transaction/confirm-transaction.md create mode 100644 docs/build/zano-trade-api/create-new-order/_category_.json create mode 100644 docs/build/zano-trade-api/create-new-order/create-new-order.md create mode 100644 docs/build/zano-trade-api/delete-your-order/_category_.json create mode 100644 docs/build/zano-trade-api/delete-your-order/delete-your-order.md create mode 100644 docs/build/zano-trade-api/get-active-orders/_category_.json create mode 100644 docs/build/zano-trade-api/get-active-orders/get-active-orders.md create mode 100644 docs/build/zano-trade-api/get-active-tx-by-id/_category_.json create mode 100644 docs/build/zano-trade-api/get-active-tx-by-id/get-active-tx-by-id.md create mode 100644 docs/build/zano-trade-api/get-dex-trading-pair/_category_.json create mode 100644 docs/build/zano-trade-api/get-dex-trading-pair/get-dex-trading-pair.md create mode 100644 docs/build/zano-trade-api/overview/_category_.json create mode 100644 docs/build/zano-trade-api/overview/overview.md create mode 100644 docs/build/zano-trade-api/ping-activity-checker/_category_.json create mode 100644 docs/build/zano-trade-api/ping-activity-checker/ping-activity-checker.md create mode 100644 docs/build/zano-trade-api/trade-api/_category_.json create mode 100644 docs/build/zano-trade-api/trade-api/trade-api.md create mode 100644 static/img/build/zano-trade-api/ping-activity-checker/instant.jpg diff --git a/docs/build/zano-trade-api/_category_.json b/docs/build/zano-trade-api/_category_.json new file mode 100644 index 0000000..259bac9 --- /dev/null +++ b/docs/build/zano-trade-api/_category_.json @@ -0,0 +1,3 @@ +{ + "label": "Zano trade Api" +} diff --git a/docs/build/zano-trade-api/apply-for-matched-order/_category_.json b/docs/build/zano-trade-api/apply-for-matched-order/_category_.json new file mode 100644 index 0000000..56d30a7 --- /dev/null +++ b/docs/build/zano-trade-api/apply-for-matched-order/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Apply for matched order", + "position": 6 +} diff --git a/docs/build/zano-trade-api/apply-for-matched-order/apply-for-matched-order.md b/docs/build/zano-trade-api/apply-for-matched-order/apply-for-matched-order.md new file mode 100644 index 0000000..049628a --- /dev/null +++ b/docs/build/zano-trade-api/apply-for-matched-order/apply-for-matched-order.md @@ -0,0 +1,28 @@ +# Apply for matched order + +> Use this method to apply if another side hasn't done it yet. +> You can check if they applied by the **transaction** field in applyTips. If it's `false`, you can apply for it; otherwise, you are the finalizer and should use the **Confirm transaction** method. + +- **METHOD**: POST +- **PATH**: `/api/orders/apply-order` + +#### Request: +```typescript +{ + token: string; + orderData: { + id: string; + connected_order_id: string; + hex_raw_proposal: string; + }; +} +``` + +>Explanation of Fields: +>- to get `hex_raw_proposal` create [ionic swap proposal](https://docs.zano.org/docs/build/rpc-api/wallet-rpc-api/ionic_swap_generate_proposal/) via Zano wallet API; +>- hex_raw_proposal - Hex-encoded proposal raw data(encrypted with common shared key). Includes half-created transaction template and some extra information that would be needed counterparty to finialize and sign transaction +#### Response: +```typescript + success: boolean; + data?: string // error message +``` \ No newline at end of file diff --git a/docs/build/zano-trade-api/confirm-transaction/_category_.json b/docs/build/zano-trade-api/confirm-transaction/_category_.json new file mode 100644 index 0000000..d446b7c --- /dev/null +++ b/docs/build/zano-trade-api/confirm-transaction/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Сonfirm transaction", + "position": 7 +} diff --git a/docs/build/zano-trade-api/confirm-transaction/confirm-transaction.md b/docs/build/zano-trade-api/confirm-transaction/confirm-transaction.md new file mode 100644 index 0000000..1a04080 --- /dev/null +++ b/docs/build/zano-trade-api/confirm-transaction/confirm-transaction.md @@ -0,0 +1,19 @@ +# Confirm transaction + +> Use this method to confirm that you have finalized the transaction (order or part). You can get its id from the **get-active-tx-by-orders-ids** method. + +- **METHOD**: POST +- **PATH**: `/api/transactions/confirm` + +#### Request: +```typescript +{ + token: string; + transactionId: number; +} +``` +#### Response: +```typescript + success: boolean; + data?: string // error message +``` \ No newline at end of file diff --git a/docs/build/zano-trade-api/create-new-order/_category_.json b/docs/build/zano-trade-api/create-new-order/_category_.json new file mode 100644 index 0000000..a94f717 --- /dev/null +++ b/docs/build/zano-trade-api/create-new-order/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Create new order", + "position": 4 +} diff --git a/docs/build/zano-trade-api/create-new-order/create-new-order.md b/docs/build/zano-trade-api/create-new-order/create-new-order.md new file mode 100644 index 0000000..298fa82 --- /dev/null +++ b/docs/build/zano-trade-api/create-new-order/create-new-order.md @@ -0,0 +1,24 @@ +# Create new order + +- **METHOD**: POST +- **PATH**: `/api/orders/create` + +#### Request: +```typescript +{ + token: string; + orderData: { + type: 'buy' | 'sell'; + side: 'limit'; // field naming will be fixed soon. It won't affect bots, both field names will work + price: string; + amount: string; + pairId: number; + }; +} +``` + +#### Response: +```typescript + success: boolean; + data?: string // error message +``` \ No newline at end of file diff --git a/docs/build/zano-trade-api/delete-your-order/_category_.json b/docs/build/zano-trade-api/delete-your-order/_category_.json new file mode 100644 index 0000000..261f6e9 --- /dev/null +++ b/docs/build/zano-trade-api/delete-your-order/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Delete your order", + "position": 5 +} diff --git a/docs/build/zano-trade-api/delete-your-order/delete-your-order.md b/docs/build/zano-trade-api/delete-your-order/delete-your-order.md new file mode 100644 index 0000000..d4a2f4d --- /dev/null +++ b/docs/build/zano-trade-api/delete-your-order/delete-your-order.md @@ -0,0 +1,17 @@ +# Delete your order + +- **METHOD**: POST +- **PATH**: `/api/orders/cancel` + +#### Request: +```typescript +{ + token: string; + orderId: number; +} +``` +#### Response: +```typescript + success: boolean; + data?: string // error message +``` diff --git a/docs/build/zano-trade-api/get-active-orders/_category_.json b/docs/build/zano-trade-api/get-active-orders/_category_.json new file mode 100644 index 0000000..b6dc6a4 --- /dev/null +++ b/docs/build/zano-trade-api/get-active-orders/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Get your active orders", + "position": 3 +} diff --git a/docs/build/zano-trade-api/get-active-orders/get-active-orders.md b/docs/build/zano-trade-api/get-active-orders/get-active-orders.md new file mode 100644 index 0000000..ffe5339 --- /dev/null +++ b/docs/build/zano-trade-api/get-active-orders/get-active-orders.md @@ -0,0 +1,51 @@ +# Get your active orders +- **METHOD**: POST +- **PATH**: `/api/orders/get-user-page` + +#### Request: +```typescript +{ + token: string; + pairId: number; +} +#### Response: +```typescript + success: boolean; + data: { + orders: { + id: number; + type: string; + timestamp: string; + side: string; + price: string; + amount: string; + total: string; + pair_id: number; + user_id: number; + status: string; + left: string; + hasNotification: boolean; + createdAt: string; + updatedAt: string; + isInstant: boolean; + }[]; + + applyTips: { + id: number; + left: string; + price: string; + user: { + alias: string; + address: string; + createdAt: string; + updatedAt: string; + }; + type: string; + total: string; + connected_order_id: number; + transaction: boolean; + hex_raw_proposal: string; + isInstant: boolean; + }[]; + } +``` \ No newline at end of file diff --git a/docs/build/zano-trade-api/get-active-tx-by-id/_category_.json b/docs/build/zano-trade-api/get-active-tx-by-id/_category_.json new file mode 100644 index 0000000..305726b --- /dev/null +++ b/docs/build/zano-trade-api/get-active-tx-by-id/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Get active Tx by orders' Ids", + "position": 10 +} diff --git a/docs/build/zano-trade-api/get-active-tx-by-id/get-active-tx-by-id.md b/docs/build/zano-trade-api/get-active-tx-by-id/get-active-tx-by-id.md new file mode 100644 index 0000000..a98bf2e --- /dev/null +++ b/docs/build/zano-trade-api/get-active-tx-by-id/get-active-tx-by-id.md @@ -0,0 +1,29 @@ +# Get active Tx by orders' Ids + +> Get active transaction data by matching 2 orders. +> So you can check if the transaction is already confirmed by another user and/or get proposal hex. + +- **METHOD**: POST +- **PATH**: `/api/transactions/get-active-tx-by-orders-ids` + +#### Request: +```typescript +{ + token: string; + firstOrderId: number; + secondOrderId: number; +} +``` +#### Response: +```typescript + success: boolean; + data?: { + buy_order_id: number; + sell_order_id: number; + amount: string; + timestamp: number; + status: string; + creator: string; + hex_raw_proposal: string; + } | string // error message +``` \ No newline at end of file diff --git a/docs/build/zano-trade-api/get-dex-trading-pair/_category_.json b/docs/build/zano-trade-api/get-dex-trading-pair/_category_.json new file mode 100644 index 0000000..fe78865 --- /dev/null +++ b/docs/build/zano-trade-api/get-dex-trading-pair/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Get info about a DEX trading pair", + "position": 8 +} diff --git a/docs/build/zano-trade-api/get-dex-trading-pair/get-dex-trading-pair.md b/docs/build/zano-trade-api/get-dex-trading-pair/get-dex-trading-pair.md new file mode 100644 index 0000000..ac31ca2 --- /dev/null +++ b/docs/build/zano-trade-api/get-dex-trading-pair/get-dex-trading-pair.md @@ -0,0 +1,11 @@ +# Get info about a DEX trading pair + +- **METHOD**: POST +- **PATH**: `/api/dex/get-pair` + +#### Request: +```typescript +{ + id: number; +} +``` diff --git a/docs/build/zano-trade-api/overview/_category_.json b/docs/build/zano-trade-api/overview/_category_.json new file mode 100644 index 0000000..e224ed8 --- /dev/null +++ b/docs/build/zano-trade-api/overview/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Overview", + "position": 1 +} diff --git a/docs/build/zano-trade-api/overview/overview.md b/docs/build/zano-trade-api/overview/overview.md new file mode 100644 index 0000000..5634613 --- /dev/null +++ b/docs/build/zano-trade-api/overview/overview.md @@ -0,0 +1,9 @@ +# Trade API for custom bots + +## Additional Resources +- [Zano Trade Dex](https://trade.zano.org) +- [Zano Documentation](https://docs.zano.org) +- [Ionic Swaps Overview](https://docs.zano.org/docs/build/confidential-assets/ionic-swaps) + +## RestAPI ENDPOINTS +**base URL** - https://trade.zano.org \ No newline at end of file diff --git a/docs/build/zano-trade-api/ping-activity-checker/_category_.json b/docs/build/zano-trade-api/ping-activity-checker/_category_.json new file mode 100644 index 0000000..c68eef3 --- /dev/null +++ b/docs/build/zano-trade-api/ping-activity-checker/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Ping activity checker", + "position": 9 +} diff --git a/docs/build/zano-trade-api/ping-activity-checker/ping-activity-checker.md b/docs/build/zano-trade-api/ping-activity-checker/ping-activity-checker.md new file mode 100644 index 0000000..efb51f0 --- /dev/null +++ b/docs/build/zano-trade-api/ping-activity-checker/ping-activity-checker.md @@ -0,0 +1,22 @@ +# Ping activity checker + +> *You should call this method every 10 seconds to keep the `instant` icon active, so users know that your bot will accept the order immediately.* + +> ![instant icon](../../../../static/img/build/zano-trade-api/ping-activity-checker/instant.jpg) + +- **METHOD**: POST +- **PATH**: `/api/dex/renew-bot` + +#### Request: +```typescript +{ + token: string; + orderId: number; +} +``` + +#### Response: +```typescript + sucess: boolean; + data?: string // error message +``` \ No newline at end of file diff --git a/docs/build/zano-trade-api/trade-api/_category_.json b/docs/build/zano-trade-api/trade-api/_category_.json new file mode 100644 index 0000000..40bb974 --- /dev/null +++ b/docs/build/zano-trade-api/trade-api/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Authenticate in System", + "position": 2 +} diff --git a/docs/build/zano-trade-api/trade-api/trade-api.md b/docs/build/zano-trade-api/trade-api/trade-api.md new file mode 100644 index 0000000..4670727 --- /dev/null +++ b/docs/build/zano-trade-api/trade-api/trade-api.md @@ -0,0 +1,25 @@ +# Authenticate in System +- **METHOD**: POST +- **PATH**: `/api/auth` + +#### Request: +```typescript +{ + data: { + address: string; + alias: string; + message: string; + signature: string; + }; + neverExpires: boolean; +} +``` + +>Explanation of Fields: +>- To get ```data``` you should [sign some message using Zano wallet](https://docs.zano.org/docs/build/rpc-api/wallet-rpc-api/sign_message/) (random string) + +#### Response: +```typescript + success: boolean; + data?: string // error message +``` \ No newline at end of file diff --git a/static/img/build/zano-trade-api/ping-activity-checker/instant.jpg b/static/img/build/zano-trade-api/ping-activity-checker/instant.jpg new file mode 100644 index 0000000000000000000000000000000000000000..396dddf45faf128956b55c80e7c3b643ece4cc73 GIT binary patch literal 3433 zcmb_eXH-+m7M?VkQW8LEN|h!^Z_+zKkdD$shy)DMLIk8JK1+y^-a({_^bS%~kS6gfe0&LbYhyiulMapo;5T!_1p5Cr{FBmRtPKMi z0x%?PML@9rDfk~_Mm%jpnr4aCIXrhc1ir)Fe{!xJ9!&5j&~la9;TV7X4%eaay?9$| zeHu5TaRJZYxchJXj7K1bra4E`xc)kuUp4@$UjTr`|MIz~0C0~80N2#bMf%<>;!?p5ePa2-Clb7y*x-(B+vhC)HZ-*0FIy$1`z^KBm{

dttjGB+v#kY=ECoZ5if0q4F&% zoArUPM2A1&OK z?ur0h)YCU(XGV8d1lZF5ndJb`HeO@_P{|cmpRhS9kYj~L912TWSE^s$`qCsVAA92^ zT5v$5o!sk<*5KF}m^mIuWKmCW8FJ~4!)a>4HI8<~k2zU1G~CjiuaiE?9d6R&IDS&6 zz4WgA;Ti7y<{RE8Wfmn<0Zzn5E%9sedCtA8X<#xhchDLj$0P=fKs)Al!USv@B& zNK5S5NXa*=S7pkWUT9p1iYPL;8ZV(ubi18rcUCSMQ2}3O->}R*b;r1=(hYW5NTXh5 zj#hBXDsli+06?Ww0Yf<)^>I$!#gplr&AU+b`SZ0ul9F+H0&A}y`mM6f%X%2LsTFX( zJ>p>R18H$+ob@?~v59|-d*&-AKdTg2T9z>WK1R?~@pG=e&B(JMkG6_LD`B3zl3pL2 zLwUMr$$X)xhH`2N#y ze7J$NZ*SgQ;*qQ_jJoyx@Z}BLv8lv>yr3Y7utIOH7MF6{;rE96HJj%t9z+UPb*8A< zw$E$lGwYeUxTN{3WwveVFKcv1R4M3(>k1dePnow8V(d?ptbLB@X--YEncTb`A)S0D z@PPm>YG@Iii)ZWp+>m>x)a!f$uWWSGgtexqk27(`?oF*q;B`Oo=rbRgB_}wSSeQ7v zulR{KM%TM6@+)YkBO@raXAO4v(F7h>n1aLO^7;})Zp2j4kn`kmt8sOa=w9Jn5>q3a>vyCkbMg|%yEsy9T-b)vtr865QX z`u56#3igravMI9nl;zI3`t;hBzZPU17#OTS#6K>VqcP#|nGG`#E`tlf5wg;2wM14A z0T5Cu4nPzDWLnugtV=&E&oOg7Q`b-08;y*Z!)oaZ8VWWBCnvbBoAsUT+GI4qiVWUbaF`J3C=&0>rV6D53IyDe7a$pKUJ=-Qe9iOx8qEGwge^MsW`EUH#>NL`Xc^h_ z$t6xlBx;r4=p|r{3k%M;6sS0}5JJ))u&*BQRm9Ha`l?PpmOy)dO()~&0_YGia-8Ih z8J&1M@i@aG^KO+mR&E z@Qh>l)UiUGg6V;nY1QjfTSoD-_lZL(jbE=cIiFHE`N%&5=WP41snBFP{{-5g@1@XD z6R3qJfKHwZ0Y*2;%Wv^cUt%=0_oR&7EvEuM(u~;J!I92H`R0hLjwyUZ81YH7xtP(t z=jVAg%?NW=xAaPhNe))d!zw|uO7`z>KEdjZC8XXKQ`BTgsmmWeqo-w)+Lg%ag_NV* zC?=M9=a~3yu8JEF&7x5x(TMA{K8(VG?%C+3Zx|+cJYIcNd-3hC=4%}u%n#$c#Nf~w z^>DmYN>Tu?D8G#T2RHu7Gm02tVfhnf*K$^R>y?-WF{B`8B9bDFli%RJK?N^2G&Ety z%Vl9%0++j0dusZ6hA<|9=S(*u!N#?uNWk!StC|Etb!>nBbW~MuQ{_1g3d+u$^Dsf$#2GThwUXk zSw5#!zPf~5u^)P}-M?kL%(<}#QyB1mbBoxX>eCr<>X9F@E>XKy+iKIeca2#2wzX(m z*aRXt6d|BkOwnR*nAWO1eNXtg()N`fRL~iIB4crjb)5>9aHmC&h80{-)+Dxnpv7@c z!S)EnpMG0+m7O`ejO3VpQx^1hPM1zk4BH2}mp;t@$Q_UbAa)miR(e{o|GVDv7b)n* z-yIR=k7OuV{rok*-z0DsZ-OQW`oqMcaZ21S#&bagBs6|(d94ic?V>OcL5O8vDnIC` zzl#Q^;gNqth~u~&v0ZoJEXyt;BT>-A=dHuB(t^7vBn#ECzOerN#cYAvE*b$7CJQYp VaMY+H{(MEXG5#lsoz>L0{|3}Ra`6BF literal 0 HcmV?d00001 From c3e41526c818d4191a63c0f4141c837fe87acb3e Mon Sep 17 00:00:00 2001 From: jejolare Date: Wed, 30 Apr 2025 18:24:52 +0700 Subject: [PATCH 2/4] minor fixes --- docs/build/zano-trade-api/_category_.json | 2 +- .../apply-for-matched-order.md | 2 + .../confirm-transaction.md | 6 +- .../create-new-order/create-new-order.md | 6 +- .../delete-your-order/delete-your-order.md | 8 ++- .../get-active-orders/get-active-orders.md | 1 + .../get-dex-trading-pair.md | 58 +++++++++++++++++++ .../build/zano-trade-api/overview/overview.md | 6 +- .../zano-trade-api/trade-api/trade-api.md | 6 +- 9 files changed, 82 insertions(+), 13 deletions(-) diff --git a/docs/build/zano-trade-api/_category_.json b/docs/build/zano-trade-api/_category_.json index 259bac9..311571b 100644 --- a/docs/build/zano-trade-api/_category_.json +++ b/docs/build/zano-trade-api/_category_.json @@ -1,3 +1,3 @@ { - "label": "Zano trade Api" + "label": "Zano trade API" } diff --git a/docs/build/zano-trade-api/apply-for-matched-order/apply-for-matched-order.md b/docs/build/zano-trade-api/apply-for-matched-order/apply-for-matched-order.md index 049628a..11ce6d7 100644 --- a/docs/build/zano-trade-api/apply-for-matched-order/apply-for-matched-order.md +++ b/docs/build/zano-trade-api/apply-for-matched-order/apply-for-matched-order.md @@ -23,6 +23,8 @@ >- hex_raw_proposal - Hex-encoded proposal raw data(encrypted with common shared key). Includes half-created transaction template and some extra information that would be needed counterparty to finialize and sign transaction #### Response: ```typescript +{ success: boolean; data?: string // error message +} ``` \ No newline at end of file diff --git a/docs/build/zano-trade-api/confirm-transaction/confirm-transaction.md b/docs/build/zano-trade-api/confirm-transaction/confirm-transaction.md index 1a04080..db16efe 100644 --- a/docs/build/zano-trade-api/confirm-transaction/confirm-transaction.md +++ b/docs/build/zano-trade-api/confirm-transaction/confirm-transaction.md @@ -14,6 +14,8 @@ ``` #### Response: ```typescript - success: boolean; - data?: string // error message + { + success: boolean; + data?: string // error message + } ``` \ No newline at end of file diff --git a/docs/build/zano-trade-api/create-new-order/create-new-order.md b/docs/build/zano-trade-api/create-new-order/create-new-order.md index 298fa82..8178a67 100644 --- a/docs/build/zano-trade-api/create-new-order/create-new-order.md +++ b/docs/build/zano-trade-api/create-new-order/create-new-order.md @@ -19,6 +19,8 @@ #### Response: ```typescript - success: boolean; - data?: string // error message + { + success: boolean; + data?: string // error message + } ``` \ No newline at end of file diff --git a/docs/build/zano-trade-api/delete-your-order/delete-your-order.md b/docs/build/zano-trade-api/delete-your-order/delete-your-order.md index d4a2f4d..f381527 100644 --- a/docs/build/zano-trade-api/delete-your-order/delete-your-order.md +++ b/docs/build/zano-trade-api/delete-your-order/delete-your-order.md @@ -12,6 +12,8 @@ ``` #### Response: ```typescript - success: boolean; - data?: string // error message -``` + { + success: boolean; + data?: string // error message + } +``` \ No newline at end of file diff --git a/docs/build/zano-trade-api/get-active-orders/get-active-orders.md b/docs/build/zano-trade-api/get-active-orders/get-active-orders.md index ffe5339..4ff6a50 100644 --- a/docs/build/zano-trade-api/get-active-orders/get-active-orders.md +++ b/docs/build/zano-trade-api/get-active-orders/get-active-orders.md @@ -8,6 +8,7 @@ token: string; pairId: number; } +``` #### Response: ```typescript success: boolean; diff --git a/docs/build/zano-trade-api/get-dex-trading-pair/get-dex-trading-pair.md b/docs/build/zano-trade-api/get-dex-trading-pair/get-dex-trading-pair.md index ac31ca2..b3337b2 100644 --- a/docs/build/zano-trade-api/get-dex-trading-pair/get-dex-trading-pair.md +++ b/docs/build/zano-trade-api/get-dex-trading-pair/get-dex-trading-pair.md @@ -9,3 +9,61 @@ id: number; } ``` + +#### Response: +```typescript +{ + success: boolean; + data: { + id: number; + first_currency_id: number; + second_currency_id: number; + rate: number; + coefficient: number; + high: number; + low: number; + volume: number; + featured: boolean; + createdAt: string; + updatedAt: string; + first_currency: { + id: number; + name: string; + code: string; + type: string; + asset_id: string; + auto_parsed: boolean; + asset_info: { + id: string; + logo: string; + price: number | null; + ticker: string; + asset_id: string; + full_name: string; + meta_info: string; + price_url: string; + decimal_point: number; + current_supply: string; + total_max_supply: string; + }; + whitelisted: boolean; + createdAt: string; + updatedAt: string; + }; + second_currency: { + id: number; + name: string; + code: string; + type: string; + asset_id: string; + auto_parsed: boolean; + asset_info: { + decimal_point: number; + }; + whitelisted: boolean; + createdAt: string; + updatedAt: string; + }; + }; +} +``` \ No newline at end of file diff --git a/docs/build/zano-trade-api/overview/overview.md b/docs/build/zano-trade-api/overview/overview.md index 5634613..4120808 100644 --- a/docs/build/zano-trade-api/overview/overview.md +++ b/docs/build/zano-trade-api/overview/overview.md @@ -1,9 +1,9 @@ # Trade API for custom bots -## Additional Resources +## Resources - [Zano Trade Dex](https://trade.zano.org) - [Zano Documentation](https://docs.zano.org) - [Ionic Swaps Overview](https://docs.zano.org/docs/build/confidential-assets/ionic-swaps) -## RestAPI ENDPOINTS -**base URL** - https://trade.zano.org \ No newline at end of file +## Rest API ENDPOINTS +**Base URL** - https://trade.zano.org \ No newline at end of file diff --git a/docs/build/zano-trade-api/trade-api/trade-api.md b/docs/build/zano-trade-api/trade-api/trade-api.md index 4670727..68612be 100644 --- a/docs/build/zano-trade-api/trade-api/trade-api.md +++ b/docs/build/zano-trade-api/trade-api/trade-api.md @@ -20,6 +20,8 @@ #### Response: ```typescript - success: boolean; - data?: string // error message + { + success: boolean; + data?: string // error message + } ``` \ No newline at end of file From ea92d289a7659168c470de096f63d35a607d9724 Mon Sep 17 00:00:00 2001 From: jejolare Date: Thu, 1 May 2025 12:16:17 +0700 Subject: [PATCH 3/4] update /api/orders/create response --- .../create-new-order/create-new-order.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/build/zano-trade-api/create-new-order/create-new-order.md b/docs/build/zano-trade-api/create-new-order/create-new-order.md index 8178a67..f18f92a 100644 --- a/docs/build/zano-trade-api/create-new-order/create-new-order.md +++ b/docs/build/zano-trade-api/create-new-order/create-new-order.md @@ -21,6 +21,22 @@ ```typescript { success: boolean; - data?: string // error message + data?: string | + { + hasNotification: boolean; + id: number; + type: string; + timestamp: string; + side: string; + price: string; + amount: string; + total: string; + pair_id: number; + user_id: number; + status: string; + left: string; + updatedAt: string; + createdAt: string; + } } ``` \ No newline at end of file From ccf9753dbd5adeb54ee02114ca1a4474c89fdb1b Mon Sep 17 00:00:00 2001 From: zano build machine Date: Mon, 5 May 2025 21:01:10 +0300 Subject: [PATCH 4/4] Auto generated doc --- .../daemon-rpc-api/check_keyimages.bin.md | 2 +- .../daemon-rpc-api/decrypt_tx_details.md | 2 +- .../find_outs_in_recent_blocks.md | 2 +- .../rpc-api/daemon-rpc-api/force_relay.md | 2 +- .../daemon-rpc-api/get_alias_by_address.md | 2 +- .../daemon-rpc-api/get_alias_details.md | 2 +- .../daemon-rpc-api/get_alias_reward.md | 2 +- .../rpc-api/daemon-rpc-api/get_aliases.md | 2 +- .../daemon-rpc-api/get_all_alias_details.md | 2 +- .../daemon-rpc-api/get_all_pool_tx_list.md | 2 +- .../daemon-rpc-api/get_alt_block_details.md | 2 +- .../daemon-rpc-api/get_alt_blocks_details.md | 2 +- .../rpc-api/daemon-rpc-api/get_asset_info.md | 2 +- .../rpc-api/daemon-rpc-api/get_assets_list.md | 2 +- .../daemon-rpc-api/get_blocks_details.md | 2 +- .../get_current_core_tx_expiration_median.md | 2 +- .../get_est_height_from_date.md | 2 +- .../daemon-rpc-api/get_main_block_details.md | 2 +- .../daemon-rpc-api/get_multisig_info.md | 2 +- .../daemon-rpc-api/get_o_indexes.bin.md | 2 +- .../rpc-api/daemon-rpc-api/get_out_info.md | 2 +- .../rpc-api/daemon-rpc-api/get_pool_info.md | 2 +- .../get_pool_txs_brief_details.md | 2 +- .../daemon-rpc-api/get_pool_txs_details.md | 2 +- .../daemon-rpc-api/get_pos_details.bin.md | 2 +- .../rpc-api/daemon-rpc-api/get_tx_details.md | 2 +- .../rpc-api/daemon-rpc-api/get_tx_pool.bin.md | 2 +- .../build/rpc-api/daemon-rpc-api/get_votes.md | 2 +- .../rpc-api/daemon-rpc-api/getblockcount.md | 2 +- .../daemon-rpc-api/getblockheaderbyhash.md | 2 +- .../daemon-rpc-api/getblockheaderbyheight.md | 2 +- .../rpc-api/daemon-rpc-api/getblocks.bin.md | 2 +- .../daemon-rpc-api/getblocktemplate.md | 2 +- .../build/rpc-api/daemon-rpc-api/getheight.md | 2 +- docs/build/rpc-api/daemon-rpc-api/getinfo.md | 2 +- .../daemon-rpc-api/getlastblockheader.md | 2 +- .../daemon-rpc-api/getrandom_outs.bin.md | 2 +- .../rpc-api/daemon-rpc-api/getrandom_outs.md | 2 +- .../daemon-rpc-api/getrandom_outs1.bin.md | 2 +- .../rpc-api/daemon-rpc-api/getrandom_outs1.md | 2 +- .../daemon-rpc-api/getrandom_outs3.bin.md | 2 +- .../rpc-api/daemon-rpc-api/getrandom_outs3.md | 2 +- .../rpc-api/daemon-rpc-api/gettransactions.md | 2 +- .../marketplace_global_get_offers_ex.md | 2 +- .../rpc-api/daemon-rpc-api/on_getblockhash.md | 2 +- .../daemon-rpc-api/remove_tx_from_pool.md | 2 +- .../daemon-rpc-api/reset_transaction_pool.md | 2 +- .../rpc-api/daemon-rpc-api/search_by_id.md | 2 +- .../daemon-rpc-api/sendrawtransaction.md | 23 +++++++++---- .../set_maintainers_info.bin.md | 2 +- .../rpc-api/daemon-rpc-api/submitblock.md | 2 +- .../rpc-api/daemon-rpc-api/submitblock2.md | 2 +- .../daemon-rpc-api/validate_signature.md | 2 +- .../wallet-rpc-api/assets_whitelist_add.md | 2 +- .../wallet-rpc-api/assets_whitelist_get.md | 2 +- .../wallet-rpc-api/assets_whitelist_remove.md | 2 +- .../wallet-rpc-api/attach_asset_descriptor.md | 2 +- .../rpc-api/wallet-rpc-api/burn_asset.md | 8 ++--- .../rpc-api/wallet-rpc-api/decrypt_data.md | 2 +- .../rpc-api/wallet-rpc-api/deploy_asset.md | 2 +- .../rpc-api/wallet-rpc-api/emit_asset.md | 2 +- .../rpc-api/wallet-rpc-api/encrypt_data.md | 2 +- .../wallet-rpc-api/force_rescan_tx_pool.md | 33 +++++++++++++++++++ .../wallet-rpc-api/get_bare_outs_stats.md | 2 +- .../wallet-rpc-api/get_bulk_payments.md | 2 +- .../wallet-rpc-api/get_mining_history.md | 2 +- .../rpc-api/wallet-rpc-api/get_payments.md | 2 +- .../wallet-rpc-api/get_recent_txs_and_info.md | 2 +- .../get_recent_txs_and_info2.md | 2 +- .../wallet-rpc-api/get_restore_info.md | 2 +- .../wallet-rpc-api/get_seed_phrase_info.md | 2 +- .../rpc-api/wallet-rpc-api/get_wallet_info.md | 2 +- .../rpc-api/wallet-rpc-api/getaddress.md | 2 +- .../rpc-api/wallet-rpc-api/getbalance.md | 2 +- .../ionic_swap_accept_proposal.md | 2 +- .../ionic_swap_generate_proposal.md | 2 +- .../ionic_swap_get_proposal_info.md | 2 +- .../wallet-rpc-api/make_integrated_address.md | 2 +- .../marketplace_cancel_offer.md | 2 +- .../marketplace_get_offers_ex.md | 2 +- .../wallet-rpc-api/marketplace_push_offer.md | 2 +- .../marketplace_push_update_offer.md | 2 +- .../rpc-api/wallet-rpc-api/mw_get_wallets.md | 2 +- .../wallet-rpc-api/mw_select_wallet.md | 2 +- .../rpc-api/wallet-rpc-api/proxy_to_daemon.md | 2 +- .../rpc-api/wallet-rpc-api/register_alias.md | 2 +- .../wallet-rpc-api/search_for_transactions.md | 2 +- .../search_for_transactions2.md | 2 +- .../send_ext_signed_asset_tx.md | 2 +- .../rpc-api/wallet-rpc-api/sign_message.md | 2 +- .../rpc-api/wallet-rpc-api/sign_transfer.md | 2 +- .../split_integrated_address.md | 2 +- docs/build/rpc-api/wallet-rpc-api/store.md | 2 +- .../rpc-api/wallet-rpc-api/submit_transfer.md | 2 +- .../rpc-api/wallet-rpc-api/sweep_bare_outs.md | 2 +- .../rpc-api/wallet-rpc-api/sweep_below.md | 2 +- docs/build/rpc-api/wallet-rpc-api/transfer.md | 2 +- .../transfer_asset_ownership.md | 12 +++---- .../rpc-api/wallet-rpc-api/update_alias.md | 2 +- .../rpc-api/wallet-rpc-api/update_asset.md | 2 +- 100 files changed, 156 insertions(+), 112 deletions(-) create mode 100644 docs/build/rpc-api/wallet-rpc-api/force_rescan_tx_pool.md diff --git a/docs/build/rpc-api/daemon-rpc-api/check_keyimages.bin.md b/docs/build/rpc-api/daemon-rpc-api/check_keyimages.bin.md index d9fc987..096ffe1 100644 --- a/docs/build/rpc-api/daemon-rpc-api/check_keyimages.bin.md +++ b/docs/build/rpc-api/daemon-rpc-api/check_keyimages.bin.md @@ -23,4 +23,4 @@ URL: ```http:://127.0.0.1:11211/check_keyimages.bin``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/decrypt_tx_details.md b/docs/build/rpc-api/daemon-rpc-api/decrypt_tx_details.md index dc2c1fd..5874e60 100644 --- a/docs/build/rpc-api/daemon-rpc-api/decrypt_tx_details.md +++ b/docs/build/rpc-api/daemon-rpc-api/decrypt_tx_details.md @@ -53,4 +53,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "verified_tx_id": (Re)calculated transaction id. Can be used in third-party proof generation. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/find_outs_in_recent_blocks.md b/docs/build/rpc-api/daemon-rpc-api/find_outs_in_recent_blocks.md index 44fde1c..8fe4256 100644 --- a/docs/build/rpc-api/daemon-rpc-api/find_outs_in_recent_blocks.md +++ b/docs/build/rpc-api/daemon-rpc-api/find_outs_in_recent_blocks.md @@ -53,4 +53,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/force_relay.md b/docs/build/rpc-api/daemon-rpc-api/force_relay.md index 73fa29c..9102e19 100644 --- a/docs/build/rpc-api/daemon-rpc-api/force_relay.md +++ b/docs/build/rpc-api/daemon-rpc-api/force_relay.md @@ -23,4 +23,4 @@ URL: ```http:://127.0.0.1:11211/force_relay``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_alias_by_address.md b/docs/build/rpc-api/daemon-rpc-api/get_alias_by_address.md index 40a830c..f5f3595 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_alias_by_address.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_alias_by_address.md @@ -40,4 +40,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_alias_details.md b/docs/build/rpc-api/daemon-rpc-api/get_alias_details.md index fcaf19d..fadd593 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_alias_details.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_alias_details.md @@ -41,4 +41,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_alias_reward.md b/docs/build/rpc-api/daemon-rpc-api/get_alias_reward.md index c9fde7e..06b4a81 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_alias_reward.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_alias_reward.md @@ -34,4 +34,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_aliases.md b/docs/build/rpc-api/daemon-rpc-api/get_aliases.md index 882fad6..b4fcc68 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_aliases.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_aliases.md @@ -54,4 +54,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_all_alias_details.md b/docs/build/rpc-api/daemon-rpc-api/get_all_alias_details.md index abfe284..15a1495 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_all_alias_details.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_all_alias_details.md @@ -50,4 +50,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_all_pool_tx_list.md b/docs/build/rpc-api/daemon-rpc-api/get_all_pool_tx_list.md index c2329bf..96f6d32 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_all_pool_tx_list.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_all_pool_tx_list.md @@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_alt_block_details.md b/docs/build/rpc-api/daemon-rpc-api/get_alt_block_details.md index 62cb467..4d75e83 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_alt_block_details.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_alt_block_details.md @@ -145,4 +145,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_alt_blocks_details.md b/docs/build/rpc-api/daemon-rpc-api/get_alt_blocks_details.md index 2aa09ae..9fc6295 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_alt_blocks_details.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_alt_blocks_details.md @@ -147,4 +147,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_asset_info.md b/docs/build/rpc-api/daemon-rpc-api/get_asset_info.md index 902bc53..be8bbab 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_asset_info.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_asset_info.md @@ -53,4 +53,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_assets_list.md b/docs/build/rpc-api/daemon-rpc-api/get_assets_list.md index a950702..54cd808 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_assets_list.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_assets_list.md @@ -57,4 +57,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status code of operation, OK if success ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_blocks_details.md b/docs/build/rpc-api/daemon-rpc-api/get_blocks_details.md index 91fcfa0..c18c3cb 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_blocks_details.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_blocks_details.md @@ -148,4 +148,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_current_core_tx_expiration_median.md b/docs/build/rpc-api/daemon-rpc-api/get_current_core_tx_expiration_median.md index 0296b84..892e1ce 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_current_core_tx_expiration_median.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_current_core_tx_expiration_median.md @@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_est_height_from_date.md b/docs/build/rpc-api/daemon-rpc-api/get_est_height_from_date.md index 3075697..4dc2591 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_est_height_from_date.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_est_height_from_date.md @@ -34,4 +34,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_main_block_details.md b/docs/build/rpc-api/daemon-rpc-api/get_main_block_details.md index b651794..a066757 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_main_block_details.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_main_block_details.md @@ -145,4 +145,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_multisig_info.md b/docs/build/rpc-api/daemon-rpc-api/get_multisig_info.md index 4780ada..15afbd8 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_multisig_info.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_multisig_info.md @@ -36,4 +36,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_id": Transaction ID where the multisig output is present, if found. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_o_indexes.bin.md b/docs/build/rpc-api/daemon-rpc-api/get_o_indexes.bin.md index a6a7519..53285a1 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_o_indexes.bin.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_o_indexes.bin.md @@ -21,4 +21,4 @@ URL: ```http:://127.0.0.1:11211/get_o_indexes.bin``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_out_info.md b/docs/build/rpc-api/daemon-rpc-api/get_out_info.md index eeba8e2..4e21540 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_out_info.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_out_info.md @@ -38,4 +38,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_id": Transaction ID where the queried output is present, if found. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_pool_info.md b/docs/build/rpc-api/daemon-rpc-api/get_pool_info.md index a5283e2..c7dd2e8 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_pool_info.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_pool_info.md @@ -43,4 +43,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status code, OK if succeeded. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_pool_txs_brief_details.md b/docs/build/rpc-api/daemon-rpc-api/get_pool_txs_brief_details.md index e47f12f..2664cbd 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_pool_txs_brief_details.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_pool_txs_brief_details.md @@ -43,4 +43,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "total_amount": Total amount transferred in the transaction (legacy, for pre-Zarcanum txs). ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_pool_txs_details.md b/docs/build/rpc-api/daemon-rpc-api/get_pool_txs_details.md index dbb5afd..5bf57bb 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_pool_txs_details.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_pool_txs_details.md @@ -97,4 +97,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "timestamp": Timestamp when the transaction was created. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_pos_details.bin.md b/docs/build/rpc-api/daemon-rpc-api/get_pos_details.bin.md index f0f74e0..9bcbe5c 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_pos_details.bin.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_pos_details.bin.md @@ -31,4 +31,4 @@ URL: ```http:://127.0.0.1:11211/get_pos_details.bin``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_tx_details.md b/docs/build/rpc-api/daemon-rpc-api/get_tx_details.md index 33ed0a1..0ae288b 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_tx_details.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_tx_details.md @@ -97,4 +97,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "timestamp": Timestamp when the transaction was created. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_tx_pool.bin.md b/docs/build/rpc-api/daemon-rpc-api/get_tx_pool.bin.md index 838eff9..50b1d80 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_tx_pool.bin.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_tx_pool.bin.md @@ -25,4 +25,4 @@ URL: ```http:://127.0.0.1:11211/get_tx_pool.bin``` "txs": Transactions as blobs. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/get_votes.md b/docs/build/rpc-api/daemon-rpc-api/get_votes.md index 9ca0c20..1a84128 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_votes.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_votes.md @@ -57,4 +57,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "yes": Nubmer of positve votes. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/getblockcount.md b/docs/build/rpc-api/daemon-rpc-api/getblockcount.md index 998c01b..afb8f43 100644 --- a/docs/build/rpc-api/daemon-rpc-api/getblockcount.md +++ b/docs/build/rpc-api/daemon-rpc-api/getblockcount.md @@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/getblockheaderbyhash.md b/docs/build/rpc-api/daemon-rpc-api/getblockheaderbyhash.md index 5d3a62b..b505883 100644 --- a/docs/build/rpc-api/daemon-rpc-api/getblockheaderbyhash.md +++ b/docs/build/rpc-api/daemon-rpc-api/getblockheaderbyhash.md @@ -57,4 +57,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/getblockheaderbyheight.md b/docs/build/rpc-api/daemon-rpc-api/getblockheaderbyheight.md index 1e4fc0d..db0e4a6 100644 --- a/docs/build/rpc-api/daemon-rpc-api/getblockheaderbyheight.md +++ b/docs/build/rpc-api/daemon-rpc-api/getblockheaderbyheight.md @@ -57,4 +57,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/getblocks.bin.md b/docs/build/rpc-api/daemon-rpc-api/getblocks.bin.md index a1f729d..d69200f 100644 --- a/docs/build/rpc-api/daemon-rpc-api/getblocks.bin.md +++ b/docs/build/rpc-api/daemon-rpc-api/getblocks.bin.md @@ -31,4 +31,4 @@ URL: ```http:://127.0.0.1:11211/getblocks.bin``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/getblocktemplate.md b/docs/build/rpc-api/daemon-rpc-api/getblocktemplate.md index f243033..2af7c31 100644 --- a/docs/build/rpc-api/daemon-rpc-api/getblocktemplate.md +++ b/docs/build/rpc-api/daemon-rpc-api/getblocktemplate.md @@ -91,4 +91,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "txs_fee": Total fees from transactions included in the block. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/getheight.md b/docs/build/rpc-api/daemon-rpc-api/getheight.md index c4c4127..8a439d5 100644 --- a/docs/build/rpc-api/daemon-rpc-api/getheight.md +++ b/docs/build/rpc-api/daemon-rpc-api/getheight.md @@ -23,4 +23,4 @@ URL: ```http:://127.0.0.1:11211/getheight``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/getinfo.md b/docs/build/rpc-api/daemon-rpc-api/getinfo.md index 14031cc..9870605 100644 --- a/docs/build/rpc-api/daemon-rpc-api/getinfo.md +++ b/docs/build/rpc-api/daemon-rpc-api/getinfo.md @@ -193,4 +193,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "white_peerlist_size": Size of the white peer list, which includes addresses of reliable nodes. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/getlastblockheader.md b/docs/build/rpc-api/daemon-rpc-api/getlastblockheader.md index df79993..d98a47a 100644 --- a/docs/build/rpc-api/daemon-rpc-api/getlastblockheader.md +++ b/docs/build/rpc-api/daemon-rpc-api/getlastblockheader.md @@ -54,4 +54,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/getrandom_outs.bin.md b/docs/build/rpc-api/daemon-rpc-api/getrandom_outs.bin.md index b4bd9b2..472657e 100644 --- a/docs/build/rpc-api/daemon-rpc-api/getrandom_outs.bin.md +++ b/docs/build/rpc-api/daemon-rpc-api/getrandom_outs.bin.md @@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/getrandom_outs.bin``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/getrandom_outs.md b/docs/build/rpc-api/daemon-rpc-api/getrandom_outs.md index bbe622c..5cb3b9b 100644 --- a/docs/build/rpc-api/daemon-rpc-api/getrandom_outs.md +++ b/docs/build/rpc-api/daemon-rpc-api/getrandom_outs.md @@ -41,4 +41,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/getrandom_outs1.bin.md b/docs/build/rpc-api/daemon-rpc-api/getrandom_outs1.bin.md index e1a7fbd..588349e 100644 --- a/docs/build/rpc-api/daemon-rpc-api/getrandom_outs1.bin.md +++ b/docs/build/rpc-api/daemon-rpc-api/getrandom_outs1.bin.md @@ -34,4 +34,4 @@ URL: ```http:://127.0.0.1:11211/getrandom_outs1.bin``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/getrandom_outs1.md b/docs/build/rpc-api/daemon-rpc-api/getrandom_outs1.md index 68a2d3f..0d74c03 100644 --- a/docs/build/rpc-api/daemon-rpc-api/getrandom_outs1.md +++ b/docs/build/rpc-api/daemon-rpc-api/getrandom_outs1.md @@ -43,4 +43,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/getrandom_outs3.bin.md b/docs/build/rpc-api/daemon-rpc-api/getrandom_outs3.bin.md index 1790fbd..3864113 100644 --- a/docs/build/rpc-api/daemon-rpc-api/getrandom_outs3.bin.md +++ b/docs/build/rpc-api/daemon-rpc-api/getrandom_outs3.bin.md @@ -39,4 +39,4 @@ URL: ```http:://127.0.0.1:11211/getrandom_outs3.bin``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/getrandom_outs3.md b/docs/build/rpc-api/daemon-rpc-api/getrandom_outs3.md index f122e78..b428ad3 100644 --- a/docs/build/rpc-api/daemon-rpc-api/getrandom_outs3.md +++ b/docs/build/rpc-api/daemon-rpc-api/getrandom_outs3.md @@ -48,4 +48,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/gettransactions.md b/docs/build/rpc-api/daemon-rpc-api/gettransactions.md index 5905a81..2b708da 100644 --- a/docs/build/rpc-api/daemon-rpc-api/gettransactions.md +++ b/docs/build/rpc-api/daemon-rpc-api/gettransactions.md @@ -27,4 +27,4 @@ URL: ```http:://127.0.0.1:11211/gettransactions``` "txs_as_hex": Transactions stored as blobs ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/marketplace_global_get_offers_ex.md b/docs/build/rpc-api/daemon-rpc-api/marketplace_global_get_offers_ex.md index 4090131..860bd9a 100644 --- a/docs/build/rpc-api/daemon-rpc-api/marketplace_global_get_offers_ex.md +++ b/docs/build/rpc-api/daemon-rpc-api/marketplace_global_get_offers_ex.md @@ -116,4 +116,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "total_offers": Total number of offers. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/on_getblockhash.md b/docs/build/rpc-api/daemon-rpc-api/on_getblockhash.md index c481028..529e337 100644 --- a/docs/build/rpc-api/daemon-rpc-api/on_getblockhash.md +++ b/docs/build/rpc-api/daemon-rpc-api/on_getblockhash.md @@ -26,4 +26,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` ``` ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/remove_tx_from_pool.md b/docs/build/rpc-api/daemon-rpc-api/remove_tx_from_pool.md index 26eea0c..3d94a75 100644 --- a/docs/build/rpc-api/daemon-rpc-api/remove_tx_from_pool.md +++ b/docs/build/rpc-api/daemon-rpc-api/remove_tx_from_pool.md @@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/reset_transaction_pool.md b/docs/build/rpc-api/daemon-rpc-api/reset_transaction_pool.md index 903794f..f18560a 100644 --- a/docs/build/rpc-api/daemon-rpc-api/reset_transaction_pool.md +++ b/docs/build/rpc-api/daemon-rpc-api/reset_transaction_pool.md @@ -30,4 +30,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/search_by_id.md b/docs/build/rpc-api/daemon-rpc-api/search_by_id.md index ff921cd..4da8510 100644 --- a/docs/build/rpc-api/daemon-rpc-api/search_by_id.md +++ b/docs/build/rpc-api/daemon-rpc-api/search_by_id.md @@ -34,4 +34,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "types_found": List of entity types where the identifier was found. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/sendrawtransaction.md b/docs/build/rpc-api/daemon-rpc-api/sendrawtransaction.md index 3f80e4b..e2c1a75 100644 --- a/docs/build/rpc-api/daemon-rpc-api/sendrawtransaction.md +++ b/docs/build/rpc-api/daemon-rpc-api/sendrawtransaction.md @@ -1,26 +1,37 @@ Broadcasts a raw transaction encoded in hexadecimal format to the network. -URL: ```http:://127.0.0.1:11211/sendrawtransaction``` +URL: ```http:://127.0.0.1:11211/json_rpc``` ### Request: ```json { - "tx_as_hex": "00018ed1535b8b4862e.....368cdc5a86" + "id": 0, + "jsonrpc": "2.0", + "method": "sendrawtransaction", + "params": { + "tx_as_base64": "AwElEBr7PxIAAAAAABr......cQAAAAAAABqBJAAAAAAAABo6BQ", + "tx_as_hex": "00018ed1535b8b4862e.....368cdc5a86" + } } ``` ### Request description: ``` - "tx_as_hex": The transaction data as a hexadecimal string, ready for network broadcast. + "tx_as_base64": The transaction data as a base64 string, ready for network broadcast. Used only if tx_as_hex is empty + "tx_as_hex": The transaction data as a hexadecimal string, ready for network broadcast. ``` ### Response: ```json { - "status": "OK" + "id": 0, + "jsonrpc": "2.0", + "result": { + "status": "OK" + } } ``` ### Response description: ``` - "status": Status of the call. + "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/set_maintainers_info.bin.md b/docs/build/rpc-api/daemon-rpc-api/set_maintainers_info.bin.md index 026655c..7ebf101 100644 --- a/docs/build/rpc-api/daemon-rpc-api/set_maintainers_info.bin.md +++ b/docs/build/rpc-api/daemon-rpc-api/set_maintainers_info.bin.md @@ -23,4 +23,4 @@ URL: ```http:://127.0.0.1:11211/set_maintainers_info.bin``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/submitblock.md b/docs/build/rpc-api/daemon-rpc-api/submitblock.md index a08c375..1d6a4b8 100644 --- a/docs/build/rpc-api/daemon-rpc-api/submitblock.md +++ b/docs/build/rpc-api/daemon-rpc-api/submitblock.md @@ -29,4 +29,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/submitblock2.md b/docs/build/rpc-api/daemon-rpc-api/submitblock2.md index cae5f61..5075247 100644 --- a/docs/build/rpc-api/daemon-rpc-api/submitblock2.md +++ b/docs/build/rpc-api/daemon-rpc-api/submitblock2.md @@ -38,4 +38,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/daemon-rpc-api/validate_signature.md b/docs/build/rpc-api/daemon-rpc-api/validate_signature.md index 9e80e2a..1428ccf 100644 --- a/docs/build/rpc-api/daemon-rpc-api/validate_signature.md +++ b/docs/build/rpc-api/daemon-rpc-api/validate_signature.md @@ -38,4 +38,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_add.md b/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_add.md index 40d61af..c382248 100644 --- a/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_add.md +++ b/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_add.md @@ -53,4 +53,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the asset ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_get.md b/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_get.md index bc1dcbc..94c06cf 100644 --- a/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_get.md +++ b/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_get.md @@ -97,4 +97,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "total_max_supply": Maximum possible supply for a given asset, cannot be changed after deployment. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_remove.md b/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_remove.md index fc96e1d..d83f701 100644 --- a/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_remove.md +++ b/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_remove.md @@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Command result (OK if success) ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/attach_asset_descriptor.md b/docs/build/rpc-api/wallet-rpc-api/attach_asset_descriptor.md index 6947160..11af80a 100644 --- a/docs/build/rpc-api/wallet-rpc-api/attach_asset_descriptor.md +++ b/docs/build/rpc-api/wallet-rpc-api/attach_asset_descriptor.md @@ -34,4 +34,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Status of the call ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/burn_asset.md b/docs/build/rpc-api/wallet-rpc-api/burn_asset.md index cd36f94..323e57c 100644 --- a/docs/build/rpc-api/wallet-rpc-api/burn_asset.md +++ b/docs/build/rpc-api/wallet-rpc-api/burn_asset.md @@ -26,9 +26,9 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` ``` "asset_id": Id of the asset to burn "burn_amount": Amount to burn - "native_amount": Optional, if we need this transaction to be seen by particular wallet - "point_tx_to_address": Optional, if we need this transaction to be seen by particular wallet - "service_entries": Optional, if we need to include service entries for burn transaction + "native_amount": [optional] Used when this transaction needs to be visible to a particular wallet. + "point_tx_to_address": [optional] Used when this transaction needs to be visible to a particular wallet. + "service_entries": [optional] Used when service entries need to be included for a burn transaction. "body": Hex-encoded body of the attachment "flags": Flags that help wallet to automatically process some properties of the attachment(combination of TX_SERVICE_ATTACHMENT_ENCRYPT_BODY=1, TX_SERVICE_ATTACHMENT_DEFLATE_BODY=2, TX_SERVICE_ATTACHMENT_ENCRYPT_BODY_ISOLATE_AUDITABLE=4,TX_SERVICE_ATTACHMENT_ENCRYPT_ADD_PROOF=8 ) "instruction": Instruction that make sence for this particular service @@ -51,4 +51,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_id": Id of transaction that carries asset burn operation ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/decrypt_data.md b/docs/build/rpc-api/wallet-rpc-api/decrypt_data.md index 8297417..cd69b3c 100644 --- a/docs/build/rpc-api/wallet-rpc-api/decrypt_data.md +++ b/docs/build/rpc-api/wallet-rpc-api/decrypt_data.md @@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "res_buff": base64 encoded resulted data message ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/deploy_asset.md b/docs/build/rpc-api/wallet-rpc-api/deploy_asset.md index 0e64ce3..1a7902a 100644 --- a/docs/build/rpc-api/wallet-rpc-api/deploy_asset.md +++ b/docs/build/rpc-api/wallet-rpc-api/deploy_asset.md @@ -64,4 +64,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_id": Id of transaction that carries asset registration command, asset would be registered as soon as transaction got confirmed ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/emit_asset.md b/docs/build/rpc-api/wallet-rpc-api/emit_asset.md index 28135cf..30f31a3 100644 --- a/docs/build/rpc-api/wallet-rpc-api/emit_asset.md +++ b/docs/build/rpc-api/wallet-rpc-api/emit_asset.md @@ -43,4 +43,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_id": Id of transaction that emits the required asset. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/encrypt_data.md b/docs/build/rpc-api/wallet-rpc-api/encrypt_data.md index 473b024..d9579b7 100644 --- a/docs/build/rpc-api/wallet-rpc-api/encrypt_data.md +++ b/docs/build/rpc-api/wallet-rpc-api/encrypt_data.md @@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "res_buff": base64 encoded resulted data message ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/force_rescan_tx_pool.md b/docs/build/rpc-api/wallet-rpc-api/force_rescan_tx_pool.md new file mode 100644 index 0000000..26a6013 --- /dev/null +++ b/docs/build/rpc-api/wallet-rpc-api/force_rescan_tx_pool.md @@ -0,0 +1,33 @@ +Force wallet to fetch tx pool from daemon and go through it's transactions + +URL: ```http:://127.0.0.1:11211/json_rpc``` +### Request: +```json +{ + "id": 0, + "jsonrpc": "2.0", + "method": "force_rescan_tx_pool", + "params": { + } +} +``` +### Request description: +``` + +``` +### Response: +```json +{ + "id": 0, + "jsonrpc": "2.0", + "result": { + "status": "OK" + } +} +``` +### Response description: +``` + "status": Operation status + +``` +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/get_bare_outs_stats.md b/docs/build/rpc-api/wallet-rpc-api/get_bare_outs_stats.md index a01c0a2..5f39329 100644 --- a/docs/build/rpc-api/wallet-rpc-api/get_bare_outs_stats.md +++ b/docs/build/rpc-api/wallet-rpc-api/get_bare_outs_stats.md @@ -36,4 +36,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "txs_count": Total number of transactions needed to convert all bare outputs . ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/get_bulk_payments.md b/docs/build/rpc-api/wallet-rpc-api/get_bulk_payments.md index 2336926..e632e73 100644 --- a/docs/build/rpc-api/wallet-rpc-api/get_bulk_payments.md +++ b/docs/build/rpc-api/wallet-rpc-api/get_bulk_payments.md @@ -47,4 +47,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "unlock_time": Timestamp/blocknumber after which this money would become availabe, recommended don't count transfers that has this field not 0 ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/get_mining_history.md b/docs/build/rpc-api/wallet-rpc-api/get_mining_history.md index 698ff87..551057b 100644 --- a/docs/build/rpc-api/wallet-rpc-api/get_mining_history.md +++ b/docs/build/rpc-api/wallet-rpc-api/get_mining_history.md @@ -38,4 +38,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "t": Timestamp ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/get_payments.md b/docs/build/rpc-api/wallet-rpc-api/get_payments.md index a61ad4f..495c513 100644 --- a/docs/build/rpc-api/wallet-rpc-api/get_payments.md +++ b/docs/build/rpc-api/wallet-rpc-api/get_payments.md @@ -45,4 +45,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "unlock_time": Timestamp/blocknumber after which this money would become availabe, recommended don't count transfers that has this field not 0 ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info.md b/docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info.md index 6f475ff..2f1c769 100644 --- a/docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info.md +++ b/docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info.md @@ -152,4 +152,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "unlock_time": Unlock time of this transfer (if present) ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info2.md b/docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info2.md index 6542a15..48f97c3 100644 --- a/docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info2.md +++ b/docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info2.md @@ -148,4 +148,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "unlock_time": Unlock time of this transfer (if present) ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/get_restore_info.md b/docs/build/rpc-api/wallet-rpc-api/get_restore_info.md index 1544981..ebba14f 100644 --- a/docs/build/rpc-api/wallet-rpc-api/get_restore_info.md +++ b/docs/build/rpc-api/wallet-rpc-api/get_restore_info.md @@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "seed_phrase": Wallet's seed(secured with password if it was provided in argument) ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/get_seed_phrase_info.md b/docs/build/rpc-api/wallet-rpc-api/get_seed_phrase_info.md index 7326c63..b56b530 100644 --- a/docs/build/rpc-api/wallet-rpc-api/get_seed_phrase_info.md +++ b/docs/build/rpc-api/wallet-rpc-api/get_seed_phrase_info.md @@ -42,4 +42,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tracking": Indicates whether tracking is enabled. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/get_wallet_info.md b/docs/build/rpc-api/wallet-rpc-api/get_wallet_info.md index 383946b..8b1a5e2 100644 --- a/docs/build/rpc-api/wallet-rpc-api/get_wallet_info.md +++ b/docs/build/rpc-api/wallet-rpc-api/get_wallet_info.md @@ -44,4 +44,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "utxo_distribution": UTXO distribution for this particular wallet: disabled right now ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/getaddress.md b/docs/build/rpc-api/wallet-rpc-api/getaddress.md index 948e91d..4b33c7d 100644 --- a/docs/build/rpc-api/wallet-rpc-api/getaddress.md +++ b/docs/build/rpc-api/wallet-rpc-api/getaddress.md @@ -30,4 +30,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "address": string; standard public address of the wallet. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/getbalance.md b/docs/build/rpc-api/wallet-rpc-api/getbalance.md index 1d5df51..be5ed8a 100644 --- a/docs/build/rpc-api/wallet-rpc-api/getbalance.md +++ b/docs/build/rpc-api/wallet-rpc-api/getbalance.md @@ -72,4 +72,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "unlocked_balance": Native coins total unlocked amount ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/ionic_swap_accept_proposal.md b/docs/build/rpc-api/wallet-rpc-api/ionic_swap_accept_proposal.md index 483ed88..d5a1c02 100644 --- a/docs/build/rpc-api/wallet-rpc-api/ionic_swap_accept_proposal.md +++ b/docs/build/rpc-api/wallet-rpc-api/ionic_swap_accept_proposal.md @@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "result_tx_id": Result transaction id ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/ionic_swap_generate_proposal.md b/docs/build/rpc-api/wallet-rpc-api/ionic_swap_generate_proposal.md index 33a18af..159bc25 100644 --- a/docs/build/rpc-api/wallet-rpc-api/ionic_swap_generate_proposal.md +++ b/docs/build/rpc-api/wallet-rpc-api/ionic_swap_generate_proposal.md @@ -47,4 +47,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hex_raw_proposal": Hex-encoded proposal raw data(encrypted with common shared key). Includes half-created transaction template and some extra information that would be needed counterparty to finialize and sign transaction ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/ionic_swap_get_proposal_info.md b/docs/build/rpc-api/wallet-rpc-api/ionic_swap_get_proposal_info.md index 2cd6643..bce1a4d 100644 --- a/docs/build/rpc-api/wallet-rpc-api/ionic_swap_get_proposal_info.md +++ b/docs/build/rpc-api/wallet-rpc-api/ionic_swap_get_proposal_info.md @@ -45,4 +45,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "to_initiator": Assets sent to the initiator ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/make_integrated_address.md b/docs/build/rpc-api/wallet-rpc-api/make_integrated_address.md index 8e5b0dc..8f4bd7b 100644 --- a/docs/build/rpc-api/wallet-rpc-api/make_integrated_address.md +++ b/docs/build/rpc-api/wallet-rpc-api/make_integrated_address.md @@ -34,4 +34,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "payment_id": Payment ID associated with the this address. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/marketplace_cancel_offer.md b/docs/build/rpc-api/wallet-rpc-api/marketplace_cancel_offer.md index e4eae82..128a29d 100644 --- a/docs/build/rpc-api/wallet-rpc-api/marketplace_cancel_offer.md +++ b/docs/build/rpc-api/wallet-rpc-api/marketplace_cancel_offer.md @@ -38,4 +38,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_hash": Transaction hash ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/marketplace_get_offers_ex.md b/docs/build/rpc-api/wallet-rpc-api/marketplace_get_offers_ex.md index d35d4e4..5e50fa9 100644 --- a/docs/build/rpc-api/wallet-rpc-api/marketplace_get_offers_ex.md +++ b/docs/build/rpc-api/wallet-rpc-api/marketplace_get_offers_ex.md @@ -116,4 +116,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "total_offers": Total number of offers. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/marketplace_push_offer.md b/docs/build/rpc-api/wallet-rpc-api/marketplace_push_offer.md index 492eb63..7347283 100644 --- a/docs/build/rpc-api/wallet-rpc-api/marketplace_push_offer.md +++ b/docs/build/rpc-api/wallet-rpc-api/marketplace_push_offer.md @@ -76,4 +76,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_hash": Transaction hash ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/marketplace_push_update_offer.md b/docs/build/rpc-api/wallet-rpc-api/marketplace_push_update_offer.md index fac99cc..f7f9b8d 100644 --- a/docs/build/rpc-api/wallet-rpc-api/marketplace_push_update_offer.md +++ b/docs/build/rpc-api/wallet-rpc-api/marketplace_push_update_offer.md @@ -80,4 +80,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_hash": Transaction hash ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/mw_get_wallets.md b/docs/build/rpc-api/wallet-rpc-api/mw_get_wallets.md index a8bf55e..6e54f44 100644 --- a/docs/build/rpc-api/wallet-rpc-api/mw_get_wallets.md +++ b/docs/build/rpc-api/wallet-rpc-api/mw_get_wallets.md @@ -89,4 +89,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "view_sec_key": View secret key ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/mw_select_wallet.md b/docs/build/rpc-api/wallet-rpc-api/mw_select_wallet.md index e6900cc..70258f1 100644 --- a/docs/build/rpc-api/wallet-rpc-api/mw_select_wallet.md +++ b/docs/build/rpc-api/wallet-rpc-api/mw_select_wallet.md @@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "status": Result (OK if success) ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/proxy_to_daemon.md b/docs/build/rpc-api/wallet-rpc-api/proxy_to_daemon.md index a28e2c3..037491d 100644 --- a/docs/build/rpc-api/wallet-rpc-api/proxy_to_daemon.md +++ b/docs/build/rpc-api/wallet-rpc-api/proxy_to_daemon.md @@ -36,4 +36,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "response_code": Response code ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/register_alias.md b/docs/build/rpc-api/wallet-rpc-api/register_alias.md index 0538f69..4455928 100644 --- a/docs/build/rpc-api/wallet-rpc-api/register_alias.md +++ b/docs/build/rpc-api/wallet-rpc-api/register_alias.md @@ -43,4 +43,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_id": If success - transactions that performs registration(alias becomes available after few confirmations) ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/search_for_transactions.md b/docs/build/rpc-api/wallet-rpc-api/search_for_transactions.md index 8aa05d5..3ad28bb 100644 --- a/docs/build/rpc-api/wallet-rpc-api/search_for_transactions.md +++ b/docs/build/rpc-api/wallet-rpc-api/search_for_transactions.md @@ -327,4 +327,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "unlock_time": Unlock time of this transfer (if present) ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/search_for_transactions2.md b/docs/build/rpc-api/wallet-rpc-api/search_for_transactions2.md index 7d819b2..220a7cd 100644 --- a/docs/build/rpc-api/wallet-rpc-api/search_for_transactions2.md +++ b/docs/build/rpc-api/wallet-rpc-api/search_for_transactions2.md @@ -315,4 +315,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "unlock_time": Unlock time of this transfer (if present) ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/send_ext_signed_asset_tx.md b/docs/build/rpc-api/wallet-rpc-api/send_ext_signed_asset_tx.md index 9c4f134..325c216 100644 --- a/docs/build/rpc-api/wallet-rpc-api/send_ext_signed_asset_tx.md +++ b/docs/build/rpc-api/wallet-rpc-api/send_ext_signed_asset_tx.md @@ -44,4 +44,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "transfers_were_unlocked": If true, all input transfers that were locked when preparing this transaction, are now unlocked and may be spent. Can be true only upon sending failure and if requested. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/sign_message.md b/docs/build/rpc-api/wallet-rpc-api/sign_message.md index fdc06f5..d0c2543 100644 --- a/docs/build/rpc-api/wallet-rpc-api/sign_message.md +++ b/docs/build/rpc-api/wallet-rpc-api/sign_message.md @@ -34,4 +34,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "sig": Signature represented as a hexadecimal string ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/sign_transfer.md b/docs/build/rpc-api/wallet-rpc-api/sign_transfer.md index 142810a..e83c4b5 100644 --- a/docs/build/rpc-api/wallet-rpc-api/sign_transfer.md +++ b/docs/build/rpc-api/wallet-rpc-api/sign_transfer.md @@ -34,4 +34,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_signed_hex": Signed transaction hex-encoded blob. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/split_integrated_address.md b/docs/build/rpc-api/wallet-rpc-api/split_integrated_address.md index 01bccc8..e032f66 100644 --- a/docs/build/rpc-api/wallet-rpc-api/split_integrated_address.md +++ b/docs/build/rpc-api/wallet-rpc-api/split_integrated_address.md @@ -34,4 +34,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "standard_address": Standart address. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/store.md b/docs/build/rpc-api/wallet-rpc-api/store.md index 8acaef3..b53c86c 100644 --- a/docs/build/rpc-api/wallet-rpc-api/store.md +++ b/docs/build/rpc-api/wallet-rpc-api/store.md @@ -30,4 +30,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "wallet_file_size": Resulting file size in bytes ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/submit_transfer.md b/docs/build/rpc-api/wallet-rpc-api/submit_transfer.md index 29ca002..d10f88c 100644 --- a/docs/build/rpc-api/wallet-rpc-api/submit_transfer.md +++ b/docs/build/rpc-api/wallet-rpc-api/submit_transfer.md @@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_hash": Signed transaction hash. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/sweep_bare_outs.md b/docs/build/rpc-api/wallet-rpc-api/sweep_bare_outs.md index d51209f..343c86d 100644 --- a/docs/build/rpc-api/wallet-rpc-api/sweep_bare_outs.md +++ b/docs/build/rpc-api/wallet-rpc-api/sweep_bare_outs.md @@ -36,4 +36,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "txs_sent": Total number of transactions sent. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/sweep_below.md b/docs/build/rpc-api/wallet-rpc-api/sweep_below.md index 0305c08..82fd15b 100644 --- a/docs/build/rpc-api/wallet-rpc-api/sweep_below.md +++ b/docs/build/rpc-api/wallet-rpc-api/sweep_below.md @@ -50,4 +50,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_unsigned_hex": Unsigned transaction data in hexadecimal format. ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/transfer.md b/docs/build/rpc-api/wallet-rpc-api/transfer.md index 1a138e3..c93a01c 100644 --- a/docs/build/rpc-api/wallet-rpc-api/transfer.md +++ b/docs/build/rpc-api/wallet-rpc-api/transfer.md @@ -69,4 +69,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_size": Transaction size in bytes ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/transfer_asset_ownership.md b/docs/build/rpc-api/wallet-rpc-api/transfer_asset_ownership.md index 18f0769..8b85482 100644 --- a/docs/build/rpc-api/wallet-rpc-api/transfer_asset_ownership.md +++ b/docs/build/rpc-api/wallet-rpc-api/transfer_asset_ownership.md @@ -1,4 +1,4 @@ -Transfer asset ownership to new public key. +Transfer asset ownership to a new public key. URL: ```http:://127.0.0.1:11211/json_rpc``` ### Request: @@ -16,9 +16,9 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` ``` ### Request description: ``` - "asset_id": Own asset id, that would be transfered to someone else - "new_owner": Public key of the new owner(default Ed25519 public key, 32 bytes) - "new_owner_eth_pub_key": Public key of the new owner(ECDSA public key, 33 bytes) Used only if 'owner' field is empty + "asset_id": The ID of the asset, owned by the wallet, that is to be transferred to someone else. + "new_owner": Public key of the new owner. Standard Ed25519 public key, 32 bytes. + "new_owner_eth_pub_key": Public key of the new owner. ECDSA public key, 33 bytes. Either new_owner or new_owner_eth_pub_key must be specified. ``` ### Response: @@ -35,7 +35,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` ### Response description: ``` "status": Status of the call - "tx_id": Id of transaction that carries asset transfer ownership operation + "tx_id": Id of the transaction that carries asset transfer ownership operation ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/update_alias.md b/docs/build/rpc-api/wallet-rpc-api/update_alias.md index 31d2f9d..8296308 100644 --- a/docs/build/rpc-api/wallet-rpc-api/update_alias.md +++ b/docs/build/rpc-api/wallet-rpc-api/update_alias.md @@ -41,4 +41,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_id": If success - transactions that performs registration(alias becomes available after few confirmations) ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file diff --git a/docs/build/rpc-api/wallet-rpc-api/update_asset.md b/docs/build/rpc-api/wallet-rpc-api/update_asset.md index f1a7a6e..6737254 100644 --- a/docs/build/rpc-api/wallet-rpc-api/update_asset.md +++ b/docs/build/rpc-api/wallet-rpc-api/update_asset.md @@ -53,4 +53,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_id": Id of transaction that carries asset registration command, asset would be registered as soon as transaction got confirmed ``` -Auto-doc built with: 2.1.5.397[2872515] \ No newline at end of file +Auto-doc built with: 2.1.6.402[ef0a47c] \ No newline at end of file