NattSwap cross-chain swap quote (Li
NattSwap cross-chain swap quote (Li.Fi)
1000 (raw units)
price
6
calls / 30d
5
unique payers
2026-09-17
updated
Provider
hypernatt.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x5a78ace5dd133316c8aaf7e156fbfc57e1209cf9",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "2hAXt3sb2GZrtXx4ae4Ywc7enqrE191nktyL5k2nWSfg",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "1000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"fromAddress": "0x0000000000000000000000000000000000000001",
"fromAmount": "1000000",
"fromChain": "8453",
"fromToken": "USDC",
"toAddress": "0x0000000000000000000000000000000000000001",
"toChain": "42161",
"toToken": "USDC"
},
"type": "http"
},
"output": {
"example": {
"execution_readiness": {
"can_execute": true,
"next_step": {
"message": "Call swap_via_nattswap MCP tool to get execution instructions"
},
"signer_match": true
},
"quote": {
"estimatedDurationSeconds": 60,
"fromAmount": "1000000",
"toAmount": "997500",
"tool": "lifi"
},
"success": true,
"wallet_onboarding_v1": {
"doc_url": "https://github.com/DIALLOUBE-RESEARCH/hypernatt-terminal/blob/main/docs/swap-agentkit.md"
}
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"properties": {
"fromAddress": {
"description": "Your agent hot wallet (must sign the swap). Not a Hyperliquid vault address. Prefer MCP swap_via_nattswap (free).",
"type": "string"
},
"fromAmount": {
"description": "Amount in atomic units",
"type": "string"
},
"fromChain": {
"description": "Source chain id (e.g. 8453 for Base)",
"type": "string"
},
"fromToken": {
"type": "string"
},
"slippage": {
"type": "string"
},
"toAddress": {
"type": "string"
},
"toChain": {
"description": "Destination chain id",
"type": "string"
},
"toToken": {
"type": "string"
}
},
"required": [
"fromChain",
"toChain",
"fromToken",
"toToken",
"fromAmount",
"fromAddress",
"toAddress"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"builder-code": {
"info": {
"a": "bc_44pslzw2"
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"a": {
"description": "App builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"s": {
"description": "Service builder codes",
"items": {
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"type": "array"
},
"w": {
"description": "Wallet builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
}
},
"type": "object"
}
}
}Use it
curl
curl "https://hypernatt.com/api/m2m/swap/quote" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://hypernatt.com/api/m2m/swap/quote");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://hypernatt.com/api/m2m/swap/quote")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/352.json, and this resource appears in /discovery/resources and /discovery/search.