Skip to content

fix: storyscan doesn't support /v2 api#260

Merged
mattsse merged 2 commits intoalloy-rs:mainfrom
jsvisa:fix-story-v1
Mar 3, 2026
Merged

fix: storyscan doesn't support /v2 api#260
mattsse merged 2 commits intoalloy-rs:mainfrom
jsvisa:fix-story-v1

Conversation

@jsvisa
Copy link
Contributor

@jsvisa jsvisa commented Mar 3, 2026

storyscan doesn't support /v2 api:

request /v2

https://www.storyscan.io/api/v2?module=contract&action=getsourcecode&address=0x0000000000000000000000000000000000000000

response

{"message": "Unknown API v2 action"}

request

https://www.storyscan.io/api?module=contract&action=getsourcecode&address=0x0000000000000000000000000000000000000000

response

{"message":"OK","result":[{"Address":"0x0000000000000000000000000000000000000000"}],"status":"1"}

Signed-off-by: Delweng <delweng@gmail.com>
@mattsse
Copy link
Member

mattsse commented Mar 3, 2026

needs cargo t --all to update the assets

Signed-off-by: Delweng <delweng@gmail.com>
@mattsse mattsse merged commit bcdbaa7 into alloy-rs:main Mar 3, 2026
20 checks passed
@jsvisa jsvisa deleted the fix-story-v1 branch March 3, 2026 06:11
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