跳转至主要内容

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

正在加载...

更新于
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)

查询参数

wallet
字符串
必填
正在加载...
类型
字符串
必填
正在加载...
薄荷
字符串
必填
正在加载...
inAmount
字符串
必填
正在加载...
priorityFeeLevel
字符串
正在加载...
slippageBps
字符串
正在加载...
承诺
字符串
正在加载...
feeAccount
字符串
正在加载...
platformFeeBps
整数
正在加载...

退货

instructions
数组
正在加载...
keys
数组
正在加载...
公钥
字符串
正在加载...
isSigner
布尔型
正在加载...
isWritable
布尔型
正在加载...
programId
字符串
正在加载...
数据
数组
正在加载...
请求
回复
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
}
还没有账号吗?
endpoint 几秒钟endpoint 创建您的Quicknode endpoint ,并开始构建
免费开始使用