{
  "x402Version": 2,
  "id": 33173,
  "slug": "33173",
  "resource": "https://api.solsentry.app/x402/v1/tx-preview",
  "description": "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.",
  "type": "http",
  "serviceName": "SolSentry",
  "resourceType": "Monitoring",
  "accepts": [
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "HwXJGH7FMugPCoLiQnuG1nCUMWhBejMhkjdswNHmLeN8",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "8000",
      "amountUsd": 0.008,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "parsed_tx": {
              "accounts": [],
              "instructions": []
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "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"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "parsed_tx": {
                    "description": "Alternative: an already parsed transaction",
                    "type": "object"
                  },
                  "tx_base64": {
                    "description": "Base64-encoded transaction",
                    "type": "string"
                  }
                },
                "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": {
                  "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"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "solana",
    "security",
    "risk",
    "threat-intelligence",
    "transaction",
    "bazaar"
  ],
  "sourceHost": "api.solsentry.app",
  "lastUpdated": "2026-10-10T12:14:52.779Z",
  "quality": {
    "calls30d": 8,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-10T12:14:52.644Z"
  },
  "metadata": {
    "serviceName": "SolSentry",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "parsed_tx": {
                "accounts": [],
                "instructions": []
              }
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "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"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "parsed_tx": {
                      "description": "Alternative: an already parsed transaction",
                      "type": "object"
                    },
                    "tx_base64": {
                      "description": "Base64-encoded transaction",
                      "type": "string"
                    }
                  },
                  "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": {
                    "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"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.solsentry.app",
    "manifest_name": "api.solsentry.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": {
      "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"
  }
}