Broadcast Signed Transaction Skill for Openclaw

A secure utility for broadcasting pre-signed hex transactions directly to the blockchain via OKX Web3 API without requiring local private keys.

wangchengming666
v1.0.0
Feb 27, 2026
0
912
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install broadcast-signed-transaction

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install broadcast-signed-transaction using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Broadcast Signed Transaction Skill?

The broadcast-signed-transaction skill is a specialized tool within the Openclaw Skills ecosystem designed for Web3 developers and AI agents who need to submit transactions that have already been signed. By offloading the broadcast process to the OKX Web3 API, this skill eliminates the need to handle sensitive private keys on the execution machine, significantly enhancing security for automated workflows.

This skill supports a wide array of EVM-compatible chains and Solana, providing a unified interface for transaction submission. It is particularly useful for developers who use cold storage or separate signing services and simply need a reliable gateway to push the resulting hex to the network using Openclaw Skills.

Broadcast Signed Transaction Skill Use Cases

  • Deploying transactions that were signed in an offline or air-gapped environment.
  • Integrating transaction broadcasting into AI-driven automation pipelines without sharing private keys.
  • Submitting transactions to multiple chains like Ethereum, BSC, or Base using a single standardized tool.
  • Implementing MEV protection for sensitive DeFi trades or liquidity provisions.

How Broadcast Signed Transaction Skill Works

  1. The user or agent provides the signed transaction hex, the sender's address, and the specific chain ID.
  2. The skill validates the hex format and ensures that the required OKX Web3 API credentials are configured in the environment.
  3. The skill sends a request to the OKX Broadcast API, optionally including MEV protection flags if requested.
  4. Upon successful submission, the skill parses the response to return the Order ID, Transaction Hash, and a direct link to the block explorer.

Broadcast Signed Transaction Skill Setup

To use this within the Openclaw Skills framework, you must install the requests library and configure your OKX Web3 API credentials.

pip3 install requests
export OKX_ACCESS_KEY="your_okx_web3_key"
export OKX_SECRET_KEY="your_okx_secret"
export OKX_PASSPHRASE="your_okx_passphrase"

Broadcast Signed Transaction Skill Data Schema & Taxonomy

The skill accepts specific CLI arguments and returns a structured JSON object for integration with other Openclaw Skills.

Argument Type Description
--chain String The chain ID (e.g., 1 for Ethereum, 56 for BSC, 501 for Solana)
--address String The public address of the transaction sender
--signed-tx String The 0x-prefixed signed transaction hex
--mev Flag Optional flag to enable MEV protection
--json-only Flag Optional flag to return only raw JSON for AI parsing

Broadcast Signed Transaction Skill Advanced Features

  • Native MEV protection to shield transactions from sandwich attacks and front-running.
  • Support for a diverse range of networks including Arbitrum, Base, xLayer, and Solana.
  • JSON-only output mode designed specifically for seamless consumption by autonomous agents and other Openclaw Skills.
  • Comprehensive error handling that maps OKX API codes to actionable developer suggestions.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*