Get the payment address to send asset.
import { brokerClient } from '@delandlabs/hibit-sdk';
const options = {
network: HibitNetwork.Testnet
};
brokerClient.setOptions(options);
const address = await brokerClient.getPaymentAddress({
hin: YOUR_BROKER_HIN,
chainId: new ChainId(Chain.Kaspa, ChainNetwork.KaspaTestNet)
});
For this HIN parameter, please contact the Hibit team to have a dedicated HIN assigned to you.