Skip to content

Commit

Permalink
refactor(experimental): type reconciliation: GetFeeForMessageApi
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalojoec authored and steveluscher committed Jul 2, 2024
1 parent 57d2c7e commit 4db34d6
Showing 1 changed file with 2 additions and 2 deletions.
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>;
}

0 comments on commit 4db34d6

Please sign in to comment.