Skip to content

Error send transfer #48

@tolgatasci

Description

@tolgatasci

My Code ::

coin_base = c.eth_coinbase()
gas_price = ether_to_wei(0.00006)
balance =  (c.eth_getBalance(coin_base, 'latest'))
c.eth_sendTransaction(from_address=coin_base, to_address=my_addr, value=ether_to_wei(balance - gas_price),gas=1000000,gas_price=1000000)

error

raise BadResponseError(response)
ethjsonrpc.exceptions.BadResponseError: {u'jsonrpc': u'2.0', u'id': 1, u'error': {u'message': u'insufficient funds for gas * price + value', u'code': -32000}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions