Tag requests with a referral code to track usage and rewards.
/bundle
and /route
APIs you can tag transactions with a referral code, 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:
accountId
, uniquely associated with your account, to identify all requests made through your project’s integration with Enso.requestId
(a unique identifier for each request) where the higher 16 bytes represent contain the referralCode
.Updated