跳至主要內容

getTokenAccountsByOwner RPC Method

載入中...

更新於
Apr 30, 2025

getTokenAccountsByOwner RPC Method

Please note that, in addition to the plan-level rate limits, the getTokenAccountsByOwner method has a specific rate limit of 200 requests per second. This limit may change without notice to ensure system stability. For high-demand use cases, please reach out to discuss potential solutions.

參數

pubkey
字串
必填
載入中...
物件
物件
必填
載入中...
薄荷
字串
載入中...
programId
字串
載入中...
物件
物件
載入中...
commitment
字串
載入中...
finalized
字串
載入中...
confirmed
字串
載入中...
processed
字串
載入中...
encoding
字串
載入中...
dataSlice
字串
載入中...
minContextSlot
整數
載入中...

退貨

結果
載入中...
context
載入中...
apiVersion
載入中...
插槽
載入中...
載入中...
帳戶
載入中...
資料
載入中...
parsed
載入中...
資訊
載入中...
isNative
載入中...
薄荷
載入中...
所有者
載入中...
state
載入中...
tokenAmount
載入中...
金額
載入中...
小數
載入中...
uiAmount
載入中...
uiAmountString
載入中...
類型
載入中...
program
載入中...
space
載入中...
executable
載入中...
lamports
載入中...
所有者
載入中...
rentEpoch
載入中...
space
載入中...
pubkey
載入中...
請求
回應
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"context": {
5
"apiVersion": "2.1.21",
6
"slot": 335501753
7
},
8
"value": [
9
{
10
"account": {
11
"data": {
12
"parsed": {
13
"info": {
14
"isNative": false,
15
"mint": "1YDQ35V8g68FGvcT85haHwAXv1U7XMzuc4mZeEXfrjE",
16
"owner": "GgPpTKg78vmzgDtP1DNn72CHAYjRdKY7AV6zgszoHCSa",
17
"state": "initialized",
18
"tokenAmount": {
19
"amount": "5",
20
"decimals": 0,
21
"uiAmount": 5,
22
"uiAmountString": "5"
23
}
24
},
25
"type": "account"
26
},
27
"program": "spl-token",
28
"space": 165
29
},
30
"executable": false,
31
"lamports": 2039280,
32
"owner": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
33
"rentEpoch": 18446744073709552000,
34
"space": 165
35
},
36
"pubkey": "9duBrvbQPiNng7ggy58pVhV8RieLZnyD6TuKCMhcqzjp"
37
}
38
]
39
},
40
"id": 1
41
}
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"context": {
5
"apiVersion": "2.1.21",
6
"slot": 335501753
7
},
8
"value": [
9
{
10
"account": {
11
"data": {
12
"parsed": {
13
"info": {
14
"isNative": false,
15
"mint": "1YDQ35V8g68FGvcT85haHwAXv1U7XMzuc4mZeEXfrjE",
16
"owner": "GgPpTKg78vmzgDtP1DNn72CHAYjRdKY7AV6zgszoHCSa",
17
"state": "initialized",
18
"tokenAmount": {
19
"amount": "5",
20
"decimals": 0,
21
"uiAmount": 5,
22
"uiAmountString": "5"
23
}
24
},
25
"type": "account"
26
},
27
"program": "spl-token",
28
"space": 165
29
},
30
"executable": false,
31
"lamports": 2039280,
32
"owner": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
33
"rentEpoch": 18446744073709552000,
34
"space": 165
35
},
36
"pubkey": "9duBrvbQPiNng7ggy58pVhV8RieLZnyD6TuKCMhcqzjp"
37
}
38
]
39
},
40
"id": 1
41
}
還沒有帳號嗎?
只需幾秒鐘即可建立您的 Quicknode 端點,並開始建置
立即免費開始使用