@bulletxyz/bullet-sdk 0.26.2-rc.2 → 0.26.2-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser/index.js
CHANGED
|
@@ -9790,7 +9790,7 @@ var Client = class _Client {
|
|
|
9790
9790
|
}
|
|
9791
9791
|
});
|
|
9792
9792
|
}
|
|
9793
|
-
async initAssetMetadata(asset_id, assetName, tokenId, decimals) {
|
|
9793
|
+
async initAssetMetadata(asset_id, assetName, tokenId, decimals, withdrawFee) {
|
|
9794
9794
|
return await this.submitTransaction({
|
|
9795
9795
|
exchange: {
|
|
9796
9796
|
init_asset_metadata: {
|
|
@@ -9798,7 +9798,10 @@ var Client = class _Client {
|
|
|
9798
9798
|
asset_id,
|
|
9799
9799
|
asset_name: assetName,
|
|
9800
9800
|
token_id: tokenId,
|
|
9801
|
-
decimals
|
|
9801
|
+
decimals,
|
|
9802
|
+
withdraw_fee: BulletWasm.convert_rust_decimal_to_json(
|
|
9803
|
+
withdrawFee.toFixed()
|
|
9804
|
+
)
|
|
9802
9805
|
}
|
|
9803
9806
|
}
|
|
9804
9807
|
}
|