aboutsummaryrefslogtreecommitdiffstats
path: root/docs/units-and-global-variables.rst
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-02-24 22:42:52 +0800
committerGitHub <noreply@github.com>2017-02-24 22:42:52 +0800
commit673268a6f8345e9276764f13e105869f5be92adc (patch)
tree24fca84a746ec5b56d97070529212b1c76f114bb /docs/units-and-global-variables.rst
parentbec3c6fab6bf02aea5664be4423f45e98db22e8e (diff)
parent4d290e551c2d563671f9d56744883d3f3dff98ec (diff)
downloaddexon-solidity-673268a6f8345e9276764f13e105869f5be92adc.tar
dexon-solidity-673268a6f8345e9276764f13e105869f5be92adc.tar.gz
dexon-solidity-673268a6f8345e9276764f13e105869f5be92adc.tar.bz2
dexon-solidity-673268a6f8345e9276764f13e105869f5be92adc.tar.lz
dexon-solidity-673268a6f8345e9276764f13e105869f5be92adc.tar.xz
dexon-solidity-673268a6f8345e9276764f13e105869f5be92adc.tar.zst
dexon-solidity-673268a6f8345e9276764f13e105869f5be92adc.zip
Merge pull request #1651 from ethereum/transfer-method
Add address.transfer(value)
Diffstat (limited to 'docs/units-and-global-variables.rst')
-rw-r--r--docs/units-and-global-variables.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst
index 72741b67..49fe5d84 100644
--- a/docs/units-and-global-variables.rst
+++ b/docs/units-and-global-variables.rst
@@ -130,6 +130,8 @@ Address Related
balance of the :ref:`address` in Wei
``<address>.send(uint256 amount) returns (bool)``:
send given amount of Wei to :ref:`address`, returns ``false`` on failure
+``<address>.transfer(uint256 amount)``:
+ send given amount of Wei to :ref:`address`, throws on failure
For more information, see the section on :ref:`address`.