TokenScript icon indicating copy to clipboard operation
TokenScript copied to clipboard

Get native balance from TokenScript

Open JamesANZ opened this issue 5 years ago • 0 comments
trafficstars

Currently there is no way to get the native balance except via a contract call which would be cheating. So for example, if the user is on Ethereum mainet, the native balance would be the Ether balance. To add to the complicatoin, in Dai-XDAI bridge, there are 2 native blances and we only care about XDAi balance not the Eth balance.

JamesANZ avatar Feb 03 '20 01:02 JamesANZ