Please note that this method is only available for paid subscribers on the Navigator plan of Swap API.
Parameters
- event_typestringREQUIRED
The type of event we have detected. Must be
create_referral_accountfor this webhook.
- bodyobjectREQUIRED
The details for this event
- txstringREQUIRED
The transaction as an unsigned encoded string.
- tx_typestringREQUIRED
The type of transaction we are sending you. Must be one of
versioned_transactionortransaction.
- symbolstringREQUIRED
The symbol of the token you should be creating a referral account for.
- token_mint_addressstringREQUIRED
The token address of the token you should be creating a referral account for.
- referral_account_pubkeystringREQUIRED
The address of the referral account you'll be adding this token to.
- referral_account_token_pubkeystringREQUIRED
The address of the referral token account that's to be created with this transaction.
- context_slotintegerREQUIRED
The context slot at which this unsigned transaction was generated.
- wallet_pubkeystringREQUIRED
The wallet address used to generate the unsigned transaction here.
Returns
This method returns nothing
Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free