@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/node/index.js
CHANGED
|
@@ -9804,7 +9804,7 @@ var Client = class _Client {
|
|
|
9804
9804
|
}
|
|
9805
9805
|
});
|
|
9806
9806
|
}
|
|
9807
|
-
async initAssetMetadata(asset_id, assetName, tokenId, decimals) {
|
|
9807
|
+
async initAssetMetadata(asset_id, assetName, tokenId, decimals, withdrawFee) {
|
|
9808
9808
|
return await this.submitTransaction({
|
|
9809
9809
|
exchange: {
|
|
9810
9810
|
init_asset_metadata: {
|
|
@@ -9812,7 +9812,10 @@ var Client = class _Client {
|
|
|
9812
9812
|
asset_id,
|
|
9813
9813
|
asset_name: assetName,
|
|
9814
9814
|
token_id: tokenId,
|
|
9815
|
-
decimals
|
|
9815
|
+
decimals,
|
|
9816
|
+
withdraw_fee: BulletWasm.convert_rust_decimal_to_json(
|
|
9817
|
+
withdrawFee.toFixed()
|
|
9818
|
+
)
|
|
9816
9819
|
}
|
|
9817
9820
|
}
|
|
9818
9821
|
}
|