diff --git a/.changeset/plenty-eyes-kick.md b/.changeset/plenty-eyes-kick.md new file mode 100644 index 00000000000..97fa9b231cb --- /dev/null +++ b/.changeset/plenty-eyes-kick.md @@ -0,0 +1,5 @@ +--- +'@solana/rpc-api': patch +--- + +PerformanceSample return type field numNonVoteTransaction corrected to numNonVoteTransactions diff --git a/packages/rpc-api/src/getRecentPerformanceSamples.ts b/packages/rpc-api/src/getRecentPerformanceSamples.ts index a20d82782c5..b9626e9a92d 100644 --- a/packages/rpc-api/src/getRecentPerformanceSamples.ts +++ b/packages/rpc-api/src/getRecentPerformanceSamples.ts @@ -3,7 +3,7 @@ import type { Slot, U64UnsafeBeyond2Pow53Minus1 } from '@solana/rpc-types'; type PerformanceSample = Readonly<{ /** Number of non-vote transactions in sample. */ - numNonVoteTransaction: U64UnsafeBeyond2Pow53Minus1; + numNonVoteTransactions: U64UnsafeBeyond2Pow53Minus1; /** Number of slots in sample */ numSlots: U64UnsafeBeyond2Pow53Minus1; /** Number of transactions in sample */