Skip to content

incorrect gasCost when calculating a route on arbitrum #134

@raj-swype

Description

@raj-swype

I'm trying to make a swap tx (between usdc and dai) using paraswap sdk on arbitrum (chain id: 42161). But, the api/sdk returns the gasCost which is very low. When i propagate this transaction, i get gas too low from the rpc node. This happens only for arbitrum chain (for other chains, it works fine).

Is there a way around this? Any help is appreciated in resolving this.

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