Referrals

Create the one referral code owned by an account through an owner or delegated-wallet signature.

post/referrals/code

Request

  • Base URL: https://testnet-api.hypercall.xyz
  • URL: https://testnet-api.hypercall.xyz/referrals/code
  • Auth: HTTP bearer

Request body

codestring required

Requested code. The signature covers this exact submitted string; after authentication the server trims it and normalizes it to uppercase.

nonceinteger required

Time-bound replay-protection nonce included in the CreateReferralCode EIP-712 value.

signaturestring required

Owner or delegated API wallet's CreateReferralCode EIP-712 signature.

walletstring required

Account that will own the normalized referral code.

Response

Referral code

codestring required
created_atstring date-time required
owner_walletstring required

Changes

No recorded changes to this operation across all 1 revision of this API.