·get-block-number
!

get-block-number

tradingstrategy-ai/web3-ethereum-defi

使用 Web3.py 和 JSON-RPC 环境变量获取区块链的最新区块号

11安装·2热度·@tradingstrategy-ai

安装

$npx skills add https://github.com/tradingstrategy-ai/web3-ethereum-defi --skill get-block-number

SKILL.md

This skill retrieves the latest block number from a blockchain using the configured JSON-RPC environment variables and Web3.py.

ALWAYS USE SCRIPT. NEVER RELY ON THE HISTORICAL INFORMATION OR GUESS.

Generate and run a Python script to fetch the block number. Run it Python commadn line inline, don't write a new file.

使用 Web3.py 和 JSON-RPC 环境变量获取区块链的最新区块号 来源:tradingstrategy-ai/web3-ethereum-defi。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/tradingstrategy-ai/web3-ethereum-defi --skill get-block-number
分类
!安全工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 get-block-number?

使用 Web3.py 和 JSON-RPC 环境变量获取区块链的最新区块号 来源:tradingstrategy-ai/web3-ethereum-defi。

如何安装 get-block-number?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/tradingstrategy-ai/web3-ethereum-defi --skill get-block-number 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/tradingstrategy-ai/web3-ethereum-defi