Skip to content

Codex/program address filters - #67

Closed
dancamarg0 wants to merge 4 commits into
mainfrom
codex/program-address-filters
Closed

Codex/program address filters#67
dancamarg0 wants to merge 4 commits into
mainfrom
codex/program-address-filters

Conversation

@dancamarg0

@dancamarg0 dancamarg0 commented Aug 3, 2026

Copy link
Copy Markdown

Alternative where we can block all heavy calls that include cursors, e.g:

  - [getTransactionsForAddress, So11111111111111111111111111111111111111112, {paginationToken: any}]
  - [getTransactionsForAddress, MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr, {paginationToken: any}]
  - [getTransactionsForAddress, HLnpSz9h2S4hiLQ43rnSD9XkcUThA7B8hQMKmDaiTLcC, {paginationToken: any}]
  - [getTransactionsForAddress, ComputeBudget111111111111111111111111111111, {paginationToken: any}]
  - [getSignaturesForAddress, ComputeBudget111111111111111111111111111111, {before: any, until: any}]

Such addresses without any cursor parameter or cursor set to null will still work, but any calls with cursor will be blocked and return "Method not allowed"

@dancamarg0 dancamarg0 self-assigned this Aug 3, 2026
@dancamarg0
dancamarg0 marked this pull request as draft August 3, 2026 20:22
@dancamarg0 dancamarg0 closed this Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants