xcm-tools icon indicating copy to clipboard operation
xcm-tools copied to clipboard

Add verify function if ED will be met for XCM message

Open dudo50 opened this issue 10 months ago • 1 comments

Include function that checks if ED on destination chain will be met for certain asset.

verifyExistentialDepositOnDestination(tx) //verifies whether ED will be met once the call is sent

Should check for balance of certain token and use formula if balance+xcm_amount-ED > 0 = returns true, balance+xcm_amount-ED<0 = returns false

dudo50 avatar Feb 25 '25 14:02 dudo50

Postponed

dudo50 avatar Apr 25 '25 10:04 dudo50

Already added https://paraspell.github.io/docs/sdk/xcmUtils.html#verify-ed-on-destination

dudo50 avatar Sep 29 '25 09:09 dudo50