Skip to main content
POST
Bind Code

Endpoint

POST /api/referrals/bind Attaches a referrer to a wallet from an EIP-712 signature. Only accepted while the wallet has never traded on a covered chain. Afterwards it returns 409 AlreadyTraded, permanently. Bind at onboarding, before the wallet reaches the exchange. See Referrals.

Usage Example

Response Structure

The generated API panel lists the response schema for status codes: 201, 400, 401, 403, 409, 429, 503. Error responses return an error field.

Body

application/json
message
object
required

The signed struct plus a kind discriminator. kind is transport metadata and is not part of the EIP-712 struct.

signature
string
required

65-byte ECDSA signature, 0x-prefixed hex. EIP-1271 is not supported.

Response

Applied

result
object