跳转到主要内容
POST
getBalance

请求体

application/json
method
enum<string>
默认值:getBalance
必填
可用选项:
getBalance
jsonrpc
enum<string>
默认值:2.0
必填
可用选项:
2.0
params
(string | object)[]
必填

Method-specific parameters. See Solana RPC docs for exact shape.

Required array length: 1 - 2 elements
id
默认值:0
必填

响应

200 - application/json

Successful response

jsonrpc
enum<string>
默认值:2.0
必填
可用选项:
2.0
id
必填
result

Method-specific result payload.

error
object | null