How can I get the new payment address using SDK v2 - Javascript?

Hello, @Support and community.

I’m trying to use the SDK v2 made for Javascript, and I successfully created a master wallet with one account, but when retrieving its keys, the paymentAddressKeySerialized is in the old format:

12S39J4L1v3AigAf8ZGmWQMT2aaHugL4Qf5FaKPGf2AKAn1zXLbEwnBZHQKNc8WGjurk1yS8NE5rrVSZkinG1B5awhEazrM37EzydTf

… which cannot be used now to send PRV, as you know.

Is there a way to get the new version of the payment address programmatically using Javascript? Maybe by means of a public RPC?

I figured it out: I’ll make a wrapper around the incognito-cli. :laughing: