{
  "x402Version": 2,
  "id": 33816,
  "slug": "33816",
  "resource": "https://x402.agentindex.world/base/can-sell",
  "description": "Can I sell this token? Honeypot check that simulates a real buy then a real sell of a Base mainnet token in one atomic on-chain call via Uniswap V2 - if the sell reverts, that is a honeypot, reported with the exact decoded reason. Factual, never predictive.",
  "type": "http",
  "serviceName": "base-can-sell",
  "resourceType": "Blockchain Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "approve_succeeded": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Approve Succeeded"
          },
          "buy_succeeded": {
            "title": "Buy Succeeded",
            "type": "boolean"
          },
          "can_sell": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Can Sell"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          },
          "sell_succeeded": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sell Succeeded"
          },
          "test_eth_wei": {
            "title": "Test Eth Wei",
            "type": "string"
          },
          "token": {
            "title": "Token",
            "type": "string"
          }
        },
        "required": [
          "token",
          "test_eth_wei",
          "buy_succeeded",
          "approve_succeeded",
          "sell_succeeded",
          "can_sell",
          "reason"
        ],
        "title": "CanSellOutput",
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "test_eth_wei": 10000000000000000,
            "token": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "approve_succeeded": true,
            "buy_succeeded": true,
            "can_sell": true,
            "reason": null,
            "sell_succeeded": true,
            "test_eth_wei": "10000000000000000",
            "token": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "test_eth_wei": {
                    "default": 10000000000000000,
                    "exclusiveMinimum": 0,
                    "title": "Test Eth Wei",
                    "type": "integer"
                  },
                  "token": {
                    "title": "Token",
                    "type": "string"
                  }
                },
                "required": [
                  "token"
                ],
                "title": "CanSellInput",
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "approve_succeeded": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Approve Succeeded"
                  },
                  "buy_succeeded": {
                    "title": "Buy Succeeded",
                    "type": "boolean"
                  },
                  "can_sell": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Can Sell"
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Reason"
                  },
                  "sell_succeeded": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sell Succeeded"
                  },
                  "test_eth_wei": {
                    "title": "Test Eth Wei",
                    "type": "string"
                  },
                  "token": {
                    "title": "Token",
                    "type": "string"
                  }
                },
                "required": [
                  "token",
                  "test_eth_wei",
                  "buy_succeeded",
                  "approve_succeeded",
                  "sell_succeeded",
                  "can_sell",
                  "reason"
                ],
                "title": "CanSellOutput",
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "honeypot check",
    "can i sell this token",
    "base rpc",
    "rug check",
    "uniswap v2",
    "bazaar"
  ],
  "sourceHost": "x402.agentindex.world",
  "lastUpdated": "2026-10-08T06:09:22.272Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:09:22.064Z"
  },
  "metadata": {
    "serviceName": "base-can-sell",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "test_eth_wei": 10000000000000000,
              "token": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "approve_succeeded": true,
              "buy_succeeded": true,
              "can_sell": true,
              "reason": null,
              "sell_succeeded": true,
              "test_eth_wei": "10000000000000000",
              "token": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "test_eth_wei": {
                      "default": 10000000000000000,
                      "exclusiveMinimum": 0,
                      "title": "Test Eth Wei",
                      "type": "integer"
                    },
                    "token": {
                      "title": "Token",
                      "type": "string"
                    }
                  },
                  "required": [
                    "token"
                  ],
                  "title": "CanSellInput",
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "approve_succeeded": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "title": "Approve Succeeded"
                    },
                    "buy_succeeded": {
                      "title": "Buy Succeeded",
                      "type": "boolean"
                    },
                    "can_sell": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "title": "Can Sell"
                    },
                    "reason": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "title": "Reason"
                    },
                    "sell_succeeded": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "title": "Sell Succeeded"
                    },
                    "test_eth_wei": {
                      "title": "Test Eth Wei",
                      "type": "string"
                    },
                    "token": {
                      "title": "Token",
                      "type": "string"
                    }
                  },
                  "required": [
                    "token",
                    "test_eth_wei",
                    "buy_succeeded",
                    "approve_succeeded",
                    "sell_succeeded",
                    "can_sell",
                    "reason"
                  ],
                  "title": "CanSellOutput",
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.agentindex.world",
    "manifest_name": "x402.agentindex.world",
    "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": {
      "approve_succeeded": null,
      "buy_succeeded": true,
      "can_sell": null,
      "reason": null,
      "sell_succeeded": null,
      "test_eth_wei": "string",
      "token": "string"
    },
    "type": "string"
  }
}