跳转至主要内容

voteSubscribe RPC Method

正在加载...

更新于
May 01, 2026

voteSubscribe RPC Method

As of May 1, 2026, this WebSocket method is billed based on metered data usage: 0.1 MB = 15 API credits. Learn more about WebSocket billing.
The Solana Kit example uses createSolanaRpcSubscriptions_UNSTABLE because the Kit API for vote subscriptions is currently experimental and the implementation may change. The 投票 订阅 method itself is fully supported by the Quicknode WebSocket API.

参数

该方法不接受任何参数

退货

结果
整数
正在加载...
voteNotification
对象
正在加载...
votePubkey
字符串
正在加载...
slots
数组
正在加载...
哈希
字符串
正在加载...
时间戳
integer|null
正在加载...
签名
字符串
正在加载...
请求
回复
1
{
2
"jsonrpc": "2.0",
3
"result": 0,
4
"id": 1
5
}
1
{
2
"jsonrpc": "2.0",
3
"result": 0,
4
"id": 1
5
}
还没有账号吗?
endpoint 几秒钟endpoint 创建您的Quicknode endpoint ,并开始构建
免费开始使用