Ethereum:Event
The ethereum:event
element allows to render an attribute by checking
for a blockchain event.
Code Example
Render ensName if a ENS name is registered.
<ts:attribute name="ensName">
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.15</ts:syntax></ts:type>
<ts:origins>
<ethereum:event type="NameRegistered" contract="ETHRegistrarController" filter="label=${tokenId}" select="name"/>
</ts:origins>
</ts:attribute>