post https://polygon-mainnet-rpc.allthatnode.com:8545/
Returns snapshot of a block.
Parameters
QUANTITY|TAG
- integer block number, or the string "latest", "earliest" or "pending", see the default block parameter.
curl https://polygon-mainnet-rpc.allthatnode.com:8545/8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj \
--request POST \
--header "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "bor_getSnapshot",
"params": [
"latest"
]
}'
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": 45714667,
"hash": "0x2e015be5fba8be64bb262fab10eb2ead3c5605289be2e62b1be9874cd7c4954c",
"validatorSet": {
"validators": [
{
"ID": 0,
"signer": "0x0208652a93baf5f1962849efcf5795eac7439a5e",
"power": 1,
"accum": 10
},
{
"ID": 0,
"signer": "0x127685d6dd6683085da4b6a041efcef1681e5c9c",
"power": 4,
"accum": -7
},
{
"ID": 0,
"signer": "0x1ca971963bdb4ba2bf337c90660674acff5beb3f",
"power": 1,
"accum": 10
},
{
"ID": 0,
"signer": "0x1efecb61a2f80aa34d3b9218b564a64d05946290",
"power": 1,
"accum": -12
},
{
"ID": 0,
"signer": "0x40314efbc35bc0db441969bce451bf0167efded1",
"power": 2,
"accum": 11
},
{
"ID": 0,
"signer": "0x46a3a41bd932244dd08186e4c19f1a7e48cbcdf4",
"power": 2,
"accum": -18
},
{
"ID": 0,
"signer": "0x60e274b09f701107a4b3226fcc1376ebda3cdd92",
"power": 1,
"accum": 10
},
{
"ID": 0,
"signer": "0x67b94473d81d0cd00849d563c94d0432ac988b49",
"power": 3,
"accum": 16
},
{
"ID": 0,
"signer": "0x73d378cfeaa5cbe8daed64128ebdc91322aa586b",
"power": 1,
"accum": 10
},
{
"ID": 0,
"signer": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"power": 3,
"accum": 14
},
{
"ID": 0,
"signer": "0x7c7379531b2aee82e4ca06d4175d13b9cbeafd49",
"power": 1,
"accum": 13
},
{
"ID": 0,
"signer": "0x83d69448f88bf9c701c1b93f43e1f753d39b2632",
"power": 2,
"accum": 11
},
{
"ID": 0,
"signer": "0x8e9700392f9246a6c5b32ee3ecef586f156ed683",
"power": 1,
"accum": 10
},
{
"ID": 0,
"signer": "0x959a4d857b7071c38878beb9dc77051b5fed1dfd",
"power": 1,
"accum": 10
},
{
"ID": 0,
"signer": "0x98c27cc3f0301b6272049dc3f972e2f542780629",
"power": 1,
"accum": 10
},
{
"ID": 0,
"signer": "0x9ead03f7136fc6b4bdb0780b00a1c14ae5a8b6d0",
"power": 8,
"accum": -17
},
{
"ID": 0,
"signer": "0xa8b52f02108aa5f4b675bdcc973760022d7c6020",
"power": 1,
"accum": -18
},
{
"ID": 0,
"signer": "0xb9ede6f94d192073d8eaf85f8db677133d483249",
"power": 2,
"accum": -18
},
{
"ID": 0,
"signer": "0xbc6044f4a1688d8b8596a9f7d4659e09985eebe6",
"power": 1,
"accum": 9
},
{
"ID": 0,
"signer": "0xbdbd4347b082d9d6bdf2da4555a37ce52a2e2120",
"power": 5,
"accum": -24
},
{
"ID": 0,
"signer": "0xd56fbe3294ea4d73cca99ff8751ce7bd9b688cd5",
"power": 1,
"accum": 9
},
{
"ID": 0,
"signer": "0xe7e2cb8c81c10ff191a73fe266788c9ce62ec754",
"power": 1,
"accum": -18
},
{
"ID": 0,
"signer": "0xeedba2484aaf940f37cd3cd21a5d7c4a7dafbfc0",
"power": 2,
"accum": -17
},
{
"ID": 0,
"signer": "0xf0245f6251bef9447a08766b9da2b07b28ad80b0",
"power": 3,
"accum": -10
},
{
"ID": 0,
"signer": "0xfb960a9450fc2f5dc8c6b1172932b678e287835f",
"power": 1,
"accum": 10
}
],
"proposer": {
"ID": 0,
"signer": "0xbdbd4347b082d9d6bdf2da4555a37ce52a2e2120",
"power": 5,
"accum": -24
}
},
"recents": {
"38188992": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38188993": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38188994": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38188995": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38188996": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38188997": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38188998": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38188999": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189000": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189001": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189002": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189003": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189004": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189005": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189006": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189007": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189008": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189009": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189010": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189011": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189012": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189013": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189014": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189015": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189016": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189017": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189018": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189019": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189020": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189021": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189022": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189023": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189024": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189025": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189026": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189027": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189028": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189029": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189030": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189031": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189032": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189033": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189034": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189035": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189036": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189037": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189038": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"38189039": "0x794e44d1334a56fea7f4df12633b88820d0c5888",
"45714652": "0x9ead03f7136fc6b4bdb0780b00a1c14ae5a8b6d0",
"45714653": "0x9ead03f7136fc6b4bdb0780b00a1c14ae5a8b6d0",
"45714654": "0x9ead03f7136fc6b4bdb0780b00a1c14ae5a8b6d0",
"45714655": "0x9ead03f7136fc6b4bdb0780b00a1c14ae5a8b6d0",
"45714656": "0xbdbd4347b082d9d6bdf2da4555a37ce52a2e2120",
"45714657": "0xbdbd4347b082d9d6bdf2da4555a37ce52a2e2120",
"45714658": "0xbdbd4347b082d9d6bdf2da4555a37ce52a2e2120",
"45714659": "0xbdbd4347b082d9d6bdf2da4555a37ce52a2e2120",
"45714660": "0xbdbd4347b082d9d6bdf2da4555a37ce52a2e2120",
"45714661": "0xbdbd4347b082d9d6bdf2da4555a37ce52a2e2120",
"45714662": "0xbdbd4347b082d9d6bdf2da4555a37ce52a2e2120",
"45714663": "0xbdbd4347b082d9d6bdf2da4555a37ce52a2e2120",
"45714664": "0xbdbd4347b082d9d6bdf2da4555a37ce52a2e2120",
"45714665": "0xbdbd4347b082d9d6bdf2da4555a37ce52a2e2120",
"45714666": "0xbdbd4347b082d9d6bdf2da4555a37ce52a2e2120",
"45714667": "0xbdbd4347b082d9d6bdf2da4555a37ce52a2e2120"
}
}
}