-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API v2: new methods #6712
API v2: new methods #6712
Conversation
94984b3
to
861517c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
get api/v2/search/check-redirect
responds with
Phoenix.ActionClauseError at GET /api/v2/search/check-redirect
no function clause matching in BlockScoutWeb.API.V2.SearchController.check_redirect/2
The following arguments were given to BlockScoutWeb.API.V2.SearchController.check_redirect/2:
# 1
%Plug.Conn{adapter: {Plug.Cowboy.Conn, :...}, assigns: %{}, body_params: %{}, cookies: %
...
Is this expected?
@vbaranov Yes, in such a case back-end sends 400 response, this is expected |
Which type of call will be successful? |
@vbaranov |
Motivation
Changelog
/search/check-redirect
type
query parameter to/tokens
in order to filter by token type/addresses/{address_hash}/token-transfers?token={token_address_hash}
method
,block_hash
andlog_index
fields to token transferstx_hash
field to logscoin_balance
to address in/addresses
Checklist for your Pull Request (PR)
CHANGELOG.md
with this PRmaster
in the Version column. Changes will be reflected in this table: https://docs.blockscout.com/for-developers/information-and-settings/env-variables.