Uref class

Represents an unforgeable reference, containing an address in the network's global storage and the AccessRights of the reference.

A Uref can be used to index entities such as ClValues, or smart contracts.

Inheritance

Constructors

Uref(String value)
Creates a Uref object with a hex string that contains an access rights suffix. The hex string value can be prefixed with "uref-" or not.

Properties

accessRights AccessRights
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headlessBytes Uint8List
Bytes of the key without the key identifier byte and the access rights byte
no setteroverride
key String
The key prefixed with key identifier string.
latefinalinherited
keyIdentifier KeyIdentifier
The type of the key that identifies a value stored in the global state.
latefinalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBytes() Uint8List
override
toHex() String
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited