Skip to content
TAO$142.53
BTC0.003297
MCap$1.68B
Vol$312.39M

Explorer / Tools

SCALE decoder

SCALE is the compact binary encoding Substrate chains use for storage, events and calls. Choose a type and paste the hex to read it as JSON.

Loads the chain's runtime metadata when you start.

A type name, like u64, AccountId32 or Vec<u16>.

Choosing a type

The list holds the primitive types and every named type in the runtime's metadata, such as SpWeightsWeightV2Weight or the subnet and stake structs. You can also write a composite type: Vec<u16>, Option<AccountId32> or (u16, u64).

Reading the result

  • Integers are little-endian. A Compact integer uses one to five or more bytes, depending on its size.
  • Balances are in rao, the smallest unit: 1 τ is 1,000,000,000 rao. Alpha uses the same nine decimals.
  • If the type used fewer bytes than you pasted, the page says how many were left over; that usually means the type is wrong.