Skip to content
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

BS api v2: smart contracts #6642

Merged
merged 19 commits into from
Dec 30, 2022
Merged

BS api v2: smart contracts #6642

merged 19 commits into from
Dec 30, 2022

Conversation

nikitosing
Copy link
Member

@nikitosing nikitosing commented Dec 23, 2022

Close #6571

Changelog

  • add fetching of wallet address from MM before fetching read smart contract methods (can be fetched if you are logged in metamask)
  • /addresses/{address_hash}/tokens
  • /v2/smart-contracts/{address_hash}
  • /v2/smart-contracts/{address_hash}/methods-read (+custom abi)
  • /v2/smart-contracts/{address_hash}/methods-write (+custom abi)
  • /v2/smart-contracts/{address_hash}/methods-read-proxy
  • /v2/smart-contracts/{address_hash}/methods-write-proxy
  • /v2/smart-contracts/{address_hash}/query-read-method (+custom abi)
  • changed messages format in websockets: internal_transactions, token transfers, transactions
  • now /addresses returns 404 if address is not in DB

Checklist for your Pull Request (PR)

@vbaranov vbaranov self-requested a review December 30, 2022 15:13
@vbaranov vbaranov merged commit 6201781 into master Dec 30, 2022
@vbaranov vbaranov deleted the np-core-bs-api-smart-contracts branch December 30, 2022 15:13
@nikitosing nikitosing mentioned this pull request Jan 10, 2023
31 tasks
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.

Verified contract sender incorrect in "read contract" tab.
4 participants