Use protocol config RPC endpoint to get storage costs
See original GitHub issueOverview
This PR adds an RPC endpoint that returns the latest storage cost. Given that the storage cost will decrease 10x on March 1, we should replace the EXPERIMENTAL_genesis_config
call with this one to remain future proof.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
RPC Endpoints | NEAR Documentation - NEAR Docs
The RPC API enables you to send transactions and query their status. ... some tokens on each account are locked to cover the...
Read more >JSON-RPC API - ethereum.org
A stateless, light-weight remote procedure call (RPC) protocol for Ethereum clients.
Read more >How to Add Alchemy RPC Endpoints to Metamask
We'll need to use an Alchemy API key to replace our Metamask endpoint. You can create a free account here. Step 2: Create...
Read more >Package google.api | Cloud Endpoints with gRPC
Defines the HTTP configuration for an API service. It contains a list of HttpRule , each specifying the mapping of an RPC method...
Read more >JSON-RPC - polkadot{.js}
The following sections contain known RPC methods that may be available on specific nodes (depending on configuration and available pallets) and allow you...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Patrick1904 you will just need to replace
experimental_genesisConfig
withexperimental_protocolConfig
. There we will need another round of near-api-js release once theexperimental_protocolConfig
API gets on mainnet (it is not there yet), but Wallet will only need to update the near-api-js versionClosing as it’s outdated now.