Skip to main content

Claim Token Webhook Payload

Specification of webhook for claiming token commissions.

Updated on
Aug 9, 2024

Claim Token Webhook Payload

Please note that this method is only available for paid subscribers on the Navigator plan of Metis - Jupiter V6 Swap API.

Parameters

event_type
string
REQUIRED
The type of event we have detected. Must be `claim_token` for this webhook.
body
object
REQUIRED
The details for this event
tx
string
REQUIRED
The transaction as an unsigned encoded string.
tx_type
string
REQUIRED
The type of transaction we are sending you. Must be one of `versioned_transaction` or `transaction`.
symbol
string
REQUIRED
The symbol of the token you should be creating a referral account for.
token_mint_address
string
REQUIRED
The token address of the token you should be creating a referral account for.
amount
integer
REQUIRED
The amount of the token we are going to claim.
context_slot
integer
REQUIRED
The context slot at which this unsigned transaction was generated.
wallet_pubkey
string
REQUIRED
The wallet pubkey we used to generate the unsigned transaction here.

Returns

This method returns nothing
Request
1
{
2
"event_type": "claim_token",
3
"body": {
4
"tx": "02c05c1500030417010000000000e517cb977ae3ad2a01000000076400014461df0c0000000003b3313008490000320000094461df0c000000000000000000000000A0Rh3wwAAAAAAAAAAAAAAAABAAAAAAAAAOR6TysAAAAA35fG5R6HSQWFUhNk7gAAAA7SiLHjSAAA",
5
"tx_type": "transaction",
6
"symbol": "WSOL",
7
"token_mint_address": "So11111111111111111111111111111111111111112",
8
"amount": 123,
9
"context_slot": 277929733,
10
"wallet_pubkey": "CL4KcMhPpEeNmR7rK7RHsLSTqshoYpasSxHHhduamfe6"
11
}
12
}
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free