Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In WalletContractV4, how to get the new UQ addresses and not the old (bounceable) EQ addresses? #50

Open
NabiKAZ opened this issue Aug 5, 2024 · 1 comment

Comments

@NabiKAZ
Copy link

NabiKAZ commented Aug 5, 2024

In WalletContractV4, how to get the new UQ addresses and not the old (bounceable) EQ addresses?

I saw this in the source:

toString: (args?: {
   urlSafe?: boolean;
   bounceable?: boolean;
   testOnly?: boolean;
 }) => string;

So I tested this code:

wallet.address.toString(true, false)

But it still returns me the EQ address.

@NabiKAZ
Copy link
Author

NabiKAZ commented Aug 5, 2024

Oops! I understood!😄 I just had to use it like this:

wallet.address.toString({ bounceable: false })

Thankful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant