Skip to content

Commit

Permalink
Merge pull request #30 from helix-bridge/jay/fix-msgport-api
Browse files Browse the repository at this point in the history
Fix Msgport API
  • Loading branch information
JayJay1024 authored May 27, 2024
2 parents 4415744 + 975af25 commit 50454ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/xtoken-ui/src/utils/misc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ export async function fetchMsglineFeeAndParams(
sender: Address,
payload: Hex,
) {
const endpoint = "https://api.msgport.xyz/ormp/fee";
// const endpoint = 'https://msgport-api.darwinia.network/ormp/fee'
// const endpoint = "https://api.msgport.xyz/ormp/fee"; // v2
const endpoint = "https://msgport-api.darwinia.network/ormp/fee"; // v1
// const endpoint = "http://g2.generic.darwinia.network:3378/ormp/fee";
const feeData = await fetch(
`${endpoint}?from_chain_id=${fromChainId}&to_chain_id=${toChainId}&payload=${payload}&from_address=${fromMessager}&to_address=${toMessager}&refund_address=${sender}`,
Expand Down

0 comments on commit 50454ae

Please sign in to comment.