Awesome. Is there any easy way to pass address as slice to get methods? For example for get_wallet_address(slice) method.

Feb 1, 2023, 7:51 AM
For ton js library Address.parse(‘EQA1PG5ByuhEWf1bzRl7957lRZiTHBFHaja-9vbrF8gmRW6P’) helps get Address object from Address string. Or what do you mean by ‘to pass’?
Feb 1, 2023, 7:55 AM
I mean, if I want to find my jetton wallet address, I have to send my own wallet address to get_wallet_address as a parameter on this page where I can run get methods. However, when I paste my address, it shows me an error:

Error: Unknown magic prefix

Looks like it expects a slice, but I don't know how to convert my user friendly address or hex address into a slice to use on this page.
Feb 1, 2023, 8:03 AM
What did you try to use? Toncenter API?
Feb 1, 2023, 8:07 AM
https://verifier.ton.org
Feb 1, 2023, 9:42 AM
oh nice, this is something that needs to improve in the getter user interface in verifier. @mrbonezy was working on it, he can fix it. Thanks for the feedback!
Feb 1, 2023, 10:16 AM
I’ll add support for this soon
Feb 1, 2023, 10:17 AM

© 2024 Draquery.com All rights reserved.