Skip to content

Commit

Permalink
refactor(experimental): type reconciliation: isBlockhashValidApi
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalojoec authored and steveluscher committed Jul 2, 2024
1 parent 8537343 commit 2f65836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rpc-api/src/isBlockhashValid.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { RpcApiMethods } from '@solana/rpc-spec';
import type { Blockhash, Commitment, Slot, SolanaRpcResponse } from '@solana/rpc-types';

type IsBlockhashValidApiResponse = SolanaRpcResponse<boolean>;
type IsBlockhashValidApiResponse = boolean;

export interface IsBlockhashValidApi extends RpcApiMethods {
/**
Expand All @@ -16,5 +16,5 @@ export interface IsBlockhashValidApi extends RpcApiMethods {
/** The minimum slot that the request can be evaluated at */
minContextSlot?: Slot;
}>,
): IsBlockhashValidApiResponse;
): SolanaRpcResponse<IsBlockhashValidApiResponse>;
}

0 comments on commit 2f65836

Please sign in to comment.