diff --git a/src/types/arns-service.ts b/src/types/arns-service.ts index c07acf7b..283250e2 100644 --- a/src/types/arns-service.ts +++ b/src/types/arns-service.ts @@ -55,10 +55,6 @@ export type ObserversResponse = ArNSStateResponse< Record >; -export type ArNSFilters = { - blockHeight?: number; - sortKey?: string; -}; export interface ArIONetworkContract { gateways(): Promise>; records(): Promise>; @@ -72,9 +68,11 @@ export interface ContractCache { */ getContractState({ contractTxId, - filters, + blockHeight, + sortKey, }: { contractTxId: string; - filters: Pick; + blockHeight?: number; + sortKey?: string; }): Promise; }