pinion-broadcast

Sign and broadcast an unsigned transaction on Base. Requires the sender's private key. Costs $0.01 USDC via x402.

357 stars

Best use case

pinion-broadcast is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Sign and broadcast an unsigned transaction on Base. Requires the sender's private key. Costs $0.01 USDC via x402.

Teams using pinion-broadcast should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/broadcast/SKILL.md --create-dirs "https://raw.githubusercontent.com/chu2bard/pinion-os/main/skills/broadcast/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/broadcast/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How pinion-broadcast Compares

Feature / Agentpinion-broadcastStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Sign and broadcast an unsigned transaction on Base. Requires the sender's private key. Costs $0.01 USDC via x402.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Sign & Broadcast

Signs an unsigned transaction with the provided private key and broadcasts it to Base mainnet. Returns the transaction hash and Basescan link.

## Endpoint

```
POST https://pinionos.com/skill/broadcast
```

**Price:** $0.01 USDC per call (x402 on Base)

## Request Body

```json
{
  "tx": {
    "to": "0x7a21...",
    "value": "0xb1a2bc2ec50000",
    "data": "0x",
    "chainId": 8453
  },
  "privateKey": "0x4b3f..."
}
```

| Field      | Type   | Required | Description                                                |
|------------|--------|----------|------------------------------------------------------------|
| tx         | object | yes      | Unsigned transaction object (from /send or /trade skills)  |
| tx.to      | string | yes      | Recipient or contract address                              |
| tx.value   | string | no       | ETH value in hex (default: "0x0")                          |
| tx.data    | string | no       | Calldata in hex (default: "0x")                            |
| tx.chainId | number | yes      | Must be 8453 (Base mainnet)                                |
| privateKey | string | yes      | Sender's private key (0x + 64 hex chars)                   |

## Example Request

```bash
curl -X POST https://pinionos.com/skill/broadcast \
  -H "Content-Type: application/json" \
  -d '{
    "tx": {
      "to": "0x7a21...",
      "value": "0xb1a2bc2ec50000",
      "data": "0x",
      "chainId": 8453
    },
    "privateKey": "0x4b3f..."
  }'
```

The first request returns HTTP 402 with payment requirements. Sign a USDC `TransferWithAuthorization` (EIP-3009) and retry with the `X-PAYMENT` header.

## Example Response

```json
{
  "txHash": "0xabc123...",
  "explorerUrl": "https://basescan.org/tx/0xabc123...",
  "from": "0x1234...",
  "to": "0x7a21...",
  "network": "base",
  "status": "submitted",
  "note": "Transaction submitted to Base. It may take a few seconds to confirm.",
  "timestamp": "2026-02-17T12:00:00.000Z"
}
```

## When to Use

- After calling `/send` to transfer ETH or USDC -- pass the returned `tx` object here with the sender's private key to execute it.
- After calling `/trade` to swap tokens -- broadcast the `approve` tx first (if present), wait for confirmation, then broadcast the `swap` tx.
- Any time you have an unsigned Base transaction and need to sign + broadcast it.

## Typical Flow

1. Call `/send` or `/trade` to get an unsigned transaction.
2. Ask the user for their private key.
3. Call `/broadcast` with the unsigned tx and the private key.
4. Return the tx hash and Basescan link to the user.

## Security

- The private key is sent over HTTPS and used only to sign the transaction. It is not stored or logged.
- Only use this with wallets you control and amounts you're comfortable with.
- The sender's wallet needs ETH on Base for gas fees.

Related Skills

pinion-wallet

357
from chu2bard/pinion-os

Generate a fresh Ethereum keypair for Base. Useful for funding OpenClaw agents. Costs $0.01 USDC via x402.

pinion-tx

357
from chu2bard/pinion-os

Get decoded transaction details for any Base transaction hash. Costs $0.01 USDC via x402.

pinion-trade

357
from chu2bard/pinion-os

Get an unsigned swap transaction via 1inch aggregator on Base. Includes approval tx if needed. Costs $0.01 USDC via x402.

pinion-send

357
from chu2bard/pinion-os

Construct an unsigned ETH or USDC transfer transaction on Base. Client signs and broadcasts. Costs $0.01 USDC via x402.

pinion-price

357
from chu2bard/pinion-os

Get current USD price for any token on Base via Birdeye (CoinGecko fallback). Costs $0.01 USDC via x402.

pinion-fund

357
from chu2bard/pinion-os

Check wallet balances and get funding instructions for Base. ETH and USDC. Costs $0.01 USDC via x402.

pinion-chat

357
from chu2bard/pinion-os

Chat with the Pinion AI agent. Send a messages array, get an AI response with web search. Costs $0.01 USDC via x402.

pinion-balance

357
from chu2bard/pinion-os

Get ETH and USDC balances for any Ethereum address on Base. Costs $0.01 USDC via x402.

pinion-chain-intel

357
from chu2bard/pinion-os

On-chain intelligence, transactions and wallet tools on Base. 9 x402-paywalled skills at $0.01 USDC each.

Feishu Broadcast Skill

3891
from openclaw/skills

Broadcast messages (Post/Rich Text) and Images/Stickers to ALL users in the Feishu tenant.

second-opinion

3891
from openclaw/skills

Independent second opinion via a sub-agent. Three modes: Review (diff review with pass/fail), Challenge (adversarial mode that tries to break your code), Consult (ask anything with session continuity). The independent developer who hasn't seen your conversation. Use when: "second opinion", "another perspective", "challenge this", "independent review", "what would someone else think".

opinion-analyzer

3891
from openclaw/skills

多视角舆情分析助手。当用户需要分析某个话题/事件/人物/品牌的舆情时使用。 参考 BettaFish 多 Agent 协作机制,从多个视角还原舆情原貌,打破信息茧房,输出结构化分析报告。 触发词:舆情分析、话题分析、品牌声誉、网络讨论、分析XX事件、XX话题怎么看、公众对XX的看法