/accounts/{accountId}/staking-payouts REST API Endpoint
경로 매개변수
accountId
문자열
필수
로딩 중...
쿼리 매개변수
at
문자열
로딩 중...
depth
정수
로딩 중...
era
문자열
로딩 중...
unclaimedOnly
부울
로딩 중...
반품
at
객체
로딩 중...
해시
문자열
로딩 중...
높이
문자열
로딩 중...
erasPayouts
배열
로딩 중...
era
문자열
로딩 중...
totalEraRewardPoints
문자열
로딩 중...
totalEraPayout
문자열
로딩 중...
payouts
배열
로딩 중...
validatorId
문자열
로딩 중...
nominatorStakingPayout
문자열
로딩 중...
claimed
부울
로딩 중...
totalValidatorRewardPoints
문자열
로딩 중...
validatorCommission
문자열
로딩 중...
totalValidatorExposure
문자열
로딩 중...
nominatorExposure
문자열
로딩 중...
요청
1# AssetHub (default) - for staking payout info on AssetHub parachain2curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/staking-payouts' \3--header 'Accept: application/json'45# Polkadot Relaychain - for staking payout info on Relaychain (requires /rc prefix)6curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/staking-payouts' \7--header 'Accept: application/json'
1# AssetHub (default) - for staking payout info on AssetHub parachain2curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/staking-payouts' \3--header 'Accept: application/json'45# Polkadot Relaychain - for staking payout info on Relaychain (requires /rc prefix)6curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/staking-payouts' \7--header 'Accept: application/json'
1// For Polkadot Relaychain access, add '/rc' after https://docs-demo.dot-mainnet.quiknode.pro/ (e.g., https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/...)2const myHeaders = new Headers();3myHeaders.append("Accept", "application/json");45const requestOptions = {6메서드: "GET",7헤더: myHeaders,8리디렉션: "follow"9};1011fetch("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/staking-payouts", requestOptions)12.그런 다음((응답) => 응답.text())13.그런 다음((결과) => console.log(result))14.catch((error) => console.error(error));15
1// For Polkadot Relaychain access, add '/rc' after https://docs-demo.dot-mainnet.quiknode.pro/ (e.g., https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/...)2const myHeaders = new Headers();3myHeaders.append("Accept", "application/json");45const requestOptions = {6메서드: "GET",7헤더: myHeaders,8리디렉션: "follow"9};1011fetch("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/staking-payouts", requestOptions)12.그런 다음((응답) => 응답.text())13.그런 다음((결과) => console.log(result))14.catch((error) => console.error(error));15
1import 요청2# For Polkadot Relaychain access, add '/rc' after https://docs-demo.dot-mainnet.quiknode.pro/ (e.g., https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/...)345url = "https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/staking-payouts"67페이로드 = {}8헤더 = {9'Accept': 'application/json'10}1112답변 = 요청.요청("GET", url, 헤더=헤더, data=페이로드)13인쇄(응답.text)14
1import 요청2# For Polkadot Relaychain access, add '/rc' after https://docs-demo.dot-mainnet.quiknode.pro/ (e.g., https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/...)345url = "https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/staking-payouts"67페이로드 = {}8헤더 = {9'Accept': 'application/json'10}1112답변 = 요청.요청("GET", url, 헤더=헤더, data=페이로드)13인쇄(응답.text)14
1require "uri"2require "net/http"3# For Polkadot Relaychain access, add '/rc' after https://docs-demo.dot-mainnet.quiknode.pro/ (e.g., https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/...)456url = URI("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/staking-payouts")78https = Net::HTTP.new(url.호스트, url.포트)9https.use_ssl = true1011요청 = 순::HTTP::Get.new(url)1213답변 = https.요청(요청)14응답을 넣습니다.read_body15
1require "uri"2require "net/http"3# For Polkadot Relaychain access, add '/rc' after https://docs-demo.dot-mainnet.quiknode.pro/ (e.g., https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/...)456url = URI("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/staking-payouts")78https = Net::HTTP.new(url.호스트, url.포트)9https.use_ssl = true1011요청 = 순::HTTP::Get.new(url)1213답변 = https.요청(요청)14응답을 넣습니다.read_body15