This repository was archived by the owner on Apr 10, 2024. It is now read-only.
This repository was archived by the owner on Apr 10, 2024. It is now read-only.
Add subtrate support to API #9
Open
Description
Expand fee oracle API to support fee data requests where the destination chain is a substrate-based chain with deployed Sygma pallet.
Implementation details
- Details of fee data message format can be found in technical documentation (will be available after this PR is merged)
- API endpoint handler function should be expanded so it takes into consideration the destination domain (network) type when constructing a response
- Additional query property should be supported (
length_fee
) when the user requests a generic call fee estimate with the substrate-based destination chain.
Testing details
- Add unit test
Acceptance Criteria
- Fee Oracle should return appropriate fee data when requested for the destination chain being substrate-based