{
  "x402Version": 2,
  "id": 59752,
  "slug": "59752",
  "resource": "https://paid-mcp-opportunity-lab--taylorboucher1.replit.app/api/paid-tools/base_uniswap_v3_lp_accounting_audit",
  "description": "Read official Base Uniswap V3 NFT and pool state at one canonical block hash. Reconcile exact token inventory and fee-growth checkpoints against optional reported raw amounts. Return signed discrepancies, reproducible inputs and uint128 accounting semantics. Recorded tokensOwed may include withdrawn principal, not only fees. Read-only; no USD valuation, trading, custody or profitability claim.",
  "type": "http",
  "resourceType": "MCP Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x6f490449C4F2AfEdCc7220Ec3c7b339315152DBc",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "additionalProperties": false,
        "minProperties": 29,
        "patternProperties": {
          "^(?:positionId|inventory0Raw|inventory1Raw|accruedSinceCheckpointFee0Raw|accruedSinceCheckpointFee1Raw|recordedTokensOwed0Raw|recordedTokensOwed1Raw|contractFeeIncrement0Raw|contractFeeIncrement1Raw|owedAfterCheckpoint0Raw|owedAfterCheckpoint1Raw)$": {
            "$ref": "#/$defs/c0"
          },
          "^(?:positionManagerAddress|factoryAddress|poolAddress|ownerAddress)$": {
            "$ref": "#/$defs/c1"
          }
        },
        "properties": {
          "block": {
            "additionalProperties": false,
            "minProperties": 5,
            "properties": {
              "hash": {
                "maxLength": 66,
                "pattern": "^0x[0-9a-fA-F]{64}$",
                "type": "string"
              },
              "number": {
                "$ref": "#/$defs/c0"
              },
              "readMethod": {
                "enum": [
                  "EIP-1898 canonical block hash"
                ],
                "type": "string"
              },
              "selection": {
                "enum": [
                  "safe",
                  "explicit"
                ],
                "type": "string"
              },
              "timestamp": {
                "$ref": "#/$defs/c0"
              }
            },
            "type": "object"
          },
          "comparisonStatus": {
            "enum": [
              "not_requested",
              "matched",
              "mismatch"
            ],
            "type": "string"
          },
          "comparisons": {
            "items": {
              "additionalProperties": false,
              "minProperties": 5,
              "properties": {
                "calculatedRaw": {
                  "$ref": "#/$defs/c0"
                },
                "deltaRaw": {
                  "maxLength": 79,
                  "pattern": "^-?(0|[1-9][0-9]{0,77})$",
                  "type": "string"
                },
                "field": {
                  "enum": [
                    "inventory0Raw",
                    "inventory1Raw",
                    "accruedSinceCheckpointFee0Raw",
                    "accruedSinceCheckpointFee1Raw",
                    "recordedTokensOwed0Raw",
                    "recordedTokensOwed1Raw"
                  ],
                  "type": "string"
                },
                "matches": {
                  "type": "boolean"
                },
                "reportedRaw": {
                  "$ref": "#/$defs/c0"
                }
              },
              "type": "object"
            },
            "maxItems": 6,
            "minItems": 0,
            "type": "array"
          },
          "evidenceStatus": {
            "enum": [
              "rpc_observed"
            ],
            "type": "string"
          },
          "feeEvidence": {
            "additionalProperties": false,
            "minProperties": 10,
            "patternProperties": {
              "^(?:global0X128|global1X128|lowerOutside0X128|lowerOutside1X128|upperOutside0X128|upperOutside1X128|inside0X128|inside1X128|lastInside0X128|lastInside1X128)$": {
                "$ref": "#/$defs/c0"
              }
            },
            "properties": {},
            "type": "object"
          },
          "mathRevision": {
            "maxLength": 64,
            "pattern": "^[a-f0-9]{64}$",
            "type": "string"
          },
          "network": {
            "enum": [
              "eip155:8453"
            ],
            "type": "string"
          },
          "position": {
            "additionalProperties": false,
            "minProperties": 8,
            "patternProperties": {
              "^(?:lowerTick|upperTick)$": {
                "maximum": 887272,
                "minimum": -887272,
                "type": "integer"
              }
            },
            "properties": {
              "active": {
                "type": "boolean"
              },
              "currentTick": {
                "maximum": 887271,
                "minimum": -887272,
                "type": "integer"
              },
              "feePips": {
                "maximum": 999999,
                "minimum": 1,
                "type": "integer"
              },
              "liquidityRaw": {
                "$ref": "#/$defs/c0"
              },
              "sqrtPriceX96": {
                "$ref": "#/$defs/c0"
              },
              "tickSpacing": {
                "maximum": 32767,
                "minimum": 1,
                "type": "integer"
              }
            },
            "type": "object"
          },
          "sources": {
            "items": {
              "maxLength": 200,
              "type": "string"
            },
            "maxItems": 3,
            "minItems": 2,
            "type": "array"
          },
          "token0": {
            "$ref": "#/$defs/c2"
          },
          "token1": {
            "$ref": "#/$defs/c2"
          },
          "tool": {
            "enum": [
              "base_uniswap_v3_lp_accounting_audit"
            ],
            "type": "string"
          },
          "uint128WrappingObserved": {
            "type": "boolean"
          },
          "warnings": {
            "items": {
              "maxLength": 350,
              "type": "string"
            },
            "maxItems": 5,
            "minItems": 3,
            "type": "array"
          }
        },
        "type": "object"
      },
      "type": {
        "const": "json"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "positionId": "1"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "type": "json"
        }
      },
      "schema": {
        "$defs": {
          "c0": {
            "maxLength": 78,
            "pattern": "^(0|[1-9][0-9]{0,77})$",
            "type": "string"
          },
          "c1": {
            "maxLength": 42,
            "pattern": "^0x[0-9a-fA-F]{40}$",
            "type": "string"
          },
          "c2": {
            "additionalProperties": false,
            "minProperties": 2,
            "properties": {
              "address": {
                "maxLength": 42,
                "pattern": "^0x[0-9a-fA-F]{40}$",
                "type": "string"
              },
              "decimals": {
                "maximum": 255,
                "minimum": 0,
                "type": "integer"
              }
            },
            "type": "object"
          }
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "minProperties": 4,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "blockNumber": {
                    "description": "Optional historical Base block number. Omit to use the provider's safe block.",
                    "maxLength": 78,
                    "pattern": "^(0|[1-9][0-9]{0,77})$",
                    "type": "string"
                  },
                  "positionId": {
                    "description": "Uniswap V3 NFT position ID on Base; not an Aerodrome or V4 position.",
                    "examples": [
                      "1"
                    ],
                    "maxLength": 78,
                    "pattern": "^(0|[1-9][0-9]{0,77})$",
                    "type": "string"
                  },
                  "reported": {
                    "additionalProperties": false,
                    "patternProperties": {
                      "^(?:inventory0Raw|inventory1Raw|accruedSinceCheckpointFee0Raw|accruedSinceCheckpointFee1Raw|recordedTokensOwed0Raw|recordedTokensOwed1Raw)$": {
                        "$ref": "#/$defs/c0"
                      }
                    },
                    "properties": {},
                    "required": [],
                    "type": "object"
                  }
                },
                "required": [
                  "positionId"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "minProperties": 29,
                "patternProperties": {
                  "^(?:positionId|inventory0Raw|inventory1Raw|accruedSinceCheckpointFee0Raw|accruedSinceCheckpointFee1Raw|recordedTokensOwed0Raw|recordedTokensOwed1Raw|contractFeeIncrement0Raw|contractFeeIncrement1Raw|owedAfterCheckpoint0Raw|owedAfterCheckpoint1Raw)$": {
                    "$ref": "#/$defs/c0"
                  },
                  "^(?:positionManagerAddress|factoryAddress|poolAddress|ownerAddress)$": {
                    "$ref": "#/$defs/c1"
                  }
                },
                "properties": {
                  "block": {
                    "additionalProperties": false,
                    "minProperties": 5,
                    "properties": {
                      "hash": {
                        "maxLength": 66,
                        "pattern": "^0x[0-9a-fA-F]{64}$",
                        "type": "string"
                      },
                      "number": {
                        "$ref": "#/$defs/c0"
                      },
                      "readMethod": {
                        "enum": [
                          "EIP-1898 canonical block hash"
                        ],
                        "type": "string"
                      },
                      "selection": {
                        "enum": [
                          "safe",
                          "explicit"
                        ],
                        "type": "string"
                      },
                      "timestamp": {
                        "$ref": "#/$defs/c0"
                      }
                    },
                    "type": "object"
                  },
                  "comparisonStatus": {
                    "enum": [
                      "not_requested",
                      "matched",
                      "mismatch"
                    ],
                    "type": "string"
                  },
                  "comparisons": {
                    "items": {
                      "additionalProperties": false,
                      "minProperties": 5,
                      "properties": {
                        "calculatedRaw": {
                          "$ref": "#/$defs/c0"
                        },
                        "deltaRaw": {
                          "maxLength": 79,
                          "pattern": "^-?(0|[1-9][0-9]{0,77})$",
                          "type": "string"
                        },
                        "field": {
                          "enum": [
                            "inventory0Raw",
                            "inventory1Raw",
                            "accruedSinceCheckpointFee0Raw",
                            "accruedSinceCheckpointFee1Raw",
                            "recordedTokensOwed0Raw",
                            "recordedTokensOwed1Raw"
                          ],
                          "type": "string"
                        },
                        "matches": {
                          "type": "boolean"
                        },
                        "reportedRaw": {
                          "$ref": "#/$defs/c0"
                        }
                      },
                      "type": "object"
                    },
                    "maxItems": 6,
                    "minItems": 0,
                    "type": "array"
                  },
                  "evidenceStatus": {
                    "enum": [
                      "rpc_observed"
                    ],
                    "type": "string"
                  },
                  "feeEvidence": {
                    "additionalProperties": false,
                    "minProperties": 10,
                    "patternProperties": {
                      "^(?:global0X128|global1X128|lowerOutside0X128|lowerOutside1X128|upperOutside0X128|upperOutside1X128|inside0X128|inside1X128|lastInside0X128|lastInside1X128)$": {
                        "$ref": "#/$defs/c0"
                      }
                    },
                    "properties": {},
                    "type": "object"
                  },
                  "mathRevision": {
                    "maxLength": 64,
                    "pattern": "^[a-f0-9]{64}$",
                    "type": "string"
                  },
                  "network": {
                    "enum": [
                      "eip155:8453"
                    ],
                    "type": "string"
                  },
                  "position": {
                    "additionalProperties": false,
                    "minProperties": 8,
                    "patternProperties": {
                      "^(?:lowerTick|upperTick)$": {
                        "maximum": 887272,
                        "minimum": -887272,
                        "type": "integer"
                      }
                    },
                    "properties": {
                      "active": {
                        "type": "boolean"
                      },
                      "currentTick": {
                        "maximum": 887271,
                        "minimum": -887272,
                        "type": "integer"
                      },
                      "feePips": {
                        "maximum": 999999,
                        "minimum": 1,
                        "type": "integer"
                      },
                      "liquidityRaw": {
                        "$ref": "#/$defs/c0"
                      },
                      "sqrtPriceX96": {
                        "$ref": "#/$defs/c0"
                      },
                      "tickSpacing": {
                        "maximum": 32767,
                        "minimum": 1,
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  },
                  "sources": {
                    "items": {
                      "maxLength": 200,
                      "type": "string"
                    },
                    "maxItems": 3,
                    "minItems": 2,
                    "type": "array"
                  },
                  "token0": {
                    "$ref": "#/$defs/c2"
                  },
                  "token1": {
                    "$ref": "#/$defs/c2"
                  },
                  "tool": {
                    "enum": [
                      "base_uniswap_v3_lp_accounting_audit"
                    ],
                    "type": "string"
                  },
                  "uint128WrappingObserved": {
                    "type": "boolean"
                  },
                  "warnings": {
                    "items": {
                      "maxLength": 350,
                      "type": "string"
                    },
                    "maxItems": 5,
                    "minItems": 3,
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "json"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "paid-mcp-opportunity-lab--taylorboucher1.replit.app",
  "lastUpdated": "2026-10-13T20:09:09.014Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-13T20:09:08.426Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "positionId": "1"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "type": "json"
          }
        },
        "schema": {
          "$defs": {
            "c0": {
              "maxLength": 78,
              "pattern": "^(0|[1-9][0-9]{0,77})$",
              "type": "string"
            },
            "c1": {
              "maxLength": 42,
              "pattern": "^0x[0-9a-fA-F]{40}$",
              "type": "string"
            },
            "c2": {
              "additionalProperties": false,
              "minProperties": 2,
              "properties": {
                "address": {
                  "maxLength": 42,
                  "pattern": "^0x[0-9a-fA-F]{40}$",
                  "type": "string"
                },
                "decimals": {
                  "maximum": 255,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "type": "object"
            }
          },
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "minProperties": 4,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "blockNumber": {
                      "description": "Optional historical Base block number. Omit to use the provider's safe block.",
                      "maxLength": 78,
                      "pattern": "^(0|[1-9][0-9]{0,77})$",
                      "type": "string"
                    },
                    "positionId": {
                      "description": "Uniswap V3 NFT position ID on Base; not an Aerodrome or V4 position.",
                      "examples": [
                        "1"
                      ],
                      "maxLength": 78,
                      "pattern": "^(0|[1-9][0-9]{0,77})$",
                      "type": "string"
                    },
                    "reported": {
                      "additionalProperties": false,
                      "patternProperties": {
                        "^(?:inventory0Raw|inventory1Raw|accruedSinceCheckpointFee0Raw|accruedSinceCheckpointFee1Raw|recordedTokensOwed0Raw|recordedTokensOwed1Raw)$": {
                          "$ref": "#/$defs/c0"
                        }
                      },
                      "properties": {},
                      "required": [],
                      "type": "object"
                    }
                  },
                  "required": [
                    "positionId"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "additionalProperties": false,
                  "minProperties": 29,
                  "patternProperties": {
                    "^(?:positionId|inventory0Raw|inventory1Raw|accruedSinceCheckpointFee0Raw|accruedSinceCheckpointFee1Raw|recordedTokensOwed0Raw|recordedTokensOwed1Raw|contractFeeIncrement0Raw|contractFeeIncrement1Raw|owedAfterCheckpoint0Raw|owedAfterCheckpoint1Raw)$": {
                      "$ref": "#/$defs/c0"
                    },
                    "^(?:positionManagerAddress|factoryAddress|poolAddress|ownerAddress)$": {
                      "$ref": "#/$defs/c1"
                    }
                  },
                  "properties": {
                    "block": {
                      "additionalProperties": false,
                      "minProperties": 5,
                      "properties": {
                        "hash": {
                          "maxLength": 66,
                          "pattern": "^0x[0-9a-fA-F]{64}$",
                          "type": "string"
                        },
                        "number": {
                          "$ref": "#/$defs/c0"
                        },
                        "readMethod": {
                          "enum": [
                            "EIP-1898 canonical block hash"
                          ],
                          "type": "string"
                        },
                        "selection": {
                          "enum": [
                            "safe",
                            "explicit"
                          ],
                          "type": "string"
                        },
                        "timestamp": {
                          "$ref": "#/$defs/c0"
                        }
                      },
                      "type": "object"
                    },
                    "comparisonStatus": {
                      "enum": [
                        "not_requested",
                        "matched",
                        "mismatch"
                      ],
                      "type": "string"
                    },
                    "comparisons": {
                      "items": {
                        "additionalProperties": false,
                        "minProperties": 5,
                        "properties": {
                          "calculatedRaw": {
                            "$ref": "#/$defs/c0"
                          },
                          "deltaRaw": {
                            "maxLength": 79,
                            "pattern": "^-?(0|[1-9][0-9]{0,77})$",
                            "type": "string"
                          },
                          "field": {
                            "enum": [
                              "inventory0Raw",
                              "inventory1Raw",
                              "accruedSinceCheckpointFee0Raw",
                              "accruedSinceCheckpointFee1Raw",
                              "recordedTokensOwed0Raw",
                              "recordedTokensOwed1Raw"
                            ],
                            "type": "string"
                          },
                          "matches": {
                            "type": "boolean"
                          },
                          "reportedRaw": {
                            "$ref": "#/$defs/c0"
                          }
                        },
                        "type": "object"
                      },
                      "maxItems": 6,
                      "minItems": 0,
                      "type": "array"
                    },
                    "evidenceStatus": {
                      "enum": [
                        "rpc_observed"
                      ],
                      "type": "string"
                    },
                    "feeEvidence": {
                      "additionalProperties": false,
                      "minProperties": 10,
                      "patternProperties": {
                        "^(?:global0X128|global1X128|lowerOutside0X128|lowerOutside1X128|upperOutside0X128|upperOutside1X128|inside0X128|inside1X128|lastInside0X128|lastInside1X128)$": {
                          "$ref": "#/$defs/c0"
                        }
                      },
                      "properties": {},
                      "type": "object"
                    },
                    "mathRevision": {
                      "maxLength": 64,
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    },
                    "network": {
                      "enum": [
                        "eip155:8453"
                      ],
                      "type": "string"
                    },
                    "position": {
                      "additionalProperties": false,
                      "minProperties": 8,
                      "patternProperties": {
                        "^(?:lowerTick|upperTick)$": {
                          "maximum": 887272,
                          "minimum": -887272,
                          "type": "integer"
                        }
                      },
                      "properties": {
                        "active": {
                          "type": "boolean"
                        },
                        "currentTick": {
                          "maximum": 887271,
                          "minimum": -887272,
                          "type": "integer"
                        },
                        "feePips": {
                          "maximum": 999999,
                          "minimum": 1,
                          "type": "integer"
                        },
                        "liquidityRaw": {
                          "$ref": "#/$defs/c0"
                        },
                        "sqrtPriceX96": {
                          "$ref": "#/$defs/c0"
                        },
                        "tickSpacing": {
                          "maximum": 32767,
                          "minimum": 1,
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "sources": {
                      "items": {
                        "maxLength": 200,
                        "type": "string"
                      },
                      "maxItems": 3,
                      "minItems": 2,
                      "type": "array"
                    },
                    "token0": {
                      "$ref": "#/$defs/c2"
                    },
                    "token1": {
                      "$ref": "#/$defs/c2"
                    },
                    "tool": {
                      "enum": [
                        "base_uniswap_v3_lp_accounting_audit"
                      ],
                      "type": "string"
                    },
                    "uint128WrappingObserved": {
                      "type": "boolean"
                    },
                    "warnings": {
                      "items": {
                        "maxLength": 350,
                        "type": "string"
                      },
                      "maxItems": 5,
                      "minItems": 3,
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "json"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "paid-mcp-opportunity-lab--taylorboucher1.replit.app",
    "manifest_name": "paid-mcp-opportunity-lab--taylorboucher1.replit.app",
    "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": {
    "example": {
      "block": {
        "hash": "string",
        "number": null,
        "readMethod": "EIP-1898 canonical block hash",
        "selection": "safe",
        "timestamp": null
      },
      "comparisonStatus": "not_requested",
      "comparisons": [
        {
          "calculatedRaw": null,
          "deltaRaw": "string",
          "field": "inventory0Raw",
          "matches": true,
          "reportedRaw": null
        }
      ],
      "evidenceStatus": "rpc_observed",
      "feeEvidence": {},
      "mathRevision": "string",
      "network": "eip155:8453",
      "position": {
        "active": true,
        "currentTick": 0,
        "feePips": 0,
        "liquidityRaw": null,
        "sqrtPriceX96": null,
        "tickSpacing": 0
      },
      "sources": [
        "string"
      ],
      "token0": null,
      "token1": null,
      "tool": "base_uniswap_v3_lp_accounting_audit",
      "uint128WrappingObserved": true,
      "warnings": [
        "string"
      ]
    },
    "type": null
  }
}