1- // Code generated by swaggo/swag. DO NOT EDIT.
2-
1+ // Package docs Code generated by swaggo/swag. DO NOT EDIT
32package docs
43
54import "github.com/swaggo/swag"
@@ -219,6 +218,59 @@ const docTemplate = `{
219218 }
220219 }
221220 },
221+ "/localstatequery/utxos/search-by-asset": {
222+ "get": {
223+ "produces": [
224+ "application/json"
225+ ],
226+ "tags": [
227+ "localstatequery"
228+ ],
229+ "summary": "Search UTxOs by Asset",
230+ "parameters": [
231+ {
232+ "type": "string",
233+ "description": "Policy ID (hex)",
234+ "name": "policy_id",
235+ "in": "query",
236+ "required": true
237+ },
238+ {
239+ "type": "string",
240+ "description": "Asset name (hex)",
241+ "name": "asset_name",
242+ "in": "query",
243+ "required": true
244+ },
245+ {
246+ "type": "string",
247+ "description": "Optional: Filter by address",
248+ "name": "address",
249+ "in": "query"
250+ }
251+ ],
252+ "responses": {
253+ "200": {
254+ "description": "OK",
255+ "schema": {
256+ "$ref": "#/definitions/api.responseLocalStateQuerySearchUTxOsByAsset"
257+ }
258+ },
259+ "400": {
260+ "description": "Bad Request",
261+ "schema": {
262+ "$ref": "#/definitions/api.responseApiError"
263+ }
264+ },
265+ "500": {
266+ "description": "Internal Server Error",
267+ "schema": {
268+ "$ref": "#/definitions/api.responseApiError"
269+ }
270+ }
271+ }
272+ }
273+ },
222274 "/localtxmonitor/has_tx/{tx_hash}": {
223275 "get": {
224276 "consumes": [
@@ -396,6 +448,20 @@ const docTemplate = `{
396448 "api.responseLocalStateQueryProtocolParams": {
397449 "type": "object"
398450 },
451+ "api.responseLocalStateQuerySearchUTxOsByAsset": {
452+ "type": "object",
453+ "properties": {
454+ "count": {
455+ "type": "integer"
456+ },
457+ "utxos": {
458+ "type": "array",
459+ "items": {
460+ "$ref": "#/definitions/api.utxoItem"
461+ }
462+ }
463+ }
464+ },
399465 "api.responseLocalStateQuerySystemStart": {
400466 "type": "object",
401467 "properties": {
@@ -466,6 +532,24 @@ const docTemplate = `{
466532 "example": "96649a8b827a5a4d508cd4e98cd88832482f7b884d507a49466d1fb8c4b14978"
467533 }
468534 }
535+ },
536+ "api.utxoItem": {
537+ "type": "object",
538+ "properties": {
539+ "address": {
540+ "type": "string"
541+ },
542+ "amount": {
543+ "type": "integer"
544+ },
545+ "assets": {},
546+ "index": {
547+ "type": "integer"
548+ },
549+ "tx_hash": {
550+ "type": "string"
551+ }
552+ }
469553 }
470554 }
471555}`
@@ -480,6 +564,8 @@ var SwaggerInfo = &swag.Spec{
480564 Description : "Cardano Node API" ,
481565 InfoInstanceName : "swagger" ,
482566 SwaggerTemplate : docTemplate ,
567+ LeftDelim : "{{" ,
568+ RightDelim : "}}" ,
483569}
484570
485571func init () {
0 commit comments