In jssdk, there is a method to convert the okexchain prefix to the 0x address. Call method:
1, the okexchain address is converted to the 0x address
crypto.convertBech32ToHex (okexchain address)
For example: let hexaddress= crypto.convertBech32ToHex ("okexchain1g7c3nvac7mjgn2m9mqllgat8wwd3aptddw77gw")
2, the 0x address is converted to the okexchain address
crypto.convertHexToBech32 (address);
For example: let bech32address= crypto.convertHexToBech32 ("0x5c9edb5fc4e949bd9aefc10bec8a0fe6d3f49d31")
Implementation details:
https://github.com/okx/okexchain-javascript-sdk/blob/master/src/crypto/index.js