Skip to content

Commit

Permalink
Merge pull request #373 from Emurgo/order-multi-asset-metadata
Browse files Browse the repository at this point in the history
order multiAsset metadata
  • Loading branch information
pedromtcosta committed Jun 24, 2022
2 parents 96438a1 + 9df2aff commit 0ea1705
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/services/multiAssetTxMint.ts
Expand Up @@ -70,7 +70,9 @@ function createGetMultiAssetTxMintMetadataQuery(assets: Asset[]) {
from ma_tx_mint mint
join multi_asset ma on mint.ident = ma.id
join tx on mint.tx_id = tx.id
join block on block.id = tx.block_id
join tx_metadata meta on tx.id = meta.tx_id
where ${whereConditions}`;
where ${whereConditions}
order by block.epoch_no desc, block.slot_no desc, tx.block_index desc`;
return query;
}

0 comments on commit 0ea1705

Please sign in to comment.