Etherscan

Read-only Etherscan V2 blockchain data: balances, transactions, transfers, tokens, contracts, logs.

사용해야 할까요

품질 및 안전성

A
설명 품질
94%
스키마 완전성
92%
이름 품질
100%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~5,893토큰 (도구 정의)
~3.3 KB일반적인 응답 크기
상당한 주의 영향 (128k 컨텍스트의 4.60%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "etherscan-mcp": {
      "url": "https://mcp.etherscan.io/mcp"
    }
  }
}

원격 엔드포인트

https://mcp.etherscan.io/mcpstreamable-http
https://mcp-keyless.etherscan.io/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (16)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢get_native_balance(address, chainid, tag)

Get the native coin (e.g. ETH) balance of an address, in wei.

입력 스키마

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "description": "Account address to query."
    },
    "chainid": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1)."
    },
    "tag": {
      "type": "string",
      "enum": [
        "latest",
        "earliest",
        "pending"
      ],
      "description": "Block tag. Default latest."
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "data": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "The JSON result returned by the Etherscan data tool."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_transactions(address, chainid, startblock, endblock, page, ...)

Get the list of normal (external) transactions for an address.

입력 스키마

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "description": "Account address to query."
    },
    "chainid": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1)."
    },
    "startblock": {
      "type": "integer",
      "minimum": 0,
      "description": "Start block number."
    },
    "endblock": {
      "type": "integer",
      "minimum": 0,
      "description": "End block number."
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "description": "Page number (1-based)."
    },
    "offset": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000,
      "description": "Records per page (max 10000)."
    },
    "sort": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "description": "Sort order by block number."
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "data": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "The JSON result returned by the Etherscan data tool."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_internal_transactions(address, txhash, chainid, startblock, endblock, ...)

Get internal transactions for an address, or by a specific parent transaction hash.

입력 스키마

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "description": "Account address (omit if using txhash)."
    },
    "txhash": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{64}$",
      "description": "Parent transaction hash (omit if using address)."
    },
    "chainid": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1)."
    },
    "startblock": {
      "type": "integer",
      "minimum": 0,
      "description": "Start block number."
    },
    "endblock": {
      "type": "integer",
      "minimum": 0,
      "description": "End block number."
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "description": "Page number (1-based)."
    },
    "offset": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000,
      "description": "Records per page (max 10000)."
    },
    "sort": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "description": "Sort order by block number."
    }
  },
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "data": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "The JSON result returned by the Etherscan data tool."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_token_transfers(standard, address, contractaddress, chainid, startblock, ...)

Get token transfer events for an address, optionally filtered by token contract. Select the token standard: erc20 (fungible, default), erc721 (NFT), or erc1155 (multi-token).

입력 스키마

{
  "type": "object",
  "properties": {
    "standard": {
      "type": "string",
      "enum": [
        "erc20",
        "erc721",
        "erc1155"
      ],
      "description": "Token standard: erc20 (default), erc721, or erc1155."
    },
    "address": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "description": "Account address."
    },
    "contractaddress": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "description": "Token contract address to filter by."
    },
    "chainid": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1)."
    },
    "startblock": {
      "type": "integer",
      "minimum": 0,
      "description": "Start block number."
    },
    "endblock": {
      "type": "integer",
      "minimum": 0,
      "description": "End block number."
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "description": "Page number (1-based)."
    },
    "offset": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000,
      "description": "Records per page (max 10000)."
    },
    "sort": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "description": "Sort order by block number."
    }
  },
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "data": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "The JSON result returned by the Etherscan data tool."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_contract_source(address, chainid)

Get the verified source code and metadata for a contract address.

입력 스키마

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "description": "Contract address."
    },
    "chainid": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1)."
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "data": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "The JSON result returned by the Etherscan data tool."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_contract_abi(address, chainid)

Get the verified ABI (JSON) for a contract address.

입력 스키마

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "description": "Contract address."
    },
    "chainid": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1)."
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "data": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "The JSON result returned by the Etherscan data tool."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_contract_creation(contractaddresses, include_creation_bytecode, chainid)

Get the creator address and creation transaction hash for up to 5 contract addresses. The multi-kilobyte creation bytecode is omitted by default to keep responses small; set include_creation_bytecode=true to include it.

입력 스키마

{
  "type": "object",
  "properties": {
    "contractaddresses": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^0x[a-fA-F0-9]{40}$"
      },
      "minItems": 1,
      "maxItems": 5,
      "description": "List of contract addresses (1-5)."
    },
    "include_creation_bytecode": {
      "type": "boolean",
      "description": "Include the full contract creation bytecode (several KB per contract). Omitted by default."
    },
    "chainid": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1)."
    }
  },
  "required": [
    "contractaddresses"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "data": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "The JSON result returned by the Etherscan data tool."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_transaction_receipt_status(txhash, chainid)

Get the receipt status of a transaction (1 = success, 0 = failed). Post-Byzantium only.

입력 스키마

{
  "type": "object",
  "properties": {
    "txhash": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{64}$",
      "description": "Transaction hash."
    },
    "chainid": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1)."
    }
  },
  "required": [
    "txhash"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "data": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "The JSON result returned by the Etherscan data tool."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_transaction_status(txhash, chainid)

Get the contract execution status of a transaction (detects failed/erroring executions).

입력 스키마

{
  "type": "object",
  "properties": {
    "txhash": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{64}$",
      "description": "Transaction hash."
    },
    "chainid": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1)."
    }
  },
  "required": [
    "txhash"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "data": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "The JSON result returned by the Etherscan data tool."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_gas_oracle(chainid)

Get current gas price recommendations (safe / propose / fast) from the gas tracker.

입력 스키마

{
  "type": "object",
  "properties": {
    "chainid": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1)."
    }
  },
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "data": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "The JSON result returned by the Etherscan data tool."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_block_by_timestamp(timestamp, closest, chainid)

Get the block number closest to a given Unix timestamp (seconds).

입력 스키마

{
  "type": "object",
  "properties": {
    "timestamp": {
      "type": "integer",
      "minimum": 0,
      "description": "Unix timestamp in seconds."
    },
    "closest": {
      "type": "string",
      "enum": [
        "before",
        "after"
      ],
      "description": "Return closest block before or after. Default before."
    },
    "chainid": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1)."
    }
  },
  "required": [
    "timestamp"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "data": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "The JSON result returned by the Etherscan data tool."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_supported_chains

Get the chains / chain IDs supported by the Etherscan V2 API. In the hosted (proxy) deployment this returns a bundled snapshot shipped with the server, refreshed when the package is updated; in direct/stdio mode it queries the live chain-list endpoint. A chain's absence from the returned list is not proof that it lacks live support.

입력 스키마

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "data": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "The JSON result returned by the Etherscan data tool."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_logs(address, fromblock, toblock, topic0, topic1, ...)

Search event logs by contract address and/or topics over a block range. Topics are 32-byte hex values; topic0 is usually the keccak256 event-signature hash. Adjacent-topic operators (and/or) combine multiple topic filters. Provide 'address' and/or at least one topic.

입력 스키마

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "description": "Contract address to filter by (optional if filtering by topics)."
    },
    "fromblock": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0
        },
        {
          "type": "string",
          "const": "latest"
        }
      ],
      "description": "Start block number, or \"latest\". Default 0."
    },
    "toblock": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0
        },
        {
          "type": "string",
          "const": "latest"
        }
      ],
      "description": "End block number, or \"latest\". Default latest."
    },
    "topic0": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{64}$",
      "description": "Topic 0 — usually the keccak256 event-signature hash."
    },
    "topic1": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{64}$",
      "description": "Topic 1 (first indexed argument)."
    },
    "topic2": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{64}$",
      "description": "Topic 2 (second indexed argument)."
    },
    "topic3": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{64}$",
      "description": "Topic 3 (third indexed argument)."
    },
    "topic0_1_opr": {
      "type": "string",
      "enum": [
        "and",
        "or"
      ],
      "description": "Combine topic0 and topic1: and | or."
    },
    "topic1_2_opr": {
      "type": "string",
      "enum": [
        "and",
        "or"
      ],
      "description": "Combine topic1 and topic2: and | or."
    },
    "topic2_3_opr": {
      "type": "string",
      "enum": [
        "and",
        "or"
      ],
      "description": "Combine topic2 and topic3: and | or."
    },
    "chainid": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1)."
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "description": "Page number (1-based)."
    },
    "offset": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000,
      "description": "Records per page (max 1000)."
    }
  },
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "data": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "The JSON result returned by the Etherscan data tool."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_transaction_by_hash(txhash, chainid)

Get the full transaction object for a transaction hash (from, to, value, input data, gas, gas price, nonce, block number/hash, transaction index). Returns null if the hash is unknown.

입력 스키마

{
  "type": "object",
  "properties": {
    "txhash": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{64}$",
      "description": "Transaction hash."
    },
    "chainid": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1)."
    }
  },
  "required": [
    "txhash"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "data": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "The JSON result returned by the Etherscan data tool."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_transaction_receipt(txhash, chainid)

Get the transaction receipt for a transaction hash (execution status, gas used, cumulative gas used, effective gas price, logs, and the created contract address for deployments). Returns null if the hash is unknown or the transaction is still pending.

입력 스키마

{
  "type": "object",
  "properties": {
    "txhash": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{64}$",
      "description": "Transaction hash."
    },
    "chainid": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1)."
    }
  },
  "required": [
    "txhash"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "data": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "The JSON result returned by the Etherscan data tool."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢render_etherscan_widget(view, title, subtitle, chain, metrics, ...)

Present exact facts returned by Etherscan data tools in a fast explorer-style card. Call the relevant Etherscan data tool first and copy only supported values into this tool. Never invent scores, risk labels, historical prices, forecasts, or audit conclusions.

입력 스키마

{
  "type": "object",
  "properties": {
    "view": {
      "type": "string",
      "enum": [
        "wallet",
        "token",
        "transaction",
        "contract",
        "gas",
        "general"
      ],
      "description": "The factual Etherscan result category to display."
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "subtitle": {
      "type": "string",
      "maxLength": 180
    },
    "chain": {
      "type": "string",
      "maxLength": 80
    },
    "metrics": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "value": {
            "type": "string",
            "minLength": 1,
            "maxLength": 240
          },
          "detail": {
            "type": "string",
            "maxLength": 300
          }
        },
        "required": [
          "label",
          "value"
        ],
        "additionalProperties": false
      },
      "maxItems": 6,
      "default": []
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/properties/metrics/items"
      },
      "maxItems": 12,
      "default": []
    },
    "sections": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "layout": {
            "type": "string",
            "enum": [
              "cards",
              "rows",
              "chips"
            ],
            "default": "rows"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/properties/metrics/items"
            },
            "maxItems": 12
          }
        },
        "required": [
          "title",
          "items"
        ],
        "additionalProperties": false
      },
      "maxItems": 4,
      "default": []
    },
    "chart": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 80
        },
        "points": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "minItems": 2,
          "maxItems": 40
        },
        "startLabel": {
          "type": "string",
          "maxLength": 40
        },
        "endLabel": {
          "type": "string",
          "maxLength": 40
        }
      },
      "required": [
        "title",
        "points"
      ],
      "additionalProperties": false
    },
    "explorerUrl": {
      "type": "string",
      "format": "uri"
    },
    "footer": {
      "type": "string",
      "maxLength": 240
    }
  },
  "required": [
    "view",
    "title"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "view": {
      "type": "string",
      "enum": [
        "wallet",
        "token",
        "transaction",
        "contract",
        "gas",
        "general"
      ],
      "description": "The factual Etherscan result category to display."
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "subtitle": {
      "type": "string",
      "maxLength": 180
    },
    "chain": {
      "type": "string",
      "maxLength": 80
    },
    "metrics": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "value": {
            "type": "string",
            "minLength": 1,
            "maxLength": 240
          },
          "detail": {
            "type": "string",
            "maxLength": 300
          }
        },
        "required": [
          "label",
          "value"
        ],
        "additionalProperties": false
      },
      "maxItems": 6,
      "default": []
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/properties/metrics/items"
      },
      "maxItems": 12,
      "default": []
    },
    "sections": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "layout": {
            "type": "string",
            "enum": [
              "cards",
              "rows",
              "chips"
            ],
            "default": "rows"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/properties/metrics/items"
            },
            "maxItems": 12
          }
        },
        "required": [
          "title",
          "items"
        ],
        "additionalProperties": false
      },
      "maxItems": 4,
      "default": []
    },
    "chart": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 80
        },
        "points": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "minItems": 2,
          "maxItems": 40
        },
        "startLabel": {
          "type": "string",
          "maxLength": 40
        },
        "endLabel": {
          "type": "string",
          "maxLength": 40
        }
      },
      "required": [
        "title",
        "points"
      ],
      "additionalProperties": false
    },
    "explorerUrl": {
      "type": "string",
      "format": "uri"
    },
    "footer": {
      "type": "string",
      "maxLength": 240
    }
  },
  "required": [
    "view",
    "title"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 16개
인증 필요버전이 기록되지 않음—
검증됨버전이 기록되지 않음도구 16개
인증 필요버전이 기록되지 않음—