Skip to main content
Glama

sign_transaction

Sign blockchain transactions with private keys for EVM or Solana networks. Returns signed transaction data ready for broadcasting via send_transaction tool.

Instructions

Sign a transaction with a wallet's private key. For EVM: returns signed raw transaction hex. For Solana: returns base64 signed transaction. Does NOT broadcast — use send_transaction for sign + broadcast.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wallet_idYesWallet ID
toYesDestination address (0x-prefixed for EVM, Base58 for Solana)
chain_idNoChain ID (defaults to wallet's default)
valueNoValue in wei/lamports (decimal string)0
dataNoHex-encoded calldata (0x-prefixed) for EVM contract calls
gas_limitNoGas limit — EVM only (auto-estimated if omitted)
max_feeNoMax fee per gas in wei — EVM only (auto if omitted)
priority_feeNoMax priority fee per gas in wei — EVM only (auto if omitted)
token_mintNoSPL token mint address — Solana only (for SPL token transfers)
token_decimalsNoSPL token decimals — Solana only (6 for USDC)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hifriendbot/agentwallet-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server