Tokens

加密貨幣是否與代幣一樣轉移?

  • May 21, 2020

如果我理解正確,當我想使用錢包發送代幣(例如,ERC20 代幣)時,我會:

如果這是正確的,那麼這如何用於傳輸加密貨幣,例如比特幣或乙太幣。感謝您幫助更好地理解這些事情。

將要

乙太坊區塊鏈上的代幣轉移交易:

to       : token contract address
data     : the encoded function call
gas      : the amount of units required to execute the transaction, or more
gasPrice : the higher this value is, the faster you transaction will execute
value    : none (0)

乙太坊區塊鏈上的乙太幣轉賬交易:

to       : destination address
data     : none (empty string)
gas      : 21000 (or more if the destination address is that of a contract)
gasPrice : the higher this value is, the faster you transaction will execute
value    : amount of ether

引用自:https://ethereum.stackexchange.com/questions/83604