Passer au contenu principal

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

Chargement...

Mis à jour le
Dec 18, 2025

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

Please note that this method is only available for paid subscribers of Metis - Jupiter Swap API.
Solana Kit includes the ability to customize RPC methods and transports, allowing you to seamlessly integrate Quicknode Marketplace add-ons into your applications. For more information on how to use Quicknode Marketplace 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

portefeuille
chaîne de caractères
OBLIGATOIRE
Chargement...
type
chaîne de caractères
OBLIGATOIRE
Chargement...
menthe
chaîne de caractères
OBLIGATOIRE
Chargement...
inAmount
chaîne de caractères
OBLIGATOIRE
Chargement...
priorityFeeLevel
chaîne de caractères
Chargement...
slippageBps
chaîne de caractères
Chargement...
commitment
chaîne de caractères
Chargement...
feeAccount
chaîne de caractères
Chargement...
platformFeeBps
entier
Chargement...

Renvoie

instructions
tableau
Chargement...
keys
tableau
Chargement...
pubkey
chaîne de caractères
Chargement...
isSigner
booléen
Chargement...
isWritable
booléen
Chargement...
programId
chaîne de caractères
Chargement...
données
tableau
Chargement...
Requête
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 votre endpoint Quicknode en quelques secondes et commencez à développer
Commencez gratuitement