Transaction Operations
Tools for broadcasting signed transactions.
Note: Transaction tools support the optional
userIdparameter for session persistence. Include it in every call to maintain wallet and chain state across reconnections.
broadcast_transaction
Broadcast a signed transaction to the blockchain. Used with external wallet mode when transactions are signed outside the MCP server.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
signedTx | string | Yes | JSON string containing chainId and signedTx (TxRaw format) |
Input Format
The signedTx parameter should be a JSON string with this structure:
{
"chainId": "galileo-4",
"signedTx": { /* TxRaw object */ }
}Example
{
"signedTx": "{\"chainId\":\"galileo-4\",\"signedTx\":{\"bodyBytes\":\"...\",\"authInfoBytes\":\"...\",\"signatures\":[\"...\"]}}"
}Workflow with External Wallets
- Connect wallet in
externalmode - Execute an operation (e.g.,
execute_ado) - returns unsigned transaction - Sign the transaction with your external wallet (e.g., Keplr)
- Use
broadcast_transactionto submit the signed transaction
Response
Returns:
- Transaction hash
- Block height (once included)
- Success/failure status
- Gas used