Onboarding
Onboarding verifies that the caller owns the StarkNet address and enters them into the database. This call is idempotent.
Headers
Authorization
PARADEX-ETHEREUM-ACCOUNT
Ethereum account used to onboard
PARADEX-STARKNET-ACCOUNT
Starknet address
PARADEX-STARKNET-SIGNATURE
Starknet signature
Request
This endpoint expects an object.
public_key
Public key of the user being onboarded.
referral_code
Referral code of the user who referred the user being onboarded.