Skip to main content

sdk.tap.newAddress(assetID, amount)

Unlike Bitcoin, Taproot Asset addresses contain the asset ID and the amount. These values are immutable.

String newTapAddress = await joltzSDK.tap.newAddress(USDT_ID, 123);

Parameters:

  • asset_id: The asset ID, hex encoded.
  • amount: The amount of the asset.

Return Value: Encoded Taproot Assets Address.