@@ -619,6 +619,29 @@ paths:
619619 summary : Transaction Metadata Labels
620620 description : Get a list of all transaction metalabels
621621 operationId : tx_metalabels
622+ /tx_by_metalabel : # RPC
623+ get :
624+ tags :
625+ - Transactions
626+ parameters :
627+ - $ref : " #/components/parameters/_metalabel"
628+ - $ref : " #/components/parameters/_after_block_height"
629+ responses :
630+ " 200 " :
631+ description : Success!!
632+ content :
633+ application/json :
634+ schema :
635+ $ref : " #/components/schemas/tx_by_metalabel"
636+ " 400 " :
637+ $ref : " #/components/responses/BadRequest"
638+ " 401 " :
639+ $ref : " #/components/responses/Unauthorized"
640+ " 404 " :
641+ $ref : " #/components/responses/NotFound"
642+ summary : Transactions by Metadata Label
643+ description : Get a list of all transactions that include a specific metadata label (key)
644+ operationId : tx_by_metalabel
622645 /submittx : # submit-api
623646 post :
624647 tags :
@@ -2624,6 +2647,16 @@ components:
26242647 in : query
26252648 required : true
26262649 allowEmptyValue : false
2650+ _metalabel :
2651+ deprecated : false
2652+ name : _metalabel
2653+ description : Metadata label (key) to filter transactions by
2654+ schema :
2655+ type : number
2656+ example : 721
2657+ in : query
2658+ required : true
2659+ allowEmptyValue : false
26272660 requestBodies :
26282661 block_hashes :
26292662 content :
@@ -5565,6 +5598,24 @@ components:
55655598 type : string
55665599 description : A distinct known metalabel
55675600 example : " 721"
5601+ tx_by_metalabel :
5602+ description : Array of transactions containing the queried metadata label
5603+ type : array
5604+ items :
5605+ type : object
5606+ properties :
5607+ tx_hash :
5608+ $ref : " #/components/schemas/utxo_infos/items/properties/tx_hash"
5609+ block_hash :
5610+ $ref : " #/components/schemas/blocks/items/properties/hash"
5611+ block_height :
5612+ $ref : " #/components/schemas/blocks/items/properties/block_height"
5613+ epoch_no :
5614+ $ref : " #/components/schemas/blocks/items/properties/epoch_no"
5615+ absolute_slot :
5616+ $ref : " #/components/schemas/blocks/items/properties/abs_slot"
5617+ tx_timestamp :
5618+ $ref : " #/components/schemas/blocks/items/properties/block_time"
55685619 utxo_infos :
55695620 description : Array of complete UTxO information
55705621 type : array
0 commit comments