Replace state_get_balance with query_balance #1282
Merged
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.
What does this PR fix/introduce?
Removing the "state_get_balance" documentation and examples, since it has been deprecated in favor of "query_balance".
querying-network.md
are the actual commands and responses.verify-transfer.md
are taken fromquerying-network.md
, but have been modified to fit the tutorial (using the same account hashes and state root hash, to match the transfer flow). Eventually, we need to refresh the entire tutorial with fresh examples.minimal-compliance.md
, I found the following explanation confusing, so I'd like to simplify it by removing the crossed-out section. If it adds value to this point, please let me know.chain_get_state_root_hash
- The state root hash is one of the several global state identifiers used to query the network state after deployments,and the only way to do so in the context ofstate_get_balance
andstate_get_dictionary_item
. A minimal SDK requires both dependent methods.Closes #1253
Checklist
(Delete any that aren't relevant)
yarn install && yarn run build
.Reviewers
@ACStoneCL