Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.enso.build/llms.txt

Use this file to discover all available pages before exploring further.

With /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 ShortcutExecuted event with the referral code:
ShortcutExecuted(accountId: bytes32, requestId: bytes32)
To implement the tracking, you’ll need to analyze the ShortcutExecuted 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 the referralCode.

Updated