MCP Server
Available Tools
Complete reference of all MCP tools available in the 0G server
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Complete reference of all MCP tools available in the 0G server
get_chain_info{
"name": "get_chain_info",
"description": "Get comprehensive 0G Galileo testnet information",
"parameters": {}
}
get_block{
"name": "get_block",
"description": "Get block information by number or hash",
"parameters": {
"blockNumber": "string | number",
"includeTransactions": "boolean"
}
}
get_gas_price{
"name": "get_gas_price",
"description": "Get current gas prices",
"parameters": {}
}
get_balance{
"name": "get_balance",
"description": "Get OG token balance of an address",
"parameters": {
"address": "string"
}
}
get_transaction_count{
"name": "get_transaction_count",
"description": "Get nonce for an address",
"parameters": {
"address": "string"
}
}
get_code{
"name": "get_code",
"description": "Get bytecode at an address",
"parameters": {
"address": "string"
}
}
get_transaction{
"name": "get_transaction",
"description": "Get transaction details by hash",
"parameters": {
"transactionHash": "string"
}
}
estimate_gas{
"name": "estimate_gas",
"description": "Estimate gas for a transaction",
"parameters": {
"transaction": "object"
}
}
call_contract{
"name": "call_contract",
"description": "Call smart contract method",
"parameters": {
"contractAddress": "string",
"abi": "array",
"methodName": "string",
"parameters": "array"
}
}
get_logs{
"name": "get_logs",
"description": "Query contract event logs",
"parameters": {
"filter": "object"
}
}
get_faucet_info{
"name": "get_faucet_info",
"description": "Get testnet faucet information",
"parameters": {}
}
create_wallet{
"name": "create_wallet",
"description": "Create a new encrypted wallet",
"parameters": {
"name": "string",
"password": "string"
}
}
import_wallet{
"name": "import_wallet",
"description": "Import wallet from private key or seed phrase",
"parameters": {
"name": "string",
"password": "string",
"privateKey": "string",
"seedPhrase": "string"
}
}
list_wallets{
"name": "list_wallets",
"description": "List all stored wallets",
"parameters": {}
}
get_wallet{
"name": "get_wallet",
"description": "Get wallet details",
"parameters": {
"name": "string"
}
}
delete_wallet{
"name": "delete_wallet",
"description": "Delete a wallet",
"parameters": {
"name": "string",
"password": "string"
}
}
set_default_wallet{
"name": "set_default_wallet",
"description": "Set default wallet for transactions",
"parameters": {
"name": "string"
}
}
export_wallet{
"name": "export_wallet",
"description": "Export wallet information",
"parameters": {
"name": "string",
"password": "string"
}
}
derive_addresses{
"name": "derive_addresses",
"description": "Derive multiple addresses from HD wallet",
"parameters": {
"name": "string",
"count": "number",
"startIndex": "number"
}
}
sign_message{
"name": "sign_message",
"description": "Sign a message with wallet",
"parameters": {
"walletName": "string",
"message": "string",
"password": "string"
}
}
verify_message{
"name": "verify_message",
"description": "Verify a signed message",
"parameters": {
"message": "string",
"signature": "string",
"address": "string"
}
}
preview_transaction{
"name": "preview_transaction",
"description": "Preview transaction with gas estimation",
"parameters": {
"to": "string",
"value": "string",
"data": "string",
"gasLimit": "string",
"gasPrice": "string"
}
}
create_transaction_request{
"name": "create_transaction_request",
"description": "Create transaction for approval",
"parameters": {
"to": "string",
"value": "string",
"data": "string",
"description": "string"
}
}
approve_transaction{
"name": "approve_transaction",
"description": "Approve a pending transaction",
"parameters": {
"requestId": "string",
"walletPassword": "string"
}
}
reject_transaction{
"name": "reject_transaction",
"description": "Reject a pending transaction",
"parameters": {
"requestId": "string",
"reason": "string"
}
}
execute_transaction{
"name": "execute_transaction",
"description": "Execute an approved transaction",
"parameters": {
"requestId": "string"
}
}
list_pending_transactions{
"name": "list_pending_transactions",
"description": "List pending transactions",
"parameters": {}
}
get_transaction_request{
"name": "get_transaction_request",
"description": "Get transaction request details",
"parameters": {
"requestId": "string"
}
}
track_transaction{
"name": "track_transaction",
"description": "Track transaction status",
"parameters": {
"transactionHash": "string"
}
}
batch_transactions{
"name": "batch_transactions",
"description": "Send multiple transactions",
"parameters": {
"transactions": "array"
}
}
simulate_transaction{
"name": "simulate_transaction",
"description": "Simulate transaction execution",
"parameters": {
"transaction": "object"
}
}
replace_transaction{
"name": "replace_transaction",
"description": "Replace pending transaction",
"parameters": {
"originalHash": "string",
"newGasPrice": "string",
"action": "string"
}
}
send_transaction{
"name": "send_transaction",
"description": "Send transaction directly",
"parameters": {
"transaction": "object",
"walletName": "string",
"password": "string"
}
}
set_approval_policy{
"name": "set_approval_policy",
"description": "Set approval policies",
"parameters": {
"policy": "object"
}
}
add_to_whitelist{
"name": "add_to_whitelist",
"description": "Add address to whitelist",
"parameters": {
"address": "string",
"label": "string"
}
}
get_token_metadata{
"name": "get_token_metadata",
"description": "Get token metadata",
"parameters": {
"tokenAddress": "string"
}
}
get_token_balance{
"name": "get_token_balance",
"description": "Get token balance",
"parameters": {
"tokenAddress": "string",
"holderAddress": "string"
}
}
get_token_allowance{
"name": "get_token_allowance",
"description": "Get token allowance",
"parameters": {
"tokenAddress": "string",
"owner": "string",
"spender": "string"
}
}
search_tokens{
"name": "search_tokens",
"description": "Search for tokens",
"parameters": {
"query": "string"
}
}
add_custom_token{
"name": "add_custom_token",
"description": "Add custom token",
"parameters": {
"tokenAddress": "string",
"name": "string",
"symbol": "string"
}
}
preview_token_transfer{
"name": "preview_token_transfer",
"description": "Preview token transfer",
"parameters": {
"tokenAddress": "string",
"to": "string",
"amount": "string"
}
}
create_token_transfer{
"name": "create_token_transfer",
"description": "Transfer tokens",
"parameters": {
"tokenAddress": "string",
"to": "string",
"amount": "string"
}
}
create_token_approval{
"name": "create_token_approval",
"description": "Approve token spending",
"parameters": {
"tokenAddress": "string",
"spender": "string",
"amount": "string"
}
}
revoke_token_approval{
"name": "revoke_token_approval",
"description": "Revoke token approval",
"parameters": {
"tokenAddress": "string",
"spender": "string"
}
}
get_token_portfolio{
"name": "get_token_portfolio",
"description": "Get token portfolio",
"parameters": {
"address": "string"
}
}
get_portfolio_metrics{
"name": "get_portfolio_metrics",
"description": "Get portfolio metrics",
"parameters": {
"address": "string"
}
}
manage_watchlist{
"name": "manage_watchlist",
"description": "Manage token watchlist",
"parameters": {
"action": "string",
"tokenAddress": "string"
}
}
discover_tokens{
"name": "discover_tokens",
"description": "Discover new tokens",
"parameters": {
"criteria": "object"
}
}
batch_token_transfers{
"name": "batch_token_transfers",
"description": "Batch token transfers",
"parameters": {
"transfers": "array"
}
}
batch_token_approvals{
"name": "batch_token_approvals",
"description": "Batch token approvals",
"parameters": {
"approvals": "array"
}
}
get_token_portfolio_with_prices{
"name": "get_token_portfolio_with_prices",
"description": "Get portfolio with prices",
"parameters": {
"address": "string"
}
}
compile_contract{
"name": "compile_contract",
"description": "Compile Solidity contract",
"parameters": {
"sourceCode": "string",
"contractName": "string",
"solcVersion": "string"
}
}
deploy_contract{
"name": "deploy_contract",
"description": "Deploy contract to blockchain",
"parameters": {
"bytecode": "string",
"abi": "array",
"constructorArgs": "array"
}
}
estimate_deployment_cost{
"name": "estimate_deployment_cost",
"description": "Estimate deployment cost",
"parameters": {
"bytecode": "string",
"constructorArgs": "array"
}
}
verify_contract{
"name": "verify_contract",
"description": "Verify deployed contract",
"parameters": {
"contractAddress": "string",
"sourceCode": "string",
"constructorArgs": "array"
}
}
get_deployment_history{
"name": "get_deployment_history",
"description": "Get deployment history",
"parameters": {
"deployer": "string"
}
}
"Get the latest block on 0G testnet"
→ Uses: get_block
"Check my OG balance"
→ Uses: get_balance
"Create a new wallet called 'MyWallet'"
→ Uses: create_wallet
"Send 10 OG tokens to 0x123..."
→ Uses: preview_transaction, create_transaction_request
"Deploy my ERC20 contract"
→ Uses: compile_contract, deploy_contract