diff --git a/src/cardano.ts b/src/cardano.ts index f7dabf5..a4e952b 100644 --- a/src/cardano.ts +++ b/src/cardano.ts @@ -179,6 +179,22 @@ export class QueryClient { }); } + async searchUtxosByPaymentPart(address: Uint8Array): Promise { + return this.searchUtxosByMatch({ + address: { + paymentPart: address, + }, + }); + } + + async searchUtxosByDelegationPart(address: Uint8Array): Promise { + return this.searchUtxosByMatch({ + address: { + delegationPart: address, + }, + }); + } + async searchUtxosByAsset( policyId?: Uint8Array, name?: Uint8Array