Group Location
Explore Plans
Mobile menu Close menu
twinutwinu

Update Twin Counter Field

This actions will update and increment by one a counter field of your Twin NFT.

About this action

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This actions will update and increment by one a counter field of your Twin NFT.
API endpoint slug
twinu.update_twin_counter
Filter code method
Twinu.updateTwinCounter.skip(string?: reason)
Runtime method
runAction("twinu.update_twin_counter", {})

Action fields

Twin ID Text input > Other

Label
Twin ID
Helper text
For this Twin the ID is 005270d5d69e4f1d8f440df4f29f0ecc
Slug
twin_id
Required
true
Can have default value
true
Filter code method
Twinu.updateTwinCounter.setTwinId(string: twinId)

Agent key Text input > Other

Label
Target Twin Agent Key
Helper text
The signature of this key need to be added to the target Twin as a "TwinAgentKey" property. You can create the signature of this key here
Slug
agent_key
Required
true
Can have default value
true
Filter code method
Twinu.updateTwinCounter.setAgentKey(string: agentKey)

Counter iri Dropdown list

Label
Counter Field
Helper text
Select the counter field you want to update on your Twin
Slug
counter_iri
Required
false
Can have default value
false