Skip to main content
Glama

Osmosis MCP Server

set-before-send-hook

Configure a token's before-send hook on the Osmosis blockchain by specifying a contract address, enabling custom pre-transaction logic (admin access required).

Instructions

Set a before send hook for a token (admin only)

Input Schema

NameRequiredDescriptionDefault
contractAddrYesContract address for the hook
denomYesToken denomination to set hook for
gasNoGas limit (default: auto-estimate)
gasPriceNoGas price (default: 0.025uosmo)
memoNoTransaction memo
mnemonicYesBIP-39 mnemonic phrase for signing the transaction (must be admin)

Input Schema (JSON Schema)

{ "properties": { "contractAddr": { "description": "Contract address for the hook", "type": "string" }, "denom": { "description": "Token denomination to set hook for", "type": "string" }, "gas": { "description": "Gas limit (default: auto-estimate)", "type": "string" }, "gasPrice": { "description": "Gas price (default: 0.025uosmo)", "type": "string" }, "memo": { "description": "Transaction memo", "type": "string" }, "mnemonic": { "description": "BIP-39 mnemonic phrase for signing the transaction (must be admin)", "type": "string" } }, "required": [ "mnemonic", "denom", "contractAddr" ], "type": "object" }

Other Tools from Osmosis MCP Server

Related Tools

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/MyronKoch-dev/osmosis-mcp-server'

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