CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-web3-eth

Web3 module to interact with the Ethereum blockchain and smart contracts.

Agent Success

Agent success rate when using this tile

67%

Improvement

Agent success rate improvement when using this tile compared to baseline

0.99x

Baseline

Agent success rate without this tile

68%

Overview
Eval results
Files

rubric.jsonevals/scenario-9/

{
  "context": "Evaluates how well the solution leverages web3-eth account and state inspection APIs to build the account snapshot tool, covering address selection, balance/nonce reads, code lookup, and storage slot retrieval at the latest block. Scoring rewards correct use of getAccounts/requestAccounts, getBalance, getTransactionCount, getCode, and getStorageAt instead of manual RPC calls or unrelated libraries.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Provider setup",
      "description": "Initializes a web3-eth client with the supplied provider URL and reuses it for all queries (e.g., via Web3Eth or web3.eth) instead of manual RPC calls.",
      "max_score": 15
    },
    {
      "name": "Account discovery",
      "description": "Selects the inspection address by calling getAccounts/requestAccounts when no target is provided and surfaces the checksum-normalized result before further reads.",
      "max_score": 15
    },
    {
      "name": "Balance read",
      "description": "Retrieves the address balance in wei from the latest block using getBalance and returns it as a string without altering units.",
      "max_score": 20
    },
    {
      "name": "Nonce read",
      "description": "Uses getTransactionCount at the latest block tag to obtain the address nonce and returns the numeric value in the snapshot.",
      "max_score": 15
    },
    {
      "name": "Code lookup",
      "description": "Fetches runtime code with getCode at the latest block, returning a 0x-prefixed hex string and normalizing empty results to \"0x\".",
      "max_score": 15
    },
    {
      "name": "Storage lookup",
      "description": "Reads the specified (or default 0) storage slot via getStorageAt at the latest block, ensuring the slot and returned value are 0x-prefixed and included in the snapshot.",
      "max_score": 20
    }
  ]
}
tessl i tessl/npm-web3-eth@4.8.0

tile.json