question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use protocol config RPC endpoint to get storage costs

See original GitHub issue

Overview

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:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
frolcommented, Feb 22, 2021

@Patrick1904 you will just need to replace experimental_genesisConfig with experimental_protocolConfig. There we will need another round of near-api-js release once the experimental_protocolConfig API gets on mainnet (it is not there yet), but Wallet will only need to update the near-api-js version

0reactions
Patrick1904commented, Apr 14, 2021

Closing as it’s outdated now.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found