connext / monorepo

Connext is a modular stack for trust-minimized, generalized communication between blockchains.
https://docs.connext.network
MIT License
293 stars 173 forks source link

[API] Implement functions - estimateRelayerFee #5469

Open just-a-node opened 10 months ago

just-a-node commented 10 months ago

Problem

Implement the functions:

Impact

Integrators will use this function to estimate the relayer fee that goes into xcall.

Proposed Solution

estimateRelayerFee should:

Acceptance Criteria

Open questions

prathmeshkhandelwal1 commented 10 months ago

Created helpers like GelatoService which above method will use internally.

prathmeshkhandelwal1 commented 10 months ago

Need to add retry logic, Ques is do we do it in separate method or in httpClient? cc: @just-a-node

prathmeshkhandelwal1 commented 10 months ago

Writing tests