Skip to content

docs: add getTransactionsForAddress Solana API spec#1173

Open
trevoraron wants to merge 1 commit intomainfrom
docs/get-transactions-for-address
Open

docs: add getTransactionsForAddress Solana API spec#1173
trevoraron wants to merge 1 commit intomainfrom
docs/get-transactions-for-address

Conversation

@trevoraron
Copy link
Copy Markdown

Summary

New schemas (transaction.yaml)

  • GetTransactionsForAddressConfigtransactionDetails, sortOrder, limit, paginationToken, before, until, encoding, maxSupportedTransactionVersion, filters
  • GetTransactionsForAddressFiltersstatus (any/succeeded/failed), blockTime, slot, tokenAccounts
  • RangeFilter — reusable gte/lte object used for slot and blockTime range filters
  • GetTransactionsForAddressResultdata array (signatures or full tx objects) + nullable paginationToken

Files changed

  • src/openrpc/chains/_components/solana/methods.yaml — method definition + example
  • src/openrpc/chains/_components/solana/transaction.yaml — new schemas
  • src/openrpc/chains/solana/solana.yaml$ref added in alphabetical order
  • content/api-reference/solana/solana-api-overview.mdx — method added to overview table

Adds the new getTransactionsForAddress JSON-RPC method with support for
pagination, sort order, and filtering by status, token account activity,
slot range, and block time range.
@trevoraron trevoraron requested a review from a team as a code owner April 1, 2026 03:33
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

🔗 Preview Mode

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Apr 1, 2026, 3:34 AM

@trevoraron trevoraron requested a review from dimitriedavid April 1, 2026 03:34
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 15024dc159

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +456 to +458
oneOf:
- $ref: "#/components/schemas/SignatureInfo"
- $ref: "#/components/schemas/TransactionDetails"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Replace oneOf with anyOf for transaction result union

GetTransactionsForAddressResult.data.items currently uses oneOf for SignatureInfo vs TransactionDetails, but both referenced schemas are permissive objects with no required discriminator fields. A valid signatures payload can satisfy both branches (for example, it has slot/blockTime and extra fields are allowed), which causes oneOf validation to fail and breaks downstream schema validation/codegen for legitimate responses.

Useful? React with 👍 / 👎.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

🔍 Link Check

Status: ❌ Failed

Summary

Status Count
🔍 Total 7196
✅ Successful 6092
⏳ Timeouts 0
🔀 Redirected 378
👻 Excluded 674
❓ Unknown 0
🚫 Errors 52
⛔ Unsupported 0
Broken links (52) — click to expand

Errors per input

Errors in ./content/api-reference/solana/solana-api-overview.mdx

Errors in ./content/api-reference/arbitrum/arbitrum-api-faq/arbitrum-api-faq.mdx

Errors in ./content/api-reference/op-mainnet/op-mainnet-api-faq/op-mainnet-api-faq.mdx

Errors in ./content/api-reference/hyperevm/hyperevm-api-overview.mdx

Errors in ./content/changelog/2026-03-26.md

View workflow run

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.

1 participant