Supported API key types: Publishable, Secret
Description
Get the digital signature for an entry, specified by a projectId
and an address
. If the entry does not exist or is not eligible to receive a signature (based on the access settings under Developers > Signature), this endpoint will return a 404 error.
You can think of this signature as a "ticket" tied to a particular address that unlocks access to a particular smart contract function. The transaction sent to the smart contract should include the signature that was issued for the transaction sender.
Attestation availability (e.g., eligibility to mint) for a given address can be determined by calling this endpoint and checking whether this endpoint returns a 200 (a valid signature) or a 404 (the attestation is unavailable). If you're interested instead in displaying registration/raffle status for your users, use the Entries API.
Response interface
{
data: {
signature: string;
attestationData: Record<string, string | bool> | null;
};
}
{
error: {
message: string;
};
}