{
  "x402Version": 2,
  "id": 57065,
  "slug": "57065",
  "resource": "https://agentpaystore.com/diav/api/validate",
  "description": "Validates flash-loan size and leverage against live Uniswap V3 pool state on Base, under liquidity-drain and slippage stress. Machine clients pay $0.05 USDC (x402, Base L2) per validation. Humans: https://agentpaystore.com/diav/",
  "type": "http",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x367F1b3D8Ca90D1e087481a9A40d585Bf3451a03",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 60
    },
    {
      "scheme": "exact",
      "network": "base",
      "payTo": "0x367F1b3D8Ca90D1e087481a9A40d585Bf3451a03",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 60
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "6aCEuwH3PYx99cEmRz45otfxk39uF7ewGhqmvxfXisSG",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "example": {
      "adaptive_params": {
        "fee_multiplier": 1,
        "max_leverage": 10
      },
      "est_slippage_pct": {
        "baseline": 0.09,
        "slippage_spike_3x": 0.27
      },
      "max_safe_amount": 70,
      "pool_state": {
        "liquidity": "0",
        "sqrt_price": 0,
        "tick": 0
      },
      "rationale": "Worst stress stays under 2%. Screening model, not a quote.",
      "verdict": "APPROVE"
    }
  },
  "extensions": {
    "bazaar": {
      "category": "AI",
      "info": {
        "description": "Validates flash-loan size and leverage against live Uniswap V3 pool state on Base, under liquidity-drain and slippage stress. Machine clients pay $0.05 USDC (x402, Base L2) per validation. Humans: https://agentpaystore.com/diav/",
        "input": {
          "method": "POST",
          "type": "http"
        },
        "inputSchema": {
          "properties": {
            "borrow_amount": {
              "description": "Human token units, not wei",
              "type": "number"
            },
            "borrow_asset": {
              "enum": [
                "token0",
                "token1"
              ],
              "type": "string"
            },
            "leverage": {
              "description": "1 to 10, default 1",
              "type": "number"
            },
            "pool": {
              "description": "Uniswap V3 pool address on Base",
              "type": "string"
            }
          },
          "required": [
            "pool",
            "borrow_asset",
            "borrow_amount"
          ],
          "type": "object"
        },
        "name": "DIA-V — Dynamic Impact-Aware Flash Loan Validator",
        "output": {
          "example": {
            "adaptive_params": {
              "fee_multiplier": 1,
              "max_leverage": 10
            },
            "est_slippage_pct": {
              "baseline": 0.09,
              "slippage_spike_3x": 0.27
            },
            "max_safe_amount": 70,
            "pool_state": {
              "liquidity": "0",
              "sqrt_price": 0,
              "tick": 0
            },
            "rationale": "Worst stress stays under 2%. Screening model, not a quote.",
            "verdict": "APPROVE"
          }
        },
        "outputSchema": {
          "properties": {
            "reply": {
              "description": "The agent's answer",
              "type": "string"
            }
          },
          "type": "object"
        },
        "tags": [
          "diav",
          "flash-loan",
          "uniswap-v3",
          "base-l2",
          "x402",
          "risk",
          "agentpay"
        ]
      },
      "networks": [
        "Base"
      ],
      "provider": "AgentPay",
      "providerUrl": "https://agentpaystore.com",
      "schema": {
        "properties": {
          "reply": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "tags": [
        "diav",
        "flash-loan",
        "uniswap-v3",
        "base-l2",
        "x402",
        "risk",
        "agentpay"
      ]
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "agentpaystore.com",
  "lastUpdated": "2026-10-08T21:07:40.257Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-08T21:07:41.78Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "category": "AI",
        "info": {
          "description": "Validates flash-loan size and leverage against live Uniswap V3 pool state on Base, under liquidity-drain and slippage stress. Machine clients pay $0.05 USDC (x402, Base L2) per validation. Humans: https://agentpaystore.com/diav/",
          "input": {
            "method": "POST",
            "type": "http"
          },
          "inputSchema": {
            "properties": {
              "borrow_amount": {
                "description": "Human token units, not wei",
                "type": "number"
              },
              "borrow_asset": {
                "enum": [
                  "token0",
                  "token1"
                ],
                "type": "string"
              },
              "leverage": {
                "description": "1 to 10, default 1",
                "type": "number"
              },
              "pool": {
                "description": "Uniswap V3 pool address on Base",
                "type": "string"
              }
            },
            "required": [
              "pool",
              "borrow_asset",
              "borrow_amount"
            ],
            "type": "object"
          },
          "name": "DIA-V — Dynamic Impact-Aware Flash Loan Validator",
          "output": {
            "example": {
              "adaptive_params": {
                "fee_multiplier": 1,
                "max_leverage": 10
              },
              "est_slippage_pct": {
                "baseline": 0.09,
                "slippage_spike_3x": 0.27
              },
              "max_safe_amount": 70,
              "pool_state": {
                "liquidity": "0",
                "sqrt_price": 0,
                "tick": 0
              },
              "rationale": "Worst stress stays under 2%. Screening model, not a quote.",
              "verdict": "APPROVE"
            }
          },
          "outputSchema": {
            "properties": {
              "reply": {
                "description": "The agent's answer",
                "type": "string"
              }
            },
            "type": "object"
          },
          "tags": [
            "diav",
            "flash-loan",
            "uniswap-v3",
            "base-l2",
            "x402",
            "risk",
            "agentpay"
          ]
        },
        "networks": [
          "Base"
        ],
        "provider": "AgentPay",
        "providerUrl": "https://agentpaystore.com",
        "schema": {
          "properties": {
            "reply": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "tags": [
          "diav",
          "flash-loan",
          "uniswap-v3",
          "base-l2",
          "x402",
          "risk",
          "agentpay"
        ]
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agentpaystore.com",
    "manifest_name": "agentpaystore.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "adaptive_params": {
      "fee_multiplier": 1,
      "max_leverage": 10
    },
    "est_slippage_pct": {
      "baseline": 0.09,
      "slippage_spike_3x": 0.27
    },
    "max_safe_amount": 70,
    "pool_state": {
      "liquidity": "0",
      "sqrt_price": 0,
      "tick": 0
    },
    "rationale": "Worst stress stays under 2%. Screening model, not a quote.",
    "verdict": "APPROVE"
  }
}