BlockTemplateBody

public struct BlockTemplateBody : Decodable

Block template body returned by the server.

  • 32-byte hex-encoded hash of the block body.

    Declaration

    Swift

    public var hash: String
  • 20-byte hex-encoded miner address.

    Declaration

    Swift

    public var minerAddr: String
  • Hex-encoded value of the extra data field.

    Declaration

    Swift

    public var extraData: String
  • Array of hex-encoded transactions for this block.

    Declaration

    Swift

    public var transactions: [String]
  • Array of hex-encoded pruned accounts for this block.

    Declaration

    Swift

    public var prunedAccounts: [String]
  • Array of hex-encoded hashes that verify the path of the miner address in the merkle tree. This can be used to change the miner address easily.

    Declaration

    Swift

    public var merkleHashes: [String]