getRecentPrioritizationFees RPC 메소드

최근 블록에서 우선순위 수수료 목록을 반환합니다.

현재, 노드의 우선순위 수수료 캐시는 최대 150개 블록의 데이터를 저장합니다.

$ curl https://api.devnet.solana.com -s -X \
> POST -H "Content-Type: application/json" -d '
> {
> "jsonrpc": "2.0",
> "id": 1,
> "method": "getRecentPrioritizationFees",
> "params": [
> ["CxELquR1gPP8wHe33gZ4QxqGB3sZ9RSwsJ2KshVewkFY"]
> ]
> }
> '

params

arrayoptional

base-58로 인코딩된 문자열로 된 계정 주소 배열(최대 128개 주소)

이 매개변수가 제공되면, 응답은 제공된 모든 계정을 쓰기 가능으로 잠그는 트랜잭션을 처리하기 위한 수수료를 반영합니다.

result

Response
{
"jsonrpc": "2.0",
"result": [
{
"slot": 348125,
"prioritizationFee": 0
},
{
"slot": 348126,
"prioritizationFee": 1000
},
{
"slot": 348127,
"prioritizationFee": 500
},
{
"slot": 348128,
"prioritizationFee": 0
},
{
"slot": 348129,
"prioritizationFee": 1234
}
],
"id": 1
}
array

다음을 포함하는 우선순위 수수료 객체의 배열:

Is this page helpful?