Skip to content

Add the ability to specify explicit get parameters to relayers #289

@aimxhaisse

Description

@aimxhaisse

Some relayers use HTTP GET parameters to configure some settings (authentication on bloxroute, timing games settings on aestus). Specifying them directly in the URL doesn't work as the URL is parsed and get parameters are removed.

It'd be good to add a new get_params setting, similar to the headers setting of relayers, which has the same purpose and semantics:

- id: "mainnet-flashbots"
  url: "https://xxx.yy.zz" 
  get_params:
      headerDelay: "0"

Would append to all relayer calls ?headerDelay=0

I have a PR coming for this (already tested at scale on mainnet).

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