Skip to content

Got the error "InsufficientFunds" #4

@nlordell

Description

@nlordell

I had successfully swap GNO to WETH from Cowswap, but I cannot swap the tokens from my scripts.

The paras I posted are like ( I need to swap 1GNO to WETH):

params: {"sellToken":"0x6810e776880c02933d47db1b9fc05908e5386b96","buyToken":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","sellAmount":"896936549560389504","buyAmount":"72349153448856840","validTo":1633511944,"appData":"0xf785fae7a7c5abc49f3cd6a61f6df1ff26433392b066ee9ff2240ff1eb7ab6e4","feeAmount":"103063450439610496","kind":"sell","partiallyFillable":false,"signature": $$$my signature,"signingScheme":"ethsign","sellTokenBalance":"erc20","buyTokenBalance":"erc20"}

The server returns:
{"errorType":"InsufficientFunds","description":"order owner must have funds worth at least x in his account"}
but I have definitely more than 1GNO

Any idea? Thanks!

Original issue gnosis/gp-v2-trading-bot#32 by @maisuid

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