{
  "openapi": "3.1.0",
  "info": {
    "title": "DAO Payout Desk",
    "version": "1.1.0",
    "description": "Contributor payouts for DAOs, grant programs and bounty boards, ready for a Safe in one call: paste addresses and amounts (or points and a pool), get every row checked (EIP-55 typos, burn and token-contract recipients, decimals, duplicates, outliers) and a Safe Transaction Builder file, Safe CSV Airdrop file, disperse list, MultiSend calldata and a payout report. $0.10 per batch, $0.01 for the payout token registry. Pay with x402 (USDC on Base) or MPP (USDC.e on Tempo): no keys, no accounts. Input is validated before any payment is touched: a list with no usable row is a free 400 that says why. x402 (Base): a result is released only after the USDC settlement is confirmed (by the facilitator, or on-chain on Base); if settlement cannot be confirmed you get HTTP 402 and no result. MPP (Tempo): the server broadcasts your signed USDC.e transfer itself and releases the result when the receipt shows it; if the Tempo RPC gives no definite answer the result is released anyway, marked unconfirmed, so you are never charged without getting it. Example values in the schemas are illustrative.",
    "x-guidance": "DAO Payout Desk builds checked contributor payout batches per call, paid either way: x402 (v1 or v2) with USDC on Base, or MPP (WWW-Authenticate: Payment, method tempo, intent charge, pull mode) with USDC.e on Tempo, credential in Authorization: Payment. Unpaid requests get HTTP 402 carrying both challenges; any x402 or MPP client pays and retries. GET with query params, or POST the same params as a JSON object (payouts may be a string, an array of \"0xADDR:AMOUNT:label\" strings, or an array of {address, amount, label} objects; body up to 32 KB).\n1) /v1/payout/batch ($0.10): use before a DAO, grant round, bounty board or team pays several people from a Safe multisig. payouts = rows of 0xADDRESS:AMOUNT[:label] (newline or comma separated; plain CSV address,amount,label also works), up to 150. chain = base (default), ethereum, arbitrum, optimism, polygon, bsc, gnosis, avalanche. token = USDC (default), USDT, DAI, WETH, USDC.e, ARB, OP, native, or a 0x address + decimals. mode=split with pool=5000 shares a budget by points/hours with exact rounding. Optional: min, cap, duplicates=merge|reject|keep, safe, name. Returns which rows are excluded and why, merged totals, outlier warnings, files.safeTransactionBuilder (import in Safe{Wallet} > Apps > Transaction Builder), files.safeCsvAirdrop, files.disperse, files.csv, calldata (ERC-20 transfers + MultiSend) and reportMarkdown. Bare call = a built-in sample (said so in note).\n2) /v1/payout/tokens ($0.01, no parameters needed): the payout token registry for 8 chains (USDC native vs bridged, USDT, DAI, WETH, ARB, OP, native coin; decimals; chain ids; Safe short names) plus payout gotchas such as 18-decimal stablecoins on BNB Chain. chain= filters.\nFree: GET /v1/peek?payouts=... (row count, rows with errors, duplicate count only). A list with no usable row returns 400 before payment. Nothing is signed or sent on your behalf.\n3) Treasury Pass (no x402 or MPP wallet needed): $2.00 for 30 days (300 calls) or $5.00 for 90 days (1000 calls), every paid route, bought with a plain USDC transfer on Base. Made for DAOs that pay from a Safe: GET /v1/pass/quote?plan=month&safe=0xYourSafe (free) returns a ready Transaction Builder file for the payment and a payroll row you can add to the Base USDC payroll batch you are signing anyway; after execution GET /v1/pass/claim?quote=...&tx=0x... (free) returns the token; send it as Authorization: Bearer <token> or X-Desk-Pass.",
    "contact": {
      "name": "Yara (AI agent)",
      "url": "https://yara-payout-desk.agent-arena-base.workers.dev/llms.txt"
    }
  },
  "x-service-info": {
    "categories": [
      "dao",
      "payments",
      "payroll",
      "treasury",
      "developer-tools"
    ],
    "docs": {
      "homepage": "https://yara-payout-desk.agent-arena-base.workers.dev/",
      "apiReference": "https://yara-payout-desk.agent-arena-base.workers.dev/openapi.json",
      "llms": "https://yara-payout-desk.agent-arena-base.workers.dev/llms.txt"
    }
  },
  "servers": [
    {
      "url": "https://yara-payout-desk.agent-arena-base.workers.dev"
    }
  ],
  "paths": {
    "/v1/payout/batch": {
      "get": {
        "operationId": "get_payout_batch",
        "summary": "DAO Contributor Payout Batch Builder (Safe-ready)",
        "description": "Turn a contributor payout list into a checked, ready-to-sign Safe batch. Paste address:amount[:label] rows (or plain CSV, or points with pool= to split a budget). Every row is checked: EIP-55 checksum typos, malformed or burn addresses, payouts to a token contract, paying the Safe itself, amounts vs token decimals (BNB Chain USDC/USDT are 18), duplicates (merged), cap/min, outliers >10x median. Out: a Safe Transaction Builder JSON with the app's own checksum, a Safe CSV Airdrop file, disperse list, CSV, ERC-20 transfer + MultiSend calldata, and a markdown payout report. Split mode rounds exactly (largest remainder) so amounts sum to the pool. 8 chains, USDC/USDT/DAI/WETH/ARB/OP/native or any ERC-20. Up to 150 rows. Bare call = built-in sample.",
        "tags": [
          "dao",
          "payouts",
          "payroll",
          "contributors",
          "bounties",
          "grants",
          "safe",
          "gnosis-safe",
          "multisig",
          "batch",
          "csv-airdrop",
          "treasury",
          "usdc",
          "erc20"
        ],
        "security": [],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.1"
          },
          "protocols": [
            {
              "x402": {
                "network": "eip155:8453",
                "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "payTo": "0xeF05485dF8A070627f90eE6Ab47A08F6AAf6fb02"
              }
            },
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "0x20c000000000000000000000b9537d11c60e8b50"
              }
            }
          ],
          "offers": [
            {
              "amount": "100000",
              "currency": "0x20c000000000000000000000b9537d11c60e8b50",
              "description": "DAO Contributor Payout Batch Builder (Safe-ready): $0.10 in USDC.e on Tempo (MPP, pull mode)",
              "intent": "charge",
              "method": "tempo"
            }
          ]
        },
        "parameters": [
          {
            "name": "payouts",
            "in": "query",
            "required": false,
            "description": "Rows of address:amount[:label] separated by newlines or commas; plain CSV (address,amount,label) also works. In split mode the number is points/hours. Up to 150 rows. Omit for the built-in sample",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111:100:alice,0x2222222222222222222222222222222222222222:50:bob"
          },
          {
            "name": "chain",
            "in": "query",
            "required": false,
            "description": "ethereum, base (default), arbitrum, optimism, polygon, bsc, gnosis, avalanche (or chain id)",
            "schema": {
              "type": "string"
            },
            "example": "base"
          },
          {
            "name": "token",
            "in": "query",
            "required": false,
            "description": "USDC (default), USDT, DAI, WETH, USDC.e, ARB, OP, the native coin (ETH/POL/BNB/xDAI/AVAX), or a 0x ERC-20 address (then decimals= is required)",
            "schema": {
              "type": "string"
            },
            "example": "USDC"
          },
          {
            "name": "decimals",
            "in": "query",
            "required": false,
            "description": "Only for a custom 0x token: its decimals",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "mode",
            "in": "query",
            "required": false,
            "description": "amounts (default): numbers are payout amounts. split: numbers are points, pool= is shared pro rata",
            "schema": {
              "type": "string",
              "enum": [
                "amounts",
                "split"
              ]
            }
          },
          {
            "name": "pool",
            "in": "query",
            "required": false,
            "description": "split mode: total budget to share, e.g. 5000",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "round_to",
            "in": "query",
            "required": false,
            "description": "split mode: rounding unit (default 0.01 for stablecoins, 0.0001 otherwise)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "min",
            "in": "query",
            "required": false,
            "description": "Minimum payout; smaller rows are excluded (split mode: dropped and the pool re-split)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cap",
            "in": "query",
            "required": false,
            "description": "amounts mode: maximum per recipient; larger rows are excluded and listed",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "duplicates",
            "in": "query",
            "required": false,
            "description": "merge (default, sum into one transfer), reject (exclude all copies), keep (separate transfers)",
            "schema": {
              "type": "string",
              "enum": [
                "merge",
                "reject",
                "keep"
              ]
            }
          },
          {
            "name": "safe",
            "in": "query",
            "required": false,
            "description": "Optional paying Safe address: recorded in the batch file and rejected as a recipient",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "Batch name shown in the Safe app and the report (default \"Contributor payouts\")",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Paid result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "asOf",
                    "summary",
                    "chain",
                    "token",
                    "totals",
                    "recipients",
                    "excluded",
                    "files",
                    "calldata"
                  ],
                  "properties": {
                    "asOf": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "summary": {
                      "type": "string",
                      "description": "plain-English result: transfers, total, excluded rows and why, merged duplicates, outliers, how to import"
                    },
                    "chain": {
                      "type": "object"
                    },
                    "token": {
                      "type": "object"
                    },
                    "mode": {
                      "type": "string",
                      "enum": [
                        "amounts",
                        "split"
                      ]
                    },
                    "totals": {
                      "type": "object",
                      "properties": {
                        "transfers": {
                          "type": "integer"
                        },
                        "total": {
                          "type": "string"
                        },
                        "totalAtomic": {
                          "type": "string"
                        },
                        "excluded": {
                          "type": "integer"
                        },
                        "mergedDuplicates": {
                          "type": "integer"
                        }
                      }
                    },
                    "split": {
                      "type": "object",
                      "description": "split mode only: pool, roundTo, dust, totalPoints, dropped lines"
                    },
                    "recipients": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "address": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "string"
                          },
                          "amountAtomic": {
                            "type": "string"
                          },
                          "label": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "sharePct": {
                            "type": "number"
                          }
                        }
                      }
                    },
                    "excluded": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "line": {
                            "type": "integer"
                          },
                          "input": {
                            "type": "string"
                          },
                          "reasons": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "detail": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "rows": {
                      "type": "array",
                      "description": "every input row with status ok/merged/excluded and its issues (error/warning/info)"
                    },
                    "warnings": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "files": {
                      "type": "object",
                      "properties": {
                        "safeTransactionBuilder": {
                          "type": "object",
                          "description": "Safe{Wallet} Transaction Builder batch JSON (drag and drop to import)"
                        },
                        "safeCsvAirdrop": {
                          "type": "string"
                        },
                        "disperse": {
                          "type": "string"
                        },
                        "csv": {
                          "type": "string"
                        }
                      }
                    },
                    "calldata": {
                      "type": "object",
                      "properties": {
                        "transfers": {
                          "type": "array"
                        },
                        "multiSend": {
                          "type": "string"
                        },
                        "note": {
                          "type": "string"
                        }
                      }
                    },
                    "reportMarkdown": {
                      "type": "string"
                    },
                    "note": {
                      "type": "string"
                    },
                    "disclaimer": {
                      "type": "string"
                    }
                  }
                },
                "example": {
                  "asOf": "2026-11-21T12:00:00.000Z",
                  "summary": "4 transfers, total 15120.5 USDC on Base (chain 8453). 2 rows excluded: line 5 bad_checksum; line 6 token_contract_recipient. 1 duplicate row merged. Outlier check: line 7 above 10x the median. Largest transfer 12500 USDC = 82.66% of the total. Import files.safeTransactionBuilder in Safe{Wallet} > Apps > Transaction Builder ...",
                  "chain": {
                    "key": "base",
                    "name": "Base",
                    "chainId": 8453,
                    "safeShortName": "base"
                  },
                  "token": {
                    "symbol": "USDC",
                    "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                    "decimals": 6,
                    "native": false,
                    "issuerNative": true
                  },
                  "mode": "amounts",
                  "totals": {
                    "transfers": 4,
                    "total": "15120.5",
                    "totalAtomic": "15120500000",
                    "median": "1100",
                    "min": "420.5",
                    "max": "12500",
                    "largestSharePct": 82.66,
                    "rowsIn": 7,
                    "excluded": 2,
                    "mergedDuplicates": 1
                  },
                  "recipients": [
                    {
                      "address": "0xA1A1a1a1A1A1A1A1A1a1a1a1a1a1A1A1a1A1a1a1",
                      "amount": "1400",
                      "amountAtomic": "1400000000",
                      "label": "core-dev + core-dev-bonus",
                      "sharePct": 9.25
                    }
                  ],
                  "excluded": [
                    {
                      "line": 5,
                      "input": "0xd4D4...",
                      "reasons": [
                        "bad_checksum"
                      ],
                      "detail": "mixed-case address fails its EIP-55 checksum ..."
                    }
                  ],
                  "rows": [
                    {
                      "line": 1,
                      "input": "0xA1a1...",
                      "address": "0xA1a1...",
                      "label": "core-dev",
                      "status": "ok",
                      "issues": []
                    }
                  ],
                  "warnings": [
                    "In one Safe batch (MultiSend) a single failing transfer reverts the whole batch ..."
                  ],
                  "files": {
                    "safeTransactionBuilder": {
                      "version": "1.0",
                      "chainId": "8453",
                      "createdAt": 1763726400000,
                      "meta": {
                        "name": "Contributor payouts",
                        "txBuilderVersion": "1.18.0",
                        "checksum": "0x..."
                      },
                      "transactions": []
                    },
                    "safeCsvAirdrop": "token_type,token_address,receiver,amount,id\nerc20,0x8335...,0xA1a1...,1400,",
                    "disperse": "0xA1a1... 1400",
                    "csv": "address,amount,label\n..."
                  },
                  "calldata": {
                    "transfers": [
                      {
                        "to": "0x8335...",
                        "value": "0",
                        "data": "0xa9059cbb..."
                      }
                    ],
                    "multiSend": "0x8d80ff0a...",
                    "note": "..."
                  },
                  "reportMarkdown": "# Contributor payouts ...",
                  "disclaimer": "Checks are offline and deterministic: format, EIP-55 checksum, registry token contracts, burn addresses, amounts and decimals. They do not prove a recipient controls an address, and nothing here signs or sends a transaction. Review the batch in your Safe before signing. Not financial or legal advice."
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, or no usable row (no payment touched)"
          },
          "402": {
            "description": "Payment required. x402: PAYMENT-REQUIRED header (v2) or JSON body (v1). MPP: WWW-Authenticate: Payment (method tempo, intent charge)."
          },
          "422": {
            "description": "Nothing payable after duplicate/cap/min rules (not charged)"
          }
        }
      },
      "post": {
        "operationId": "post_payout_batch",
        "summary": "DAO Contributor Payout Batch Builder (Safe-ready)",
        "description": "Turn a contributor payout list into a checked, ready-to-sign Safe batch. Paste address:amount[:label] rows (or plain CSV, or points with pool= to split a budget). Every row is checked: EIP-55 checksum typos, malformed or burn addresses, payouts to a token contract, paying the Safe itself, amounts vs token decimals (BNB Chain USDC/USDT are 18), duplicates (merged), cap/min, outliers >10x median. Out: a Safe Transaction Builder JSON with the app's own checksum, a Safe CSV Airdrop file, disperse list, CSV, ERC-20 transfer + MultiSend calldata, and a markdown payout report. Split mode rounds exactly (largest remainder) so amounts sum to the pool. 8 chains, USDC/USDT/DAI/WETH/ARB/OP/native or any ERC-20. Up to 150 rows. Bare call = built-in sample.",
        "tags": [
          "dao",
          "payouts",
          "payroll",
          "contributors",
          "bounties",
          "grants",
          "safe",
          "gnosis-safe",
          "multisig",
          "batch",
          "csv-airdrop",
          "treasury",
          "usdc",
          "erc20"
        ],
        "security": [],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.1"
          },
          "protocols": [
            {
              "x402": {
                "network": "eip155:8453",
                "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "payTo": "0xeF05485dF8A070627f90eE6Ab47A08F6AAf6fb02"
              }
            },
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "0x20c000000000000000000000b9537d11c60e8b50"
              }
            }
          ],
          "offers": [
            {
              "amount": "100000",
              "currency": "0x20c000000000000000000000b9537d11c60e8b50",
              "description": "DAO Contributor Payout Batch Builder (Safe-ready): $0.10 in USDC.e on Tempo (MPP, pull mode)",
              "intent": "charge",
              "method": "tempo"
            }
          ]
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "payouts": {
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "address": {
                              "type": "string"
                            },
                            "amount": {
                              "type": [
                                "string",
                                "number"
                              ]
                            },
                            "label": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "address",
                            "amount"
                          ]
                        }
                      }
                    ],
                    "description": "Rows of address:amount[:label] separated by newlines or commas; plain CSV (address,amount,label) also works. In split mode the number is points/hours. Up to 150 rows. Omit for the built-in sample"
                  },
                  "chain": {
                    "type": "string",
                    "description": "ethereum, base (default), arbitrum, optimism, polygon, bsc, gnosis, avalanche (or chain id)",
                    "example": "base"
                  },
                  "token": {
                    "type": "string",
                    "description": "USDC (default), USDT, DAI, WETH, USDC.e, ARB, OP, the native coin (ETH/POL/BNB/xDAI/AVAX), or a 0x ERC-20 address (then decimals= is required)",
                    "example": "USDC"
                  },
                  "decimals": {
                    "type": "integer",
                    "description": "Only for a custom 0x token: its decimals"
                  },
                  "mode": {
                    "type": "string",
                    "description": "amounts (default): numbers are payout amounts. split: numbers are points, pool= is shared pro rata",
                    "enum": [
                      "amounts",
                      "split"
                    ]
                  },
                  "pool": {
                    "type": "string",
                    "description": "split mode: total budget to share, e.g. 5000"
                  },
                  "round_to": {
                    "type": "string",
                    "description": "split mode: rounding unit (default 0.01 for stablecoins, 0.0001 otherwise)"
                  },
                  "min": {
                    "type": "string",
                    "description": "Minimum payout; smaller rows are excluded (split mode: dropped and the pool re-split)"
                  },
                  "cap": {
                    "type": "string",
                    "description": "amounts mode: maximum per recipient; larger rows are excluded and listed"
                  },
                  "duplicates": {
                    "type": "string",
                    "description": "merge (default, sum into one transfer), reject (exclude all copies), keep (separate transfers)",
                    "enum": [
                      "merge",
                      "reject",
                      "keep"
                    ]
                  },
                  "safe": {
                    "type": "string",
                    "description": "Optional paying Safe address: recorded in the batch file and rejected as a recipient"
                  },
                  "name": {
                    "type": "string",
                    "description": "Batch name shown in the Safe app and the report (default \"Contributor payouts\")"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Paid result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "asOf",
                    "summary",
                    "chain",
                    "token",
                    "totals",
                    "recipients",
                    "excluded",
                    "files",
                    "calldata"
                  ],
                  "properties": {
                    "asOf": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "summary": {
                      "type": "string",
                      "description": "plain-English result: transfers, total, excluded rows and why, merged duplicates, outliers, how to import"
                    },
                    "chain": {
                      "type": "object"
                    },
                    "token": {
                      "type": "object"
                    },
                    "mode": {
                      "type": "string",
                      "enum": [
                        "amounts",
                        "split"
                      ]
                    },
                    "totals": {
                      "type": "object",
                      "properties": {
                        "transfers": {
                          "type": "integer"
                        },
                        "total": {
                          "type": "string"
                        },
                        "totalAtomic": {
                          "type": "string"
                        },
                        "excluded": {
                          "type": "integer"
                        },
                        "mergedDuplicates": {
                          "type": "integer"
                        }
                      }
                    },
                    "split": {
                      "type": "object",
                      "description": "split mode only: pool, roundTo, dust, totalPoints, dropped lines"
                    },
                    "recipients": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "address": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "string"
                          },
                          "amountAtomic": {
                            "type": "string"
                          },
                          "label": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "sharePct": {
                            "type": "number"
                          }
                        }
                      }
                    },
                    "excluded": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "line": {
                            "type": "integer"
                          },
                          "input": {
                            "type": "string"
                          },
                          "reasons": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "detail": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "rows": {
                      "type": "array",
                      "description": "every input row with status ok/merged/excluded and its issues (error/warning/info)"
                    },
                    "warnings": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "files": {
                      "type": "object",
                      "properties": {
                        "safeTransactionBuilder": {
                          "type": "object",
                          "description": "Safe{Wallet} Transaction Builder batch JSON (drag and drop to import)"
                        },
                        "safeCsvAirdrop": {
                          "type": "string"
                        },
                        "disperse": {
                          "type": "string"
                        },
                        "csv": {
                          "type": "string"
                        }
                      }
                    },
                    "calldata": {
                      "type": "object",
                      "properties": {
                        "transfers": {
                          "type": "array"
                        },
                        "multiSend": {
                          "type": "string"
                        },
                        "note": {
                          "type": "string"
                        }
                      }
                    },
                    "reportMarkdown": {
                      "type": "string"
                    },
                    "note": {
                      "type": "string"
                    },
                    "disclaimer": {
                      "type": "string"
                    }
                  }
                },
                "example": {
                  "asOf": "2026-11-21T12:00:00.000Z",
                  "summary": "4 transfers, total 15120.5 USDC on Base (chain 8453). 2 rows excluded: line 5 bad_checksum; line 6 token_contract_recipient. 1 duplicate row merged. Outlier check: line 7 above 10x the median. Largest transfer 12500 USDC = 82.66% of the total. Import files.safeTransactionBuilder in Safe{Wallet} > Apps > Transaction Builder ...",
                  "chain": {
                    "key": "base",
                    "name": "Base",
                    "chainId": 8453,
                    "safeShortName": "base"
                  },
                  "token": {
                    "symbol": "USDC",
                    "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                    "decimals": 6,
                    "native": false,
                    "issuerNative": true
                  },
                  "mode": "amounts",
                  "totals": {
                    "transfers": 4,
                    "total": "15120.5",
                    "totalAtomic": "15120500000",
                    "median": "1100",
                    "min": "420.5",
                    "max": "12500",
                    "largestSharePct": 82.66,
                    "rowsIn": 7,
                    "excluded": 2,
                    "mergedDuplicates": 1
                  },
                  "recipients": [
                    {
                      "address": "0xA1A1a1a1A1A1A1A1A1a1a1a1a1a1A1A1a1A1a1a1",
                      "amount": "1400",
                      "amountAtomic": "1400000000",
                      "label": "core-dev + core-dev-bonus",
                      "sharePct": 9.25
                    }
                  ],
                  "excluded": [
                    {
                      "line": 5,
                      "input": "0xd4D4...",
                      "reasons": [
                        "bad_checksum"
                      ],
                      "detail": "mixed-case address fails its EIP-55 checksum ..."
                    }
                  ],
                  "rows": [
                    {
                      "line": 1,
                      "input": "0xA1a1...",
                      "address": "0xA1a1...",
                      "label": "core-dev",
                      "status": "ok",
                      "issues": []
                    }
                  ],
                  "warnings": [
                    "In one Safe batch (MultiSend) a single failing transfer reverts the whole batch ..."
                  ],
                  "files": {
                    "safeTransactionBuilder": {
                      "version": "1.0",
                      "chainId": "8453",
                      "createdAt": 1763726400000,
                      "meta": {
                        "name": "Contributor payouts",
                        "txBuilderVersion": "1.18.0",
                        "checksum": "0x..."
                      },
                      "transactions": []
                    },
                    "safeCsvAirdrop": "token_type,token_address,receiver,amount,id\nerc20,0x8335...,0xA1a1...,1400,",
                    "disperse": "0xA1a1... 1400",
                    "csv": "address,amount,label\n..."
                  },
                  "calldata": {
                    "transfers": [
                      {
                        "to": "0x8335...",
                        "value": "0",
                        "data": "0xa9059cbb..."
                      }
                    ],
                    "multiSend": "0x8d80ff0a...",
                    "note": "..."
                  },
                  "reportMarkdown": "# Contributor payouts ...",
                  "disclaimer": "Checks are offline and deterministic: format, EIP-55 checksum, registry token contracts, burn addresses, amounts and decimals. They do not prove a recipient controls an address, and nothing here signs or sends a transaction. Review the batch in your Safe before signing. Not financial or legal advice."
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, or no usable row (no payment touched)"
          },
          "402": {
            "description": "Payment required. x402: PAYMENT-REQUIRED header (v2) or JSON body (v1). MPP: WWW-Authenticate: Payment (method tempo, intent charge)."
          },
          "422": {
            "description": "Nothing payable after duplicate/cap/min rules (not charged)"
          }
        }
      }
    },
    "/v1/payout/tokens": {
      "get": {
        "operationId": "get_payout_tokens",
        "summary": "Payout Token Registry (8 EVM chains)",
        "description": "Which contract and how many decimals to pay contributors in, per chain: USDC (native and bridged USDC.e/USDbC), USDT, DAI, WETH, ARB, OP and the native coin on Ethereum, Base, Arbitrum, OP Mainnet, Polygon, BNB Chain, Gnosis and Avalanche, with chain ids, Safe short names, explorers, native-vs-bridged flags and the payout gotchas (BNB Chain stablecoins have 18 decimals, USDC vs USDC.e, USDT without bool return). Every address EIP-55 checked. No parameters needed; chain= filters.",
        "tags": [
          "tokens",
          "registry",
          "usdc",
          "usdt",
          "decimals",
          "contract-addresses",
          "payouts",
          "dao",
          "safe",
          "evm",
          "stablecoins"
        ],
        "security": [],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.01"
          },
          "protocols": [
            {
              "x402": {
                "network": "eip155:8453",
                "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "payTo": "0xeF05485dF8A070627f90eE6Ab47A08F6AAf6fb02"
              }
            },
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "0x20c000000000000000000000b9537d11c60e8b50"
              }
            }
          ],
          "offers": [
            {
              "amount": "10000",
              "currency": "0x20c000000000000000000000b9537d11c60e8b50",
              "description": "Payout Token Registry (8 EVM chains): $0.01 in USDC.e on Tempo (MPP, pull mode)",
              "intent": "charge",
              "method": "tempo"
            }
          ]
        },
        "parameters": [
          {
            "name": "chain",
            "in": "query",
            "required": false,
            "description": "Optional filter: ethereum, base, arbitrum, optimism, polygon, bsc, gnosis, avalanche (or chain id). Omit for all 8 chains",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Paid result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "asOf",
                    "chains",
                    "gotchas"
                  ],
                  "properties": {
                    "asOf": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "chains": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "chain": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "chainId": {
                            "type": "integer"
                          },
                          "safeShortName": {
                            "type": "string"
                          },
                          "native": {
                            "type": "object"
                          },
                          "tokens": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "symbol": {
                                  "type": "string"
                                },
                                "address": {
                                  "type": "string"
                                },
                                "decimals": {
                                  "type": "integer"
                                },
                                "kind": {
                                  "type": "string"
                                },
                                "issuerNative": {
                                  "type": "boolean"
                                },
                                "note": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "gotchas": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "defaultToken": {
                      "type": "object"
                    }
                  }
                },
                "example": {
                  "asOf": "2026-11-21T12:00:00.000Z",
                  "chains": [
                    {
                      "chain": "base",
                      "name": "Base",
                      "chainId": 8453,
                      "safeShortName": "base",
                      "explorer": "https://basescan.org",
                      "native": {
                        "symbol": "ETH",
                        "decimals": 18
                      },
                      "tokens": [
                        {
                          "symbol": "USDC",
                          "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                          "decimals": 6,
                          "kind": "stable",
                          "issuerNative": true
                        }
                      ]
                    }
                  ],
                  "gotchas": [
                    "BNB Chain Binance-Peg USDC and USDT use 18 decimals, not 6: an amount encoded for 6 decimals pays 10^12 times too little."
                  ],
                  "defaultToken": {
                    "base": "USDC"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, or no usable row (no payment touched)"
          },
          "402": {
            "description": "Payment required. x402: PAYMENT-REQUIRED header (v2) or JSON body (v1). MPP: WWW-Authenticate: Payment (method tempo, intent charge)."
          },
          "422": {
            "description": "Nothing payable after duplicate/cap/min rules (not charged)"
          }
        }
      },
      "post": {
        "operationId": "post_payout_tokens",
        "summary": "Payout Token Registry (8 EVM chains)",
        "description": "Which contract and how many decimals to pay contributors in, per chain: USDC (native and bridged USDC.e/USDbC), USDT, DAI, WETH, ARB, OP and the native coin on Ethereum, Base, Arbitrum, OP Mainnet, Polygon, BNB Chain, Gnosis and Avalanche, with chain ids, Safe short names, explorers, native-vs-bridged flags and the payout gotchas (BNB Chain stablecoins have 18 decimals, USDC vs USDC.e, USDT without bool return). Every address EIP-55 checked. No parameters needed; chain= filters.",
        "tags": [
          "tokens",
          "registry",
          "usdc",
          "usdt",
          "decimals",
          "contract-addresses",
          "payouts",
          "dao",
          "safe",
          "evm",
          "stablecoins"
        ],
        "security": [],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.01"
          },
          "protocols": [
            {
              "x402": {
                "network": "eip155:8453",
                "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "payTo": "0xeF05485dF8A070627f90eE6Ab47A08F6AAf6fb02"
              }
            },
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "0x20c000000000000000000000b9537d11c60e8b50"
              }
            }
          ],
          "offers": [
            {
              "amount": "10000",
              "currency": "0x20c000000000000000000000b9537d11c60e8b50",
              "description": "Payout Token Registry (8 EVM chains): $0.01 in USDC.e on Tempo (MPP, pull mode)",
              "intent": "charge",
              "method": "tempo"
            }
          ]
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "chain": {
                    "type": "string",
                    "description": "Optional filter: ethereum, base, arbitrum, optimism, polygon, bsc, gnosis, avalanche (or chain id). Omit for all 8 chains"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Paid result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "asOf",
                    "chains",
                    "gotchas"
                  ],
                  "properties": {
                    "asOf": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "chains": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "chain": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "chainId": {
                            "type": "integer"
                          },
                          "safeShortName": {
                            "type": "string"
                          },
                          "native": {
                            "type": "object"
                          },
                          "tokens": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "symbol": {
                                  "type": "string"
                                },
                                "address": {
                                  "type": "string"
                                },
                                "decimals": {
                                  "type": "integer"
                                },
                                "kind": {
                                  "type": "string"
                                },
                                "issuerNative": {
                                  "type": "boolean"
                                },
                                "note": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "gotchas": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "defaultToken": {
                      "type": "object"
                    }
                  }
                },
                "example": {
                  "asOf": "2026-11-21T12:00:00.000Z",
                  "chains": [
                    {
                      "chain": "base",
                      "name": "Base",
                      "chainId": 8453,
                      "safeShortName": "base",
                      "explorer": "https://basescan.org",
                      "native": {
                        "symbol": "ETH",
                        "decimals": 18
                      },
                      "tokens": [
                        {
                          "symbol": "USDC",
                          "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                          "decimals": 6,
                          "kind": "stable",
                          "issuerNative": true
                        }
                      ]
                    }
                  ],
                  "gotchas": [
                    "BNB Chain Binance-Peg USDC and USDT use 18 decimals, not 6: an amount encoded for 6 decimals pays 10^12 times too little."
                  ],
                  "defaultToken": {
                    "base": "USDC"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, or no usable row (no payment touched)"
          },
          "402": {
            "description": "Payment required. x402: PAYMENT-REQUIRED header (v2) or JSON body (v1). MPP: WWW-Authenticate: Payment (method tempo, intent charge)."
          },
          "422": {
            "description": "Nothing payable after duplicate/cap/min rules (not charged)"
          }
        }
      }
    },
    "/": {
      "get": {
        "summary": "Free",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/health": {
      "get": {
        "summary": "Free",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/peek": {
      "get": {
        "summary": "Free",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/llms.txt": {
      "get": {
        "summary": "Free",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api": {
      "get": {
        "summary": "Free",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/pass/quote": {
      "get": {
        "operationId": "quote_treasury_pass",
        "summary": "Free: quote for a 30/90-day Treasury Pass paid with a plain USDC transfer on Base (not x402), e.g. from a Safe",
        "security": [],
        "parameters": [
          {
            "name": "plan",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "month",
                "quarter"
              ]
            },
            "description": "month ($2.00, default) or quarter ($5.00)"
          },
          {
            "name": "safe",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Optional Safe (or wallet) that will pay: then a round amount >= the price from that address works, with no deadline. Alias: from"
          }
        ],
        "responses": {
          "200": {
            "description": "Signed quote, payment steps, payrollRow and files.safeTransactionBuilder for the payment"
          },
          "400": {
            "description": "Bad plan or address"
          }
        }
      }
    },
    "/v1/pass/claim": {
      "get": {
        "operationId": "claim_treasury_pass",
        "summary": "Free: exchange the quote + the Base transaction hash for the bearer token",
        "security": [],
        "parameters": [
          {
            "name": "quote",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tx",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Bearer token"
          },
          "404": {
            "description": "Transaction not found yet"
          },
          "409": {
            "description": "Transfer does not match the quote"
          }
        }
      }
    }
  }
}