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