getInflationReward RPC 메소드

주소 목록에 대한 epoch의 인플레이션/스테이킹 보상을 반환합니다

$ curl https://api.devnet.solana.com -s -X \
> POST -H "Content-Type: application/json" -d '
> {
> "jsonrpc": "2.0",
> "id": 1,
> "method": "getInflationReward",
> "params": [
> [
> "6dmNQ5jwLeLk5REvio1JcMshcbvkYMwy26sJ8pbkvStu",
> "BGsqMegLpV6n6Ve146sSX2dTjUMj3M92HnU8BbNRMhF2"
> ],
> {
> "epoch": 800,
> "commitment": "finalized"
> }
> ]
> }
> '

params

arrayoptional

base-58로 인코딩된 문자열로 조회할 주소 배열

objectoptional

다음 필드를 포함하는 구성 객체:

result

Response
{
"jsonrpc": "2.0",
"result": [
{
"epoch": 2,
"effectiveSlot": 224,
"amount": 2500,
"postBalance": 499999442500
},
null
],
"id": 1
}
array

결과 필드는 다음을 포함하는 JSON 객체 배열입니다:

Is this page helpful?