post https://polygon-mainnet-rpc.allthatnode.com:8545/
Returns snapshot of a block.
Parameters
Hash
- hash of a block
curl https://polygon-mainnet-archive.allthatnode.com:8545/8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj \
--request POST \
--header "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "bor_getSnapshotAtHash",
"params": [
"0x29fa73e3da83ddac98f527254fe37002e052725a88904bac14f03e919e1e2876"
]
}'
Returns
number
:INTEGER
- the block numberhash
:STRRING
- hash of the blockvalidatorSet
:OBJECT
validators
-Array
of validator objects with the following fields:ID
: validator IDsigner
: validator addressaccum
: the validator's proposer prioritypower
: the validator's voting power
proposer
- the proposer objectID
: validator IDsigner
: validator addressaccum
: the validator's proposer prioritypower
: the validator's voting power
recents
:OBJECT
- recent blocks with propsers
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"number": 1000000,
"hash": "0x29fa73e3da83ddac98f527254fe37002e052725a88904bac14f03e919e1e2876",
"validatorSet": {
"validators": [
{
"ID": 0,
"signer": "0x0375b2fc7140977c9c76d45421564e354ed42277",
"power": 10000,
"accum": -50860
},
{
"ID": 0,
"signer": "0x42eefcda06ead475cde3731b8eb138e88cd0bac3",
"power": 10000,
"accum": 19140
},
{
"ID": 0,
"signer": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"power": 14498,
"accum": -44840
},
{
"ID": 0,
"signer": "0x7fcd58c2d53d980b247f1612fdba93e9a76193e6",
"power": 10000,
"accum": 19140
},
{
"ID": 0,
"signer": "0xb702f1c9154ac9c08da247a8e30ee6f2f3373f41",
"power": 10000,
"accum": 19140
},
{
"ID": 0,
"signer": "0xb8bb158b93c94ed35c1970d610d1e2b34e26652c",
"power": 10000,
"accum": 19140
},
{
"ID": 0,
"signer": "0xf84c74dea96df0ec22e11e7c33996c73fcc2d822",
"power": 10000,
"accum": 19140
}
],
"proposer": {
"ID": 0,
"signer": "0x0375b2fc7140977c9c76d45421564e354ed42277",
"power": 10000,
"accum": -50860
}
},
"recents": {
"1000000": "0x0375b2fc7140977c9c76d45421564e354ed42277",
"999937": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999938": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999939": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999940": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999941": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999942": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999943": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999944": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999945": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999946": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999947": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999948": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999949": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999950": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999951": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999952": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999953": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999954": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999955": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999956": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999957": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999958": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999959": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999960": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999961": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999962": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999963": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999964": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999965": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999966": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999967": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999968": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999969": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999970": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999971": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999972": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999973": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999974": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999975": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999976": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999977": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999978": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999979": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999980": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999981": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999982": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999983": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999984": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999985": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999986": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999987": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999988": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999989": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999990": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999991": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999992": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999993": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999994": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999995": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999996": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999997": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999998": "0x5973918275c01f50555d44e92c9d9b353cadad54",
"999999": "0x5973918275c01f50555d44e92c9d9b353cadad54"
}
}
}