81trust / 100

Message:send

by Teardrop in Onchain & crypto

x402 APIPassing, checked 3 h ago

Teardrop crypto research agent over A2A: ask in plain language about token prices, DeFi yields and lending, wallet portfolios, approvals and counterparty risk, or onchain transactions; the agent plans and runs Teardrop's onchain data tools and returns a completed task. Pay per task with x402 USDC on Base.

POST https://api.teardrop.dev/message:send

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
292 ms typical, 292 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.teardrop.dev/message:send" \
  -H "content-type: application/json" \
  -d '{"contextId":"ctx_demo","message":{"parts":[{"kind":"text","text":"Summarize the top 3 takeaways from the last run."}],"role":"user"},"metadata":{"source":"agentic.market"},"taskId":"task_demo"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.teardrop.dev%2Fmessage%3Asend
const res = await pay("https://api.teardrop.dev/message:send", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"contextId":"ctx_demo","message":{"parts":[{"kind":"text","text":"Summarize the top 3 takeaways from the last run."}],"role":"user"},"metadata":{"source":"agentic.market"},"taskId":"task_demo"}),
});
console.log(await res.json());

Example input

{
  "contextId": "ctx_demo",
  "message": {
    "parts": [
      {
        "kind": "text",
        "text": "Summarize the top 3 takeaways from the last run."
      }
    ],
    "role": "user"
  },
  "metadata": {
    "source": "agentic.market"
  },
  "taskId": "task_demo"
}

Example output

{
  "jsonrpc": "2.0",
  "result": {
    "artifacts": [
      {
        "name": "result",
        "parts": [
          {
            "kind": "text",
            "text": "Here are the top takeaways..."
          }
        ]
      }
    ],
    "history": [
      {
        "parts": [
          {
            "kind": "text",
            "text": "Summarize the top 3 takeaways from the last run."
          }
        ],
        "role": "user"
      },
      {
        "parts": [
          {
            "kind": "text",
            "text": "Here are the top takeaways..."
          }
        ],
        "role": "agent"
      }
    ],
    "id": "task_demo",
    "status": {
      "message": {
        "parts": [
          {
            "kind": "text",
            "text": "Here are the top takeaways..."
          }
        ],
        "role": "agent"
      },
      "state": "completed"
    }
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402292 ms$0.01