Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

refactor(experimental): type reconciliation: GetFeeForMessageApi #2878

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/rpc-api/src/getFeeForMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { Commitment, Slot, SolanaRpcResponse, U64UnsafeBeyond2Pow53Minus1 }
import type { TransactionMessageBytesBase64 } from '@solana/transactions';

/** Fee corresponding to the message at the specified blockhash */
type GetFeeForMessageApiResponse = SolanaRpcResponse<U64UnsafeBeyond2Pow53Minus1 | null>;
type GetFeeForMessageApiResponse = U64UnsafeBeyond2Pow53Minus1 | null;

export interface GetFeeForMessageApi extends RpcApiMethods {
/**
Expand All @@ -15,5 +15,5 @@ export interface GetFeeForMessageApi extends RpcApiMethods {
commitment?: Commitment;
minContextSlot?: Slot;
}>,
): GetFeeForMessageApiResponse;
): SolanaRpcResponse<GetFeeForMessageApiResponse>;
}