Filtering with height
--flag at LCD queries
#9
-
Anyone could realize why when I ask for list all the I solved it for the CLI (BitCannaGlobal/bcna@2e90dc3) but can't realize where to fix for LCD. I guess something is missing with the context here, in example: BTW I saw a lot of custom modules in the ecosystem for different chains lacking this issue.
The same counts for the LCD. I know how to fix the CLI here https://github.com/BitCannaGlobal/bcna/blob/4d50e3da1f53363f0791cab885dd64892b70129d/x/bcna/client/cli/query_bitcannaid.go#L19 Issue created |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
any hint @julienrbrt? |
Beta Was this translation helpful? Give feedback.
-
The height must be passed in as an HTTP header:
|
Beta Was this translation helpful? Give feedback.
The height must be passed in as an HTTP header:
x-cosmos-block-height
.curl 'https://lcd-devnet-6.bitcanna.io/BitCannaGlobal/bcna/bcna/bitcannaid' -H 'x-cosmos-block-height: 123456'