Get Spam statistics
GEThttps://n00.testnet.vega.rocks/statistics/spam/:partyId
Get the spam statistics for a given party.
Request
Path Parameters
partyId stringrequired
Party ID whose statistics are requested
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
chainId string
Chain ID for which the statistics are captured.
statistics object
{
"chainId": "string",
"statistics": {
"applyReferralCode": {
"bannedUntil": "string",
"countForEpoch": "string",
"maxForEpoch": "string",
"minTokensRequired": "string"
},
"createReferralSet": {
"bannedUntil": "string",
"countForEpoch": "string",
"maxForEpoch": "string",
"minTokensRequired": "string"
},
"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"
},
"updateReferralSet": {
"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"
}
- curl
- python
- go
- nodejs
- CURL
curl -L -X GET 'https://n00.testnet.vega.rocks/statistics/spam/:partyId' \
-H 'Accept: application/json'
ResponseClear