Skip to content

Getting all data from a LookupMap #833

Answered by willemneal
blackghost1987 asked this question in Q&A
Discussion options

You must be logged in to vote

Currently there is a near-cli command (and RPC method) to get the state of a contract from a prefix: https://github.com/near/near-cli/blob/master/commands/view-state.js

However, this suffers from a configuration for NEAR nodes that limits this to contracts with state less than 50 kb if remember correctly, so likely won't work.

I haven't tried, but there are now other RPC providers which might lossen that requirement or per happens with the dev console where Pagoda requires you to provide an API key.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@blackghost1987
Comment options

@willemneal
Comment options

Answer selected by frol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants