{"version":3,"file":"types.mjs","sourceRoot":"","sources":["../../../src/strategy/relay/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { Hex } from '@metamask/utils';\n\nexport type RelayQuote = {\n  details: {\n    currencyIn: {\n      amountUsd: string;\n    };\n    currencyOut: {\n      amountFormatted: string;\n      amountUsd: string;\n      currency: {\n        decimals: number;\n      };\n      minimumAmount: string;\n    };\n    timeEstimate: number;\n  };\n  fees: {\n    gas: {\n      amountUsd: string;\n    };\n  };\n  steps: {\n    items: {\n      check: {\n        endpoint: string;\n        method: 'GET' | 'POST';\n      };\n      data: {\n        chainId: number;\n        data: Hex;\n        from: Hex;\n        gas: string;\n        maxFeePerGas: string;\n        maxPriorityFeePerGas: string;\n        to: Hex;\n        value: string;\n      };\n      status: 'complete' | 'incomplete';\n    }[];\n    kind: 'transaction';\n  }[];\n  skipTransaction?: boolean;\n};\n\nexport type RelayStatus = {\n  status:\n    | 'refund'\n    | 'waiting'\n    | 'failure'\n    | 'pending'\n    | 'submitted'\n    | 'success';\n  inTxHashes: string[];\n  txHashes: string[];\n  updatedAt: number;\n  originChainId: number;\n  destinationChainId: number;\n};\n"]}