Comment on page
Transfer
SErc20 / SEther
function transfer(address recipient, uint256 amount) returns (bool)
recipient
: The transfer recipient address.amount
: The amount of sTokens to transfer.RETURN
: Returns a boolean value indicating whether or not the operation succeeded.
Solidity
SEther sToken = SEther(0x3FDB...);
sToken.transfer(0xABCD..., 100000000000);
Web3 1.0
const sToken = SErc20.at(0x3FDA...);
await sToken.methods.transfer(0xABCD..., 100000000000).send({from: 0xSender});
Last modified 2yr ago