Get Spam statistics
Get the spam statistics for a given party
Path Parameters
partyId string required
Party ID whose statistics are requested
Responses
- 200
- default
A successful response.
application/json
Schema
Example (from schema)
Schema
chainId string
statistics object
{
"chainId": "string",
"statistics": {
"delegations": {
"bannedUntil": "string",
"countForEpoch": "string",
"maxForEpoch": "string",
"minTokensRequired": "string"
},
"epochSeq": "string",
"issueSignatures": {
"bannedUntil": "string",
"countForEpoch": "string",
"maxForEpoch": "string",
"minTokensRequired": "string"
},
"nodeAnnouncements": {
"bannedUntil": "string",
"countForEpoch": "string",
"maxForEpoch": "string",
"minTokensRequired": "string"
},
"pow": {
"bannedUntil": "string",
"blockStates": [
{
"blockHash": "string",
"blockHeight": "string",
"difficulty": "string",
"expectedDifficulty": "string",
"hashFunction": "string",
"increasingDifficulty": true,
"transactionsSeen": "string",
"txPerBlock": "string"
}
],
"numberOfPastBlocks": "string"
},
"proposals": {
"bannedUntil": "string",
"countForEpoch": "string",
"maxForEpoch": "string",
"minTokensRequired": "string"
},
"transfers": {
"bannedUntil": "string",
"countForEpoch": "string",
"maxForEpoch": "string",
"minTokensRequired": "string"
},
"votes": {
"bannedUntil": "string",
"maxForEpoch": "string",
"statistics": [
{
"countForEpoch": "string",
"minTokensRequired": "string",
"proposal": "string"
}
]
}
}
}
An unexpected error response.
application/json
Schema
Example (from schema)
Schema
code int32
details object[]
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
GET /statistics/spam/:partyId
Request
Request
curl / cURL
curl -L -X GET 'https://n06.testnet.vega.xyz/statistics/spam/:partyId' \
-H 'Accept: application/json'
python / requests
curl -L -X GET 'https://n06.testnet.vega.xyz/statistics/spam/:partyId' \
-H 'Accept: application/json'
go / native
curl -L -X GET 'https://n06.testnet.vega.xyz/statistics/spam/:partyId' \
-H 'Accept: application/json'
nodejs / axios
curl -L -X GET 'https://n06.testnet.vega.xyz/statistics/spam/:partyId' \
-H 'Accept: application/json'