POST
/
preference
Set Profile Preference
curl --request POST \
  --url https://profiles.b3.fun/preference \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "<string>",
  "preferredType": "ensdata",
  "signature": "<string>",
  "signer": "<string>",
  "timestamp": 123
}'
{
"success": true
}

Body

application/json

Request to set profile source preference

key
string
required

Ethereum wallet address (will be normalized to lowercase)

preferredType
enum<string>
required

Preferred profile source type

Available options:
ensdata,
basement,
b3-ens,
thirdweb-farcaster,
thirdweb-lens,
global-account
signature
string
required

EIP-191 signature of the preference message

signer
string
required

Address that signed the message (must match key)

timestamp
integer
required

Unix timestamp in seconds (must be within 10 minutes of current time)

Response

Preference set successfully

success
boolean
Example:

true