Skip to content

Commit 5370f35

Browse files
authored
Merge pull request #8 from dv-net/unconfirmed-route
Unconfirmed transaction route info
2 parents 4c1bb0f + 708bd7d commit 5370f35

File tree

18 files changed

+1167
-96
lines changed

18 files changed

+1167
-96
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
## [Unreleased]
44

5-
- After reading fix
5+
## [0.0.15] - 2025-11-11
6+
7+
- Documentation about unconfirmed transactions
8+
- Minor fixes
69

710
## [0.0.14] - 2025-11-06
811

scripts/openapi.json

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,52 @@
823823
}
824824
]
825825
}
826+
},
827+
"/v1/external/transactions/unconfirmed/transfer": {
828+
"get": {
829+
"security": [
830+
{
831+
"XApiKey": []
832+
}
833+
],
834+
"tags": [
835+
"Store"
836+
],
837+
"description": "Get unconfirmed transfer transactions",
838+
"summary": "Get unconfirmed transfer transactions",
839+
"responses": {
840+
"200": {
841+
"description": "OK",
842+
"content": {
843+
"application/json": {
844+
"schema": {
845+
"$ref": "#/components/schemas/JSONResponse-UnconfirmedTransactionResponse"
846+
}
847+
}
848+
}
849+
},
850+
"401": {
851+
"description": "Unauthorized",
852+
"content": {
853+
"application/json": {
854+
"schema": {
855+
"$ref": "#/components/schemas/APIError"
856+
}
857+
}
858+
}
859+
},
860+
"500": {
861+
"description": "Internal Server Error",
862+
"content": {
863+
"application/json": {
864+
"schema": {
865+
"$ref": "#/components/schemas/APIError"
866+
}
867+
}
868+
}
869+
}
870+
}
871+
}
826872
}
827873
},
828874
"components": {
@@ -1282,6 +1328,20 @@
12821328
}
12831329
}
12841330
},
1331+
"JSONResponse-UnconfirmedTransactionResponse": {
1332+
"type": "object",
1333+
"properties": {
1334+
"code": {
1335+
"type": "integer"
1336+
},
1337+
"data": {
1338+
"$ref": "#/components/schemas/UnconfirmedTransactionResponse"
1339+
},
1340+
"message": {
1341+
"type": "string"
1342+
}
1343+
}
1344+
},
12851345
"JSONResponse-string": {
12861346
"type": "object",
12871347
"properties": {
@@ -1529,6 +1589,54 @@
15291589
}
15301590
}
15311591
},
1592+
"UnconfirmedTransactionResponse": {
1593+
"type": "object",
1594+
"properties": {
1595+
"amount": {
1596+
"type": "number"
1597+
},
1598+
"amount_usd": {
1599+
"type": "number"
1600+
},
1601+
"bc_uniq_key": {
1602+
"type": "string"
1603+
},
1604+
"blockchain": {
1605+
"type": "string"
1606+
},
1607+
"created_at": {
1608+
"type": "string",
1609+
"format": "date-time"
1610+
},
1611+
"currency_id": {
1612+
"type": "string"
1613+
},
1614+
"from_address": {
1615+
"type": "string"
1616+
},
1617+
"id": {
1618+
"type": "string",
1619+
"format": "uuid"
1620+
},
1621+
"network_created_at": {
1622+
"type": "string",
1623+
"format": "date-time"
1624+
},
1625+
"to_address": {
1626+
"type": "string"
1627+
},
1628+
"tx_hash": {
1629+
"type": "string"
1630+
},
1631+
"type": {
1632+
"type": "string"
1633+
},
1634+
"updated_at": {
1635+
"type": "string",
1636+
"format": "date-time"
1637+
}
1638+
}
1639+
},
15321640
"WithdrawalFromProcessingDto": {
15331641
"type": "object",
15341642
"properties": {

src/ar/openapi.json

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,52 @@
823823
}
824824
]
825825
}
826+
},
827+
"/v1/external/transactions/unconfirmed/transfer": {
828+
"get": {
829+
"security": [
830+
{
831+
"XApiKey": []
832+
}
833+
],
834+
"tags": [
835+
"Store"
836+
],
837+
"description": "احصل على معاملات تحويل غير مؤكدة",
838+
"summary": "احصل على معاملات تحويل غير مؤكدة",
839+
"responses": {
840+
"200": {
841+
"description": "OK",
842+
"content": {
843+
"application/json": {
844+
"schema": {
845+
"$ref": "#/components/schemas/JSONResponse-UnconfirmedTransactionResponse"
846+
}
847+
}
848+
}
849+
},
850+
"401": {
851+
"description": "Unauthorized",
852+
"content": {
853+
"application/json": {
854+
"schema": {
855+
"$ref": "#/components/schemas/APIError"
856+
}
857+
}
858+
}
859+
},
860+
"500": {
861+
"description": "Internal Server Error",
862+
"content": {
863+
"application/json": {
864+
"schema": {
865+
"$ref": "#/components/schemas/APIError"
866+
}
867+
}
868+
}
869+
}
870+
}
871+
}
826872
}
827873
},
828874
"components": {
@@ -1282,6 +1328,20 @@
12821328
}
12831329
}
12841330
},
1331+
"JSONResponse-UnconfirmedTransactionResponse": {
1332+
"type": "object",
1333+
"properties": {
1334+
"code": {
1335+
"type": "integer"
1336+
},
1337+
"data": {
1338+
"$ref": "#/components/schemas/UnconfirmedTransactionResponse"
1339+
},
1340+
"message": {
1341+
"type": "string"
1342+
}
1343+
}
1344+
},
12851345
"JSONResponse-string": {
12861346
"type": "object",
12871347
"properties": {
@@ -1529,6 +1589,54 @@
15291589
}
15301590
}
15311591
},
1592+
"UnconfirmedTransactionResponse": {
1593+
"type": "object",
1594+
"properties": {
1595+
"amount": {
1596+
"type": "number"
1597+
},
1598+
"amount_usd": {
1599+
"type": "number"
1600+
},
1601+
"bc_uniq_key": {
1602+
"type": "string"
1603+
},
1604+
"blockchain": {
1605+
"type": "string"
1606+
},
1607+
"created_at": {
1608+
"type": "string",
1609+
"format": "date-time"
1610+
},
1611+
"currency_id": {
1612+
"type": "string"
1613+
},
1614+
"from_address": {
1615+
"type": "string"
1616+
},
1617+
"id": {
1618+
"type": "string",
1619+
"format": "uuid"
1620+
},
1621+
"network_created_at": {
1622+
"type": "string",
1623+
"format": "date-time"
1624+
},
1625+
"to_address": {
1626+
"type": "string"
1627+
},
1628+
"tx_hash": {
1629+
"type": "string"
1630+
},
1631+
"type": {
1632+
"type": "string"
1633+
},
1634+
"updated_at": {
1635+
"type": "string",
1636+
"format": "date-time"
1637+
}
1638+
}
1639+
},
15321640
"WithdrawalFromProcessingDto": {
15331641
"type": "object",
15341642
"properties": {

src/ar/t.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,17 @@
8686
"Go home": "اذهب إلى الصفحة الرئيسية",
8787
"Cloud vs on-premises": "السحابة مقابل المحلية",
8888
"Description": "وصف",
89-
"Installation with docker": "التثبيت مع عامل ميناء"
89+
"Installation with docker": "التثبيت مع عامل ميناء",
90+
"jsonTitles": {
91+
"Get external exchange balances": "الحصول على أرصدة الصرف الخارجية",
92+
"Get external processing wallet balances": "الحصول على رصيد محفظة المعالجة الخارجية",
93+
"Get store currencies list": "الحصول على قائمة عملات المتجر",
94+
"Get store currency rate": "الحصول على سعر عملة المتجر",
95+
"Create wallet with address": "إنشاء محافظ للدفع للمدفوع",
96+
"Get external hot wallet balances": "الحصول على أرصدة المحافظ الساخنة الخارجية",
97+
"Initialize withdrawal from processing": "إنشاء سحب للأموال من محفظة المعالجة",
98+
"Get withdrawal from processing": "الحصول على معلومات حول السحب من محفظة المعالجة",
99+
"Delete withdrawal from processing": "حذف السحب من المعالجة",
100+
"Get unconfirmed transfer transactions": "احصل على معاملات تحويل غير مؤكدة"
101+
}
90102
}

0 commit comments

Comments
 (0)