Skip to main content
Requires an API key via the X-API-Key header. See API Keys.

Overview

GET /v2/actions/verify Check whether a transaction carries valid Turtle tracking data. Pass a transaction hash and chain ID, and the endpoint returns the tracking tag, the parsed attribution metadata (including distributorId, opportunityId, the deposited amount, and referralCode), and whether the signature is from Turtle’s attribution wallet. Use it to confirm attribution independently, or for debugging. This works for any attributed deposit, however it was generated. A deposit built through Deposit and a no-code share-link deposit both embed the same tracking signature, so both verify the same way.
Query Parameters
chainId
integer
required
The chain ID where the transaction was executed (e.g., 1 for Ethereum, 42161 for Arbitrum).
txHash
string
required
The transaction hash to verify (0x followed by 64 hex characters).
Response
tag
string
The raw tracking tag found in the transaction data.
metadata
object
Parsed attribution metadata for the transaction.
signatureValid
boolean
required
Whether the tracking signature is from Turtle’s attribution wallet.
error
string
Error message if verification failed (e.g., no tracking data found).

Error Handling

Status: 400 Bad Request
Solution: Pass a chainId integer for a supported chain and a txHash of 0x followed by 64 hex characters.
Status: 404 Not Found
Solution: Confirm the transaction is the attributed deposit and that it embedded a Turtle tracking signature. A plain transfer or a deposit built without a distributorId carries no tracking data.
Status: 200 OK
Solution: A tracking tag is present but its signature is not from Turtle’s attribution wallet, so the deposit is not attributed. Rebuild the deposit through Deposit so the tracking signature is generated by Turtle.