Explore Plans
Mobile menu Close menu
twinu

Update Twin Counter Field

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

Developer info

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 Text input > Other

Label
Twin ID
Helper text
For this <a href="https://app.twinu.com/twin-details/005270d5d69e4f1d8f440df4f29f0ecc" target="_blank">Twin</a> the ID is 005270d5d69e4f1d8f440df4f29f0ecc
Slug
twin_id
Required
true
Can have default value
true
Filter code method
Twinu.updateTwinCounter.setTwin(string: twin_id)

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 &quot;TwinAgentKey&quot; property. You can create the signature of this key <a href="https://wagmi.sh/examples/sign-message" target="_blank">here</a>
Slug
agent_key
Required
true
Can have default value
true
Filter code method
Twinu.updateTwinCounter.setAgent Key(string: agent_key)

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