PoolMetadata
scalus.cardano.ledger.PoolMetadata
Represents metadata for a stake pool in the Cardano blockchain.
Pool metadata provides information about the pool such as name, description, ticker symbol, etc. It's stored off-chain, and only the URL and hash are included in the blockchain.
Value parameters
- metadataHash
-
Hash of the metadata for verification. Conventionally a 32-byte Blake2b-256 digest, but the ledger does not constrain it: the CDDL says
pool_metadata = [url, bytes](conway.cddl:494, unchanged since Allegra) and Haskell holds it aspmHash :: !ByteArraywith a decoder that checks no length (State/StakePool.hs:293-296, :522-524). Hence a plainByteStringrather than a fixed-widthMetadataHash. - url
-
URL where the metadata can be found
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article