Aller directement au contenu principal

/pump-fun/swap-instructions REST API Endpoint - Swap API

Chargement en cours...

Mis à jour le
Aug 09, 2026

/pump-fun/swap-instructions REST API Endpoint - Swap API

Please note that this method is only available for paid subscribers of Swap API.
Solana Kit includes the ability to customize RPC methods and transports, allowing you to seamlessly integrate Quicknode add-ons into your applications. For more information on how to use Quicknode add-ons with Solana Kit, check out these guides: How to Use Quicknode Add-ons using Solana Kit (Part 1) and How to Use Quicknode Add-ons using Solana Kit (Part 2)

Paramètres de requête

wallet
chaîne de caractères
OBLIGATOIRE
Chargement en cours...
type
chaîne de caractères
OBLIGATOIRE
Chargement en cours...
mint
chaîne de caractères
OBLIGATOIRE
Chargement en cours...
inAmount
chaîne de caractères
OBLIGATOIRE
Chargement en cours...
priorityFeeLevel
chaîne de caractères
Chargement en cours...
slippageBps
chaîne de caractères
Chargement en cours...
commitment
chaîne de caractères
Chargement en cours...
feeAccount
chaîne de caractères
Chargement en cours...
platformFeeBps
entier
Chargement en cours...

Retours

instructions
tableau
Chargement en cours...
keys
tableau
Chargement en cours...
pubkey
chaîne de caractères
Chargement en cours...
isSigner
booléen
Chargement en cours...
isWritable
booléen
Chargement en cours...
programId
chaîne de caractères
Chargement en cours...
données
tableau
Chargement en cours...
Demande
Réponse
1
{
2
"instructions": [
3
{
4
"keys": [
5
{
6
"pubkey": "6Cf7nWaodsE6vH4uctqURbEhJReYypifdhhB9Rn7NByU",
7
"isSigner": true,
8
"isWritable": true
9
},
10
{
11
"pubkey": "D5hjyQvdhkCHCLG9N9urDc4vQyY5bKoaQjAP9KH1EB6N",
12
"isSigner": false,
13
"isWritable": true
14
},
15
{
16
"pubkey": "2q7jMwWYFxUdxBqWbi8ohztyG1agjQMrasUXwqGCpump",
17
"isSigner": false,
18
"isWritable": true
19
},
20
{
21
"pubkey": "So11111111111111111111111111111111111111112",
22
"isSigner": false,
23
"isWritable": false
24
},
25
{
26
"pubkey": "97e6Yj6JhdN5DMKafQeYvyP6MQ9xHpd8TKUpCmzcPQnb",
27
"isSigner": false,
28
"isWritable": true
29
},
30
{
31
"pubkey": "11111111111111111111111111111111",
32
"isSigner": false,
33
"isWritable": false
34
},
35
{
36
"pubkey": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
37
"isSigner": false,
38
"isWritable": false
39
},
40
{
41
"pubkey": "SysvarRent111111111111111111111111111111111",
42
"isSigner": false,
43
"isWritable": false
44
},
45
{
46
"pubkey": "ComputeBudget111111111111111111111111111111",
47
"isSigner": false,
48
"isWritable": false
49
}
50
],
51
"programId": "PumpFunuYiVXKEh6nkJulFPmqU6hQmzHME1Gxpn7U8y",
52
"data": [
53
2,
54
0,
55
0,
56
0,
57
0,
58
0,
59
0,
60
0,
61
100,
62
0,
63
0,
64
0,
65
0,
66
0,
67
0,
68
0,
69
0
70
]
71
},
72
{
73
"keys": [
74
{
75
"pubkey": "ComputeBudget111111111111111111111111111111",
76
"isSigner": false,
77
"isWritable": false
78
}
79
],
80
"programId": "ComputeBudget111111111111111111111111111111",
81
"data": [
82
2,
83
64,
84
158,
85
217,
86
0,
87
0,
88
0,
89
0,
90
0
91
]
92
}
93
]
94
}
1
{
2
"instructions": [
3
{
4
"keys": [
5
{
6
"pubkey": "6Cf7nWaodsE6vH4uctqURbEhJReYypifdhhB9Rn7NByU",
7
"isSigner": true,
8
"isWritable": true
9
},
10
{
11
"pubkey": "D5hjyQvdhkCHCLG9N9urDc4vQyY5bKoaQjAP9KH1EB6N",
12
"isSigner": false,
13
"isWritable": true
14
},
15
{
16
"pubkey": "2q7jMwWYFxUdxBqWbi8ohztyG1agjQMrasUXwqGCpump",
17
"isSigner": false,
18
"isWritable": true
19
},
20
{
21
"pubkey": "So11111111111111111111111111111111111111112",
22
"isSigner": false,
23
"isWritable": false
24
},
25
{
26
"pubkey": "97e6Yj6JhdN5DMKafQeYvyP6MQ9xHpd8TKUpCmzcPQnb",
27
"isSigner": false,
28
"isWritable": true
29
},
30
{
31
"pubkey": "11111111111111111111111111111111",
32
"isSigner": false,
33
"isWritable": false
34
},
35
{
36
"pubkey": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
37
"isSigner": false,
38
"isWritable": false
39
},
40
{
41
"pubkey": "SysvarRent111111111111111111111111111111111",
42
"isSigner": false,
43
"isWritable": false
44
},
45
{
46
"pubkey": "ComputeBudget111111111111111111111111111111",
47
"isSigner": false,
48
"isWritable": false
49
}
50
],
51
"programId": "PumpFunuYiVXKEh6nkJulFPmqU6hQmzHME1Gxpn7U8y",
52
"data": [
53
2,
54
0,
55
0,
56
0,
57
0,
58
0,
59
0,
60
0,
61
100,
62
0,
63
0,
64
0,
65
0,
66
0,
67
0,
68
0,
69
0
70
]
71
},
72
{
73
"keys": [
74
{
75
"pubkey": "ComputeBudget111111111111111111111111111111",
76
"isSigner": false,
77
"isWritable": false
78
}
79
],
80
"programId": "ComputeBudget111111111111111111111111111111",
81
"data": [
82
2,
83
64,
84
158,
85
217,
86
0,
87
0,
88
0,
89
0,
90
0
91
]
92
}
93
]
94
}
Vous n'avez pas encore de compte ?
Créez votreendpoint Quicknode endpoint quelques secondes et commencez à développer
Commencez gratuitement