Closed dhirajs0 closed 9 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
rpc-request-builder | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 23, 2024 4:21am |
Please make the changes and resolve the conflicts and it should be GTM.
Made the suggested changes.
Thank you for your contribution @dhirajs0
@jelilat I had a doubt in these implementations. Since this is an RPC builder, and the requests are editable.
Initially, the code is correct, according to the fields like latest
or blockHash
.
But, as soon as I edit any input field, the code restructures, and is no longer correct. So, the configuration of the request
isn't really working. I noticed this in most examples other than javascript, ie for Go and Rust
Eg.:
After changing classHash, the hextoFelt line disappears
after changing block number, the input parameter changes completely.
@AryanGodara This happens because the only acceptable block tag is "latest" or "pending". If you edit the block tag to pending, it should be properly updated.
For example, this is what it looks like if I change the tag to "pending"
@AryanGodara This happens because the only acceptable block tag is "latest" or "pending". If you edit the block tag to pending, it should be properly updated.
For example, this is what it looks like if I change the tag to "pending"
Oh cool! I was initially confused about this, thanks for clearing it up @jelilat :D
support for starknet.go code for the following RPC endpoints
starknet_getClass starknet_getClassHashAt starknet_getClassAt
Closes #9