Document token_address and activity_type filters on activity endpoint#149
Open
shaneauerbach wants to merge 5 commits intomainfrom
Open
Document token_address and activity_type filters on activity endpoint#149shaneauerbach wants to merge 5 commits intomainfrom
shaneauerbach wants to merge 5 commits intomainfrom
Conversation
- Add token_address and activity_type query params to OpenAPI spec - Update activity.mdx with a Filtering section explaining both params - token_address has been live since Oct 2025 but was never documented - activity_type is being added in duneanalytics/echo#2369 Closes API-4090 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PR SummaryLow Risk Overview Extends the Activity OpenAPI spec ( Written by Cursor Bugbot for commit ea12fc3. Configure here. |
Adds documentation for the new asset_type query parameter (native, erc20, erc721, erc1155) to both the OpenAPI spec and the activity.mdx page. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Also documents that token_address excludes swap/call/native activities. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
token_addressquery param which has been live since Oct 2025 but was never documented?token_address=0xA0b8...,0xdAC1...activity_typequery param being added in echo#2369asset_typequery param (native, erc20, erc721, erc1155) being added in echo#2369Changes
evm/openapi/activity.json— addedtoken_address,activity_type, andasset_typequery parameters with comma-separated list descriptionsevm/activity.mdx— replaced Token Filtering section with a Filtering section explaining all server-side filters with examplesNote: the echo PR also extracts
ActivityType/AssetTypeinto the sharedactivity-interpretationcrate to eliminate type drift between the activity API and the subscriptions worker.Closes API-4090
🤖 Generated with Claude Code