loading prices...
prices by coingecko
onchain.search tools/local · 0 uploads/links/about

home / ethereum / solidity-metadata-decoderlocal

Solidity Metadata (CBOR) Decoder

Read the compiler version and IPFS metadata hash that Solidity appends to contract bytecode.

solidity-metadata-decoderready · runs in this browser

Runs locally in your browser. Nothing you type is sent anywhere.

ethereum tools · free · runs in your browser · no sign-up · no wallet

01 // about this tool

The end of most contract bytecode is a small CBOR block holding the Solidity version and an IPFS hash of the metadata file. It tells you which compiler built the contract.

02 // how to use it

  1. Paste the full runtime bytecode.
  2. Press Run.
  3. Read the compiler version and IPFS hash.

03 // faq

Why is nothing found?

Some contracts are compiled without metadata, or the bytecode was cut short.

What is bzzr?

A Swarm hash used by Solidity before version 0.6.

04 // related tools

all 43 ethereum tools →