You're viewing a demo portfolio

Join the waitlist
PRSM

prepare_tx

Active

Tool of gulltoppr

declared in 0.1.2

Prepare a contract WRITE for the user to sign. Returns an UNSIGNED transaction, its simulation, a human-readable summary, an abi.ninja signing deeplink, and warnings. IMPORTANT: this tool NEVER signs or broadcasts. Present the summary + simulation + warnings to the user and hand them the `deeplink` — they sign in their own wallet. If `warnings` is non-empty (decompiled ABI, proxy, or a reverting simulation), surface it.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "chain",
    "address",
    "function",
    "from"
  ],
  "properties": {
    "args": {
      "type": "array",
      "default": [],
      "description": "Function arguments, in order. Pass uint values as decimal strings."
    },
    "from": {
      "type": "string",
      "description": "The sender address (the user's wallet). No key is needed — nothing is signed."
    },
    "chain": {
      "type": "string",
      "description": "Chain alias (\"ethereum\", \"base\", \"optimism\", \"arbitrum\", \"polygon\", \"local\") or numeric chain id."
    },
    "value": {
      "type": "string",
      "description": "Native value in wei (decimal string), for payable functions."
    },
    "address": {
      "type": "string",
      "description": "0x contract address."
    },
    "rpc_url": {
      "type": "string",
      "description": "Override RPC URL. Required for chains with no default (e.g. local/31337)."
    },
    "function": {
      "type": "string",
      "description": "Function name, or full signature like \"transfer(address,uint256)\" if overloaded."
    }
  },
  "additionalProperties": false
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

gulltoppr

https://github.com/portdeveloper/gulltoppr

2/7 registries
View full server →