Interface Block

Block

interface Block {
    baseTarget: number;
    block: string;
    blockReward: string;
    blockRewardNQT: string;
    blockSignature: string;
    generationSignature: string;
    generator: string;
    generatorPublicKey: string;
    generatorRS: string;
    height: number;
    nextBlock: string;
    nonce: string;
    numberOfTransactions: number;
    payloadHash: string;
    payloadLength: number;
    previousBlock: string;
    previousBlockHash: string;
    requestProcessingTime: number;
    scoopNum: number;
    timestamp: number;
    totalAmountNQT: string;
    totalFeeNQT: string;
    transactions: string[] | Transaction[];
    version: number;
}

Properties

baseTarget: number
block: string
blockReward: string
blockRewardNQT: string
blockSignature: string
generationSignature: string
generator: string
generatorPublicKey: string
generatorRS: string
height: number
nextBlock: string
nonce: string
numberOfTransactions: number
payloadHash: string
payloadLength: number
previousBlock: string
previousBlockHash: string
requestProcessingTime: number
scoopNum: number
timestamp: number
totalAmountNQT: string
totalFeeNQT: string
transactions: string[] | Transaction[]

The block may return transaction ids only, or the entire transaction object, iff includeTransactions=true

version: number