Skip to main content
Version: mainnet (v0.77)

Get Spam statistics

GET 

/statistics/spam/:partyId

Get the spam statistics for a given party.

Request

Path Parameters

    partyId stringrequired

    Party ID whose statistics are requested

Responses

A successful response.

Schema
    chainId string

    Chain ID for which the statistics are captured.

    statistics object
    applyReferralCode object

    Statistics for transactions made by the party to apply referral codes.

    bannedUntil If blocked the timestamp when the party will be unblocked as RFC3339Nano
    countForEpoch uint64
    maxForEpoch uint64
    minTokensRequired Effective minimum number of tokens required to submit a transaction of this type
    createReferralSet object

    Statistics for transactions made by the party to create referral sets.

    bannedUntil If blocked the timestamp when the party will be unblocked as RFC3339Nano
    countForEpoch uint64
    maxForEpoch uint64
    minTokensRequired Effective minimum number of tokens required to submit a transaction of this type
    delegations object

    Statistics for delegation transactions made by the party.

    bannedUntil If blocked the timestamp when the party will be unblocked as RFC3339Nano
    countForEpoch uint64
    maxForEpoch uint64
    minTokensRequired Effective minimum number of tokens required to submit a transaction of this type
    epochSeq uint64

    Epoch in which these statistics apply to.

    issueSignatures object

    Statistics for multisig signatures issued for the party.

    bannedUntil If blocked the timestamp when the party will be unblocked as RFC3339Nano
    countForEpoch uint64
    maxForEpoch uint64
    minTokensRequired Effective minimum number of tokens required to submit a transaction of this type
    nodeAnnouncements object

    Statistics for node announcement transactions made by the party.

    bannedUntil If blocked the timestamp when the party will be unblocked as RFC3339Nano
    countForEpoch uint64
    maxForEpoch uint64
    minTokensRequired Effective minimum number of tokens required to submit a transaction of this type
    pow object

    Statistics for proof of work difficulty observed per block for the party.

    bannedUntil PoW banned until timestamp as RFC3339Nano
    blockStates object[]
  • Array [
  • blockHash Hash of the current block
    blockHeight uint64
    difficulty uint64
    expectedDifficulty uint64

    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.

    hashFunction Hashing function used to calculate the block hash
    increasingDifficulty Whether or not this block allows for increasing proof-of-work difficulty if the tx-per-block-hash limit has been reached
    transactionsSeen uint64
    txPerBlock uint64
  • ]
  • numberOfPastBlocks uint64
    proposals object

    Statistics for proposal transactions made by the party.

    bannedUntil If blocked the timestamp when the party will be unblocked as RFC3339Nano
    countForEpoch uint64
    maxForEpoch uint64
    minTokensRequired Effective minimum number of tokens required to submit a transaction of this type
    transfers object

    Statistics for transfer transactions made by the party.

    bannedUntil If blocked the timestamp when the party will be unblocked as RFC3339Nano
    countForEpoch uint64
    maxForEpoch uint64
    minTokensRequired Effective minimum number of tokens required to submit a transaction of this type
    updateReferralSet object

    Statistics for transactions made by the party to update referral sets.

    bannedUntil If blocked the timestamp when the party will be unblocked as RFC3339Nano
    countForEpoch uint64
    maxForEpoch uint64
    minTokensRequired Effective minimum number of tokens required to submit a transaction of this type
    votes object

    Statistics for proposal votes made by the party.

    bannedUntil If blocked the timestamp when the party will be unblocked as RFC3339Nano
    maxForEpoch uint64
    statistics object[]
  • Array [
  • countForEpoch uint64
    minTokensRequired Effective minimum number of tokens required to vote on the proposal
    proposal string

    Unique ID of the proposal being voted on by the party.

  • ]
Loading...