xcm-tools
xcm-tools copied to clipboard
Add verify function if ED will be met for XCM message
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
Postponed
Already added https://paraspell.github.io/docs/sdk/xcmUtils.html#verify-ed-on-destination