Skip to main content

FAQ for Smart Contracts

Q: Unable to use transferFrom for XC20 (DOT, KSM...) in Solidity contract

This was an issue when an account had to hold some amount of native currency in order to be eligible to receive foreign currency. Since this was causing problems for our users, it was changed and no is no longer a requirement; now being able to pay gas with foreign assets.

Please note that for custom assets, which aren't supported as payment asset by Astar or Shiden, account (or contract) still has to hold at least the ED in native currency to be eligible to receive a custom asset.