diff --git a/src/constants.ts b/src/constants.ts index bd24266..a88c873 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -2,7 +2,7 @@ import type { ChainConfig, ChainName, EvmChainConfig, SuiChainConfig } from "./t export const DEFAULT_MAX_RETRY = 3 export const DEFAULT_RETRY_DELAY_MS = 2000 -export const SOLVER_API_ENDPOINT = "localhost:3000" // TODO +export const SOLVER_API_ENDPOINT = "http://34.224.47.185" // TODO - replace with the production one export const chainConfig: Record = { ["arb"]: { diff --git a/src/types.ts b/src/types.ts index f8e5234..8199872 100644 --- a/src/types.ts +++ b/src/types.ts @@ -104,7 +104,7 @@ export type IntentStatusRequest = { export type IntentStatusResponse = { status: IntentStatusCode - tx_hash: string + tx_hash?: string // defined only if status is 3 } export type CreateIntentOrderPayload = {