Skip to main content
POST
Activate referral with user-funded transaction

Body

application/json

JSON request payload for post.v1.referral.activate_tx.

recent_blockhash
string
required
referral_code
string
required
trader_authority
string
required
transaction
string
required
trader_pda_index
integer<int32> | null
Required range: x >= 0
trader_subaccount_index
integer<int32> | null
Required range: x >= 0

Response

200 - application/json
referral_code
string
required
status
enum<string>
required
Available options:
activated,
submitted,
already_activated
trader_pda
string
required
signature
string | null