starknet.js icon indicating copy to clipboard operation
starknet.js copied to clipboard

Support for getClass and getClassHashAt

Open broody opened this issue 3 years ago • 1 comments

Hello, currently Starknetjs only supports getClassAt, would be great to also have getClass and getClassHashAt. I can submit a PR to add these. Thanks

broody avatar Oct 01 '22 04:10 broody

Hello, which starknet.js version are you using?

We support all the methods you mentioned in the RPC provider

ivpavici avatar Oct 01 '22 08:10 ivpavici

Try to use starknet@next or 4.7.0. You could create PR updating project documentation. Thanks for feedback.

tabaktoni avatar Oct 01 '22 17:10 tabaktoni

Ahh got it, completely missed that. Thanks! Happy to update the doc

broody avatar Oct 02 '22 04:10 broody