Defiwerk
bridge / quote
Fetches live offers from a public bridge aggregator and reports for every option what arrives, what it costs in fees and gas, and how long it usually takes. The security model is given equal weight to the price: bridges are the most expensive failures this industry has, so trust_assumptions spells out who a user has to trust for that route to hold. No recommendation is forced - three best values by three criteria are given and the caller chooses. Limits: security_model and trust_assumptions.
POST https://defi.halowerk.com/bridge/quoteEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| from_chain | string | Ja | Source chain, for example base or ethereum. |
| to_chain | string | Ja | Destination chain. |
| token | string | Ja | Token contract address on the SOURCE chain, 0x followed by 40 hex characters. |
| to_token | string | Nein | Optional token address on the destination chain. Defaults to the same asset. |
| amount | string | Ja | Amount in the smallest unit of the token, as a decimal string. |
| from_address | string | Nein | Optional sender address used for the quote. A neutral address is used when omitted. |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"required": [
"from_chain",
"to_chain",
"token",
"amount"
],
"additionalProperties": false,
"properties": {
"from_chain": {
"type": "string",
"description": "Source chain, for example base or ethereum."
},
"to_chain": {
"type": "string",
"description": "Destination chain."
},
"token": {
"type": "string",
"description": "Token contract address on the SOURCE chain, 0x followed by 40 hex characters."
},
"to_token": {
"type": "string",
"description": "Optional token address on the destination chain. Defaults to the same asset."
},
"amount": {
"type": "string",
"description": "Amount in the smallest unit of the token, as a decimal string."
},
"from_address": {
"type": "string",
"description": "Optional sender address used for the quote. A neutral address is used when omitted."
}
}
}Veröffentlichtes Eingabebeispiel
{
"from_chain": "base",
"to_chain": "arbitrum",
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"to_token": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "1000000"
}Ergebnis & Dokumentation
Maschinenlesbare Dokumentation dieses Hubs
Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.
Weitere Endpunkte dieses Hubs
- Defiwerk0,005 USDC
dex / quote
POSThttps://defi.halowerk.com/dex/quoteFor a given chain, token pair and input amount, every connected DEX is queried through its own contracts: Uniswap V3 through the Quoter via eth_call across all fee tiers, constant-product pools through the pool maths on live reserves, Solid
- Defiwerk0,006 USDC
lending / health
POSThttps://defi.halowerk.com/lending/healthResolves pool, price oracle and data provider through the protocol address provider rather than hard-coded addresses, then reads every reserve the wallet touches: collateral amounts, variable and stable debt, LTV, liquidation threshold, liq
- Defiwerk0,006 USDC
mev / risk
POSThttps://defi.halowerk.com/mev/riskTakes chain, token pair, input amount and slippage tolerance, finds the pool the trade would most likely use and reads its live state. The maximum the caller can lose is arithmetic and exact: the gap between the quoted output and the minimu