用户与合约交互,我需要从这个交互中收取费用。像1美元。我需要稳定的1美元等值ETH。
是否有办法在用户与合约交互之前更新这个价格指示器(ETH/USD)(一天一次就足够了)?所以当他签字的时候,我可以从他的地址索要等值的1美元?
是。首先在函数中得到价格。
用户与合约交互,我需要从这个交互中收取费用。像1美元。我需要稳定的1美元等值ETH。
是否有办法在用户与合约交互之前更新这个价格指示器(ETH/USD)(一天一次就足够了)?所以当他签字的时候,我可以从他的地址索要等值的1美元?
是。首先在函数中得到价格。
javascript python java c# php android html jquery c++ css ios sql mysql arrays asp.net json python-3.x ruby-on-rails .net sql-server django objective-c excel regex ruby linux ajax iphone xml vba spring asp.net-mvc database wordpress string postgresql wpf windows xcode bash git oracle list vb.net multithreading eclipse algorithm macos powershell visual-studio image forms numpy scala function api selenium