Pre-sign transaction review
Pre-sign transaction review. Send a base64 transaction (or an already parsed one) and get back what it actually does: the programs it invokes, the authorities it hands over, and the risk flags a wallet should show the user before they approve.
by api.solsentry.app · discovered, not yet claimed by its owner · updated 2026-10-10
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Pre-sign transaction review. Send a base64 transaction (or an already parsed one) and get back what it actually does: the programs it invokes, the authorities it hands over, and the risk flags a wallet should show the user before they approve.
Tags: solana · security · risk · threat-intelligence · transaction · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-10
{
"parsed_tx": {
"accounts": [],
"instructions": []
}
}{
"decode_ok": true,
"detectors_run": [
"close_account",
"owner_reassignment",
"stake_authority"
],
"findings": [],
"latency_ms": 4.1,
"provenance": {
"as_of_slot": null,
"cached": false,
"fetched_at": "<ISO-8601 UTC>",
"source": null
},
"risk_score": 0,
"verdict": "safe"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/33173.jsonfor the price and payment options. - Pay. Call
GET https://api.solsentry.app/x402/v1/tx-preview. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.008 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Solana
- Demand
- 8 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.008 | HwXJGH7FMugPCoLiQnuG1nCUMWhBejMhkjdswNHmLeN8 | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "HwXJGH7FMugPCoLiQnuG1nCUMWhBejMhkjdswNHmLeN8",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "8000",
"amountUsd": 0.008,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"decode_ok": {
"type": "boolean"
},
"detectors_run": {
"items": {
"type": "string"
},
"type": "array"
},
"findings": {
"items": {
"properties": {
"detail": {
"type": "object"
},
"detector": {
"type": "string"
},
"severity": {
"type": "string"
},
"summary": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"latency_ms": {
"type": "number"
},
"provenance": {
"description": "Freshness of this answer: when it was fetched/computed (UTC), whether it came from a cache layer, and the Solana slot it reflects when the underlying data source exposes one (null otherwise).",
"properties": {
"as_of_slot": {
"type": [
"integer",
"null"
]
},
"cached": {
"type": "boolean"
},
"fetched_at": {
"description": "ISO-8601 UTC timestamp",
"type": "string"
},
"source": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"risk_score": {
"description": "0-100 aggregate",
"type": "integer"
},
"verdict": {
"description": "'block' | 'warn' | 'safe'",
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"decode_ok": true,
"detectors_run": [
"string"
],
"findings": [
{
"detail": {},
"detector": "string",
"severity": "string",
"summary": "string"
}
],
"latency_ms": 0,
"provenance": {
"as_of_slot": 0,
"cached": true,
"fetched_at": "string",
"source": "string"
},
"risk_score": 0,
"verdict": "string"
},
"type": "string"
}Examples
curl "https://api.solsentry.app/x402/v1/tx-preview"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.solsentry.app/x402/v1/tx-preview");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.solsentry.app/x402/v1/tx-preview")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.solsentry.app
- Endpoint
- https://api.solsentry.app/x402/v1/tx-preview
- Machine-readable
/resources/33173.json