ApeWorX / ape

The smart contract development tool for Pythonistas, Data Scientists, and Security Professionals
https://apeworx.io
Apache License 2.0
892 stars 131 forks source link

docs: Account `transfer()` kwargs and basic transfer docs #2305

Closed mikeshultz closed 1 month ago

mikeshultz commented 1 month ago

Consider fleshing out the docs for the transfer() function a bit more. It's pretty basic account functionality and would help ape (console/scripting) be more useful and accessible for basic account operations.

Looking at help(account.transfer) doesn't really explain that the function accepts kwargs that are passed to create_transaction() and call(). So it took me looking at the source (and a blind attempt) to know that I can actually set gas_price for instance.

I also looked at the docs, but the Transactions guide, nor the Accounts guide even mention the transfer() method.

linear[bot] commented 1 month ago

APE-1835 docs: Account `transfer()` kwargs and basic transfer docs