Skip to content

Commit df6169c

Browse files
buffalojoecsteveluscher
authored andcommitted
refactor(experimental): type reconciliation: GetRecentPrioritizationFeesApi
1 parent 2d27594 commit df6169c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/rpc-api/src/getRecentPrioritizationFees.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Address } from '@solana/addresses';
22
import type { RpcApiMethods } from '@solana/rpc-spec';
33
import type { MicroLamportsUnsafeBeyond2Pow53Minus1, Slot } from '@solana/rpc-types';
44

5-
type GetRecentPrioritizationFeesApiResponse = Readonly<{
5+
type RecentPrioritizationFee = Readonly<{
66
/**
77
* The per-compute-unit fee paid by at least one successfully
88
* landed transaction, specified in increments of
@@ -11,7 +11,9 @@ type GetRecentPrioritizationFeesApiResponse = Readonly<{
1111
prioritizationFee: MicroLamportsUnsafeBeyond2Pow53Minus1;
1212
/** Slot in which the fee was observed */
1313
slot: Slot;
14-
}>[];
14+
}>;
15+
16+
type GetRecentPrioritizationFeesApiResponse = readonly RecentPrioritizationFee[];
1517

1618
export interface GetRecentPrioritizationFeesApi extends RpcApiMethods {
1719
/**

0 commit comments

Comments
 (0)