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.
All verification requests require an API key via the
X-API-Key header.
See Authentication for details.Verify a Single Transaction
The verify endpoint extracts and validates the tracking signature from any deposit transaction:Response
Interpreting Results
| Field | What it tells you |
|---|---|
tag | The full tracking signature extracted from the transaction’s calldata |
metadata.distributorId | The partner the deposit is attributed to — confirm this matches your distributor ID |
metadata.referralCode | The referral code provided at deposit time (if any) |
signatureValid | true if the calldata contains a valid, unmodified Turtle tracking signature matching the extracted metadata |
The chain ID where the transaction was submitted (e.g.,
1 for Ethereum mainnet, 137 for Polygon).The transaction hash to verify.
Verification Workflows
Spot Checks (Manual)
For ad-hoc verification during integration testing or audits:Obtain the transaction hash
Get the tx hash from your deposit logs, the distributor activity feed, or a block explorer.
Confirm attribution
Check that
signatureValid is true and metadata.distributorId matches your expected distributor ID.Cross-reference on-chain (optional)
Look up the transaction on a block explorer (Etherscan, Polygonscan, etc.). Decode the calldata’s trailing bytes to confirm the
turtle:v1:... signature matches the verify endpoint’s response. See Tracking Signature for extraction details.Batch Reconciliation (Automated)
For systematic verification of all attributed deposits:Pull your deposit activity
Fetch your full deposit history from the distributor activity endpoint:
Verify each transaction
For each deposit record, call the verify endpoint with the
tx_hash and chain from the activity response:TypeScript
Due Diligence Audit
For third-party DD teams verifying deposit provenance:- Request the distributor’s activity feed — the partner provides their deposit list via the distributor activity endpoint
- Independently verify each deposit — call the verify endpoint for each tx hash, confirming
signatureValid: trueand the correctdistributorId - Cross-reference on-chain — for maximum independence, extract the tracking signature directly from calldata on a block explorer without relying on Turtle’s API
- Validate deposit amounts — compare
deposited_amount_usdfrom the activity feed against on-chain token transfer amounts
The tracking signature is embedded in public calldata. A DD team can verify attribution without any access to Turtle’s internal systems — only a block explorer and the signature format specification are needed. See Tracking Signature.
Error Handling
Transaction not found
Transaction not found
Status Code: 404 Not FoundSolution: Confirm the
chainId is correct for the chain where the transaction was submitted. The transaction may not have been indexed yet — retry after a few minutes.No tracking signature detected
No tracking signature detected
Status Code: 200 OK (with Solution: The transaction does not contain a Turtle tracking signature. This can happen if the deposit was not routed through the Earn API’s deposit endpoint, or if the transaction is an approval (not the deposit itself).
signatureValid: false)Rate limit exceeded
Rate limit exceeded
Status Code: 429 Too Many RequestsSolution: Reduce request frequency. Rate limits are per-key and hourly. For large batch verifications, add a delay between requests.
Related
Tracking Signature
Signature format and on-chain extraction details.
Distributor Activity
Pull your full deposit history for reconciliation.
Data Flow
How attribution records flow through the settlement pipeline.
Verify Endpoint
Full API reference for the verify endpoint.

