Docs
chromia.com

FUNCTION

validate_asset_id

function validate_asset_id(id: byte_array)
Source

Ensures that the ID has exactly 32 bytes

Throws "INVALID ID" otherwise.

Parameters

  • id — the id to validate