Get Spam statistics
GET/statistics/spam/:partyId
Get the spam statistics for a given party.
Request
Path Parameters
Party ID whose statistics are requested
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Chain ID for which the statistics are captured.
statistics object
applyReferralCode object
Statistics for transactions made by the party to apply referral codes.
createReferralSet object
Statistics for transactions made by the party to create referral sets.
delegations object
Statistics for delegation transactions made by the party.
Epoch in which these statistics apply to.
issueSignatures object
Statistics for multisig signatures issued for the party.
nodeAnnouncements object
Statistics for node announcement transactions made by the party.
pow object
Statistics for proof of work difficulty observed per block for the party.
blockStates object[]
This is the minimum required difficulty for the next transaction submitted on this block if it is possible to submit more transactions on this block, otherwise nil.
proposals object
Statistics for proposal transactions made by the party.
transfers object
Statistics for transfer transactions made by the party.
updateReferralSet object
Statistics for transactions made by the party to update referral sets.
votes object
Statistics for proposal votes made by the party.
statistics object[]
Unique ID of the proposal being voted on by the party.
{
"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
- Array [
- ]
details object[]
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}