Skip to content

Commit 9ca1abf

Browse files
asimm241zone117x
authored andcommitted
docs: add construction/payloads and construction/combine endpoint in openapi
1 parent 8769f0c commit 9ca1abf

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

docs/openapi.yaml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,3 +1175,57 @@ paths:
11751175
application/json:
11761176
schema:
11771177
$ref: ./api/rosetta/rosetta-construction-submit-request.schema.json
1178+
1179+
/rosetta/v1/construction/payloads:
1180+
post:
1181+
tags:
1182+
- Rosetta
1183+
summary: Generate an Unsigned Transaction and Signing Payloads
1184+
operationId: rosetta_construction_payloads
1185+
description: Generate and unsigned transaction from operations and metadata
1186+
responses:
1187+
200:
1188+
description: Success
1189+
content:
1190+
application/json:
1191+
schema:
1192+
$ref: ./api/rosetta/rosetta-construction-payloads-response.schema.json
1193+
400:
1194+
description: Error
1195+
content:
1196+
application/json:
1197+
schema:
1198+
$ref: ./entities/rosetta/rosetta-error.schema.json
1199+
requestBody:
1200+
required: true
1201+
content:
1202+
application/json:
1203+
schema:
1204+
$ref: ./api/rosetta/rosetta-construction-payloads-request.schema.json
1205+
1206+
/rosetta/v1/construction/combine:
1207+
post:
1208+
tags:
1209+
- Rosetta
1210+
summary: Create Network Transaction from Signatures
1211+
operationId: rosetta_construction_combine
1212+
description: Take unsigned transaction and signature, combine both and return signed transaction
1213+
responses:
1214+
200:
1215+
description: Success
1216+
content:
1217+
application/json:
1218+
schema:
1219+
$ref: ./api/rosetta/rosetta-construction-combine-response.schema.json
1220+
400:
1221+
description: Error
1222+
content:
1223+
application/json:
1224+
schema:
1225+
$ref: ./entities/rosetta/rosetta-error.schema.json
1226+
requestBody:
1227+
required: true
1228+
content:
1229+
application/json:
1230+
schema:
1231+
$ref: ./api/rosetta/rosetta-construction-combine-request.schema.json

0 commit comments

Comments
 (0)