@paraspell/sdk 8.5.2 → 8.6.0

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/README.md CHANGED
@@ -226,6 +226,11 @@ const result = await Builder(API /*optional*/)
226
226
 
227
227
  //Function pattern
228
228
  await getDryRun({api /*optional*/, node, address /*sender address*/, tx /* Extrinsic object */})
229
+
230
+ //Check Parachain for DryRun support - returns true/false
231
+ import { hasDryRunSupport } from "@paraspell/sdk-pjs";
232
+
233
+ const result = hasDryRunSupport(node)
229
234
  ```
230
235
 
231
236
  ### Asset claim:
@@ -336,6 +341,9 @@ await getTransferInfo({from, to, address, destinationAddress, currency /*- {id:
336
341
 
337
342
  //Get bridge and execution fee for transfer from Parachain to Ethereum. Returns as an object of 2 values - [bridgeFee, executionFee]
338
343
  await getParaEthTransferFees(/*api - optional (Can also be WS port string or array o WS ports. Must be AssetHubPolkadot WS!)*/)
344
+
345
+ //Verify whether XCM message you wish to send will reach above existential deposit on destination chain.
346
+ await verifyEdOnDestination(node, currency: {symbol: || id: || multilocation: .. ,amount: 100000n}, address)
339
347
  ```
340
348
 
341
349
  ## 💻 Tests