/bundle and /route APIs you can tag transactions with a referralCode, allowing you to track usage and rewards associated with that code.
Every transaction these APIs create will emit a ShortcusExecuted event with the referral code:
ShortcusExecuted events emitted by the Enso smart contract executing your transaction. This event contains two key pieces of information:
- Use
accountId, uniquely associated with your account, to identify all requests made through your project’s integration with Enso. - Use the
requestId(a unique identifier for each request) where the higher 16 bytes represent contain thereferralCode.
Updated
