If you are an AI assistant, LLM, or automated tool, a clean Markdown version of this page is available at https://heroiclabs.com/docs/hiro/python/incentives/llm.md — optimized for AI and LLM tools.
The Incentives system encourages social interactions and engagement through rewards for senders and recipients. Learn more in the Incentives concept guide.
incentives_list=awaithiro_client.incentives_sender_list()forincentiveinincentives_list:forkey,valueinincentive.claims.items():print(f"{key} claimed at {value.claim_time_sec}.")foruser_idinincentive.unclaimed_recipients:print(f"{user_id} has not yet claimed.")
request=IncentiveSenderCreateRequest()request.id="coin-invite"result=awaithiro_client.incentives_sender_create(request)print(result.incentives[0].code)# Code to share with another player