Skip to content
Draft
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
node_modules
.pnp
.pnp.js
.pnpm-store/*

# misc
.DS_Store
Expand Down
2 changes: 2 additions & 0 deletions packages/rpc-api/src/getSignaturesForAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ type GetSignaturesForAddressTransaction = Readonly<{
confirmationStatus: Commitment | null;
/** Error if transaction failed, null if transaction succeeded. */
err: TransactionError | null;
/** Index of the transaction in the block */
index: number;
/** Memo associated with the transaction, null if no memo is present */
memo: string | null;
/** transaction signature as base-58 encoded string */
Expand Down
1 change: 1 addition & 0 deletions packages/rpc-api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ function getAllowedNumericKeypaths(): AllowedNumericKeypaths<RpcApi<SolanaRpcApi
[KEYPATH_WILDCARD, 'account', ...c],
]),
getRecentPerformanceSamples: [[KEYPATH_WILDCARD, 'samplePeriodSecs']],
getSignaturesForAddress: [[KEYPATH_WILDCARD, 'index']],
getTokenAccountBalance: [
['value', 'decimals'],
['value', 'uiAmount'],
Expand Down
Loading