Skip to content

Commit

Permalink
refactor(experimental): type reconciliation: `GetRecentPrioritization…
Browse files Browse the repository at this point in the history
…FeesApi`
  • Loading branch information
buffalojoec committed Jun 28, 2024
1 parent 6582b41 commit e35a4d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/rpc-api/src/getRecentPrioritizationFees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Address } from '@solana/addresses';
import type { RpcApiMethods } from '@solana/rpc-spec';
import type { MicroLamportsUnsafeBeyond2Pow53Minus1, Slot } from '@solana/rpc-types';

type GetRecentPrioritizationFeesApiResponse = Readonly<{
type RecentPrioritizationFee = Readonly<{
/**
* The per-compute-unit fee paid by at least one successfully
* landed transaction, specified in increments of
Expand All @@ -11,7 +11,9 @@ type GetRecentPrioritizationFeesApiResponse = Readonly<{
prioritizationFee: MicroLamportsUnsafeBeyond2Pow53Minus1;
/** Slot in which the fee was observed */
slot: Slot;
}>[];
}>;

type GetRecentPrioritizationFeesApiResponse = readonly RecentPrioritizationFee[];

export interface GetRecentPrioritizationFeesApi extends RpcApiMethods {
/**
Expand Down

0 comments on commit e35a4d1

Please sign in to comment.