TypedBlob::GetData

Retrieves raw data bytes from a given slot in the blob

Returns the raw data stored in this blob for a particular slot. The type of the blob defines what data is stored at a minimum and how to interpret the result. However, some slots are optional, like primitive IDs.

Signature

class TypedBlob:
    // Retrieves raw data bytes from a given slot in the blob
    fun getData(
        slot: DataSlot,
    ) -> [byte]