/// <summary> /// Block size in bytes (as a Merkle block, not as a full block). /// </summary> /// <param name="version"> Protocol version to consider when calculating size. </param> /// <returns> Size in bytes. </returns> public UInt64 GetSerializedSize(UInt32 version) { return((UInt64)MerkleBlockNative.kth_chain_merkle_block_serialized_size(nativeInstance_, version)); }