Pillar RPC API
The Pillar contract manages the Pillar consensus nodes that secure the Zenon Network. Pillars are responsible for producing momentums and distributing rewards to delegators.
Methods
- embedded.pillar.getQsrRegistrationCost
- embedded.pillar.checkNameAvailability
- embedded.pillar.getAll
- embedded.pillar.getByOwner
- embedded.pillar.getByName
- embedded.pillar.getDelegatedPillar
- embedded.pillar.getDepositedQsr
- embedded.pillar.getUncollectedReward
- embedded.pillar.getFrontierRewardByPage
- embedded.pillar.getPillarEpochHistory
- embedded.pillar.getPillarsHistoryByEpoch
embedded.pillar.getQsrRegistrationCost
This API call will return the current QSR cost for registering a new Pillar.
Request
No parameters
{
"jsonrpc": "2.0",
"id": 2,
"method": "embedded.pillar.getQsrRegistrationCost",
"params": []
}
Response
number
- QSR cost (without decimals)
{
"jsonrpc": "2.0",
"id": 2,
"result": "32000000000000"
}
embedded.pillar.checkNameAvailability
This API call will return information about the availability of a name for a Pillar.
Request
One parameter of type string
that represents the name
.
{
"jsonrpc": "2.0",
"id": 9,
"method": "embedded.pillar.checkNameAvailability",
"params": ["Pillar_123"]
}