Skip to main content
Glama

Contract ABI

get_abi
Read-onlyIdempotent

The JSON ABI of one BlazePhoenix contract, generated from the Solidity sources, with the source revision it was built from. Use it to encode your own calls to the addresses get_deployments returns, or pass errors to decode a revert reason from a failed swap or quote. Returns { contract, revision, abi }; an unknown name returns ok:false with the accepted list. Pure lookup, no RPC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contractYesquoter (quotes and previews) | router (swap entry point) | solver | hub | core | errors (the protocol custom-error set, for decoding reverts)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesfalse: see code, error
abiNo
codeNo
errorNo
contractNo
revisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "abi": {
      +      "type": "array"
      +    },
      +    "code": {
      +      "type": "string"
      +    },
      +    "contract": {
      +      "type": "string"
      +    },
      +    "error": {
      +      "type": "string"
      +    },
      +    "ok": {
      +      "description": "false: see code, error",
      +      "type": "boolean"
      +    },
      +    "revision": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / contract / description
      Added value: +"quoter (quotes and previews) | router (swap entry point) | solver | hub | core | errors (the protocol custom-error set, for decoding reverts)"
  3. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources