跳转至主要内容

platform.getStake RPC Method

正在加载...

更新于
Apr 29, 2026

platform.getStake RPC Method

To use the platform.getStake method on the P-Chain, ensure that the end of your URL includes ext/bc/P.

参数

地址
数组
必填
正在加载...
validatorOnly
布尔型
正在加载...

退货

结果
对象
正在加载...
staked
字符串
正在加载...
stakeds
对象
正在加载...
stakingID
字符串
正在加载...
金额
字符串
正在加载...
stakedOutputs
数组
正在加载...
输出
字符串
正在加载...
encoding
字符串
正在加载...
请求
回复
1
{
2
“jsonrpc”: "2.0",
3
"result": {
4
"staked": "0",
5
"stakeds": {},
6
"stakedOutputs": [],
7
"encoding": "hex"
8
},
9
"id": 1
10
}
1
{
2
“jsonrpc”: "2.0",
3
"result": {
4
"staked": "0",
5
"stakeds": {},
6
"stakedOutputs": [],
7
"encoding": "hex"
8
},
9
"id": 1
10
}
还没有账号吗?
只需几秒钟即可创建您的 Quicknode 端点,并开始构建
免费开始使用