Skip to main content
POST
/
user
/
username
cURL
curl --request POST \
  --url https://api.odin.fun/v1/user/username \
  --header 'Content-Type: application/json' \
  --data '{
  "username": "<string>"
}'
{
  "principal": "<string>",
  "username": "<string>",
  "bio": "<string>",
  "image": "<string>",
  "referrer": "<string>",
  "admin": true,
  "ref_code": "<string>",
  "profit": 123,
  "total_asset_value": 123,
  "referral_count": 123,
  "referral_earnings": 123,
  "access_allowed": true,
  "beta_access_codes": "<string>",
  "btc_deposit_address": "<string>",
  "blife_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "btc_wallet_address": "<string>",
  "rune_deposit_address": "<string>"
}

Body

application/json
username
string
required

Response

default - application/json
principal
string
required
username
string
required
admin
boolean
required
ref_code
string
required
profit
integer
required
total_asset_value
integer
required
referral_count
number
required
referral_earnings
integer
required
access_allowed
boolean
required
beta_access_codes
string
required
btc_deposit_address
string
required
blife_id
string
required
created_at
string<date-time>
required
btc_wallet_address
string
required
rune_deposit_address
string
required
bio
string
image
string
referrer
string
I