Documentation Index
Fetch the complete documentation index at: https://docs.turtle.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Attribution is fully automatic. After the deposit transaction confirms on-chain, the Lumon collector handles detection and recording — no additional API calls required.
Attribution Flow
Request deposit transactions
Your integration calls the deposit endpoint with the depositor’s wallet and your The
distributorId:distributorId is the critical field — it determines who the deposit is attributed to. See Distributor Model for how distributor identity works.Turtle returns transactions with embedded signature
The API returns an ordered The tracking signature is automatically appended to the deposit transaction’s calldata. You do not need to construct or manage it — the API handles this.
transactions[] array. Typically two transactions:- Token approval — authorizes the vault contract to spend the deposit token
- Deposit — the actual vault deposit, with your tracking signature embedded in the calldata
User signs and submits on-chain
The user (or your backend signing service) signs and submits the transactions in order. Once confirmed, the tracking signature is permanently recorded in the blockchain.
TypeScript
The tracking signature is part of the on-chain calldata. This means attribution proof exists independently of Turtle’s systems — anyone can extract and verify it from the raw transaction data.
Lumon detects and records attribution
The Lumon collector continuously monitors all supported chains for Turtle tracking signatures in calldata. When a matching deposit is detected:
- The deposit is recorded with
verifiedstatus - The record syncs to the analytics layer via the two-phase pipeline
- The deposit appears in your distributor activity feed
What You Don’t Need to Do
The
POST /v1/actions/attribute endpoint has been removed. Attribution is fully automatic via the Lumon collector. You do not need to call any endpoint to record attribution.- No manual attribution calls — Lumon handles detection automatically
- No webhook registration — the system is polling-based on Turtle’s side
- No calldata construction — the deposit endpoint embeds the signature for you
- No chain-specific logic — Lumon monitors all supported chains with a single
distributorId
Verifying Attribution
After a deposit confirms, you can verify attribution was recorded correctly:Related
Tracking Signature
How the tracking signature is formatted and where to find it in calldata.
Deposit Endpoint
Full API reference for the deposit action endpoint.
Distributor Model
How distributor identity and attribution are connected.
Verify Endpoint
API reference for the transaction verification endpoint.

