Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man safe-tx-decode

/safe-tx-decode(1)

agentutility / edge-market / safe-tx-decode
PRICE / CALL
$0.003
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
edgemarket
CATEGORY
uncategorized
STATUS
live
NAME
safe-tx-decode gnosis safe exectransaction decoder
SYNOPSIS
POST https://x402.org/v1/safe-tx-decode
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Gnosis Safe execTransaction decoder. Decodes a Safe multisig tx hash or raw calldata into target/value/data/operation/gas/signers. Auto-decodes inner MultiSend batches.

INPUTrequest schema
propertytypedescriptionreq?
tx_hashstringSafe transaction hash to look up and decode via on-chain execTransaction call data.optional
calldatastringRaw execTransaction calldata hex string to decode directly without an on-chain lookup.optional
chainstringChain name or ID where the Safe lives (e.g. ethereum, base, 1, 8453) for RPC routing.optional
tostringSafe contract address; pairs with tx_hash or calldata to scope the decode to that multisig.optional
OUTPUTresponse shape
fieldtypedescription
is_multisendstringTrue if the decoded call targets the MultiSend contract and was unpacked into inner sub-transactions.
multisend_op_countstringNumber of inner operations unpacked from the MultiSend batch, or 0 when not a MultiSend.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/safe-tx-decode \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# install once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the safe-tx-decode tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
gnosis-safemultisigtransaction-decodercalldatamultisendexectransaction
methods
POST
cluster
edgemarket
price
$0.003 USDC per call
ADJACENTother endpoints in edgemarket
endpointdescriptionprice
erc20-balanceERC-20 balance reader / balanceOf / on-chain token balance / wallet balance lookup / multi-chain ERC20 balance / read Base / read Ethereu…$0.002
erc20-metadataERC-20 metadata reader / token info / token symbol lookup / token decimals / total supply / multi-chain ERC20 reader / Base / Ethereum /…$0.002
funding-ratesPerp funding rates / Binance USD-M futures funding / next-funding-time / 24h history / perp basis.$0.002
agent-card-resolveAgent card resolver / ERC-8004 Identity Registry lookup / Trustless Agents / agentId → owner + agentURI / A2A identity / agent.json fetch…$0.005
arbitrage-spreadCross-exchange arbitrage spread / max-min price / CEX price dispersion / spread % calculator.$0.005
basename-resolveBasename resolver / Coinbase Basenames / .base.eth lookup / Base name service / on-chain name resolution.$0.005
defi-yield-poolsDeFi yield pools / APY aggregator / yield-farming opportunities / DeFiLlama yields / cross-protocol APY ranking / stablecoin yields / LP…$0.005
ipfs-fetchIPFS fetch / IPFS gateway / Web3 storage retrieval / NFT metadata fetcher / Filecoin gateway / decentralized content / pinned-content reader.$0.005
SEE ALSO
agentutility(7) · edgemarket(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org