{
  "x402Version": 2,
  "id": 32300,
  "slug": "32300",
  "resource": "https://agentforge-taupe.vercel.app/v1/solana/tx-simulate",
  "description": "Simulate a Solana transaction for agents about to sign it: balance changes, labeled programs, deterministic risk rules, and a proceed/caution/avoid recommendation. Accepts USDC on Base or Solana. Category: data.",
  "type": "http",
  "serviceName": "AgentForge",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1789936236/bazaar-icons/514693b4ba32275a.png",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xFA6F352E71c44d217df04eCAD902C82B72D2378c",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "150000",
      "amountUsd": 0.15,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "EtDHxiEoha4nj1LRmnpxxmD5zbbzegH8ohYrknZ2JMZv",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "150000",
      "amountUsd": 0.15,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xFA6F352E71c44d217df04eCAD902C82B72D2378c",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "150000",
      "amountUsd": 0.15,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "balanceChanges": {
            "type": "array"
          },
          "computeUnitsConsumed": {
            "type": "number"
          },
          "explanation": {
            "type": "string"
          },
          "logs": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "programsInvoked": {
            "type": "array"
          },
          "recommendation": {
            "enum": [
              "proceed",
              "caution",
              "avoid"
            ],
            "type": "string"
          },
          "relatedServices": {
            "type": "array"
          },
          "riskFlags": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "logs",
          "balanceChanges",
          "programsInvoked",
          "riskFlags",
          "recommendation",
          "explanation"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "category": "security",
      "discoverable": true,
      "info": {
        "input": {
          "body": {
            "transaction": "AQABAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "balanceChanges": [
              {
                "account": "wallet1",
                "after": 1.4998,
                "before": 1.5,
                "delta": -0.0002,
                "type": "sol"
              }
            ],
            "computeUnitsConsumed": 12000,
            "explanation": "This transaction would succeed and only moves a small amount of SOL for fees.",
            "logs": [
              "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [1]",
              "Program log: Instruction: Transfer"
            ],
            "programsInvoked": [
              {
                "isVerified": true,
                "label": "SPL Token Program",
                "programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
              }
            ],
            "recommendation": "proceed",
            "relatedServices": [],
            "riskFlags": [],
            "success": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "transaction": {
                    "description": "Base64-encoded unsigned (or signed) Solana transaction",
                    "type": "string"
                  }
                },
                "required": [
                  "transaction"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "balanceChanges": {
                    "type": "array"
                  },
                  "computeUnitsConsumed": {
                    "type": "number"
                  },
                  "explanation": {
                    "type": "string"
                  },
                  "logs": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "programsInvoked": {
                    "type": "array"
                  },
                  "recommendation": {
                    "enum": [
                      "proceed",
                      "caution",
                      "avoid"
                    ],
                    "type": "string"
                  },
                  "relatedServices": {
                    "type": "array"
                  },
                  "riskFlags": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "success": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "success",
                  "logs",
                  "balanceChanges",
                  "programsInvoked",
                  "riskFlags",
                  "recommendation",
                  "explanation"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      },
      "tags": [
        "solana",
        "simulate transaction",
        "pre-sign check",
        "balance changes"
      ]
    }
  },
  "tags": [
    "solana",
    "simulate transaction",
    "pre-sign check",
    "balance changes",
    "bazaar"
  ],
  "sourceHost": "agentforge-taupe.vercel.app",
  "lastUpdated": "2026-09-20T20:31:57.341Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-20T20:31:57.219Z"
  },
  "metadata": {
    "serviceName": "AgentForge",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1789936236/bazaar-icons/514693b4ba32275a.png",
    "extensions": {
      "bazaar": {
        "category": "security",
        "discoverable": true,
        "info": {
          "input": {
            "body": {
              "transaction": "AQABAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "balanceChanges": [
                {
                  "account": "wallet1",
                  "after": 1.4998,
                  "before": 1.5,
                  "delta": -0.0002,
                  "type": "sol"
                }
              ],
              "computeUnitsConsumed": 12000,
              "explanation": "This transaction would succeed and only moves a small amount of SOL for fees.",
              "logs": [
                "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [1]",
                "Program log: Instruction: Transfer"
              ],
              "programsInvoked": [
                {
                  "isVerified": true,
                  "label": "SPL Token Program",
                  "programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
                }
              ],
              "recommendation": "proceed",
              "relatedServices": [],
              "riskFlags": [],
              "success": true
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "transaction": {
                      "description": "Base64-encoded unsigned (or signed) Solana transaction",
                      "type": "string"
                    }
                  },
                  "required": [
                    "transaction"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "balanceChanges": {
                      "type": "array"
                    },
                    "computeUnitsConsumed": {
                      "type": "number"
                    },
                    "explanation": {
                      "type": "string"
                    },
                    "logs": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "programsInvoked": {
                      "type": "array"
                    },
                    "recommendation": {
                      "enum": [
                        "proceed",
                        "caution",
                        "avoid"
                      ],
                      "type": "string"
                    },
                    "relatedServices": {
                      "type": "array"
                    },
                    "riskFlags": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "success",
                    "logs",
                    "balanceChanges",
                    "programsInvoked",
                    "riskFlags",
                    "recommendation",
                    "explanation"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        },
        "tags": [
          "solana",
          "simulate transaction",
          "pre-sign check",
          "balance changes"
        ]
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agentforge-taupe.vercel.app",
    "manifest_name": "agentforge-taupe.vercel.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": {
      "balanceChanges": [
        "value"
      ],
      "computeUnitsConsumed": 0,
      "explanation": "string",
      "logs": [
        "string"
      ],
      "programsInvoked": [
        "value"
      ],
      "recommendation": "proceed",
      "relatedServices": [
        "value"
      ],
      "riskFlags": [
        "string"
      ],
      "success": true
    },
    "type": "string"
  }
}