Skip to content

Commit

Permalink
upgrade msgport version
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 committed Jun 3, 2024
1 parent bc8e3e3 commit 1e489a9
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"; // v2
const endpoint = "https://msgport-api.darwinia.network/ormp/fee"; // v1
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 1e489a9

Please sign in to comment.