Onboarding

Onboarding verifies that the caller owns the StarkNet address and enters them into the database. This call is idempotent.

Headers

PARADEX-ETHEREUM-ACCOUNTstringRequired
Ethereum account used to onboard
PARADEX-STARKNET-ACCOUNTstringRequired
Starknet address
PARADEX-STARKNET-SIGNATUREstringRequired
Starknet signature

Request

Onboarding user public_key

public_keystringOptional
Public key of the user being onboarded.
referral_codestringOptional
Referral code of the user who referred the user being onboarded.

Errors