You're viewing a demo portfolio

Join the waitlist
PRSM

tx.guard

Active

Tool of Syenite

declared in 0.6.3

Evaluates a proposed transaction against a caller-supplied set of risk rules before signing, returning a per-rule pass/fail/skip breakdown and an overall approved verdict. Rules are caller-defined — Syenite does not impose or modify them. Supported rules: maxValueNative (cap native token value), allowedContracts (allowlist of target addresses), blockedContracts (denylist), allowedFunctions (function selector filter), requireVerifiedContract (flag if contract is unverified — requires prior tx.verify call), requireAllowlisted (flag if contract is not in Syenite's curated protocol registry), and maxGasLimit. Pass transaction (to, data, value, gasLimit, chainId) and rules (any subset of the above); at least one rule is required. Use as a programmable safety gate before any autonomous on-chain action. Does not submit or sign the transaction.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "transaction",
    "rules"
  ],
  "properties": {
    "chain": {
      "type": "string",
      "description": "Chain name (defaults to ethereum)"
    },
    "rules": {
      "type": "object",
      "properties": {
        "maxGasLimit": {
          "type": "number",
          "description": "Maximum gas limit"
        },
        "maxValueNative": {
          "type": "string",
          "description": "Max native token value (e.g. '0.1' for 0.1 ETH)"
        },
        "allowedContracts": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Allowlisted contract addresses"
        },
        "allowedFunctions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Permitted function selectors or names"
        },
        "blockedContracts": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Blocklisted contract addresses"
        },
        "requireAllowlisted": {
          "type": "boolean",
          "description": "Require contract in Syenite protocol registry"
        },
        "requireVerifiedContract": {
          "type": "boolean",
          "description": "Require Etherscan/Sourcify verified"
        }
      }
    },
    "transaction": {
      "type": "object",
      "required": [
        "to"
      ],
      "properties": {
        "to": {
          "type": "string",
          "description": "Target address"
        },
        "data": {
          "type": "string",
          "description": "Calldata"
        },
        "value": {
          "type": "string",
          "description": "Native value (wei)"
        },
        "chainId": {
          "type": "number",
          "description": "EIP-155 chain ID"
        },
        "gasLimit": {
          "type": "string",
          "description": "Gas limit as decimal string"
        }
      }
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

Syenite

https://github.com/syenite-ai/syenite

1/7 registries
View full server →