{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "agent-bounties-yield-pool-up-railway-app-entrypoints-configure-watcher-invoke",
  "title": "Agent Bounties \u00b7 Yield Pool Watcher Configuration",
  "url": "https://agent-bounties-yield-pool.up.railway.app/entrypoints/configure-watcher/invoke",
  "category": "finance",
  "summary": "Configure automated monitoring rules for DeFi yield pools with customizable thresholds and polling intervals.",
  "seo": {
    "title": "Yield Pool Watcher API | x402 DeFi Automation",
    "description": "Configure DeFi yield pool monitoring with protocol, pool, and threshold rules via x402 micropayments. Base network automation for yield hunters."
  },
  "use_cases": [
    "Set up alerts when yield pool APY drops below threshold",
    "Monitor multiple DeFi protocols for optimal yield opportunities",
    "Automate yield farming position management"
  ],
  "ideal_buyer": "DeFi automation agents and yield optimization systems tracking multiple protocols and pools.",
  "example_prompt": "Configure a watcher for Aave USDC pool with 5% APY threshold and 60 second polling",
  "example_request_body": {
    "pools": [
      {
        "pool": "usdc",
        "protocol": "aave",
        "thresholdApy": 5
      }
    ],
    "pollingIntervalMs": 60000
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "cheap_outlier",
    "ratio": 0.1,
    "median_category_atomic": 10000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0xe8394f8188e80f105e29d121d92dfd1dec31fd07",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "1000",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "Configure the yield pool watcher with protocol, pool, and threshold rules.",
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST",
          "bodyType": "json",
          "bodyFields": {
            "input": {
              "type": "object",
              "required": [
                "watcherId",
                "config"
              ],
              "properties": {
                "config": {
                  "type": "object",
                  "required": [
                    "protocolIds",
                    "pools",
                    "thresholdRules"
                  ],
                  "properties": {
                    "pools": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "protocolId",
                          "chainId",
                          "address"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "Human readable pool identifier."
                          },
                          "address": {
                            "type": "string",
                            "description": "Primary contract address for the pool."
                          },
                          "chainId": {
                            "type": "integer"
                          },
                          "metadata": {
                            "type": "object",
                            "description": "Optional bag for protocol specific parameters (e.g. market ids, gauges)."
                          },
                          "protocolId": {
                            "type": "string",
                            "description": "Identifier for the underlying protocol."
                          }
                        }
                      }
                    },
                    "protocolIds": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "thresholdRules": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "metric",
                          "change",
                          "window"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "Unique identifier for this rule."
                          },
                          "change": {
                            "type": "object",
                            "required": [
                              "type",
                              "direction",
                              "amount"
                            ],
                            "properties": {
                              "type": {
                                "enum": [
                                  "percent",
                                  "absolute"
                                ],
                                "type": "string",
                                "description": "How to evaluate the rule (percentage vs absolute change)."
                              },
                              "amount": {
                                "type": "number"
                              },
                              "direction": {
                                "enum": [
                                  "increase",
                                  "decrease",
                                  "both"
                                ],
                                "type": "string",
                                "description": "Direction in which the change should trigger."
                              }
                            }
                          },
                          "metric": {
                            "enum": [
                              "tvl",
                              "apy"
                            ],
                            "type": "string",
                            "description": "Metric to evaluate."
                          },
                          "window": {
                            "type": "object",
                            "required": [
                              "type",
                              "value"
                            ],
                            "properties": {
                              "type": {
                                "enum": [
                                  "blocks",
                                  "minutes"
                                ],
                                "type": "string",
                                "description": "Lookback window type. Blocks for on-chain precision."
                              },
                              "value": {
                                "type": "integer"
                              }
                            }
                          },
                          "metadata": {
                            "type": "object"
                          },
                          "appliesTo": {
                            "type": "object",
                            "properties": {
                              "poolIds": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "protocolIds": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            },
                            "description": "Optional scoping for the rule. Defaults to all configured pools."
                          }
                        }
                      }
                    },
                    "pollingIntervalMs": {
                      "type": "integer",
                      "description": "Optional override for the polling cadence in milliseconds."
                    }
                  }
                },
                "watcherId": {
                  "type": "string"
                }
              }
            }
          }
        },
        "output": {
          "output": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "watcherId",
              "protocolIds",
              "pools",
              "thresholdRules",
              "configVersion"
            ],
            "properties": {
              "pools": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "protocolId",
                    "poolId",
                    "chainId"
                  ],
                  "properties": {
                    "poolId": {
                      "type": "string"
                    },
                    "chainId": {
                      "type": "number"
                    },
                    "protocolId": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "watcherId": {
                "type": "string"
              },
              "protocolIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "configVersion": {
                "type": "integer",
                "maximum": 9007199254740991,
                "exclusiveMinimum": 0
              },
              "thresholdRules": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "metric"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "metric": {
                      "enum": [
                        "tvl",
                        "apy"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "pollingIntervalMs": {
                "type": "integer",
                "maximum": 9007199254740991,
                "exclusiveMinimum": 0
              }
            },
            "additionalProperties": false
          }
        }
      }
    }
  ],
  "origin": {
    "slug": "agent-bounties-yield-pool-up-railway-app",
    "host": "agent-bounties-yield-pool.up.railway.app",
    "title": "Railway-hosted agent service",
    "description": "An x402-payable API endpoint hosted on Railway. The application is currently unavailable or misconfigured, returning a 404 error.",
    "url": "https://agent-bounties-yield-pool.up.railway.app"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/agent-bounties-yield-pool-up-railway-app-entrypoints-configure-watcher-invoke",
    "url": "https://x402all.com/resource/agent-bounties-yield-pool-up-railway-app-entrypoints-configure-watcher-invoke",
    "name": "Agent Bounties \u00b7 Yield Pool Watcher Configuration",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/agent-bounties-yield-pool-up-railway-app-entrypoints-configure-watcher-invoke",
      "@type": "Offer",
      "price": "0.001",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.001000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://agent-bounties-yield-pool.up.railway.app/entrypoints/configure-watcher/invoke",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/agent-bounties-yield-pool-up-railway-app",
      "url": "https://agent-bounties-yield-pool.up.railway.app",
      "name": "Railway-hosted agent service",
      "@type": "Organization"
    },
    "identifier": "agent-bounties-yield-pool-up-railway-app-entrypoints-configure-watcher-invoke",
    "description": "Configure DeFi yield pool monitoring with protocol, pool, and threshold rules via x402 micropayments. Base network automation for yield hunters.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=agent-bounties-yield-pool-up-railway-app-entrypoints-configure-watcher-invoke",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "finance"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=agent-bounties-yield-pool-up-railway-app-entrypoints-configure-watcher-invoke"
}
