Issue Description
The mcp_bankless_get_abi tool is currently failing when attempting to fetch contract ABIs from Ethereum mainnet.
Steps to Reproduce
- Call
mcp_bankless_get_abi with the following parameters:
- network:
ethereum
- contract:
0xE592427A0AEce92De3Edee1F18E0157C05861564
Expected Behavior
The tool should return the ABI for the specified contract.
Actual Behavior
The tool returns an error response:
{
"status": "0",
"message": "NOTOK",
"result": "You are using a deprecated V1 endpoint, switch to Etherscan API V2 using https://docs.etherscan.io/v2-migration",
"isSuccess": false
}
Root Cause
The tool appears to be using Etherscan's deprecated V1 API endpoint. Etherscan is requiring migration to their V2 API.
Suggested Fix
Update the mcp_bankless_get_abi implementation to use Etherscan API V2 endpoints as documented at: https://docs.etherscan.io/v2-migration
Issue Description
The
mcp_bankless_get_abitool is currently failing when attempting to fetch contract ABIs from Ethereum mainnet.Steps to Reproduce
mcp_bankless_get_abiwith the following parameters:ethereum0xE592427A0AEce92De3Edee1F18E0157C05861564Expected Behavior
The tool should return the ABI for the specified contract.
Actual Behavior
The tool returns an error response:
{ "status": "0", "message": "NOTOK", "result": "You are using a deprecated V1 endpoint, switch to Etherscan API V2 using https://docs.etherscan.io/v2-migration", "isSuccess": false }Root Cause
The tool appears to be using Etherscan's deprecated V1 API endpoint. Etherscan is requiring migration to their V2 API.
Suggested Fix
Update the
mcp_bankless_get_abiimplementation to use Etherscan API V2 endpoints as documented at: https://docs.etherscan.io/v2-migration